translations & restructuring

This commit is contained in:
Julian Krauser 2024-11-01 11:20:16 +01:00
parent 5caeae2338
commit 1943224f33
23 changed files with 370 additions and 330 deletions

View file

@ -4,7 +4,7 @@
"info": {
"singularName": "article",
"pluralName": "articles",
"displayName": "Articles",
"displayName": "Artikel",
"description": ""
},
"options": {
@ -22,7 +22,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"description": {
"pluginOptions": {
@ -30,7 +31,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"slug": {
"pluginOptions": {
@ -39,7 +41,8 @@
}
},
"type": "uid",
"targetField": "title"
"targetField": "title",
"required": true
},
"content": {
"pluginOptions": {
@ -52,7 +55,7 @@
"image": {
"type": "media",
"multiple": false,
"required": false,
"required": true,
"allowedTypes": [
"images",
"files",

View file

@ -4,7 +4,7 @@
"info": {
"singularName": "event",
"pluralName": "events",
"displayName": "Events",
"displayName": "Termine",
"description": ""
},
"options": {
@ -22,7 +22,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"description": {
"pluginOptions": {
@ -30,7 +31,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"slug": {
"pluginOptions": {
@ -39,7 +41,8 @@
}
},
"type": "uid",
"targetField": "title"
"targetField": "title",
"required": true
},
"date": {
"pluginOptions": {

View file

@ -24,7 +24,8 @@
"localized": true
}
},
"component": "global.navbar"
"component": "global.navbar",
"required": true
},
"footer": {
"type": "component",

View file

@ -4,7 +4,7 @@
"info": {
"singularName": "homepage",
"pluralName": "homepages",
"displayName": "Homepage",
"displayName": "Startseite",
"description": ""
},
"options": {
@ -28,7 +28,8 @@
"dynamic-zone.full-image",
"dynamic-zone.emphasise-article",
"dynamic-zone.dual-column-text",
"dynamic-zone.column-image-text"
"dynamic-zone.column-image-text",
"shared.list"
]
}
}

View file

@ -4,7 +4,7 @@
"info": {
"singularName": "operation",
"pluralName": "operations",
"displayName": "Operations",
"displayName": "Einsätze",
"description": ""
},
"options": {
@ -22,7 +22,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"description": {
"pluginOptions": {
@ -30,7 +31,8 @@
"localized": true
}
},
"type": "string"
"type": "string",
"required": true
},
"slug": {
"pluginOptions": {
@ -39,15 +41,8 @@
}
},
"type": "uid",
"targetField": "title"
},
"content": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "blocks"
"targetField": "title",
"required": true
},
"attachment": {
"type": "media",

View file

@ -4,7 +4,7 @@
"info": {
"singularName": "page",
"pluralName": "pages",
"displayName": "Pages",
"displayName": "Seiten",
"description": ""
},
"options": {
@ -16,6 +16,16 @@
}
},
"attributes": {
"identifier": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string",
"required": true,
"unique": true
},
"slug": {
"pluginOptions": {
"i18n": {
@ -23,10 +33,10 @@
}
},
"type": "uid",
"default": "slug",
"targetField": "identifier",
"required": true
},
"hero": {
"Hero": {
"type": "component",
"repeatable": false,
"pluginOptions": {
@ -45,13 +55,13 @@
},
"type": "dynamiczone",
"components": [
"shared.list",
"dynamic-zone.full-text",
"dynamic-zone.emphasise-article",
"dynamic-zone.full-image",
"dynamic-zone.gallery",
"dynamic-zone.full-text",
"dynamic-zone.full-image",
"dynamic-zone.emphasise-article",
"dynamic-zone.dual-column-text",
"dynamic-zone.column-image-text"
"dynamic-zone.column-image-text",
"shared.list"
]
}
}

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_column_image_texts",
"info": {
"displayName": "Column_Image_Text",
"displayName": "Text-Bild-Spalte",
"icon": "bulletList",
"description": ""
},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_dual_column_texts",
"info": {
"displayName": "Dual_Column_Text",
"displayName": "Text-Text-Spalte",
"icon": "stack"
},
"options": {},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_emphasise_articles",
"info": {
"displayName": "Emphasise_Article",
"displayName": "Artikel hervorheben",
"icon": "dashboard",
"description": ""
},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_full_images",
"info": {
"displayName": "Full_Image",
"displayName": "Voll-Bild",
"icon": "dashboard",
"description": ""
},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_full_texts",
"info": {
"displayName": "Full_Text",
"displayName": "Voll-Text",
"icon": "dashboard",
"description": ""
},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_dynamic_zone_galleries",
"info": {
"displayName": "Gallery",
"displayName": "Galerie",
"icon": "apps"
},
"options": {},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_global_footers",
"info": {
"displayName": "Footer",
"displayName": "Fußzeile",
"icon": "apps",
"description": ""
},

View file

@ -1,24 +1,25 @@
{
"collectionName": "components_global_navbars",
"info": {
"displayName": "Navbar",
"displayName": "Navigationsleiste",
"icon": "bold",
"description": ""
},
"options": {},
"attributes": {
"logo": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false,
"required": true
"required": true,
"allowedTypes": [
"images"
]
},
"navbar_items": {
"type": "component",
"repeatable": true,
"component": "items.navbar-items"
"component": "items.navbar-items",
"required": false
}
}
}

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_items_left_navbar_items",
"info": {
"displayName": "Navbar_Items",
"displayName": "Navigations-Überpunkt",
"icon": "bulletList",
"description": ""
},
@ -13,7 +13,7 @@
"URL": {
"type": "string"
},
"default_URL": {
"default_active_child": {
"type": "string"
},
"page": {

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_items_navbar_sub_items",
"info": {
"displayName": "Navbar_Sub_Items",
"displayName": "Navigations-Unterpunkt",
"icon": "bulletList",
"description": ""
},

View file

@ -1,7 +1,7 @@
{
"collectionName": "components_shared_lists",
"info": {
"displayName": "list",
"displayName": "Inhaltsauswahl",
"icon": "apps",
"description": ""
},

View file

@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2024-10-30T13:33:49.587Z"
"x-generation-date": "2024-11-01T10:19:23.797Z"
},
"x-strapi-config": {
"plugins": [
@ -4168,6 +4168,10 @@
"properties": {
"data": {
"required": [
"title",
"description",
"slug",
"image",
"date"
],
"type": "object",
@ -4270,6 +4274,10 @@
"Article": {
"type": "object",
"required": [
"title",
"description",
"slug",
"image",
"date"
],
"properties": {
@ -5421,6 +5429,9 @@
"properties": {
"data": {
"required": [
"title",
"description",
"slug",
"date"
],
"type": "object",
@ -5497,6 +5508,9 @@
"Event": {
"type": "object",
"required": [
"title",
"description",
"slug",
"date"
],
"properties": {
@ -5906,6 +5920,9 @@
],
"properties": {
"data": {
"required": [
"navbar"
],
"type": "object",
"properties": {
"navbar": {
@ -5972,6 +5989,9 @@
},
"Global": {
"type": "object",
"required": [
"navbar"
],
"properties": {
"id": {
"type": "number"
@ -6143,7 +6163,7 @@
"URL": {
"type": "string"
},
"default_URL": {
"default_active_child": {
"type": "string"
},
"page": {
@ -6491,7 +6511,7 @@
}
}
},
"SharedListComponent": {
"DynamicZoneGalleryComponent": {
"type": "object",
"properties": {
"id": {
@ -6500,19 +6520,137 @@
"__component": {
"type": "string",
"enum": [
"shared.list"
"dynamic-zone.gallery"
]
},
"list": {
"type": "string",
"enum": [
"articles",
"events",
"operations"
]
},
"enable_detail": {
"type": "boolean"
"images": {
"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"
}
}
}
}
}
}
}
},
@ -6531,40 +6669,6 @@
"text": {}
}
},
"DynamicZoneEmphasiseArticleComponent": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"__component": {
"type": "string",
"enum": [
"dynamic-zone.emphasise-article"
]
},
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
}
},
"titel": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"DynamicZoneFullImageComponent": {
"type": "object",
"properties": {
@ -6708,7 +6812,7 @@
}
}
},
"DynamicZoneGalleryComponent": {
"DynamicZoneEmphasiseArticleComponent": {
"type": "object",
"properties": {
"id": {
@ -6717,137 +6821,28 @@
"__component": {
"type": "string",
"enum": [
"dynamic-zone.gallery"
"dynamic-zone.emphasise-article"
]
},
"images": {
"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"
}
}
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"documentId": {
"type": "string"
}
}
}
},
"titel": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
@ -7014,6 +7009,31 @@
}
}
},
"SharedListComponent": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"__component": {
"type": "string",
"enum": [
"shared.list"
]
},
"list": {
"type": "string",
"enum": [
"articles",
"events",
"operations"
]
},
"enable_detail": {
"type": "boolean"
}
}
},
"HomepageRequest": {
"type": "object",
"required": [
@ -7058,6 +7078,9 @@
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
@ -7069,7 +7092,8 @@
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},
@ -7760,6 +7784,9 @@
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
@ -7771,7 +7798,8 @@
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},
@ -7973,6 +8001,9 @@
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
@ -7984,7 +8015,8 @@
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},
@ -8063,6 +8095,9 @@
"properties": {
"data": {
"required": [
"title",
"description",
"slug",
"date"
],
"type": "object",
@ -8076,7 +8111,6 @@
"slug": {
"type": "string"
},
"content": {},
"attachment": {
"type": "array",
"items": {
@ -8154,6 +8188,9 @@
"Operation": {
"type": "object",
"required": [
"title",
"description",
"slug",
"date"
],
"properties": {
@ -8172,7 +8209,6 @@
"slug": {
"type": "string"
},
"content": {},
"attachment": {
"type": "array",
"items": {
@ -8835,7 +8871,6 @@
"slug": {
"type": "string"
},
"content": {},
"attachment": {
"type": "array",
"items": {
@ -9047,15 +9082,19 @@
"properties": {
"data": {
"required": [
"identifier",
"slug",
"hero"
"Hero"
],
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"slug": {
"type": "string"
},
"hero": {
"Hero": {
"$ref": "#/components/schemas/SharedHeroComponent"
},
"content": {
@ -9063,38 +9102,38 @@
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/SharedListComponent"
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullImageComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneDualColumnTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
"discriminator": {
"propertyName": "__component",
"mapping": {
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.gallery": "#/components/schemas/DynamicZoneGalleryComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},
@ -9157,8 +9196,9 @@
"Page": {
"type": "object",
"required": [
"identifier",
"slug",
"hero"
"Hero"
],
"properties": {
"id": {
@ -9167,10 +9207,13 @@
"documentId": {
"type": "string"
},
"identifier": {
"type": "string"
},
"slug": {
"type": "string"
},
"hero": {
"Hero": {
"$ref": "#/components/schemas/SharedHeroComponent"
},
"content": {
@ -9178,38 +9221,38 @@
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/SharedListComponent"
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullImageComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneDualColumnTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
"discriminator": {
"propertyName": "__component",
"mapping": {
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.gallery": "#/components/schemas/DynamicZoneGalleryComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},
@ -9261,10 +9304,13 @@
"documentId": {
"type": "string"
},
"identifier": {
"type": "string"
},
"slug": {
"type": "string"
},
"hero": {
"Hero": {
"$ref": "#/components/schemas/SharedHeroComponent"
},
"content": {
@ -9272,38 +9318,38 @@
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/SharedListComponent"
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneFullImageComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneGalleryComponent"
"$ref": "#/components/schemas/DynamicZoneEmphasiseArticleComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneDualColumnTextComponent"
},
{
"$ref": "#/components/schemas/DynamicZoneColumnImageTextComponent"
},
{
"$ref": "#/components/schemas/SharedListComponent"
}
]
},
"discriminator": {
"propertyName": "__component",
"mapping": {
"shared.list": "#/components/schemas/SharedListComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.gallery": "#/components/schemas/DynamicZoneGalleryComponent",
"dynamic-zone.full-text": "#/components/schemas/DynamicZoneFullTextComponent",
"dynamic-zone.full-image": "#/components/schemas/DynamicZoneFullImageComponent",
"dynamic-zone.emphasise-article": "#/components/schemas/DynamicZoneEmphasiseArticleComponent",
"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"
}
}
},

File diff suppressed because one or more lines are too long