embedding

This commit is contained in:
Julian Krauser 2025-01-18 11:38:54 +01:00
parent ef90cee833
commit b0b0e19864
5 changed files with 67 additions and 5 deletions

View file

@ -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"
]
}
}

View file

@ -0,0 +1,16 @@
{
"collectionName": "components_dynamic_zone_embedding",
"info": {
"displayName": "Einbettung"
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true
},
"link": {
"type": "string"
}
}
}

View file

@ -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"
}
}
},

View file

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

View file

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