Skip to content

Commit 5ccaa75

Browse files
authored
Merge branch 'master' into feat/cooperative-page
2 parents da2e0f3 + 0b8ff5b commit 5ccaa75

File tree

6 files changed

+45
-15
lines changed

6 files changed

+45
-15
lines changed

cms-backend/src/api/earn-page-become-a-curator-tab-content/content-types/earn-page-become-a-curator-tab-content/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"type": "string"
2020
},
2121
"description": {
22-
"type": "string"
22+
"type": "text"
2323
},
2424
"ctaCard": {
2525
"type": "component",
@@ -32,7 +32,7 @@
3232
"component": "content.button-link"
3333
},
3434
"scoutExplanation": {
35-
"type": "string"
35+
"type": "text"
3636
},
3737
"klerosScoutSection": {
3838
"type": "component",

cms-backend/src/api/earn-page-become-a-juror-tab-content/content-types/earn-page-become-a-juror-tab-content/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
"type": "relation",
3838
"relation": "oneToMany",
3939
"target": "api::court.court"
40+
},
41+
"courtsButton": {
42+
"type": "component",
43+
"repeatable": false,
44+
"component": "content.button-link"
4045
}
4146
}
4247
}

cms-backend/src/components/content/cta-card.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
{
22
"collectionName": "components_content_cta_cards",
33
"info": {
4-
"displayName": "CTACard"
4+
"displayName": "CTACard",
5+
"description": ""
56
},
67
"options": {},
78
"attributes": {
89
"icon": {
9-
"allowedTypes": ["images", "files", "videos"],
10-
"type": "media"
10+
"type": "media",
11+
"multiple": false,
12+
"required": false,
13+
"allowedTypes": [
14+
"images",
15+
"files",
16+
"videos"
17+
]
1118
},
1219
"title": {
1320
"type": "string"
1421
},
1522
"description": {
16-
"type": "string"
23+
"type": "text"
1724
},
1825
"arrowLink": {
1926
"type": "component",
Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
{
22
"collectionName": "components_content_stat_display",
33
"info": {
4-
"displayName": "StatDisplay"
4+
"displayName": "StatDisplay",
5+
"description": ""
56
},
67
"options": {},
78
"attributes": {
8-
"title": {
9+
"icon": {
10+
"type": "media",
11+
"multiple": false,
12+
"required": false,
13+
"allowedTypes": [
14+
"images",
15+
"files",
16+
"videos"
17+
]
18+
},
19+
"statName": {
920
"type": "string"
1021
},
11-
"icon": {
12-
"allowedTypes": ["images", "files", "videos"],
13-
"type": "media"
22+
"statValue": {
23+
"type": "string"
24+
},
25+
"statValueSuffix": {
26+
"type": "string"
1427
}
1528
}
1629
}

cms-backend/types/generated/components.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,13 @@ export interface ContentStatDisplay extends Struct.ComponentSchema {
121121
collectionName: 'components_content_stat_display';
122122
info: {
123123
displayName: 'StatDisplay';
124+
description: '';
124125
};
125126
attributes: {
126-
title: Schema.Attribute.String;
127127
icon: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
128+
statName: Schema.Attribute.String;
129+
statValue: Schema.Attribute.String;
130+
statValueSuffix: Schema.Attribute.String;
128131
};
129132
}
130133

@@ -159,11 +162,12 @@ export interface ContentCtaCard extends Struct.ComponentSchema {
159162
collectionName: 'components_content_cta_cards';
160163
info: {
161164
displayName: 'CTACard';
165+
description: '';
162166
};
163167
attributes: {
164168
icon: Schema.Attribute.Media<'images' | 'files' | 'videos'>;
165169
title: Schema.Attribute.String;
166-
description: Schema.Attribute.String;
170+
description: Schema.Attribute.Text;
167171
arrowLink: Schema.Attribute.Component<'content.button-link', false>;
168172
};
169173
}

cms-backend/types/generated/contentTypes.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,10 @@ export interface ApiEarnPageBecomeACuratorTabContentEarnPageBecomeACuratorTabCon
720720
attributes: {
721721
tabName: Schema.Attribute.String;
722722
title: Schema.Attribute.String;
723-
description: Schema.Attribute.String;
723+
description: Schema.Attribute.Text;
724724
ctaCard: Schema.Attribute.Component<'content.cta-card', true>;
725725
arrowLink: Schema.Attribute.Component<'content.button-link', false>;
726-
scoutExplanation: Schema.Attribute.String;
726+
scoutExplanation: Schema.Attribute.Text;
727727
klerosScoutSection: Schema.Attribute.Component<
728728
'earn-page.kleros-scout-section',
729729
false
@@ -769,6 +769,7 @@ export interface ApiEarnPageBecomeAJurorTabContentEarnPageBecomeAJurorTabContent
769769
'oneToMany',
770770
'api::court.court'
771771
>;
772+
courtsButton: Schema.Attribute.Component<'content.button-link', false>;
772773
createdAt: Schema.Attribute.DateTime;
773774
updatedAt: Schema.Attribute.DateTime;
774775
publishedAt: Schema.Attribute.DateTime;

0 commit comments

Comments
 (0)