diff --git a/cms-backend/src/api/home-how-kleros-works-section/content-types/home-how-kleros-works-section/schema.json b/cms-backend/src/api/home-how-kleros-works-section/content-types/home-how-kleros-works-section/schema.json index d4d49f6..31e4ebe 100644 --- a/cms-backend/src/api/home-how-kleros-works-section/content-types/home-how-kleros-works-section/schema.json +++ b/cms-backend/src/api/home-how-kleros-works-section/content-types/home-how-kleros-works-section/schema.json @@ -24,11 +24,6 @@ "type": "string", "required": true }, - "token_stats": { - "type": "relation", - "relation": "oneToMany", - "target": "api::token-stat.token-stat" - }, "explainer": { "type": "component", "repeatable": false, diff --git a/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json b/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json index a89fe80..575e8e1 100644 --- a/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json +++ b/cms-backend/src/api/home-page-hero/content-types/home-page-hero/schema.json @@ -34,14 +34,20 @@ "component": "content.button-link" }, "background": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "images", "files", "videos", "audios" - ], - "type": "media", - "multiple": false + ] + }, + "tokenStats": { + "type": "relation", + "relation": "oneToOne", + "target": "api::token-stat.token-stat" } } } diff --git a/cms-backend/types/generated/contentTypes.d.ts b/cms-backend/types/generated/contentTypes.d.ts index f4d4a94..961dfc8 100644 --- a/cms-backend/types/generated/contentTypes.d.ts +++ b/cms-backend/types/generated/contentTypes.d.ts @@ -1623,10 +1623,6 @@ export interface ApiHomeHowKlerosWorksSectionHomeHowKlerosWorksSection publishedAt: Schema.Attribute.DateTime; subtitle: Schema.Attribute.String & Schema.Attribute.Required; title: Schema.Attribute.String & Schema.Attribute.Required; - token_stats: Schema.Attribute.Relation< - 'oneToMany', - 'api::token-stat.token-stat' - >; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; @@ -1696,6 +1692,10 @@ export interface ApiHomePageHeroHomePageHero extends Struct.SingleTypeSchema { secondaryButton: Schema.Attribute.Component<'content.button-link', false>; subtitle: Schema.Attribute.String; title: Schema.Attribute.String; + tokenStats: Schema.Attribute.Relation< + 'oneToOne', + 'api::token-stat.token-stat' + >; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private;