From 4cd47c5d4c0356f4c17d961381cee1ab088c8a71 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Tue, 5 Nov 2024 14:41:59 +0100 Subject: [PATCH] component enhance --- src/components/dynamic-zone/emphasise-article.json | 5 +++++ .../documentation/1.0.0/full_documentation.json | 5 ++++- types/generated/components.d.ts | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/dynamic-zone/emphasise-article.json b/src/components/dynamic-zone/emphasise-article.json index fc82bc7..aa1657f 100644 --- a/src/components/dynamic-zone/emphasise-article.json +++ b/src/components/dynamic-zone/emphasise-article.json @@ -18,6 +18,11 @@ }, "description": { "type": "text" + }, + "base_url": { + "type": "string", + "required": true, + "default": "/artikel" } } } 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 cd21ea0..169e168 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": "2024-11-05T13:02:13.660Z" + "x-generation-date": "2024-11-05T13:37:46.663Z" }, "x-strapi-config": { "plugins": [ @@ -8369,6 +8369,9 @@ }, "description": { "type": "string" + }, + "base_url": { + "type": "string" } } }, diff --git a/types/generated/components.d.ts b/types/generated/components.d.ts index 00b7873..372ee50 100644 --- a/types/generated/components.d.ts +++ b/types/generated/components.d.ts @@ -37,6 +37,9 @@ export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema { }; attributes: { articles: Schema.Attribute.Relation<'oneToMany', 'api::article.article'>; + base_url: Schema.Attribute.String & + Schema.Attribute.Required & + Schema.Attribute.DefaultTo<'/artikel'>; description: Schema.Attribute.Text; titel: Schema.Attribute.String & Schema.Attribute.Required; };