cortex-react-components 1.46.2 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-PBKAWMUU.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-4BZYZZOG.mjs → chunk-3TIFSACL.mjs} +1 -1
- package/dist/{chunk-7PWDA3UD.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-H4NT35II.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-SOZ265PX.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/{chunk-BK5FPGFH.mjs → chunk-74KJ5V34.mjs} +1 -1
- package/dist/{chunk-KJBMLPHS.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-PGSQ2PAH.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-4ZT572BM.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-PKB6F4J5.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-654RXN5C.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-OKGREBP5.mjs → chunk-BWGRPPZL.mjs} +1 -1
- package/dist/{chunk-4OQHZ5FW.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-PV7GB4V4.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-MZVYPHE3.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-4QHYOUY7.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-6G2YEF4M.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-XHDR7I54.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-KAJDV47B.mjs → chunk-GHBJK554.mjs} +1 -1
- package/dist/{chunk-7QOBENUU.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-KQE42INF.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-HE3WBVX5.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-M24IHGNE.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-TKACTYOE.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-7OHZFWIJ.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-FOMKMFJX.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-W66SVCJY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-V7YLLLES.mjs → chunk-RZTXT4UD.mjs} +1 -1
- package/dist/{chunk-TCJJQBFS.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.mjs} +1 -1
- package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +4 -20
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContent.css +1 -0
- package/dist/components/Blocks/ReusableContent.d.ts +8 -0
- package/dist/components/Blocks/ReusableContent.js +4 -0
- package/dist/components/Blocks/ReusableContent.mjs +1 -0
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.d.ts +12 -2
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +183 -183
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/payload-types.d.ts +300 -3
- package/dist/payload-types.js +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QEJAJJSS.mjs +0 -1
- package/dist/chunk-XZEJC3UX.mjs +0 -1
- package/dist/chunk-ZSRAJP4K.mjs +0 -1
package/dist/payload-types.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface Config {
|
|
|
10
10
|
collections: {
|
|
11
11
|
pages: Page;
|
|
12
12
|
'published-pages': PublishedPage;
|
|
13
|
+
'reusable-content': ReusableContent;
|
|
13
14
|
posts: Post;
|
|
14
15
|
'published-posts': PublishedPost;
|
|
15
16
|
media: Media;
|
|
@@ -25,6 +26,7 @@ export interface Config {
|
|
|
25
26
|
holidays: Holiday;
|
|
26
27
|
deals: Deal;
|
|
27
28
|
'deal-categories': DealCategory;
|
|
29
|
+
proposals: Proposal;
|
|
28
30
|
redirects: Redirect;
|
|
29
31
|
forms: Form;
|
|
30
32
|
'form-submissions': FormSubmission;
|
|
@@ -38,6 +40,7 @@ export interface Config {
|
|
|
38
40
|
collectionsSelect: {
|
|
39
41
|
pages: PagesSelect<false> | PagesSelect<true>;
|
|
40
42
|
'published-pages': PublishedPagesSelect<false> | PublishedPagesSelect<true>;
|
|
43
|
+
'reusable-content': ReusableContentSelect<false> | ReusableContentSelect<true>;
|
|
41
44
|
posts: PostsSelect<false> | PostsSelect<true>;
|
|
42
45
|
'published-posts': PublishedPostsSelect<false> | PublishedPostsSelect<true>;
|
|
43
46
|
media: MediaSelect<false> | MediaSelect<true>;
|
|
@@ -53,6 +56,7 @@ export interface Config {
|
|
|
53
56
|
holidays: HolidaysSelect<false> | HolidaysSelect<true>;
|
|
54
57
|
deals: DealsSelect<false> | DealsSelect<true>;
|
|
55
58
|
'deal-categories': DealCategoriesSelect<false> | DealCategoriesSelect<true>;
|
|
59
|
+
proposals: ProposalsSelect<false> | ProposalsSelect<true>;
|
|
56
60
|
redirects: RedirectsSelect<false> | RedirectsSelect<true>;
|
|
57
61
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
58
62
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
@@ -324,6 +328,10 @@ export interface ContentBlock {
|
|
|
324
328
|
theme?: ('default' | 'light' | 'dark' | 'green') | null;
|
|
325
329
|
background?: ('solid' | 'transparent' | 'gradientUp' | 'gradientDown' | 'image') | null;
|
|
326
330
|
image?: (number | null) | Media;
|
|
331
|
+
/**
|
|
332
|
+
* Overlay the theme colour on top of the image
|
|
333
|
+
*/
|
|
334
|
+
overlay?: boolean | null;
|
|
327
335
|
};
|
|
328
336
|
};
|
|
329
337
|
columns?: {
|
|
@@ -839,7 +847,21 @@ export interface Form {
|
|
|
839
847
|
* via the `definition` "FeaturesBlock".
|
|
840
848
|
*/
|
|
841
849
|
export interface FeaturesBlock {
|
|
842
|
-
|
|
850
|
+
theme?: {
|
|
851
|
+
settings?: {
|
|
852
|
+
/**
|
|
853
|
+
* Set the background style
|
|
854
|
+
*/
|
|
855
|
+
theme?: ('default' | 'light' | 'dark' | 'green') | null;
|
|
856
|
+
background?: ('solid' | 'transparent' | 'gradientUp' | 'gradientDown' | 'image') | null;
|
|
857
|
+
image?: (number | null) | Media;
|
|
858
|
+
/**
|
|
859
|
+
* Overlay the theme colour on top of the image
|
|
860
|
+
*/
|
|
861
|
+
overlay?: boolean | null;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
title?: string | null;
|
|
843
865
|
description?: {
|
|
844
866
|
root: {
|
|
845
867
|
type: string;
|
|
@@ -857,6 +879,16 @@ export interface FeaturesBlock {
|
|
|
857
879
|
} | null;
|
|
858
880
|
features?: {
|
|
859
881
|
title: string;
|
|
882
|
+
settings?: {
|
|
883
|
+
/**
|
|
884
|
+
* Card style
|
|
885
|
+
*/
|
|
886
|
+
card?: ('default' | 'solid' | 'gradient' | 'radial') | null;
|
|
887
|
+
/**
|
|
888
|
+
* Card contents style
|
|
889
|
+
*/
|
|
890
|
+
contents?: ('icon' | 'statistic' | 'text') | null;
|
|
891
|
+
};
|
|
860
892
|
link?: {
|
|
861
893
|
type?: ('reference' | 'custom' | 'none') | null;
|
|
862
894
|
newTab?: boolean | null;
|
|
@@ -867,9 +899,10 @@ export interface FeaturesBlock {
|
|
|
867
899
|
url?: string | null;
|
|
868
900
|
};
|
|
869
901
|
icon: {
|
|
870
|
-
type: 'fa-kit' | 'fa-light' | 'fa-thin' | 'fa-brands';
|
|
871
|
-
icon
|
|
902
|
+
type: 'fa-kit' | 'fa-light' | 'fa-thin' | 'fa-brands' | 'none';
|
|
903
|
+
icon?: string | null;
|
|
872
904
|
};
|
|
905
|
+
statistic?: string | null;
|
|
873
906
|
content?: {
|
|
874
907
|
root: {
|
|
875
908
|
type: string;
|
|
@@ -1063,6 +1096,84 @@ export interface PublishedPage {
|
|
|
1063
1096
|
updatedAt: string;
|
|
1064
1097
|
createdAt: string;
|
|
1065
1098
|
}
|
|
1099
|
+
/**
|
|
1100
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1101
|
+
* via the `definition` "reusable-content".
|
|
1102
|
+
*/
|
|
1103
|
+
export interface ReusableContent {
|
|
1104
|
+
id: number;
|
|
1105
|
+
title: string;
|
|
1106
|
+
hero: {
|
|
1107
|
+
type: 'none' | 'highImpact' | 'mediumImpact' | 'lowImpact';
|
|
1108
|
+
richText?: {
|
|
1109
|
+
root: {
|
|
1110
|
+
type: string;
|
|
1111
|
+
children: {
|
|
1112
|
+
type: string;
|
|
1113
|
+
version: number;
|
|
1114
|
+
[k: string]: unknown;
|
|
1115
|
+
}[];
|
|
1116
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1117
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1118
|
+
indent: number;
|
|
1119
|
+
version: number;
|
|
1120
|
+
};
|
|
1121
|
+
[k: string]: unknown;
|
|
1122
|
+
} | null;
|
|
1123
|
+
links?: {
|
|
1124
|
+
link: {
|
|
1125
|
+
type?: ('reference' | 'custom' | 'none') | null;
|
|
1126
|
+
newTab?: boolean | null;
|
|
1127
|
+
reference?: {
|
|
1128
|
+
relationTo: 'pages';
|
|
1129
|
+
value: number | Page;
|
|
1130
|
+
} | null;
|
|
1131
|
+
url?: string | null;
|
|
1132
|
+
label: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Choose how the link should be rendered.
|
|
1135
|
+
*/
|
|
1136
|
+
appearance?: ('default' | 'outline') | null;
|
|
1137
|
+
};
|
|
1138
|
+
id?: string | null;
|
|
1139
|
+
}[] | null;
|
|
1140
|
+
media?: (number | null) | Media;
|
|
1141
|
+
};
|
|
1142
|
+
layout: (CallToActionBlock | ContentBlock | MediaBlock | ImageBlock | ArchiveBlock | FormBlock | FeaturesBlock)[];
|
|
1143
|
+
meta?: {
|
|
1144
|
+
title?: string | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Maximum upload file size: 12MB. Recommended file size for images is <500KB.
|
|
1147
|
+
*/
|
|
1148
|
+
image?: (number | null) | Media;
|
|
1149
|
+
description?: string | null;
|
|
1150
|
+
};
|
|
1151
|
+
publishedAt?: string | null;
|
|
1152
|
+
relatedDocument?: {
|
|
1153
|
+
relationTo: 'propositions';
|
|
1154
|
+
value: number | Proposition;
|
|
1155
|
+
} | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Links to other pages or external content
|
|
1158
|
+
*/
|
|
1159
|
+
links?: {
|
|
1160
|
+
link: {
|
|
1161
|
+
type?: ('reference' | 'custom' | 'none') | null;
|
|
1162
|
+
newTab?: boolean | null;
|
|
1163
|
+
reference?: {
|
|
1164
|
+
relationTo: 'pages';
|
|
1165
|
+
value: number | Page;
|
|
1166
|
+
} | null;
|
|
1167
|
+
url?: string | null;
|
|
1168
|
+
label: string;
|
|
1169
|
+
};
|
|
1170
|
+
id?: string | null;
|
|
1171
|
+
}[] | null;
|
|
1172
|
+
slug?: string | null;
|
|
1173
|
+
slugLock?: boolean | null;
|
|
1174
|
+
updatedAt: string;
|
|
1175
|
+
createdAt: string;
|
|
1176
|
+
}
|
|
1066
1177
|
/**
|
|
1067
1178
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1068
1179
|
* via the `definition` "published-posts".
|
|
@@ -1319,6 +1430,71 @@ export interface DealCategory {
|
|
|
1319
1430
|
updatedAt: string;
|
|
1320
1431
|
createdAt: string;
|
|
1321
1432
|
}
|
|
1433
|
+
/**
|
|
1434
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1435
|
+
* via the `definition` "proposals".
|
|
1436
|
+
*/
|
|
1437
|
+
export interface Proposal {
|
|
1438
|
+
id: number;
|
|
1439
|
+
title: string;
|
|
1440
|
+
hero: {
|
|
1441
|
+
type: 'none' | 'highImpact' | 'mediumImpact' | 'lowImpact';
|
|
1442
|
+
richText?: {
|
|
1443
|
+
root: {
|
|
1444
|
+
type: string;
|
|
1445
|
+
children: {
|
|
1446
|
+
type: string;
|
|
1447
|
+
version: number;
|
|
1448
|
+
[k: string]: unknown;
|
|
1449
|
+
}[];
|
|
1450
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1451
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1452
|
+
indent: number;
|
|
1453
|
+
version: number;
|
|
1454
|
+
};
|
|
1455
|
+
[k: string]: unknown;
|
|
1456
|
+
} | null;
|
|
1457
|
+
links?: {
|
|
1458
|
+
link: {
|
|
1459
|
+
type?: ('reference' | 'custom' | 'none') | null;
|
|
1460
|
+
newTab?: boolean | null;
|
|
1461
|
+
reference?: {
|
|
1462
|
+
relationTo: 'pages';
|
|
1463
|
+
value: number | Page;
|
|
1464
|
+
} | null;
|
|
1465
|
+
url?: string | null;
|
|
1466
|
+
label: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* Choose how the link should be rendered.
|
|
1469
|
+
*/
|
|
1470
|
+
appearance?: ('default' | 'outline') | null;
|
|
1471
|
+
};
|
|
1472
|
+
id?: string | null;
|
|
1473
|
+
}[] | null;
|
|
1474
|
+
media?: (number | null) | Media;
|
|
1475
|
+
};
|
|
1476
|
+
layout: (CallToActionBlock | ContentBlock | MediaBlock | ImageBlock | FormBlock | FeaturesBlock | {
|
|
1477
|
+
reusableContent: number | ReusableContent;
|
|
1478
|
+
/**
|
|
1479
|
+
* This is a custom ID that can be used to target this block with CSS or JavaScript.
|
|
1480
|
+
*/
|
|
1481
|
+
customId?: string | null;
|
|
1482
|
+
id?: string | null;
|
|
1483
|
+
blockName?: string | null;
|
|
1484
|
+
blockType: 'reusableContentBlock';
|
|
1485
|
+
})[];
|
|
1486
|
+
publishedAt?: string | null;
|
|
1487
|
+
authors?: (number | User)[] | null;
|
|
1488
|
+
populatedAuthors?: {
|
|
1489
|
+
id?: string | null;
|
|
1490
|
+
name?: string | null;
|
|
1491
|
+
}[] | null;
|
|
1492
|
+
slug?: string | null;
|
|
1493
|
+
slugLock?: boolean | null;
|
|
1494
|
+
updatedAt: string;
|
|
1495
|
+
createdAt: string;
|
|
1496
|
+
_status?: ('draft' | 'published') | null;
|
|
1497
|
+
}
|
|
1322
1498
|
/**
|
|
1323
1499
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1324
1500
|
* via the `definition` "redirects".
|
|
@@ -1453,6 +1629,9 @@ export interface PayloadLockedDocument {
|
|
|
1453
1629
|
} | null) | ({
|
|
1454
1630
|
relationTo: 'published-pages';
|
|
1455
1631
|
value: number | PublishedPage;
|
|
1632
|
+
} | null) | ({
|
|
1633
|
+
relationTo: 'reusable-content';
|
|
1634
|
+
value: number | ReusableContent;
|
|
1456
1635
|
} | null) | ({
|
|
1457
1636
|
relationTo: 'posts';
|
|
1458
1637
|
value: number | Post;
|
|
@@ -1498,6 +1677,9 @@ export interface PayloadLockedDocument {
|
|
|
1498
1677
|
} | null) | ({
|
|
1499
1678
|
relationTo: 'deal-categories';
|
|
1500
1679
|
value: number | DealCategory;
|
|
1680
|
+
} | null) | ({
|
|
1681
|
+
relationTo: 'proposals';
|
|
1682
|
+
value: number | Proposal;
|
|
1501
1683
|
} | null) | ({
|
|
1502
1684
|
relationTo: 'redirects';
|
|
1503
1685
|
value: number | Redirect;
|
|
@@ -1641,6 +1823,7 @@ export interface ContentBlockSelect<T extends boolean = true> {
|
|
|
1641
1823
|
theme?: T;
|
|
1642
1824
|
background?: T;
|
|
1643
1825
|
image?: T;
|
|
1826
|
+
overlay?: T;
|
|
1644
1827
|
};
|
|
1645
1828
|
};
|
|
1646
1829
|
columns?: T | {
|
|
@@ -1708,10 +1891,22 @@ export interface FormBlockSelect<T extends boolean = true> {
|
|
|
1708
1891
|
* via the `definition` "FeaturesBlock_select".
|
|
1709
1892
|
*/
|
|
1710
1893
|
export interface FeaturesBlockSelect<T extends boolean = true> {
|
|
1894
|
+
theme?: T | {
|
|
1895
|
+
settings?: T | {
|
|
1896
|
+
theme?: T;
|
|
1897
|
+
background?: T;
|
|
1898
|
+
image?: T;
|
|
1899
|
+
overlay?: T;
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1711
1902
|
title?: T;
|
|
1712
1903
|
description?: T;
|
|
1713
1904
|
features?: T | {
|
|
1714
1905
|
title?: T;
|
|
1906
|
+
settings?: T | {
|
|
1907
|
+
card?: T;
|
|
1908
|
+
contents?: T;
|
|
1909
|
+
};
|
|
1715
1910
|
link?: T | {
|
|
1716
1911
|
type?: T;
|
|
1717
1912
|
newTab?: T;
|
|
@@ -1722,6 +1917,7 @@ export interface FeaturesBlockSelect<T extends boolean = true> {
|
|
|
1722
1917
|
type?: T;
|
|
1723
1918
|
icon?: T;
|
|
1724
1919
|
};
|
|
1920
|
+
statistic?: T;
|
|
1725
1921
|
content?: T;
|
|
1726
1922
|
id?: T;
|
|
1727
1923
|
};
|
|
@@ -1782,6 +1978,59 @@ export interface PublishedPagesSelect<T extends boolean = true> {
|
|
|
1782
1978
|
updatedAt?: T;
|
|
1783
1979
|
createdAt?: T;
|
|
1784
1980
|
}
|
|
1981
|
+
/**
|
|
1982
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1983
|
+
* via the `definition` "reusable-content_select".
|
|
1984
|
+
*/
|
|
1985
|
+
export interface ReusableContentSelect<T extends boolean = true> {
|
|
1986
|
+
title?: T;
|
|
1987
|
+
hero?: T | {
|
|
1988
|
+
type?: T;
|
|
1989
|
+
richText?: T;
|
|
1990
|
+
links?: T | {
|
|
1991
|
+
link?: T | {
|
|
1992
|
+
type?: T;
|
|
1993
|
+
newTab?: T;
|
|
1994
|
+
reference?: T;
|
|
1995
|
+
url?: T;
|
|
1996
|
+
label?: T;
|
|
1997
|
+
appearance?: T;
|
|
1998
|
+
};
|
|
1999
|
+
id?: T;
|
|
2000
|
+
};
|
|
2001
|
+
media?: T;
|
|
2002
|
+
};
|
|
2003
|
+
layout?: T | {
|
|
2004
|
+
cta?: T | CallToActionBlockSelect<T>;
|
|
2005
|
+
content?: T | ContentBlockSelect<T>;
|
|
2006
|
+
mediaBlock?: T | MediaBlockSelect<T>;
|
|
2007
|
+
imageBlock?: T | ImageBlockSelect<T>;
|
|
2008
|
+
archive?: T | ArchiveBlockSelect<T>;
|
|
2009
|
+
formBlock?: T | FormBlockSelect<T>;
|
|
2010
|
+
features?: T | FeaturesBlockSelect<T>;
|
|
2011
|
+
};
|
|
2012
|
+
meta?: T | {
|
|
2013
|
+
title?: T;
|
|
2014
|
+
image?: T;
|
|
2015
|
+
description?: T;
|
|
2016
|
+
};
|
|
2017
|
+
publishedAt?: T;
|
|
2018
|
+
relatedDocument?: T;
|
|
2019
|
+
links?: T | {
|
|
2020
|
+
link?: T | {
|
|
2021
|
+
type?: T;
|
|
2022
|
+
newTab?: T;
|
|
2023
|
+
reference?: T;
|
|
2024
|
+
url?: T;
|
|
2025
|
+
label?: T;
|
|
2026
|
+
};
|
|
2027
|
+
id?: T;
|
|
2028
|
+
};
|
|
2029
|
+
slug?: T;
|
|
2030
|
+
slugLock?: T;
|
|
2031
|
+
updatedAt?: T;
|
|
2032
|
+
createdAt?: T;
|
|
2033
|
+
}
|
|
1785
2034
|
/**
|
|
1786
2035
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1787
2036
|
* via the `definition` "posts_select".
|
|
@@ -2333,6 +2582,54 @@ export interface DealCategoriesSelect<T extends boolean = true> {
|
|
|
2333
2582
|
updatedAt?: T;
|
|
2334
2583
|
createdAt?: T;
|
|
2335
2584
|
}
|
|
2585
|
+
/**
|
|
2586
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2587
|
+
* via the `definition` "proposals_select".
|
|
2588
|
+
*/
|
|
2589
|
+
export interface ProposalsSelect<T extends boolean = true> {
|
|
2590
|
+
title?: T;
|
|
2591
|
+
hero?: T | {
|
|
2592
|
+
type?: T;
|
|
2593
|
+
richText?: T;
|
|
2594
|
+
links?: T | {
|
|
2595
|
+
link?: T | {
|
|
2596
|
+
type?: T;
|
|
2597
|
+
newTab?: T;
|
|
2598
|
+
reference?: T;
|
|
2599
|
+
url?: T;
|
|
2600
|
+
label?: T;
|
|
2601
|
+
appearance?: T;
|
|
2602
|
+
};
|
|
2603
|
+
id?: T;
|
|
2604
|
+
};
|
|
2605
|
+
media?: T;
|
|
2606
|
+
};
|
|
2607
|
+
layout?: T | {
|
|
2608
|
+
cta?: T | CallToActionBlockSelect<T>;
|
|
2609
|
+
content?: T | ContentBlockSelect<T>;
|
|
2610
|
+
mediaBlock?: T | MediaBlockSelect<T>;
|
|
2611
|
+
imageBlock?: T | ImageBlockSelect<T>;
|
|
2612
|
+
formBlock?: T | FormBlockSelect<T>;
|
|
2613
|
+
features?: T | FeaturesBlockSelect<T>;
|
|
2614
|
+
reusableContentBlock?: T | {
|
|
2615
|
+
reusableContent?: T;
|
|
2616
|
+
customId?: T;
|
|
2617
|
+
id?: T;
|
|
2618
|
+
blockName?: T;
|
|
2619
|
+
};
|
|
2620
|
+
};
|
|
2621
|
+
publishedAt?: T;
|
|
2622
|
+
authors?: T;
|
|
2623
|
+
populatedAuthors?: T | {
|
|
2624
|
+
id?: T;
|
|
2625
|
+
name?: T;
|
|
2626
|
+
};
|
|
2627
|
+
slug?: T;
|
|
2628
|
+
slugLock?: T;
|
|
2629
|
+
updatedAt?: T;
|
|
2630
|
+
createdAt?: T;
|
|
2631
|
+
_status?: T;
|
|
2632
|
+
}
|
|
2336
2633
|
/**
|
|
2337
2634
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2338
2635
|
* via the `definition` "redirects_select".
|
package/dist/payload-types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var o=(n,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of a(e))!s.call(n,l)&&l!==i&&r(n,l,{get:()=>e[l],enumerable:!(t=u(e,l))||t.enumerable});return n};var T=n=>o(r({},"__esModule",{value:!0}),n);var
|
|
1
|
+
"use strict";var r=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var o=(n,e,i,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of a(e))!s.call(n,l)&&l!==i&&r(n,l,{get:()=>e[l],enumerable:!(t=u(e,l))||t.enumerable});return n};var T=n=>o(r({},"__esModule",{value:!0}),n);var c={};module.exports=T(c);
|