file download component
This commit is contained in:
parent
a39370e369
commit
ef90cee833
5 changed files with 207 additions and 5 deletions
14
types/generated/components.d.ts
vendored
14
types/generated/components.d.ts
vendored
|
@ -41,6 +41,19 @@ export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
|
|||
};
|
||||
}
|
||||
|
||||
export interface DynamicZoneFileDownload extends Struct.ComponentSchema {
|
||||
collectionName: "components_dynamic_zone_file_download";
|
||||
info: {
|
||||
description: "";
|
||||
displayName: "Datei-Download";
|
||||
};
|
||||
attributes: {
|
||||
enable_download: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<true>;
|
||||
file: Schema.Attribute.Media<"files" | "images"> & Schema.Attribute.Required;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface DynamicZoneFullImage extends Struct.ComponentSchema {
|
||||
collectionName: "components_dynamic_zone_full_images";
|
||||
info: {
|
||||
|
@ -204,6 +217,7 @@ declare module "@strapi/strapi" {
|
|||
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
||||
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
||||
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
|
||||
"dynamic-zone.file-download": DynamicZoneFileDownload;
|
||||
"dynamic-zone.full-image": DynamicZoneFullImage;
|
||||
"dynamic-zone.full-text": DynamicZoneFullText;
|
||||
"dynamic-zone.gallery": DynamicZoneGallery;
|
||||
|
|
1
types/generated/contentTypes.d.ts
vendored
1
types/generated/contentTypes.d.ts
vendored
|
@ -526,6 +526,7 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
|
|||
"dynamic-zone.dual-column-text",
|
||||
"dynamic-zone.column-image-text",
|
||||
"shared.list",
|
||||
"dynamic-zone.file-download",
|
||||
]
|
||||
>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue