Skip to content

Commit 140d25a

Browse files
committed
Merge branch 'master' into feat(cms)/add-home-types
2 parents 204ff70 + 7175c6f commit 140d25a

File tree

9 files changed

+30
-66
lines changed

9 files changed

+30
-66
lines changed

cms-backend/src/api/r-and-d-page-fellowship-tab-section/content-types/r-and-d-page-fellowship-tab-section/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
},
2727
"tabName": {
2828
"type": "string"
29+
},
30+
"waitlistSection": {
31+
"type": "component",
32+
"repeatable": false,
33+
"component": "r-and-d-page.waitlist-section"
2934
}
3035
}
3136
}

cms-backend/src/api/r-and-d-page-fellowship-waitlist-section/controllers/r-and-d-page-fellowship-waitlist-section.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

cms-backend/src/api/r-and-d-page-fellowship-waitlist-section/routes/r-and-d-page-fellowship-waitlist-section.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

cms-backend/src/api/r-and-d-page-fellowship-waitlist-section/services/r-and-d-page-fellowship-waitlist-section.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

cms-backend/src/api/research/content-types/research/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"info": {
55
"singularName": "research",
66
"pluralName": "researches",
7-
"displayName": "research",
7+
"displayName": "Research",
88
"description": ""
99
},
1010
"options": {

cms-backend/src/api/third-party-publication/content-types/third-party-publication/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"pluginOptions": {},
1414
"attributes": {
15-
"Topic": {
15+
"topic": {
1616
"type": "text"
1717
},
1818
"paperLink": {

cms-backend/src/api/r-and-d-page-fellowship-waitlist-section/content-types/r-and-d-page-fellowship-waitlist-section/schema.json renamed to cms-backend/src/components/r-and-d-page/waitlist-section.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
{
2-
"kind": "singleType",
3-
"collectionName": "r_and_d_page_fellowship_waitlist_sections",
2+
"collectionName": "components_r_and_d_page_waitlist_sections",
43
"info": {
5-
"singularName": "r-and-d-page-fellowship-waitlist-section",
6-
"pluralName": "r-and-d-page-fellowship-waitlist-sections",
7-
"displayName": "R&DPageFellowshipWaitlistSection"
4+
"displayName": "WaitlistSection"
85
},
9-
"options": {
10-
"draftAndPublish": true
11-
},
12-
"pluginOptions": {},
6+
"options": {},
137
"attributes": {
148
"header": {
159
"type": "string"

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
import type { Struct, Schema } from '@strapi/strapi';
22

3+
export interface RAndDPageWaitlistSection extends Struct.ComponentSchema {
4+
collectionName: 'components_r_and_d_page_waitlist_sections';
5+
info: {
6+
displayName: 'WaitlistSection';
7+
};
8+
attributes: {
9+
header: Schema.Attribute.String;
10+
applyButton: Schema.Attribute.Component<'content.button-link', false>;
11+
arrowLink: Schema.Attribute.Component<'content.button-link', false>;
12+
icon: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
13+
};
14+
}
15+
316
export interface RAndDPageKlerosBook extends Struct.ComponentSchema {
417
collectionName: 'components_r_and_d_page_kleros_books';
518
info: {
@@ -213,6 +226,7 @@ export interface ContentButtonLink extends Struct.ComponentSchema {
213226
declare module '@strapi/strapi' {
214227
export module Public {
215228
export interface ComponentSchemas {
229+
'r-and-d-page.waitlist-section': RAndDPageWaitlistSection;
216230
'r-and-d-page.kleros-book': RAndDPageKlerosBook;
217231
'pnk-token-page.token-stat-display': PnkTokenPageTokenStatDisplay;
218232
'home-page.card': HomePageCard;

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

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,37 +1662,10 @@ export interface ApiRAndDPageFellowshipTabSectionRAndDPageFellowshipTabSection
16621662
testimonialsHeader: Schema.Attribute.String;
16631663
fellowsHeader: Schema.Attribute.String;
16641664
tabName: Schema.Attribute.String;
1665-
createdAt: Schema.Attribute.DateTime;
1666-
updatedAt: Schema.Attribute.DateTime;
1667-
publishedAt: Schema.Attribute.DateTime;
1668-
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
1669-
Schema.Attribute.Private;
1670-
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
1671-
Schema.Attribute.Private;
1672-
locale: Schema.Attribute.String;
1673-
localizations: Schema.Attribute.Relation<
1674-
'oneToMany',
1675-
'api::r-and-d-page-fellowship-tab-section.r-and-d-page-fellowship-tab-section'
1665+
waitlistSection: Schema.Attribute.Component<
1666+
'r-and-d-page.waitlist-section',
1667+
false
16761668
>;
1677-
};
1678-
}
1679-
1680-
export interface ApiRAndDPageFellowshipWaitlistSectionRAndDPageFellowshipWaitlistSection
1681-
extends Struct.SingleTypeSchema {
1682-
collectionName: 'r_and_d_page_fellowship_waitlist_sections';
1683-
info: {
1684-
singularName: 'r-and-d-page-fellowship-waitlist-section';
1685-
pluralName: 'r-and-d-page-fellowship-waitlist-sections';
1686-
displayName: 'R&DPageFellowshipWaitlistSection';
1687-
};
1688-
options: {
1689-
draftAndPublish: true;
1690-
};
1691-
attributes: {
1692-
header: Schema.Attribute.String;
1693-
applyButton: Schema.Attribute.Component<'content.button-link', false>;
1694-
arrowLink: Schema.Attribute.Component<'content.button-link', false>;
1695-
icon: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
16961669
createdAt: Schema.Attribute.DateTime;
16971670
updatedAt: Schema.Attribute.DateTime;
16981671
publishedAt: Schema.Attribute.DateTime;
@@ -1703,7 +1676,7 @@ export interface ApiRAndDPageFellowshipWaitlistSectionRAndDPageFellowshipWaitlis
17031676
locale: Schema.Attribute.String;
17041677
localizations: Schema.Attribute.Relation<
17051678
'oneToMany',
1706-
'api::r-and-d-page-fellowship-waitlist-section.r-and-d-page-fellowship-waitlist-section'
1679+
'api::r-and-d-page-fellowship-tab-section.r-and-d-page-fellowship-tab-section'
17071680
>;
17081681
};
17091682
}
@@ -1783,7 +1756,7 @@ export interface ApiResearchResearch extends Struct.CollectionTypeSchema {
17831756
info: {
17841757
singularName: 'research';
17851758
pluralName: 'researches';
1786-
displayName: 'research';
1759+
displayName: 'Research';
17871760
description: '';
17881761
};
17891762
options: {
@@ -1987,7 +1960,7 @@ export interface ApiThirdPartyPublicationThirdPartyPublication
19871960
draftAndPublish: true;
19881961
};
19891962
attributes: {
1990-
Topic: Schema.Attribute.Text;
1963+
topic: Schema.Attribute.Text;
19911964
paperLink: Schema.Attribute.Component<'content.button-link', false>;
19921965
createdAt: Schema.Attribute.DateTime;
19931966
updatedAt: Schema.Attribute.DateTime;
@@ -2549,7 +2522,6 @@ declare module '@strapi/strapi' {
25492522
'api::pnk-token-page-need-section.pnk-token-page-need-section': ApiPnkTokenPageNeedSectionPnkTokenPageNeedSection;
25502523
'api::pnk-token-page-tokenomics-section.pnk-token-page-tokenomics-section': ApiPnkTokenPageTokenomicsSectionPnkTokenPageTokenomicsSection;
25512524
'api::r-and-d-page-fellowship-tab-section.r-and-d-page-fellowship-tab-section': ApiRAndDPageFellowshipTabSectionRAndDPageFellowshipTabSection;
2552-
'api::r-and-d-page-fellowship-waitlist-section.r-and-d-page-fellowship-waitlist-section': ApiRAndDPageFellowshipWaitlistSectionRAndDPageFellowshipWaitlistSection;
25532525
'api::r-and-d-page-hero.r-and-d-page-hero': ApiRAndDPageHeroRAndDPageHero;
25542526
'api::r-and-d-page-research-tab-section.r-and-d-page-research-tab-section': ApiRAndDPageResearchTabSectionRAndDPageResearchTabSection;
25552527
'api::research.research': ApiResearchResearch;

0 commit comments

Comments
 (0)