Compare commits
2 commits
a39370e369
...
b0b0e19864
Author | SHA1 | Date | |
---|---|---|---|
b0b0e19864 | |||
ef90cee833 |
6 changed files with 269 additions and 5 deletions
|
@ -41,7 +41,9 @@
|
||||||
"dynamic-zone.emphasise-article",
|
"dynamic-zone.emphasise-article",
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
"shared.list"
|
"shared.list",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
|
"dynamic-zone.embedding"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
16
src/components/dynamic-zone/embedding.json
Normal file
16
src/components/dynamic-zone/embedding.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"collectionName": "components_dynamic_zone_embedding",
|
||||||
|
"info": {
|
||||||
|
"displayName": "Einbettung"
|
||||||
|
},
|
||||||
|
"options": {},
|
||||||
|
"attributes": {
|
||||||
|
"title": {
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
25
src/components/dynamic-zone/file-download.json
Normal file
25
src/components/dynamic-zone/file-download.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"collectionName": "components_dynamic_zone_file_download",
|
||||||
|
"info": {
|
||||||
|
"displayName": "Datei-Download",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"options": {},
|
||||||
|
"attributes": {
|
||||||
|
"enable_download": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"file": {
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false,
|
||||||
|
"required": true,
|
||||||
|
"allowedTypes": ["files", "images"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
},
|
},
|
||||||
"x-generation-date": "2025-01-17T10:22:28.611Z"
|
"x-generation-date": "2025-01-18T10:37:18.066Z"
|
||||||
},
|
},
|
||||||
"x-strapi-config": {
|
"x-strapi-config": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
@ -9375,6 +9375,175 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"DynamicZoneFileDownloadComponent": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"__component": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"dynamic-zone.file-download"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"enable_download": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"file": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"alternativeText": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"caption": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"width": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"height": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"formats": {},
|
||||||
|
"hash": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"ext": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"mime": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"type": "number",
|
||||||
|
"format": "float"
|
||||||
|
},
|
||||||
|
"url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"previewUrl": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"provider": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"provider_metadata": {},
|
||||||
|
"related": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"folder": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"folderPath": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"createdAt": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time"
|
||||||
|
},
|
||||||
|
"updatedAt": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time"
|
||||||
|
},
|
||||||
|
"publishedAt": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time"
|
||||||
|
},
|
||||||
|
"createdBy": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"updatedBy": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"locale": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"localizations": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"documentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"DynamicZoneEmbeddingComponent": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"__component": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"dynamic-zone.embedding"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"HomepageRequest": {
|
"HomepageRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -11744,6 +11913,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/SharedListComponent"
|
"$ref": "#/components/schemas/SharedListComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -11756,7 +11931,9 @@
|
||||||
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
||||||
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
||||||
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
||||||
"shared.list": "#/components/schemas/SharedListComponent"
|
"shared.list": "#/components/schemas/SharedListComponent",
|
||||||
|
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
|
||||||
|
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -11862,6 +12039,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/SharedListComponent"
|
"$ref": "#/components/schemas/SharedListComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -11874,7 +12057,9 @@
|
||||||
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
||||||
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
||||||
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
||||||
"shared.list": "#/components/schemas/SharedListComponent"
|
"shared.list": "#/components/schemas/SharedListComponent",
|
||||||
|
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
|
||||||
|
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -11959,6 +12144,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/SharedListComponent"
|
"$ref": "#/components/schemas/SharedListComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneFileDownloadComponent"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -11971,7 +12162,9 @@
|
||||||
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
|
||||||
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
"dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent",
|
||||||
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
"dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent",
|
||||||
"shared.list": "#/components/schemas/SharedListComponent"
|
"shared.list": "#/components/schemas/SharedListComponent",
|
||||||
|
"dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent",
|
||||||
|
"dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
26
types/generated/components.d.ts
vendored
26
types/generated/components.d.ts
vendored
|
@ -26,6 +26,17 @@ export interface DynamicZoneDualColumnText extends Struct.ComponentSchema {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface DynamicZoneEmbedding extends Struct.ComponentSchema {
|
||||||
|
collectionName: "components_dynamic_zone_embedding";
|
||||||
|
info: {
|
||||||
|
displayName: "Einbettung";
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
link: Schema.Attribute.String;
|
||||||
|
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
|
export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
|
||||||
collectionName: "components_dynamic_zone_emphasise_articles";
|
collectionName: "components_dynamic_zone_emphasise_articles";
|
||||||
info: {
|
info: {
|
||||||
|
@ -41,6 +52,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 {
|
export interface DynamicZoneFullImage extends Struct.ComponentSchema {
|
||||||
collectionName: "components_dynamic_zone_full_images";
|
collectionName: "components_dynamic_zone_full_images";
|
||||||
info: {
|
info: {
|
||||||
|
@ -203,7 +227,9 @@ declare module "@strapi/strapi" {
|
||||||
export interface ComponentSchemas {
|
export interface ComponentSchemas {
|
||||||
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
"dynamic-zone.column-image-text": DynamicZoneColumnImageText;
|
||||||
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
"dynamic-zone.dual-column-text": DynamicZoneDualColumnText;
|
||||||
|
"dynamic-zone.embedding": DynamicZoneEmbedding;
|
||||||
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
|
"dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle;
|
||||||
|
"dynamic-zone.file-download": DynamicZoneFileDownload;
|
||||||
"dynamic-zone.full-image": DynamicZoneFullImage;
|
"dynamic-zone.full-image": DynamicZoneFullImage;
|
||||||
"dynamic-zone.full-text": DynamicZoneFullText;
|
"dynamic-zone.full-text": DynamicZoneFullText;
|
||||||
"dynamic-zone.gallery": DynamicZoneGallery;
|
"dynamic-zone.gallery": DynamicZoneGallery;
|
||||||
|
|
2
types/generated/contentTypes.d.ts
vendored
2
types/generated/contentTypes.d.ts
vendored
|
@ -526,6 +526,8 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
|
||||||
"dynamic-zone.dual-column-text",
|
"dynamic-zone.dual-column-text",
|
||||||
"dynamic-zone.column-image-text",
|
"dynamic-zone.column-image-text",
|
||||||
"shared.list",
|
"shared.list",
|
||||||
|
"dynamic-zone.file-download",
|
||||||
|
"dynamic-zone.embedding",
|
||||||
]
|
]
|
||||||
>;
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
|
|
Loading…
Reference in a new issue