diff --git a/backend/src/api/donation/content-types/donation/schema.json b/backend/src/api/donation/content-types/donation/schema.json index cf82dbe7..5eb7d5b6 100644 --- a/backend/src/api/donation/content-types/donation/schema.json +++ b/backend/src/api/donation/content-types/donation/schema.json @@ -19,6 +19,9 @@ "banner_title": { "type": "string" }, + "banner_subtitle": { + "type": "string" + }, "banner_video": { "type": "media", "multiple": false, diff --git a/backend/src/api/projects-list/content-types/projects-list/schema.json b/backend/src/api/projects-list/content-types/projects-list/schema.json index 9365a1d0..69573698 100644 --- a/backend/src/api/projects-list/content-types/projects-list/schema.json +++ b/backend/src/api/projects-list/content-types/projects-list/schema.json @@ -29,11 +29,6 @@ "relation": "oneToMany", "target": "api::thematic.thematic" }, - "informations": { - "type": "component", - "component": "information.information-block", - "repeatable": true - }, "seasons": { "type": "relation", "relation": "oneToMany", @@ -58,6 +53,14 @@ "type": "component", "component": "call-to-action.call-to-action", "repeatable": false + }, + "informations_title": { + "type": "string" + }, + "informations": { + "type": "component", + "component": "information.information-block", + "repeatable": true } } } diff --git a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json index f2f15902..1c622a88 100644 --- a/backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/backend/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-09-29T13:11:12.255Z" + "x-generation-date": "2025-09-30T19:28:18.174Z" }, "x-strapi-config": { "plugins": [ @@ -28088,6 +28088,9 @@ "banner_title": { "type": "string" }, + "banner_subtitle": { + "type": "string" + }, "banner_video": { "oneOf": [ { @@ -28194,6 +28197,9 @@ "banner_title": { "type": "string" }, + "banner_subtitle": { + "type": "string" + }, "banner_video": { "type": "object", "properties": { @@ -28401,6 +28407,9 @@ "banner_title": { "type": "string" }, + "banner_subtitle": { + "type": "string" + }, "banner_video": { "type": "object", "properties": { @@ -55309,12 +55318,6 @@ "example": "string or id" } }, - "informations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InformationInformationBlockComponent" - } - }, "seasons": { "type": "array", "items": { @@ -55347,6 +55350,15 @@ "join_cta": { "$ref": "#/components/schemas/CallToActionCallToActionComponent" }, + "informations_title": { + "type": "string" + }, + "informations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InformationInformationBlockComponent" + } + }, "locale": { "type": "string" }, @@ -57821,12 +57833,6 @@ } } }, - "informations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InformationInformationBlockComponent" - } - }, "seasons": { "type": "array", "items": { @@ -57859,6 +57865,15 @@ "join_cta": { "$ref": "#/components/schemas/CallToActionCallToActionComponent" }, + "informations_title": { + "type": "string" + }, + "informations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InformationInformationBlockComponent" + } + }, "createdAt": { "type": "string", "format": "date-time" @@ -57930,12 +57945,6 @@ } } }, - "informations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InformationInformationBlockComponent" - } - }, "seasons": { "type": "array", "items": { @@ -57968,6 +57977,15 @@ "join_cta": { "$ref": "#/components/schemas/CallToActionCallToActionComponent" }, + "informations_title": { + "type": "string" + }, + "informations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InformationInformationBlockComponent" + } + }, "createdAt": { "type": "string", "format": "date-time" diff --git a/backend/types/generated/contentTypes.d.ts b/backend/types/generated/contentTypes.d.ts index e7ed081b..662fa0ca 100644 --- a/backend/types/generated/contentTypes.d.ts +++ b/backend/types/generated/contentTypes.d.ts @@ -670,6 +670,7 @@ export interface ApiDonationDonation extends Struct.SingleTypeSchema { 'call-to-action.call-to-action-with-image', true >; + banner_subtitle: Schema.Attribute.String; banner_title: Schema.Attribute.String; banner_video: Schema.Attribute.Media< 'images' | 'files' | 'videos' | 'audios' @@ -1525,6 +1526,7 @@ export interface ApiProjectsListProjectsList extends Struct.SingleTypeSchema { 'information.information-block', true >; + informations_title: Schema.Attribute.String; introduction: Schema.Attribute.Text; introduction_cta: Schema.Attribute.Component< 'call-to-action.call-to-action-with-image',