allow hide of landing backdrop
This commit is contained in:
parent
f2abe65749
commit
a39370e369
3 changed files with 21 additions and 6 deletions
|
@ -16,9 +16,12 @@
|
|||
"type": "media",
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
]
|
||||
"allowedTypes": ["images"]
|
||||
},
|
||||
"hide_backdrop": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"required": true
|
||||
},
|
||||
"content": {
|
||||
"type": "dynamiczone",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"name": "Apache 2.0",
|
||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
},
|
||||
"x-generation-date": "2025-01-16T12:40:38.072Z"
|
||||
"x-generation-date": "2025-01-17T10:22:28.611Z"
|
||||
},
|
||||
"x-strapi-config": {
|
||||
"plugins": [
|
||||
|
@ -9383,7 +9383,8 @@
|
|||
"properties": {
|
||||
"data": {
|
||||
"required": [
|
||||
"backdrop"
|
||||
"backdrop",
|
||||
"hide_backdrop"
|
||||
],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -9398,6 +9399,9 @@
|
|||
],
|
||||
"example": "string or id"
|
||||
},
|
||||
"hide_backdrop": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -9497,7 +9501,8 @@
|
|||
"Homepage": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"backdrop"
|
||||
"backdrop",
|
||||
"hide_backdrop"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
|
@ -10104,6 +10109,9 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"hide_backdrop": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -10321,6 +10329,9 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"hide_backdrop": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"content": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
|
1
types/generated/contentTypes.d.ts
vendored
1
types/generated/contentTypes.d.ts
vendored
|
@ -467,6 +467,7 @@ export interface ApiHomepageHomepage extends Struct.SingleTypeSchema {
|
|||
>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
createdBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;
|
||||
hide_backdrop: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo<false>;
|
||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||
localizations: Schema.Attribute.Relation<"oneToMany", "api::homepage.homepage"> & Schema.Attribute.Private;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
|
|
Loading…
Add table
Reference in a new issue