component enhance

This commit is contained in:
Julian Krauser 2024-11-05 14:41:59 +01:00
parent f4acc5799c
commit 4cd47c5d4c
3 changed files with 12 additions and 1 deletions

View file

@ -18,6 +18,11 @@
}, },
"description": { "description": {
"type": "text" "type": "text"
},
"base_url": {
"type": "string",
"required": true,
"default": "/artikel"
} }
} }
} }

View file

@ -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": "2024-11-05T13:02:13.660Z" "x-generation-date": "2024-11-05T13:37:46.663Z"
}, },
"x-strapi-config": { "x-strapi-config": {
"plugins": [ "plugins": [
@ -8369,6 +8369,9 @@
}, },
"description": { "description": {
"type": "string" "type": "string"
},
"base_url": {
"type": "string"
} }
} }
}, },

View file

@ -37,6 +37,9 @@ export interface DynamicZoneEmphasiseArticle extends Struct.ComponentSchema {
}; };
attributes: { attributes: {
articles: Schema.Attribute.Relation<'oneToMany', 'api::article.article'>; articles: Schema.Attribute.Relation<'oneToMany', 'api::article.article'>;
base_url: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.DefaultTo<'/artikel'>;
description: Schema.Attribute.Text; description: Schema.Attribute.Text;
titel: Schema.Attribute.String & Schema.Attribute.Required; titel: Schema.Attribute.String & Schema.Attribute.Required;
}; };