From 36273b6f888a723498f9512ad23be284fbe7ea3e Mon Sep 17 00:00:00 2001 From: Harman-singh-waraich Date: Tue, 21 Jan 2025 21:17:22 +0530 Subject: [PATCH] refactor(cms): for-lawyers-page-type --- .../schema.json | 3 +++ .../schema.json | 10 +++++----- cms-backend/types/generated/contentTypes.d.ts | 3 ++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cms-backend/src/api/for-lawyers-page-dispute-resolution-with-kleros-section/content-types/for-lawyers-page-dispute-resolution-with-kleros-section/schema.json b/cms-backend/src/api/for-lawyers-page-dispute-resolution-with-kleros-section/content-types/for-lawyers-page-dispute-resolution-with-kleros-section/schema.json index 89f3276..3c27346 100644 --- a/cms-backend/src/api/for-lawyers-page-dispute-resolution-with-kleros-section/content-types/for-lawyers-page-dispute-resolution-with-kleros-section/schema.json +++ b/cms-backend/src/api/for-lawyers-page-dispute-resolution-with-kleros-section/content-types/for-lawyers-page-dispute-resolution-with-kleros-section/schema.json @@ -39,6 +39,9 @@ }, "thirdSubtitle": { "type": "text" + }, + "subtitle": { + "type": "text" } } } diff --git a/cms-backend/src/api/for-lawyers-page-kleros-enterprise-section/content-types/for-lawyers-page-kleros-enterprise-section/schema.json b/cms-backend/src/api/for-lawyers-page-kleros-enterprise-section/content-types/for-lawyers-page-kleros-enterprise-section/schema.json index acdf88c..58ee82a 100644 --- a/cms-backend/src/api/for-lawyers-page-kleros-enterprise-section/content-types/for-lawyers-page-kleros-enterprise-section/schema.json +++ b/cms-backend/src/api/for-lawyers-page-kleros-enterprise-section/content-types/for-lawyers-page-kleros-enterprise-section/schema.json @@ -50,11 +50,6 @@ "audios" ] }, - "articleLink": { - "type": "relation", - "relation": "oneToOne", - "target": "api::link.link" - }, "table": { "type": "component", "repeatable": false, @@ -64,6 +59,11 @@ "type": "component", "repeatable": false, "component": "content.highlight-text" + }, + "arrowLink": { + "type": "component", + "repeatable": false, + "component": "content.button-link" } } } diff --git a/cms-backend/types/generated/contentTypes.d.ts b/cms-backend/types/generated/contentTypes.d.ts index 76eb8ca..d5d6cf8 100644 --- a/cms-backend/types/generated/contentTypes.d.ts +++ b/cms-backend/types/generated/contentTypes.d.ts @@ -1334,6 +1334,7 @@ export interface ApiForLawyersPageDisputeResolutionWithKlerosSectionForLawyersPa publishedAt: Schema.Attribute.DateTime; secondHeader: Schema.Attribute.String; secondSubtitle: Schema.Attribute.Text; + subtitle: Schema.Attribute.Text; thirdHeader: Schema.Attribute.String; thirdSubtitle: Schema.Attribute.Text; updatedAt: Schema.Attribute.DateTime; @@ -1390,7 +1391,7 @@ export interface ApiForLawyersPageKlerosEnterpriseSectionForLawyersPageKlerosEnt draftAndPublish: true; }; attributes: { - articleLink: Schema.Attribute.Relation<'oneToOne', 'api::link.link'>; + arrowLink: Schema.Attribute.Component<'content.button-link', false>; cards: Schema.Attribute.Component<'content.cta-card', true>; createdAt: Schema.Attribute.DateTime; createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &