Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
"type": "integer"
},
"file": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@
"type": "integer"
},
"file": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@
"type": "integer"
},
"file": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
]
}
}
}
10 changes: 6 additions & 4 deletions cms-backend/src/components/r-and-d-page/downloadable-format.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"collectionName": "components_r_and_d_page_downloadable_formats",
"info": {
"displayName": "DownloadableFormat"
"displayName": "DownloadableFormat",
"description": ""
},
"options": {},
"attributes": {
"name": {
"type": "string"
},
"file": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
]
}
}
}
6 changes: 2 additions & 4 deletions cms-backend/types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,11 @@ export interface PnkTokenPageTokenStatDisplay extends Struct.ComponentSchema {
export interface RAndDPageDownloadableFormat extends Struct.ComponentSchema {
collectionName: 'components_r_and_d_page_downloadable_formats';
info: {
description: '';
displayName: 'DownloadableFormat';
};
attributes: {
file: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios',
true
>;
file: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
name: Schema.Attribute.String;
};
}
Expand Down
15 changes: 3 additions & 12 deletions cms-backend/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,7 @@ export interface ApiAnnualReportAnnualReport
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
file: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios',
true
>;
file: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
Expand Down Expand Up @@ -2333,10 +2330,7 @@ export interface ApiRiskReportRiskReport extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
file: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios',
true
>;
file: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
Expand Down Expand Up @@ -2604,10 +2598,7 @@ export interface ApiTreasuryReportTreasuryReport
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
file: Schema.Attribute.Media<
'images' | 'files' | 'videos' | 'audios',
true
>;
file: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
Expand Down