file download component

This commit is contained in:
Julian Krauser 2025-01-18 11:30:50 +01:00
parent a39370e369
commit ef90cee833
5 changed files with 207 additions and 5 deletions

View file

@ -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;

View file

@ -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;