diff --git a/src/api/page/content-types/page/schema.json b/src/api/page/content-types/page/schema.json index 1a7e0bc..17f1301 100644 --- a/src/api/page/content-types/page/schema.json +++ b/src/api/page/content-types/page/schema.json @@ -42,7 +42,8 @@ "dynamic-zone.dual-column-text", "dynamic-zone.column-image-text", "shared.list", - "dynamic-zone.file-download" + "dynamic-zone.file-download", + "dynamic-zone.embedding" ] } } diff --git a/src/components/dynamic-zone/embedding.json b/src/components/dynamic-zone/embedding.json new file mode 100644 index 0000000..666ea34 --- /dev/null +++ b/src/components/dynamic-zone/embedding.json @@ -0,0 +1,16 @@ +{ + "collectionName": "components_dynamic_zone_embedding", + "info": { + "displayName": "Einbettung" + }, + "options": {}, + "attributes": { + "title": { + "type": "string", + "required": true + }, + "link": { + "type": "string" + } + } +} diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index e3a917e..9e57b6b 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2025-01-18T10:10:27.231Z" + "x-generation-date": "2025-01-18T10:37:18.066Z" }, "x-strapi-config": { "plugins": [ @@ -9524,6 +9524,26 @@ } } }, + "DynamicZoneEmbeddingComponent": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "__component": { + "type": "string", + "enum": [ + "dynamic-zone.embedding" + ] + }, + "title": { + "type": "string" + }, + "link": { + "type": "string" + } + } + }, "HomepageRequest": { "type": "object", "required": [ @@ -11896,6 +11916,9 @@ }, { "$ref": "#/components/schemas/DynamicZoneFileDownloadComponent" + }, + { + "$ref": "#/components/schemas/DynamicZoneEmbeddingComponent" } ] }, @@ -11909,7 +11932,8 @@ "dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent", "dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent", "shared.list": "#/components/schemas/SharedListComponent", - "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent" + "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent", + "dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent" } } }, @@ -12018,6 +12042,9 @@ }, { "$ref": "#/components/schemas/DynamicZoneFileDownloadComponent" + }, + { + "$ref": "#/components/schemas/DynamicZoneEmbeddingComponent" } ] }, @@ -12031,7 +12058,8 @@ "dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent", "dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent", "shared.list": "#/components/schemas/SharedListComponent", - "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent" + "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent", + "dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent" } } }, @@ -12119,6 +12147,9 @@ }, { "$ref": "#/components/schemas/DynamicZoneFileDownloadComponent" + }, + { + "$ref": "#/components/schemas/DynamicZoneEmbeddingComponent" } ] }, @@ -12132,7 +12163,8 @@ "dynamic-zone.dual-column-text": "#/components/schemas/DynamicZoneDualColumnTextComponent", "dynamic-zone.column-image-text": "#/components/schemas/DynamicZoneColumnImageTextComponent", "shared.list": "#/components/schemas/SharedListComponent", - "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent" + "dynamic-zone.file-download": "#/components/schemas/DynamicZoneFileDownloadComponent", + "dynamic-zone.embedding": "#/components/schemas/DynamicZoneEmbeddingComponent" } } }, diff --git a/types/generated/components.d.ts b/types/generated/components.d.ts index a6569d7..0fe614e 100644 --- a/types/generated/components.d.ts +++ b/types/generated/components.d.ts @@ -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 { collectionName: "components_dynamic_zone_emphasise_articles"; info: { @@ -216,6 +227,7 @@ declare module "@strapi/strapi" { export interface ComponentSchemas { "dynamic-zone.column-image-text": DynamicZoneColumnImageText; "dynamic-zone.dual-column-text": DynamicZoneDualColumnText; + "dynamic-zone.embedding": DynamicZoneEmbedding; "dynamic-zone.emphasise-article": DynamicZoneEmphasiseArticle; "dynamic-zone.file-download": DynamicZoneFileDownload; "dynamic-zone.full-image": DynamicZoneFullImage; diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index a8d57a7..dd49613 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -527,6 +527,7 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema { "dynamic-zone.column-image-text", "shared.list", "dynamic-zone.file-download", + "dynamic-zone.embedding", ] >; createdAt: Schema.Attribute.DateTime;