@riverbankcms/sdk 0.84.2 → 0.88.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/{PreviewEditorSidebar-4PH35ZIE.mjs → PreviewEditorSidebar-EVRS3C7T.mjs} +3 -3
- package/dist/{PreviewEditorUI-WHMCRJGM.mjs → PreviewEditorUI-54WD4IGE.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-ZALZDJEK.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +684 -0
- package/dist/_dts/api/src/endpoints.d.ts +58 -14
- package/dist/_dts/api/src/index.d.ts +4 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +3 -3
- package/dist/_dts/api/src/mailchimpIntegration.d.ts +215 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +35 -15
- package/dist/_dts/api/src/siteInfrastructure.d.ts +0 -14
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +1 -13
- package/dist/_dts/api/src/types.d.ts +6 -3
- package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +42 -42
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +300 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +63 -3
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +288 -288
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +288 -288
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +53 -1
- package/dist/_dts/blocks/src/system/manifest/richTextSchema.d.ts +27 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +23 -23
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +32 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ModalShell.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/shared/utils/formatting.d.ts +1 -1
- package/dist/_dts/content-model/src/referenceFields.d.ts +1 -1
- package/dist/_dts/core/src/currency-format.d.ts +37 -2
- package/dist/_dts/core/src/event-pricing.d.ts +24 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +551 -20
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +53 -0
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +7 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +73 -0
- package/dist/_dts/sdk/src/client/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -0
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +3 -9
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/three-pass-converter.d.ts +7 -18
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -3
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -24
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +45 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +57 -0
- package/dist/_dts/surfaces/src/index.d.ts +12 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +9 -9
- package/dist/_dts/theme-core/src/schema.d.ts +11 -11
- package/dist/{chunk-ZR2GQK2A.mjs → chunk-7KOO7RPP.mjs} +953 -315
- package/dist/{chunk-OCGTXHSO.mjs → chunk-ER4UIW4X.mjs} +7 -7
- package/dist/{chunk-WFPYN7KA.mjs → chunk-HVOBXA3Y.mjs} +2 -2
- package/dist/{chunk-NFWGLRZZ.mjs → chunk-K3JWH6HE.mjs} +37 -3
- package/dist/{chunk-4QNLOTES.mjs → chunk-O4LVYUVH.mjs} +58 -14
- package/dist/{chunk-PYDHOMEO.mjs → chunk-YDMBIIS5.mjs} +1 -1
- package/dist/cli/index.mjs +1858 -512
- package/dist/client/{accordion-2UZPBMYM.mjs → accordion-PT5CGW5N.mjs} +2 -2
- package/dist/client/{bookingForm-36CWQUMV.mjs → bookingForm-2HLRTEYS.mjs} +7 -7
- package/dist/client/bookings.mjs +51 -6
- package/dist/client/{carousel-QH77HR6X.mjs → carousel-Z2LKYSWA.mjs} +3 -3
- package/dist/client/cart-ND5IK4A6.mjs +18 -0
- package/dist/client/checkout-EYUSGAY7.mjs +18 -0
- package/dist/client/{chunk-SYIJ5JO2.mjs → chunk-6DVPO44G.mjs} +1 -1
- package/dist/client/{chunk-3C2VTPWI.mjs → chunk-BAWHZ5GM.mjs} +176 -13
- package/dist/client/{chunk-52CGCQ7B.mjs → chunk-BL66UWGD.mjs} +10 -80
- package/dist/client/{chunk-VGDBVNOO.mjs → chunk-DIRW2LNG.mjs} +241 -210
- package/dist/client/{chunk-UDNSI5PY.mjs → chunk-GOFO7HRH.mjs} +1 -2
- package/dist/client/{chunk-ZKUO52W3.mjs → chunk-H4MHEXYS.mjs} +1 -1
- package/dist/client/{chunk-ZE5G642V.mjs → chunk-LI2C6M5O.mjs} +75 -1
- package/dist/client/{chunk-3DTWLTXM.mjs → chunk-MHBEWDT7.mjs} +117 -3
- package/dist/client/{chunk-4OXKTA3D.mjs → chunk-O5JNI3E4.mjs} +2 -2
- package/dist/client/{chunk-XSV6KW4D.mjs → chunk-S4G65LGR.mjs} +1 -1
- package/dist/client/{chunk-DVNUDUVT.mjs → chunk-WBQG7VJA.mjs} +4 -1
- package/dist/client/{chunk-F5VRX5Y6.mjs → chunk-WCVK4MBJ.mjs} +1 -1
- package/dist/client/{chunk-7UCLJ5SP.mjs → chunk-X7GVFB7Y.mjs} +4 -7
- package/dist/client/client.mjs +2125 -1403
- package/dist/client/{courseRegistration-TMKU6ABO.mjs → courseRegistration-H3AZBUEG.mjs} +7 -7
- package/dist/client/{eventCalendar-G6TI32X6.mjs → eventCalendar-FPKJGLGS.mjs} +10 -11
- package/dist/client/{eventCombined-SCKEMNAR.mjs → eventCombined-QCGIZBUY.mjs} +10 -11
- package/dist/client/{eventDetails-XPIFXXPK.mjs → eventDetails-HIT3BJWU.mjs} +10 -11
- package/dist/client/{eventListing-7QFMEMGT.mjs → eventListing-R4HNWJDN.mjs} +10 -11
- package/dist/client/{eventRegistration-TOODSZUI.mjs → eventRegistration-Q7BYY5HF.mjs} +10 -11
- package/dist/client/{form-MTCMVCZT.mjs → form-NI6YOG6S.mjs} +3 -3
- package/dist/client/{headerSection-Y5TMR3TW.mjs → headerSection-SDYGII36.mjs} +4 -4
- package/dist/client/hooks.mjs +1682 -1412
- package/dist/client/{locationMap-RH2LG7FZ.mjs → locationMap-BDETEUQD.mjs} +3 -4
- package/dist/client/{newsletterForm-PCAIPFMA.mjs → newsletterForm-EKYIU67X.mjs} +70 -22
- package/dist/client/{productDetail-OIGDR4YE.mjs → productDetail-5UTGNN76.mjs} +8 -9
- package/dist/client/{productList-4MA5S2CX.mjs → productList-7YA5KXZQ.mjs} +8 -9
- package/dist/client/rendering/client.mjs +753 -329
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3786 -3034
- package/dist/client/shop-AIMUMZYC.mjs +20 -0
- package/dist/preview-next/before-render.mjs +58 -14
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/editor-chrome.css +56 -9
- package/dist/preview-next/middleware.mjs +58 -14
- package/dist/{sdk-runtime-QLOCYKVU.mjs → sdk-runtime-NW472WNT.mjs} +6 -6
- package/dist/server/components.mjs +1518 -1015
- package/dist/server/config-validation.mjs +1719 -1461
- package/dist/server/config.mjs +1719 -1461
- package/dist/server/data.mjs +1683 -1413
- package/dist/server/index.mjs +79 -17
- package/dist/server/next.mjs +1902 -1311
- package/dist/server/page-converter.mjs +2193 -1169
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1709 -1209
- package/dist/server/rendering.mjs +1894 -1347
- package/dist/server/routing.mjs +1872 -1499
- package/dist/server/server.mjs +1571 -1264
- package/dist/server/theme-bridge.mjs +234 -0
- package/dist/styles/index.css +232 -0
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-4FGSVUYI.mjs +0 -8
- package/dist/client/cart-X4YK4FTW.mjs +0 -19
- package/dist/client/checkout-OM2BEPWD.mjs +0 -19
- package/dist/client/chunk-I2MMZO53.mjs +0 -6
- package/dist/client/shop-WXSYV5QO.mjs +0 -21
|
@@ -6,15 +6,60 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const newsletterFormFragment: import("..").DefinedFragment<{
|
|
8
8
|
readonly fields: readonly [{
|
|
9
|
+
readonly id: "destinationProvider";
|
|
10
|
+
readonly type: "select";
|
|
11
|
+
readonly label: "Send signups to";
|
|
12
|
+
readonly description: "Choose where new subscribers from this form should go.";
|
|
13
|
+
readonly defaultValue: "riverbank";
|
|
14
|
+
readonly required: true;
|
|
15
|
+
readonly ui: {
|
|
16
|
+
readonly intent: "behavior";
|
|
17
|
+
};
|
|
18
|
+
readonly options: [{
|
|
19
|
+
readonly value: "riverbank";
|
|
20
|
+
readonly label: "Riverbank newsletter";
|
|
21
|
+
}];
|
|
22
|
+
}, {
|
|
9
23
|
readonly id: "listId";
|
|
10
24
|
readonly type: "reference";
|
|
11
25
|
readonly label: "Newsletter list";
|
|
12
26
|
readonly description: "Select the list new subscribers should be added to.";
|
|
13
|
-
readonly required:
|
|
27
|
+
readonly required: false;
|
|
14
28
|
readonly referenceKind: "newsletterList";
|
|
15
29
|
readonly allowManualEntry: false;
|
|
16
30
|
readonly ui: {
|
|
17
31
|
readonly intent: "behavior";
|
|
32
|
+
readonly visibleWhen: {
|
|
33
|
+
readonly field: "destinationProvider";
|
|
34
|
+
readonly equals: "riverbank";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
readonly id: "mailchimpAudienceId";
|
|
39
|
+
readonly type: "reference";
|
|
40
|
+
readonly label: "Mailchimp audience";
|
|
41
|
+
readonly description: "Choose the Mailchimp audience for new subscribers.";
|
|
42
|
+
readonly required: false;
|
|
43
|
+
readonly referenceKind: "mailchimpAudience";
|
|
44
|
+
readonly allowManualEntry: false;
|
|
45
|
+
readonly ui: {
|
|
46
|
+
readonly intent: "behavior";
|
|
47
|
+
readonly visibleWhen: {
|
|
48
|
+
readonly field: "destinationProvider";
|
|
49
|
+
readonly equals: "mailchimp";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
readonly id: "mailchimpTags";
|
|
54
|
+
readonly type: "text";
|
|
55
|
+
readonly label: "Mailchimp tags";
|
|
56
|
+
readonly description: "Optional tags to apply in Mailchimp, separated by commas or semicolons.";
|
|
57
|
+
readonly ui: {
|
|
58
|
+
readonly intent: "behavior";
|
|
59
|
+
readonly visibleWhen: {
|
|
60
|
+
readonly field: "destinationProvider";
|
|
61
|
+
readonly equals: "mailchimp";
|
|
62
|
+
};
|
|
18
63
|
};
|
|
19
64
|
}, {
|
|
20
65
|
readonly id: "preset";
|
|
@@ -68,5 +113,12 @@ export declare const newsletterFormFragment: import("..").DefinedFragment<{
|
|
|
68
113
|
readonly type: "text";
|
|
69
114
|
readonly label: "Tags (optional)";
|
|
70
115
|
readonly description: "Optional tags to apply on subscribe (comma or semicolon separated).";
|
|
116
|
+
readonly ui: {
|
|
117
|
+
readonly intent: "behavior";
|
|
118
|
+
readonly visibleWhen: {
|
|
119
|
+
readonly field: "destinationProvider";
|
|
120
|
+
readonly equals: "riverbank";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
71
123
|
}];
|
|
72
124
|
}>;
|
|
@@ -46,6 +46,17 @@ export type TipTapMark = {
|
|
|
46
46
|
type: string;
|
|
47
47
|
attrs?: Record<string, unknown>;
|
|
48
48
|
};
|
|
49
|
+
export type RichTextTextNode = TipTapNode & {
|
|
50
|
+
type: 'text';
|
|
51
|
+
text: string;
|
|
52
|
+
};
|
|
53
|
+
export type RichTextHardBreakNode = TipTapNode & {
|
|
54
|
+
type: 'hardBreak';
|
|
55
|
+
content?: never;
|
|
56
|
+
text?: never;
|
|
57
|
+
marks?: never;
|
|
58
|
+
};
|
|
59
|
+
export type RichTextInlineNode = RichTextTextNode | RichTextHardBreakNode;
|
|
49
60
|
/**
|
|
50
61
|
* Canonical schema for a TipTap rich-text document root.
|
|
51
62
|
*
|
|
@@ -111,6 +122,22 @@ export declare function unwrapRichTextRoot(value: unknown): unknown;
|
|
|
111
122
|
* never drift from the constructor.
|
|
112
123
|
*/
|
|
113
124
|
export declare function createRichTextDoc(paragraphs: ReadonlyArray<string>): RichTextDoc;
|
|
125
|
+
/**
|
|
126
|
+
* Parse a small markdown subset into TipTap inline nodes.
|
|
127
|
+
*
|
|
128
|
+
* This intentionally supports only bold (`**text**`) because the SDK/content
|
|
129
|
+
* import paths use it for lightweight default content, not full markdown.
|
|
130
|
+
*/
|
|
131
|
+
export declare function parseRichTextInlineMarkdown(text: string): RichTextInlineNode[];
|
|
132
|
+
export declare function parseRichTextParagraphInlineMarkdown(text: string): RichTextInlineNode[];
|
|
133
|
+
/**
|
|
134
|
+
* Convert a plain string with a tiny markdown subset to canonical TipTap JSON.
|
|
135
|
+
*
|
|
136
|
+
* Double newlines create semantic paragraphs. Single newlines remain inside the
|
|
137
|
+
* current paragraph as TipTap `hardBreak` nodes for line-oriented content such
|
|
138
|
+
* as addresses, opening hours, and contact details.
|
|
139
|
+
*/
|
|
140
|
+
export declare function createRichTextDocFromMarkdown(markdown: string): RichTextDoc;
|
|
114
141
|
export declare function buildRichTextSchema(options?: {
|
|
115
142
|
required?: boolean;
|
|
116
143
|
label?: string;
|
|
@@ -203,8 +203,8 @@ declare const uiSchema: z.ZodObject<{
|
|
|
203
203
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
204
204
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
205
205
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
206
|
-
display: "display";
|
|
207
206
|
style: "style";
|
|
207
|
+
display: "display";
|
|
208
208
|
content: "content";
|
|
209
209
|
behavior: "behavior";
|
|
210
210
|
}>>>;
|
|
@@ -378,8 +378,8 @@ declare const baseFieldSchema: z.ZodObject<{
|
|
|
378
378
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
379
379
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
380
380
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
381
|
-
display: "display";
|
|
382
381
|
style: "style";
|
|
382
|
+
display: "display";
|
|
383
383
|
content: "content";
|
|
384
384
|
behavior: "behavior";
|
|
385
385
|
}>>>;
|
|
@@ -554,8 +554,8 @@ declare const textFieldSchema: z.ZodObject<{
|
|
|
554
554
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
555
555
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
556
556
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
557
|
-
display: "display";
|
|
558
557
|
style: "style";
|
|
558
|
+
display: "display";
|
|
559
559
|
content: "content";
|
|
560
560
|
behavior: "behavior";
|
|
561
561
|
}>>>;
|
|
@@ -733,8 +733,8 @@ declare const richTextFieldSchema: z.ZodObject<{
|
|
|
733
733
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
734
734
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
735
735
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
736
|
-
display: "display";
|
|
737
736
|
style: "style";
|
|
737
|
+
display: "display";
|
|
738
738
|
content: "content";
|
|
739
739
|
behavior: "behavior";
|
|
740
740
|
}>>>;
|
|
@@ -910,8 +910,8 @@ declare const mediaFieldSchema: z.ZodObject<{
|
|
|
910
910
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
911
911
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
912
912
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
913
|
-
display: "display";
|
|
914
913
|
style: "style";
|
|
914
|
+
display: "display";
|
|
915
915
|
content: "content";
|
|
916
916
|
behavior: "behavior";
|
|
917
917
|
}>>>;
|
|
@@ -1096,8 +1096,8 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
1096
1096
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1097
1097
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1098
1098
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1099
|
-
display: "display";
|
|
1100
1099
|
style: "style";
|
|
1100
|
+
display: "display";
|
|
1101
1101
|
content: "content";
|
|
1102
1102
|
behavior: "behavior";
|
|
1103
1103
|
}>>>;
|
|
@@ -1279,8 +1279,8 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
1279
1279
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1280
1280
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1281
1281
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1282
|
-
display: "display";
|
|
1283
1282
|
style: "style";
|
|
1283
|
+
display: "display";
|
|
1284
1284
|
content: "content";
|
|
1285
1285
|
behavior: "behavior";
|
|
1286
1286
|
}>>>;
|
|
@@ -1456,8 +1456,8 @@ declare const dateFieldSchema: z.ZodObject<{
|
|
|
1456
1456
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1457
1457
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1458
1458
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1459
|
-
display: "display";
|
|
1460
1459
|
style: "style";
|
|
1460
|
+
display: "display";
|
|
1461
1461
|
content: "content";
|
|
1462
1462
|
behavior: "behavior";
|
|
1463
1463
|
}>>>;
|
|
@@ -1633,8 +1633,8 @@ declare const timeFieldSchema: z.ZodObject<{
|
|
|
1633
1633
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1634
1634
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1635
1635
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1636
|
-
display: "display";
|
|
1637
1636
|
style: "style";
|
|
1637
|
+
display: "display";
|
|
1638
1638
|
content: "content";
|
|
1639
1639
|
behavior: "behavior";
|
|
1640
1640
|
}>>>;
|
|
@@ -1810,8 +1810,8 @@ declare const dateTimeFieldSchema: z.ZodObject<{
|
|
|
1810
1810
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1811
1811
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1812
1812
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1813
|
-
display: "display";
|
|
1814
1813
|
style: "style";
|
|
1814
|
+
display: "display";
|
|
1815
1815
|
content: "content";
|
|
1816
1816
|
behavior: "behavior";
|
|
1817
1817
|
}>>>;
|
|
@@ -1987,8 +1987,8 @@ declare const slugFieldSchema: z.ZodObject<{
|
|
|
1987
1987
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1988
1988
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1989
1989
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1990
|
-
display: "display";
|
|
1991
1990
|
style: "style";
|
|
1991
|
+
display: "display";
|
|
1992
1992
|
content: "content";
|
|
1993
1993
|
behavior: "behavior";
|
|
1994
1994
|
}>>>;
|
|
@@ -2167,8 +2167,8 @@ declare const urlFieldSchema: z.ZodObject<{
|
|
|
2167
2167
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2168
2168
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2169
2169
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2170
|
-
display: "display";
|
|
2171
2170
|
style: "style";
|
|
2171
|
+
display: "display";
|
|
2172
2172
|
content: "content";
|
|
2173
2173
|
behavior: "behavior";
|
|
2174
2174
|
}>>>;
|
|
@@ -2345,8 +2345,8 @@ declare const linkFieldSchema: z.ZodObject<{
|
|
|
2345
2345
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2346
2346
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2347
2347
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2348
|
-
display: "display";
|
|
2349
2348
|
style: "style";
|
|
2349
|
+
display: "display";
|
|
2350
2350
|
content: "content";
|
|
2351
2351
|
behavior: "behavior";
|
|
2352
2352
|
}>>>;
|
|
@@ -2522,8 +2522,8 @@ declare const selectFieldSchema: z.ZodObject<{
|
|
|
2522
2522
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2523
2523
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2524
2524
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2525
|
-
display: "display";
|
|
2526
2525
|
style: "style";
|
|
2526
|
+
display: "display";
|
|
2527
2527
|
content: "content";
|
|
2528
2528
|
behavior: "behavior";
|
|
2529
2529
|
}>>>;
|
|
@@ -2718,8 +2718,8 @@ declare const referenceFieldSchema: z.ZodObject<{
|
|
|
2718
2718
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2719
2719
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2720
2720
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2721
|
-
display: "display";
|
|
2722
2721
|
style: "style";
|
|
2722
|
+
display: "display";
|
|
2723
2723
|
content: "content";
|
|
2724
2724
|
behavior: "behavior";
|
|
2725
2725
|
}>>>;
|
|
@@ -2907,8 +2907,8 @@ declare const repeaterFieldSchema: z.ZodObject<{
|
|
|
2907
2907
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2908
2908
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2909
2909
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2910
|
-
display: "display";
|
|
2911
2910
|
style: "style";
|
|
2911
|
+
display: "display";
|
|
2912
2912
|
content: "content";
|
|
2913
2913
|
behavior: "behavior";
|
|
2914
2914
|
}>>>;
|
|
@@ -3101,8 +3101,8 @@ declare const groupFieldSchema: z.ZodObject<{
|
|
|
3101
3101
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3102
3102
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3103
3103
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3104
|
-
display: "display";
|
|
3105
3104
|
style: "style";
|
|
3105
|
+
display: "display";
|
|
3106
3106
|
content: "content";
|
|
3107
3107
|
behavior: "behavior";
|
|
3108
3108
|
}>>>;
|
|
@@ -3281,8 +3281,8 @@ declare const modalFieldSchema: z.ZodObject<{
|
|
|
3281
3281
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3282
3282
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3283
3283
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3284
|
-
display: "display";
|
|
3285
3284
|
style: "style";
|
|
3285
|
+
display: "display";
|
|
3286
3286
|
content: "content";
|
|
3287
3287
|
behavior: "behavior";
|
|
3288
3288
|
}>>>;
|
|
@@ -3461,8 +3461,8 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
3461
3461
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3462
3462
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3463
3463
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3464
|
-
display: "display";
|
|
3465
3464
|
style: "style";
|
|
3465
|
+
display: "display";
|
|
3466
3466
|
content: "content";
|
|
3467
3467
|
behavior: "behavior";
|
|
3468
3468
|
}>>>;
|
|
@@ -3641,8 +3641,8 @@ declare const tabGroupFieldSchema: z.ZodObject<{
|
|
|
3641
3641
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3642
3642
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3643
3643
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3644
|
-
display: "display";
|
|
3645
3644
|
style: "style";
|
|
3645
|
+
display: "display";
|
|
3646
3646
|
content: "content";
|
|
3647
3647
|
behavior: "behavior";
|
|
3648
3648
|
}>>>;
|
|
@@ -3831,8 +3831,8 @@ declare const presetOrCustomFieldSchema: z.ZodObject<{
|
|
|
3831
3831
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3832
3832
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3833
3833
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3834
|
-
display: "display";
|
|
3835
3834
|
style: "style";
|
|
3835
|
+
display: "display";
|
|
3836
3836
|
content: "content";
|
|
3837
3837
|
behavior: "behavior";
|
|
3838
3838
|
}>>>;
|
|
@@ -4017,8 +4017,8 @@ declare const contentTypeSelectFieldSchema: z.ZodObject<{
|
|
|
4017
4017
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4018
4018
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4019
4019
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4020
|
-
display: "display";
|
|
4021
4020
|
style: "style";
|
|
4021
|
+
display: "display";
|
|
4022
4022
|
content: "content";
|
|
4023
4023
|
behavior: "behavior";
|
|
4024
4024
|
}>>>;
|
|
@@ -4199,8 +4199,8 @@ declare const entryPickerFieldSchema: z.ZodObject<{
|
|
|
4199
4199
|
searchThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4200
4200
|
renderInHeader: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4201
4201
|
intent: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4202
|
-
display: "display";
|
|
4203
4202
|
style: "style";
|
|
4203
|
+
display: "display";
|
|
4204
4204
|
content: "content";
|
|
4205
4205
|
behavior: "behavior";
|
|
4206
4206
|
}>>>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Request/response types for all client-side API calls from blocks.
|
|
5
5
|
*/
|
|
6
6
|
import type { AppointmentResourceId } from "../../../../../core/src/index";
|
|
7
|
+
import type { NewsletterSignupPublicDestinationRef } from "../../blocks/newsletter-signup-destination";
|
|
7
8
|
export type DirectCheckoutCollectionOptionKind = "upfront" | "deferred_manual" | "flexible_balance";
|
|
8
9
|
/** API key auth for SDK sites (bld_live_sk_*) */
|
|
9
10
|
export type ApiKeyAuth = {
|
|
@@ -1038,6 +1039,14 @@ export interface PortalCancelMembershipAtPeriodEndResult {
|
|
|
1038
1039
|
cancelled: boolean;
|
|
1039
1040
|
message: string;
|
|
1040
1041
|
}
|
|
1042
|
+
export type NewsletterSubscribeTarget = Readonly<{
|
|
1043
|
+
tag: "legacy_riverbank_list";
|
|
1044
|
+
listId: string;
|
|
1045
|
+
destinationRef?: NewsletterSignupPublicDestinationRef;
|
|
1046
|
+
}> | Readonly<{
|
|
1047
|
+
tag: "published_block_ref";
|
|
1048
|
+
destinationRef: NewsletterSignupPublicDestinationRef;
|
|
1049
|
+
}>;
|
|
1041
1050
|
export interface NewsletterSubscribeRequest {
|
|
1042
1051
|
email: string;
|
|
1043
1052
|
firstName?: string;
|
|
@@ -1045,9 +1054,8 @@ export interface NewsletterSubscribeRequest {
|
|
|
1045
1054
|
name?: string;
|
|
1046
1055
|
company?: string;
|
|
1047
1056
|
phone?: string;
|
|
1048
|
-
|
|
1057
|
+
target: NewsletterSubscribeTarget;
|
|
1049
1058
|
tags?: string[];
|
|
1050
|
-
blockId?: string;
|
|
1051
1059
|
meta?: {
|
|
1052
1060
|
honeypot?: string;
|
|
1053
1061
|
altchaSolution?: string | null;
|
|
@@ -1121,9 +1121,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1121
1121
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
1122
1122
|
kind: "progressive";
|
|
1123
1123
|
buildRender: (source: Readonly<{
|
|
1124
|
+
blockId?: string | null;
|
|
1124
1125
|
siteId?: string;
|
|
1125
1126
|
apiBaseUrl?: string;
|
|
1126
1127
|
listId?: string | null;
|
|
1128
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1127
1129
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1128
1130
|
includePhone?: boolean;
|
|
1129
1131
|
buttonLabel?: string | null;
|
|
@@ -1142,6 +1144,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1142
1144
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1143
1145
|
}>;
|
|
1144
1146
|
hydration: Readonly<{
|
|
1147
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1145
1148
|
listId?: string | null;
|
|
1146
1149
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1147
1150
|
includePhone: boolean;
|
|
@@ -1152,9 +1155,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1152
1155
|
contracts: Readonly<{
|
|
1153
1156
|
source: Readonly<{
|
|
1154
1157
|
encode: (value: Readonly<{
|
|
1158
|
+
blockId?: string | null;
|
|
1155
1159
|
siteId?: string;
|
|
1156
1160
|
apiBaseUrl?: string;
|
|
1157
1161
|
listId?: string | null;
|
|
1162
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1158
1163
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1159
1164
|
includePhone?: boolean;
|
|
1160
1165
|
buttonLabel?: string | null;
|
|
@@ -1165,9 +1170,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1165
1170
|
className?: string | null;
|
|
1166
1171
|
}>) => unknown;
|
|
1167
1172
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1173
|
+
blockId?: string | null;
|
|
1168
1174
|
siteId?: string;
|
|
1169
1175
|
apiBaseUrl?: string;
|
|
1170
1176
|
listId?: string | null;
|
|
1177
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1171
1178
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1172
1179
|
includePhone?: boolean;
|
|
1173
1180
|
buttonLabel?: string | null;
|
|
@@ -1189,6 +1196,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1189
1196
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1190
1197
|
}>;
|
|
1191
1198
|
hydration: Readonly<{
|
|
1199
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1192
1200
|
listId?: string | null;
|
|
1193
1201
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1194
1202
|
includePhone: boolean;
|
|
@@ -1206,6 +1214,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1206
1214
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1207
1215
|
}>;
|
|
1208
1216
|
hydration: Readonly<{
|
|
1217
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1209
1218
|
listId?: string | null;
|
|
1210
1219
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1211
1220
|
includePhone: boolean;
|
|
@@ -1222,9 +1231,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1222
1231
|
runtime: Readonly<{
|
|
1223
1232
|
kind: "progressive";
|
|
1224
1233
|
buildRender: (source: Readonly<{
|
|
1234
|
+
blockId?: string | null;
|
|
1225
1235
|
siteId?: string;
|
|
1226
1236
|
apiBaseUrl?: string;
|
|
1227
1237
|
listId?: string | null;
|
|
1238
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1228
1239
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1229
1240
|
includePhone?: boolean;
|
|
1230
1241
|
buttonLabel?: string | null;
|
|
@@ -1243,6 +1254,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1243
1254
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1244
1255
|
}>;
|
|
1245
1256
|
hydration: Readonly<{
|
|
1257
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1246
1258
|
listId?: string | null;
|
|
1247
1259
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1248
1260
|
includePhone: boolean;
|
|
@@ -1253,9 +1265,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1253
1265
|
contracts: Readonly<{
|
|
1254
1266
|
source: Readonly<{
|
|
1255
1267
|
encode: (value: Readonly<{
|
|
1268
|
+
blockId?: string | null;
|
|
1256
1269
|
siteId?: string;
|
|
1257
1270
|
apiBaseUrl?: string;
|
|
1258
1271
|
listId?: string | null;
|
|
1272
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1259
1273
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1260
1274
|
includePhone?: boolean;
|
|
1261
1275
|
buttonLabel?: string | null;
|
|
@@ -1266,9 +1280,11 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1266
1280
|
className?: string | null;
|
|
1267
1281
|
}>) => unknown;
|
|
1268
1282
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1283
|
+
blockId?: string | null;
|
|
1269
1284
|
siteId?: string;
|
|
1270
1285
|
apiBaseUrl?: string;
|
|
1271
1286
|
listId?: string | null;
|
|
1287
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
1272
1288
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1273
1289
|
includePhone?: boolean;
|
|
1274
1290
|
buttonLabel?: string | null;
|
|
@@ -1290,6 +1306,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1290
1306
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1291
1307
|
}>;
|
|
1292
1308
|
hydration: Readonly<{
|
|
1309
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1293
1310
|
listId?: string | null;
|
|
1294
1311
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1295
1312
|
includePhone: boolean;
|
|
@@ -1307,6 +1324,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1307
1324
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1308
1325
|
}>;
|
|
1309
1326
|
hydration: Readonly<{
|
|
1327
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
1310
1328
|
listId?: string | null;
|
|
1311
1329
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
1312
1330
|
includePhone: boolean;
|
|
@@ -2335,6 +2353,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2335
2353
|
successMessage?: string;
|
|
2336
2354
|
waitlistMessage?: string;
|
|
2337
2355
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2356
|
+
overlayEnabled?: boolean;
|
|
2338
2357
|
spamProtectionEnabled?: boolean;
|
|
2339
2358
|
stage?: "preview" | "published";
|
|
2340
2359
|
supportEmail?: string;
|
|
@@ -2372,6 +2391,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2372
2391
|
successMessage?: string;
|
|
2373
2392
|
waitlistMessage?: string;
|
|
2374
2393
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2394
|
+
overlayEnabled?: boolean;
|
|
2375
2395
|
spamProtectionEnabled?: boolean;
|
|
2376
2396
|
stage?: "preview" | "published";
|
|
2377
2397
|
supportEmail?: string;
|
|
@@ -2396,6 +2416,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2396
2416
|
successMessage?: string;
|
|
2397
2417
|
waitlistMessage?: string;
|
|
2398
2418
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2419
|
+
overlayEnabled?: boolean;
|
|
2399
2420
|
spamProtectionEnabled?: boolean;
|
|
2400
2421
|
stage?: "preview" | "published";
|
|
2401
2422
|
supportEmail?: string;
|
|
@@ -2454,6 +2475,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2454
2475
|
successMessage?: string;
|
|
2455
2476
|
waitlistMessage?: string;
|
|
2456
2477
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2478
|
+
overlayEnabled?: boolean;
|
|
2457
2479
|
spamProtectionEnabled?: boolean;
|
|
2458
2480
|
stage?: "preview" | "published";
|
|
2459
2481
|
supportEmail?: string;
|
|
@@ -2491,6 +2513,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2491
2513
|
successMessage?: string;
|
|
2492
2514
|
waitlistMessage?: string;
|
|
2493
2515
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2516
|
+
overlayEnabled?: boolean;
|
|
2494
2517
|
spamProtectionEnabled?: boolean;
|
|
2495
2518
|
stage?: "preview" | "published";
|
|
2496
2519
|
supportEmail?: string;
|
|
@@ -2515,6 +2538,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2515
2538
|
successMessage?: string;
|
|
2516
2539
|
waitlistMessage?: string;
|
|
2517
2540
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
2541
|
+
overlayEnabled?: boolean;
|
|
2518
2542
|
spamProtectionEnabled?: boolean;
|
|
2519
2543
|
stage?: "preview" | "published";
|
|
2520
2544
|
supportEmail?: string;
|
|
@@ -565,9 +565,11 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
565
565
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
566
566
|
kind: "progressive";
|
|
567
567
|
buildRender: (source: Readonly<{
|
|
568
|
+
blockId?: string | null;
|
|
568
569
|
siteId?: string;
|
|
569
570
|
apiBaseUrl?: string;
|
|
570
571
|
listId?: string | null;
|
|
572
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
571
573
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
572
574
|
includePhone?: boolean;
|
|
573
575
|
buttonLabel?: string | null;
|
|
@@ -586,6 +588,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
586
588
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
587
589
|
}>;
|
|
588
590
|
hydration: Readonly<{
|
|
591
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
589
592
|
listId?: string | null;
|
|
590
593
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
591
594
|
includePhone: boolean;
|
|
@@ -596,9 +599,11 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
596
599
|
contracts: Readonly<{
|
|
597
600
|
source: Readonly<{
|
|
598
601
|
encode: (value: Readonly<{
|
|
602
|
+
blockId?: string | null;
|
|
599
603
|
siteId?: string;
|
|
600
604
|
apiBaseUrl?: string;
|
|
601
605
|
listId?: string | null;
|
|
606
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
602
607
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
603
608
|
includePhone?: boolean;
|
|
604
609
|
buttonLabel?: string | null;
|
|
@@ -609,9 +614,11 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
609
614
|
className?: string | null;
|
|
610
615
|
}>) => unknown;
|
|
611
616
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
617
|
+
blockId?: string | null;
|
|
612
618
|
siteId?: string;
|
|
613
619
|
apiBaseUrl?: string;
|
|
614
620
|
listId?: string | null;
|
|
621
|
+
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
615
622
|
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
616
623
|
includePhone?: boolean;
|
|
617
624
|
buttonLabel?: string | null;
|
|
@@ -633,6 +640,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
633
640
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
634
641
|
}>;
|
|
635
642
|
hydration: Readonly<{
|
|
643
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
636
644
|
listId?: string | null;
|
|
637
645
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
638
646
|
includePhone: boolean;
|
|
@@ -650,6 +658,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
650
658
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
651
659
|
}>;
|
|
652
660
|
hydration: Readonly<{
|
|
661
|
+
destinationRef?: import("../..").NewsletterSignupPublicDestinationRef | null;
|
|
653
662
|
listId?: string | null;
|
|
654
663
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
655
664
|
includePhone: boolean;
|
|
@@ -1178,6 +1187,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1178
1187
|
successMessage?: string;
|
|
1179
1188
|
waitlistMessage?: string;
|
|
1180
1189
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
1190
|
+
overlayEnabled?: boolean;
|
|
1181
1191
|
spamProtectionEnabled?: boolean;
|
|
1182
1192
|
stage?: "preview" | "published";
|
|
1183
1193
|
supportEmail?: string;
|
|
@@ -1215,6 +1225,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1215
1225
|
successMessage?: string;
|
|
1216
1226
|
waitlistMessage?: string;
|
|
1217
1227
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
1228
|
+
overlayEnabled?: boolean;
|
|
1218
1229
|
spamProtectionEnabled?: boolean;
|
|
1219
1230
|
stage?: "preview" | "published";
|
|
1220
1231
|
supportEmail?: string;
|
|
@@ -1239,6 +1250,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1239
1250
|
successMessage?: string;
|
|
1240
1251
|
waitlistMessage?: string;
|
|
1241
1252
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
1253
|
+
overlayEnabled?: boolean;
|
|
1242
1254
|
spamProtectionEnabled?: boolean;
|
|
1243
1255
|
stage?: "preview" | "published";
|
|
1244
1256
|
supportEmail?: string;
|
|
@@ -147,6 +147,7 @@ export type EventRegistrationClientProps = {
|
|
|
147
147
|
waitlistMessage?: string;
|
|
148
148
|
buttonText?: string;
|
|
149
149
|
buttonVariant?: 'primary' | 'secondary' | 'outline';
|
|
150
|
+
overlayEnabled?: boolean;
|
|
150
151
|
className?: string;
|
|
151
152
|
/**
|
|
152
153
|
* @deprecated Custom endpoints no longer supported - API client handles routing
|
|
@@ -27,6 +27,7 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
27
27
|
successMessage?: string;
|
|
28
28
|
waitlistMessage?: string;
|
|
29
29
|
buttonVariant?: 'primary' | 'secondary' | 'outline';
|
|
30
|
+
overlayEnabled?: boolean;
|
|
30
31
|
spamProtectionEnabled?: boolean;
|
|
31
32
|
stage?: 'preview' | 'published';
|
|
32
33
|
supportEmail?: string;
|
|
@@ -72,6 +73,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
72
73
|
successMessage?: string;
|
|
73
74
|
waitlistMessage?: string;
|
|
74
75
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
76
|
+
overlayEnabled?: boolean;
|
|
75
77
|
spamProtectionEnabled?: boolean;
|
|
76
78
|
stage?: "preview" | "published";
|
|
77
79
|
supportEmail?: string;
|
|
@@ -109,6 +111,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
109
111
|
successMessage?: string;
|
|
110
112
|
waitlistMessage?: string;
|
|
111
113
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
114
|
+
overlayEnabled?: boolean;
|
|
112
115
|
spamProtectionEnabled?: boolean;
|
|
113
116
|
stage?: "preview" | "published";
|
|
114
117
|
supportEmail?: string;
|
|
@@ -133,6 +136,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
133
136
|
successMessage?: string;
|
|
134
137
|
waitlistMessage?: string;
|
|
135
138
|
buttonVariant?: "primary" | "secondary" | "outline";
|
|
139
|
+
overlayEnabled?: boolean;
|
|
136
140
|
spamProtectionEnabled?: boolean;
|
|
137
141
|
stage?: "preview" | "published";
|
|
138
142
|
supportEmail?: string;
|