diff --git a/src/api/homepage/content-types/homepage/schema.json b/src/api/homepage/content-types/homepage/schema.json index d271e39..cec10bd 100644 --- a/src/api/homepage/content-types/homepage/schema.json +++ b/src/api/homepage/content-types/homepage/schema.json @@ -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", 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 3a42929..4bb5129 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": "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": { diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index a015f73..fa72518 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -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; locale: Schema.Attribute.String & Schema.Attribute.Private; localizations: Schema.Attribute.Relation<"oneToMany", "api::homepage.homepage"> & Schema.Attribute.Private; publishedAt: Schema.Attribute.DateTime;