@riverbankcms/sdk 0.89.1 → 0.90.1
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/README.md +27 -4
- package/dist/{PreviewEditorSidebar-JDR64FEC.mjs → PreviewEditorSidebar-FNFRVSIM.mjs} +3 -3
- package/dist/{PreviewEditorUI-67TMJMAF.mjs → PreviewEditorUI-3WXJFQXG.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-2UCIMKUB.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +216 -0
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +3 -0
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -2
- package/dist/_dts/api/src/bookings.d.ts +3 -1
- package/dist/_dts/api/src/event-listing-destination.d.ts +59 -0
- package/dist/_dts/api/src/index.d.ts +10 -5
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +0 -1
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +18 -6
- package/dist/_dts/api/src/request.d.ts +21 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/settings/permissions.d.ts +273 -0
- package/dist/_dts/api/src/types.d.ts +4 -1
- package/dist/_dts/api/src/url.d.ts +6 -3
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts +5 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts +9 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +7 -11
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -6
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +60 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +16 -5
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +8 -0
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/events.d.ts +4 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +17 -5
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +5 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +7 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +48 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +50 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -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/EventCalendar.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/calendarViewOptions.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/destination.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventProductEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-checkout-form.d.ts +2 -2
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/sdkBlocks.d.ts +21 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +7 -0
- package/dist/_dts/core/src/event-pricing.d.ts +12 -2
- package/dist/_dts/core/src/money-input.d.ts +18 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
- package/dist/_dts/media-editor/src/fieldUi.d.ts +6 -0
- package/dist/_dts/media-editor/src/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +10 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +12 -5
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -55
- package/dist/_dts/sdk/src/components.d.ts +1 -0
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +3 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -1
- package/dist/_dts/sdk/src/next/types.d.ts +8 -11
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +11 -1
- package/dist/_dts/sdk/src/rendering/blocks-theme-scope.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +8 -7
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -6
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +11 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +26 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +18 -0
- package/dist/_dts/theme-core/src/ResponsiveScope.d.ts +12 -0
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/cards/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +21 -21
- package/dist/_dts/theme-core/src/schema.d.ts +18 -18
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/themeRuntime.d.ts +11 -0
- package/dist/{chunk-F645A5UV.mjs → chunk-BOQXMCSP.mjs} +129 -101
- package/dist/{chunk-7YUAXONX.mjs → chunk-CR2VX432.mjs} +1563 -877
- package/dist/{chunk-HKJQERFR.mjs → chunk-FA6LVZ7C.mjs} +91 -55
- package/dist/{chunk-TGBJWKMP.mjs → chunk-H6TT5ZXI.mjs} +9 -1
- package/dist/{chunk-ZQRBLCW5.mjs → chunk-SYYJZPKU.mjs} +2 -2
- package/dist/{chunk-7N46MZHI.mjs → chunk-UG7I7S7W.mjs} +1 -1
- package/dist/cli/index.mjs +1057 -632
- package/dist/cli/init-docs/content/cli-reference.md +6 -1
- package/dist/cli/init-docs/content/content-management.md +27 -0
- package/dist/client/{accordion-MUCVNGQ7.mjs → accordion-4K7VGZ3I.mjs} +2 -2
- package/dist/client/{bookingForm-PKD6EFIE.mjs → bookingForm-3QXA3CIS.mjs} +26 -271
- package/dist/client/bookings.mjs +1586 -825
- package/dist/client/{carousel-3TKQSNJC.mjs → carousel-BEJKNGQ7.mjs} +3 -3
- package/dist/client/{cart-6XHSZK23.mjs → cart-44BBM6XG.mjs} +7 -8
- package/dist/client/{checkout-FVSPM6FI.mjs → checkout-THMHEYKF.mjs} +7 -8
- package/dist/client/{chunk-25W2EQUN.mjs → chunk-3H5CLFKT.mjs} +8 -0
- package/dist/client/{chunk-ZJZZA5EP.mjs → chunk-4COPESPO.mjs} +13 -16
- package/dist/client/chunk-5AJIMWKS.mjs +436 -0
- package/dist/client/{chunk-UQFY4AHX.mjs → chunk-B4H6QMPY.mjs} +157 -49
- package/dist/client/{chunk-VGLXACVK.mjs → chunk-DQIRKNZE.mjs} +1 -1
- package/dist/client/{chunk-7DH35FGA.mjs → chunk-EJBHK74Y.mjs} +1 -1
- package/dist/client/{chunk-SDIYSQAY.mjs → chunk-HIHOQGIP.mjs} +2 -3
- package/dist/client/{chunk-CQKKFEQD.mjs → chunk-JV7ZNAOU.mjs} +378 -111
- package/dist/client/{chunk-FHU6PFPM.mjs → chunk-KNTLBQ3N.mjs} +1 -1
- package/dist/client/{chunk-RSQWWUAD.mjs → chunk-PEDNDLPB.mjs} +4 -4
- package/dist/client/{chunk-EY42X22F.mjs → chunk-SLY6UDAS.mjs} +157 -5
- package/dist/client/{chunk-STJ2NCQM.mjs → chunk-WHZQDPBZ.mjs} +19 -1
- package/dist/client/{chunk-ZT5XE7FK.mjs → chunk-ZIAF2DA4.mjs} +1 -1
- package/dist/client/client.mjs +3552 -2898
- package/dist/client/{courseRegistration-ATZSYDHM.mjs → courseRegistration-URX7RCCK.mjs} +20 -58
- package/dist/client/{eventCalendar-6T2UGKKP.mjs → eventCalendar-GTENOQCE.mjs} +10 -11
- package/dist/client/{eventCombined-Q4VANXVF.mjs → eventCombined-EZVB72MF.mjs} +10 -11
- package/dist/client/{eventDetails-DW37E7VW.mjs → eventDetails-CH4BJR5Z.mjs} +10 -11
- package/dist/client/{eventListing-XURTSAUW.mjs → eventListing-4BVOI5HS.mjs} +10 -11
- package/dist/client/{eventRegistration-MRKEVAXW.mjs → eventRegistration-37LPIKIE.mjs} +10 -11
- package/dist/client/{form-WZZFFGMU.mjs → form-FX3Y54YK.mjs} +7 -7
- package/dist/client/{headerSection-EQYVQBLM.mjs → headerSection-UOZZGVYL.mjs} +3 -3
- package/dist/client/hooks.mjs +1169 -1063
- package/dist/client/{locationMap-MFF5VAZR.mjs → locationMap-VSIPKV35.mjs} +3 -3
- package/dist/client/{newsletterForm-JQ77UYIE.mjs → newsletterForm-6FRJKNAF.mjs} +5 -5
- package/dist/client/{productDetail-25LMT3IZ.mjs → productDetail-6AHMLXCO.mjs} +7 -8
- package/dist/client/{productList-5ABEMKUG.mjs → productList-M2CYIZVH.mjs} +7 -8
- package/dist/client/rendering/client.mjs +2912 -2316
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +2874 -2230
- package/dist/client/{shop-OMMQZ6YO.mjs → shop-AUOT6GEX.mjs} +7 -8
- package/dist/client/spam-protection.mjs +4 -5
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-WNLBZ3ZH.mjs → sdk-runtime-6GPJNLU6.mjs} +6 -6
- package/dist/server/components.mjs +1856 -1509
- package/dist/server/config-validation.mjs +1394 -1288
- package/dist/server/config.mjs +1394 -1288
- package/dist/server/data.mjs +1169 -1063
- package/dist/server/index.mjs +135 -100
- package/dist/server/navigation.mjs +20 -30
- package/dist/server/next.mjs +1936 -1576
- package/dist/server/page-converter.mjs +1081 -967
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1868 -1521
- package/dist/server/rendering.mjs +1878 -1531
- package/dist/server/routing.mjs +1248 -1089
- package/dist/server/server.mjs +1312 -1171
- package/dist/server/theme-bridge.mjs +8 -5
- package/package.json +3 -3
- package/dist/SdkPreviewModeRuntime-ZBEMRV7N.mjs +0 -8
- package/dist/client/chunk-LQFDYWPJ.mjs +0 -184
- package/dist/client/chunk-ZFHRN6W2.mjs +0 -66
|
@@ -14,6 +14,18 @@ export declare const eventDestinationModeSchema: z.ZodEnum<{
|
|
|
14
14
|
"cms-managed": "cms-managed";
|
|
15
15
|
"system-managed": "system-managed";
|
|
16
16
|
}>;
|
|
17
|
+
export declare const publicEventDestinationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
|
+
kind: z.ZodLiteral<"native">;
|
|
19
|
+
mode: z.ZodEnum<{
|
|
20
|
+
"cms-managed": "cms-managed";
|
|
21
|
+
"system-managed": "system-managed";
|
|
22
|
+
}>;
|
|
23
|
+
path: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
kind: z.ZodLiteral<"external">;
|
|
26
|
+
url: z.ZodString;
|
|
27
|
+
label: z.ZodString;
|
|
28
|
+
}, z.core.$strip>], "kind">;
|
|
17
29
|
/**
|
|
18
30
|
* Zod schema for venue data
|
|
19
31
|
*/
|
|
@@ -40,6 +52,7 @@ export declare const eventCategorySchema: z.ZodObject<{
|
|
|
40
52
|
export declare const pricingTypeSchema: z.ZodEnum<{
|
|
41
53
|
free: "free";
|
|
42
54
|
paid: "paid";
|
|
55
|
+
external: "external";
|
|
43
56
|
}>;
|
|
44
57
|
/**
|
|
45
58
|
* Access restriction type for public events
|
|
@@ -91,6 +104,9 @@ export declare const publicEventPriceDisplaySchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
91
104
|
}, z.core.$strip>, z.ZodObject<{
|
|
92
105
|
kind: z.ZodLiteral<"unavailable">;
|
|
93
106
|
currency: z.ZodString;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
kind: z.ZodLiteral<"external">;
|
|
109
|
+
label: z.ZodString;
|
|
94
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
95
111
|
kind: z.ZodLiteral<"course">;
|
|
96
112
|
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -309,6 +325,12 @@ export declare const publicEventPricingSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
309
325
|
currency: z.ZodString;
|
|
310
326
|
}, z.core.$strip>], "kind">;
|
|
311
327
|
}, z.core.$strip>;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
kind: z.ZodLiteral<"external">;
|
|
330
|
+
display: z.ZodObject<{
|
|
331
|
+
kind: z.ZodLiteral<"external">;
|
|
332
|
+
label: z.ZodString;
|
|
333
|
+
}, z.core.$strip>;
|
|
312
334
|
}, z.core.$strip>], "kind">;
|
|
313
335
|
export declare const publicTeamMemberSummarySchema: z.ZodObject<{
|
|
314
336
|
id: z.ZodString;
|
|
@@ -615,7 +637,19 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
615
637
|
}, z.core.$strip>], "type">>>;
|
|
616
638
|
}, z.core.$strip>>;
|
|
617
639
|
slug: z.ZodString;
|
|
618
|
-
path: z.ZodString
|
|
640
|
+
path: z.ZodNullable<z.ZodString>;
|
|
641
|
+
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
642
|
+
kind: z.ZodLiteral<"native">;
|
|
643
|
+
mode: z.ZodEnum<{
|
|
644
|
+
"cms-managed": "cms-managed";
|
|
645
|
+
"system-managed": "system-managed";
|
|
646
|
+
}>;
|
|
647
|
+
path: z.ZodString;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
kind: z.ZodLiteral<"external">;
|
|
650
|
+
url: z.ZodString;
|
|
651
|
+
label: z.ZodString;
|
|
652
|
+
}, z.core.$strip>], "kind">;
|
|
619
653
|
requiresRegistration: z.ZodBoolean;
|
|
620
654
|
deliveryMode: z.ZodEnum<{
|
|
621
655
|
in_person: "in_person";
|
|
@@ -774,6 +808,12 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
774
808
|
currency: z.ZodString;
|
|
775
809
|
}, z.core.$strip>], "kind">;
|
|
776
810
|
}, z.core.$strip>;
|
|
811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
812
|
+
kind: z.ZodLiteral<"external">;
|
|
813
|
+
display: z.ZodObject<{
|
|
814
|
+
kind: z.ZodLiteral<"external">;
|
|
815
|
+
label: z.ZodString;
|
|
816
|
+
}, z.core.$strip>;
|
|
777
817
|
}, z.core.$strip>], "kind">;
|
|
778
818
|
paymentTerms: z.ZodObject<{
|
|
779
819
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1241,7 +1281,19 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1241
1281
|
}, z.core.$strip>], "type">>>;
|
|
1242
1282
|
}, z.core.$strip>>;
|
|
1243
1283
|
slug: z.ZodString;
|
|
1244
|
-
path: z.ZodString
|
|
1284
|
+
path: z.ZodNullable<z.ZodString>;
|
|
1285
|
+
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1286
|
+
kind: z.ZodLiteral<"native">;
|
|
1287
|
+
mode: z.ZodEnum<{
|
|
1288
|
+
"cms-managed": "cms-managed";
|
|
1289
|
+
"system-managed": "system-managed";
|
|
1290
|
+
}>;
|
|
1291
|
+
path: z.ZodString;
|
|
1292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1293
|
+
kind: z.ZodLiteral<"external">;
|
|
1294
|
+
url: z.ZodString;
|
|
1295
|
+
label: z.ZodString;
|
|
1296
|
+
}, z.core.$strip>], "kind">;
|
|
1245
1297
|
requiresRegistration: z.ZodBoolean;
|
|
1246
1298
|
deliveryMode: z.ZodEnum<{
|
|
1247
1299
|
in_person: "in_person";
|
|
@@ -1400,6 +1452,12 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1400
1452
|
currency: z.ZodString;
|
|
1401
1453
|
}, z.core.$strip>], "kind">;
|
|
1402
1454
|
}, z.core.$strip>;
|
|
1455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1456
|
+
kind: z.ZodLiteral<"external">;
|
|
1457
|
+
display: z.ZodObject<{
|
|
1458
|
+
kind: z.ZodLiteral<"external">;
|
|
1459
|
+
label: z.ZodString;
|
|
1460
|
+
}, z.core.$strip>;
|
|
1403
1461
|
}, z.core.$strip>], "kind">;
|
|
1404
1462
|
paymentTerms: z.ZodObject<{
|
|
1405
1463
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -7,7 +7,7 @@ import type { RichTextDoc } from '../../../manifest/richTextSchema';
|
|
|
7
7
|
import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
|
|
8
8
|
import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
9
9
|
import type { CoursePricing } from '../../courses/shared/types';
|
|
10
|
-
import type { eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
10
|
+
import type { eventCalendarDefaultViewValues, eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
11
11
|
import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
12
12
|
import type { CardVariantRole, LegacyCardVariantRoleAlias } from '../../../../../../theme-core/src/cards/index';
|
|
13
13
|
/**
|
|
@@ -39,6 +39,15 @@ export type PricingType = PublicEventPricingType;
|
|
|
39
39
|
* Access restriction type for events
|
|
40
40
|
*/
|
|
41
41
|
export type AccessRestriction = "none" | "category";
|
|
42
|
+
export type PublicEventDestination = Readonly<{
|
|
43
|
+
kind: "native";
|
|
44
|
+
mode: "cms-managed" | "system-managed";
|
|
45
|
+
path: string;
|
|
46
|
+
}> | Readonly<{
|
|
47
|
+
kind: "external";
|
|
48
|
+
url: string;
|
|
49
|
+
label: string;
|
|
50
|
+
}>;
|
|
42
51
|
export type PublicEventTicketTypeAvailability = {
|
|
43
52
|
kind: "available";
|
|
44
53
|
remainingCapacity: number | null;
|
|
@@ -84,6 +93,8 @@ export type PublicEvent = {
|
|
|
84
93
|
eventPreset?: "event" | EventSurfacePreset;
|
|
85
94
|
/** Resolved destination mode for the event series. */
|
|
86
95
|
eventDestinationMode?: "cms-managed" | "system-managed";
|
|
96
|
+
/** Public navigation destination for cards/details CTAs. */
|
|
97
|
+
destination: PublicEventDestination;
|
|
87
98
|
/** Whether this occurrence belongs to a recurring or one-off series. */
|
|
88
99
|
scheduleScope?: Exclude<EventScheduleScope, "any">;
|
|
89
100
|
id: string;
|
|
@@ -102,7 +113,7 @@ export type PublicEvent = {
|
|
|
102
113
|
};
|
|
103
114
|
slug: string;
|
|
104
115
|
/** Canonical URL path (includes any required date segments for occurrences) */
|
|
105
|
-
path: string;
|
|
116
|
+
path: string | null;
|
|
106
117
|
/** Whether this event requires registration (drop-in events return false). */
|
|
107
118
|
requiresRegistration: boolean;
|
|
108
119
|
/** How people can attend this event. */
|
|
@@ -176,7 +187,7 @@ export type ColumnOption = "2" | "3" | "4";
|
|
|
176
187
|
/**
|
|
177
188
|
* Calendar view options
|
|
178
189
|
*/
|
|
179
|
-
export type CalendarView =
|
|
190
|
+
export type CalendarView = (typeof eventCalendarDefaultViewValues)[number];
|
|
180
191
|
/**
|
|
181
192
|
* Week start day options
|
|
182
193
|
*/
|
|
@@ -184,9 +195,9 @@ export type WeekStart = "sunday" | "monday";
|
|
|
184
195
|
/**
|
|
185
196
|
* Display mode options for the enhanced event-calendar block
|
|
186
197
|
* - combined: Tabbed view with List + Calendar tabs (default)
|
|
187
|
-
* -
|
|
188
|
-
* - week: Week calendar only
|
|
198
|
+
* - calendar: Standalone calendar view
|
|
189
199
|
* - list: List of events only (with load-more pagination)
|
|
200
|
+
* - timetable: Weekly timetable for recurring class schedules
|
|
190
201
|
*/
|
|
191
202
|
export type DisplayMode = (typeof eventCalendarDisplayModeValues)[number];
|
|
192
203
|
/**
|
|
@@ -11,7 +11,6 @@ declare const classicLayout: NodeDefinition;
|
|
|
11
11
|
declare const microLayout: NodeDefinition;
|
|
12
12
|
declare const splitLayout: NodeDefinition;
|
|
13
13
|
declare const splitReverseLayout: NodeDefinition;
|
|
14
|
-
declare const splitEditorialLayout: NodeDefinition;
|
|
15
14
|
type HeroConfig = Omit<BlockConfig, "additionalFields" | "defaultVariant" | "fragments" | "includeContainerStyles" | "promotedFields" | "variants"> & {
|
|
16
15
|
readonly includeContainerStyles: true;
|
|
17
16
|
readonly promotedFields: readonly ["_sectionStyles.background.image"];
|
|
@@ -41,7 +40,6 @@ type HeroConfig = Omit<BlockConfig, "additionalFields" | "defaultVariant" | "fra
|
|
|
41
40
|
readonly micro: typeof microLayout;
|
|
42
41
|
readonly split: typeof splitLayout;
|
|
43
42
|
readonly splitReverse: typeof splitReverseLayout;
|
|
44
|
-
readonly splitEditorial: typeof splitEditorialLayout;
|
|
45
43
|
};
|
|
46
44
|
readonly defaultVariant: "classic";
|
|
47
45
|
};
|
|
@@ -1855,9 +1855,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
1855
1855
|
readonly contentTypeField?: string | undefined;
|
|
1856
1856
|
readonly valueFrom?: "id" | "identifier" | "slug" | undefined;
|
|
1857
1857
|
} | {
|
|
1858
|
+
readonly label: string;
|
|
1858
1859
|
readonly id: string;
|
|
1859
1860
|
readonly type: "repeater";
|
|
1860
|
-
readonly label: string;
|
|
1861
1861
|
readonly required: boolean;
|
|
1862
1862
|
readonly description?: string | undefined;
|
|
1863
1863
|
readonly minItems: number;
|
|
@@ -1968,9 +1968,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
1968
1968
|
};
|
|
1969
1969
|
readonly itemTypes?: Record<string, import("..").ItemTypeDefinition>;
|
|
1970
1970
|
} | {
|
|
1971
|
+
readonly label: string;
|
|
1971
1972
|
readonly id: string;
|
|
1972
1973
|
readonly type: "group";
|
|
1973
|
-
readonly label: string;
|
|
1974
1974
|
readonly required: boolean;
|
|
1975
1975
|
readonly description?: string | undefined;
|
|
1976
1976
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -2071,9 +2071,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2071
2071
|
fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
|
|
2072
2072
|
};
|
|
2073
2073
|
} | {
|
|
2074
|
+
readonly label: string;
|
|
2074
2075
|
readonly id: string;
|
|
2075
2076
|
readonly type: "modal";
|
|
2076
|
-
readonly label: string;
|
|
2077
2077
|
readonly required: boolean;
|
|
2078
2078
|
readonly description?: string | undefined;
|
|
2079
2079
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -2174,9 +2174,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2174
2174
|
fields: import("../../../../block-form/src/backend/index").FieldDefinition[];
|
|
2175
2175
|
};
|
|
2176
2176
|
} | {
|
|
2177
|
+
readonly label: string;
|
|
2177
2178
|
readonly id: string;
|
|
2178
2179
|
readonly type: "tabGroup";
|
|
2179
|
-
readonly label: string;
|
|
2180
2180
|
readonly required: boolean;
|
|
2181
2181
|
readonly description?: string | undefined;
|
|
2182
2182
|
readonly visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -4398,9 +4398,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4398
4398
|
renderInHeader?: boolean | undefined;
|
|
4399
4399
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
4400
4400
|
};
|
|
4401
|
+
label: string;
|
|
4401
4402
|
id: string;
|
|
4402
4403
|
type: "repeater";
|
|
4403
|
-
label: string;
|
|
4404
4404
|
required: boolean;
|
|
4405
4405
|
description?: string | undefined;
|
|
4406
4406
|
minItems: number;
|
|
@@ -4527,9 +4527,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4527
4527
|
renderInHeader?: boolean | undefined;
|
|
4528
4528
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
4529
4529
|
};
|
|
4530
|
+
label: string;
|
|
4530
4531
|
id: string;
|
|
4531
4532
|
type: "group";
|
|
4532
|
-
label: string;
|
|
4533
4533
|
required: boolean;
|
|
4534
4534
|
description?: string | undefined;
|
|
4535
4535
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -4646,9 +4646,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4646
4646
|
renderInHeader?: boolean | undefined;
|
|
4647
4647
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
4648
4648
|
};
|
|
4649
|
+
label: string;
|
|
4649
4650
|
id: string;
|
|
4650
4651
|
type: "modal";
|
|
4651
|
-
label: string;
|
|
4652
4652
|
required: boolean;
|
|
4653
4653
|
description?: string | undefined;
|
|
4654
4654
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -4765,9 +4765,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4765
4765
|
renderInHeader?: boolean | undefined;
|
|
4766
4766
|
intent?: "style" | "display" | "content" | "behavior" | undefined;
|
|
4767
4767
|
};
|
|
4768
|
+
label: string;
|
|
4768
4769
|
id: string;
|
|
4769
4770
|
type: "tabGroup";
|
|
4770
|
-
label: string;
|
|
4771
4771
|
required: boolean;
|
|
4772
4772
|
description?: string | undefined;
|
|
4773
4773
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -4887,9 +4887,9 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
4887
4887
|
searchThreshold?: number | undefined;
|
|
4888
4888
|
renderInHeader?: boolean | undefined;
|
|
4889
4889
|
};
|
|
4890
|
+
label: string;
|
|
4890
4891
|
id: "_textCardStyles";
|
|
4891
4892
|
type: "modal";
|
|
4892
|
-
label: string;
|
|
4893
4893
|
required: boolean;
|
|
4894
4894
|
description?: string | undefined;
|
|
4895
4895
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import { type SectionStylesContent } from "../fields/boxStyles";
|
|
3
|
-
import { publicMembershipProductSchema, publicPassProductSchema, type PublicMembershipProduct, type PublicPassProduct } from "./shop.shared";
|
|
3
|
+
import { publicMembershipProductSchema, publicPassProductSchema, publicMembershipProductCollectionSchema, publicPassProductCollectionSchema, type PublicMembershipProductCollection, type PublicMembershipProduct, type PublicPassProductCollection, type PublicPassProduct } from "./shop.shared";
|
|
4
4
|
import { shopBlockRuntime } from "../runtime/nodes/shop.interactive";
|
|
5
5
|
/**
|
|
6
6
|
* Passes & Memberships Block
|
|
@@ -29795,6 +29795,6 @@ export type ShopContent = {
|
|
|
29795
29795
|
emptyStateText?: string | null;
|
|
29796
29796
|
_sectionStyles?: SectionStylesContent;
|
|
29797
29797
|
};
|
|
29798
|
-
export { publicMembershipProductSchema, publicPassProductSchema, };
|
|
29799
|
-
export type { PublicMembershipProduct, PublicPassProduct, };
|
|
29798
|
+
export { publicMembershipProductCollectionSchema, publicMembershipProductSchema, publicPassProductCollectionSchema, publicPassProductSchema, };
|
|
29799
|
+
export type { PublicMembershipProductCollection, PublicMembershipProduct, PublicPassProductCollection, PublicPassProduct, };
|
|
29800
29800
|
export declare const shopBlockDefinition: SystemBlockDefinition<ShopContent, typeof shopBlockRuntime>;
|
|
@@ -19,6 +19,10 @@ export declare const publicPassProductSchema: z.ZodObject<{
|
|
|
19
19
|
eligibleCategoryNames: z.ZodArray<z.ZodString>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
export type PublicPassProduct = z.infer<typeof publicPassProductSchema>;
|
|
22
|
+
export type PublicPassProductCollection = Readonly<{
|
|
23
|
+
passes: readonly PublicPassProduct[];
|
|
24
|
+
}>;
|
|
25
|
+
export declare const publicPassProductCollectionSchema: z.ZodType<PublicPassProductCollection>;
|
|
22
26
|
/**
|
|
23
27
|
* Public membership product for shop display
|
|
24
28
|
*/
|
|
@@ -36,3 +40,7 @@ export declare const publicMembershipProductSchema: z.ZodObject<{
|
|
|
36
40
|
eligibleCategoryNames: z.ZodArray<z.ZodString>;
|
|
37
41
|
}, z.core.$strip>;
|
|
38
42
|
export type PublicMembershipProduct = z.infer<typeof publicMembershipProductSchema>;
|
|
43
|
+
export type PublicMembershipProductCollection = Readonly<{
|
|
44
|
+
memberships: readonly PublicMembershipProduct[];
|
|
45
|
+
}>;
|
|
46
|
+
export declare const publicMembershipProductCollectionSchema: z.ZodType<PublicMembershipProductCollection>;
|
|
@@ -22,9 +22,9 @@ export declare const teamMembersManifest: import("..").DefinedBlockManifest<impo
|
|
|
22
22
|
readonly equals: "manual";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
readonly label: string;
|
|
25
26
|
readonly id: string;
|
|
26
27
|
readonly type: "repeater";
|
|
27
|
-
readonly label: string;
|
|
28
28
|
readonly required: boolean;
|
|
29
29
|
readonly description?: string | undefined;
|
|
30
30
|
readonly minItems: number;
|
|
@@ -25,8 +25,10 @@ export type EventContentTypeSlug = (typeof EVENT_CONTENT_TYPE_SLUGS)[number];
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const EVENT_CATEGORY_BADGE_TOKENS: readonly ["primary", "secondary", "accent"];
|
|
27
27
|
export type EventCategoryBadgeToken = (typeof EVENT_CATEGORY_BADGE_TOKENS)[number];
|
|
28
|
-
export declare const eventCalendarDisplayModeValues: readonly ["combined", "
|
|
28
|
+
export declare const eventCalendarDisplayModeValues: readonly ["combined", "calendar", "list", "timetable"];
|
|
29
29
|
export type EventCalendarDisplayMode = (typeof eventCalendarDisplayModeValues)[number];
|
|
30
|
+
export declare const eventCalendarDefaultViewValues: readonly ["month", "week"];
|
|
31
|
+
export type EventCalendarDefaultView = (typeof eventCalendarDefaultViewValues)[number];
|
|
30
32
|
export declare const eventCalendarListLayoutValues: readonly ["stack", "grid", "compact"];
|
|
31
33
|
export type EventCalendarListLayout = (typeof eventCalendarListLayoutValues)[number];
|
|
32
34
|
export declare const eventCalendarListLayoutOptions: readonly [{
|
|
@@ -41,6 +43,7 @@ export declare const eventCalendarListLayoutOptions: readonly [{
|
|
|
41
43
|
}];
|
|
42
44
|
export declare const eventCalendarListLayoutCompatibleDisplayModeValues: readonly ["combined", "list"];
|
|
43
45
|
export declare function isEventCalendarDisplayMode(value: unknown): value is EventCalendarDisplayMode;
|
|
46
|
+
export declare function isEventCalendarDefaultView(value: unknown): value is EventCalendarDefaultView;
|
|
44
47
|
export declare function isEventCalendarListLayout(value: unknown): value is EventCalendarListLayout;
|
|
45
48
|
export declare function eventCalendarListLayoutAppliesToDisplayMode(displayMode: EventCalendarDisplayMode): boolean;
|
|
46
49
|
/**
|
|
@@ -43,7 +43,9 @@ export type FieldVisibleWhenPredicate = {
|
|
|
43
43
|
maxItems?: number;
|
|
44
44
|
};
|
|
45
45
|
export type FieldVisibleWhen = FieldVisibleWhenPredicate | {
|
|
46
|
-
allOf:
|
|
46
|
+
allOf: FieldVisibleWhen[];
|
|
47
|
+
} | {
|
|
48
|
+
anyOf: FieldVisibleWhen[];
|
|
47
49
|
};
|
|
48
50
|
declare const uiSchema: z.ZodObject<{
|
|
49
51
|
widget: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -44,6 +44,7 @@ export type { BlockApiClient } from './client';
|
|
|
44
44
|
export { BlockApiProvider, useBlockApi, useBlockApiOptional } from './context';
|
|
45
45
|
export type { BlockApiProviderProps } from './context';
|
|
46
46
|
export type { BlockApiConfig, BlockApiAuth, ApiKeyAuth, BearerAuth, NoAuth, ApiResponse, ApiSuccessResponse, ApiErrorResponse, FormSubmitRequest, FormSubmitResponse, FormConfigResponse, FormField, BookingSubmitRequest, BookingSubmitResponse, AppointmentBookingStatusRequest, AppointmentBookingStatusResponse, AvailableSlotsRequest, AvailableSlotsResponse, TimeSlot, AvailableDatesRequest, AvailableDatesResponse, BookingService, BookingServicesRequest, BookingServicesResponse, BookingServiceResponse, BookingResource, BookingResourcesRequest, BookingResourcesResponse, PublicEvent, PublicEventsRequest, PublicEventsResponse, EventVenue, PricingType, AccessRestriction, EventFilterCategory, EventFilterStaffMember, EventFilterVenue, EventFiltersResponse, EventRegisterRequest, EventRegisterResponse, EventCheckoutRequest, EventCheckoutResponse, PaymentMethod, EligibilityCheckRequest, EligibilityCheckResponse, EligiblePass, EligibleMembership, AvailablePass, AvailableMembership, CoursePaymentMethod, CourseEnrollRequest, CourseEnrollResponse, CourseEnrollSuccessResponse, CourseWaitlistResponse, CourseCheckoutRequest, CourseCheckoutResponse, DiscountContext, DiscountsAvailableRequest, DiscountsAvailableResponse, DiscountApplyLine, DiscountApplyRequest, DiscountApplyRejectedReason, DiscountApplyResponse, ShopCheckoutRequest, ShopCheckoutResponse, ShopDuplicateMembershipWarning, CustomerProfile, CustomerOrder, CustomerOrderInstalmentPlan, CustomerOrderInstalmentPlanStatus, CustomerOrderInstalmentRow, CustomerOrderInstalmentStatus, CustomerOrderPaymentState, EnabledModules, PortalMeResponse, PortalMeUpdateRequest, CustomerPass, CustomerPassCreditHistoryEntry, CustomerMembership, CustomerEventRegistration, PortalEventTicket, CustomerAppointment, AppointmentBookingQuestionsTaskDetail, BookingQuestionsTaskDetail, BookingQuestionsAnswerValue, BookingQuestionsField, BookingQuestionsFieldOption, BookingQuestionsSection, BeforeYouComeTaskSummary, CustomerCourseEnrollment, EventGuest, PortalCredit, PortalCreditSummary, PortalCreditTransaction, PortalCreditResponse, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalDigitalProduct, PortalDigitalProductFile, PortalDigitalProductsResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalAppointmentBookingQuestionsResponse, PortalCreateAppointmentBookingQuestionsUploadUrlRequest, PortalCreateAppointmentBookingQuestionsUploadUrlResponse, PortalFinalizeAppointmentBookingQuestionsUploadRequest, PortalFinalizeAppointmentBookingQuestionsUploadResponse, PortalUpdateAppointmentBookingQuestionsRequest, PortalUpdateAppointmentBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalCreateEventBookingQuestionsUploadUrlRequest, PortalCreateEventBookingQuestionsUploadUrlResponse, PortalFinalizeEventBookingQuestionsUploadRequest, PortalFinalizeEventBookingQuestionsUploadResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalCourseBookingQuestionsResponse, PortalCreateCourseBookingQuestionsUploadUrlRequest, PortalCreateCourseBookingQuestionsUploadUrlResponse, PortalFinalizeCourseBookingQuestionsUploadRequest, PortalFinalizeCourseBookingQuestionsUploadResponse, PortalUpdateCourseBookingQuestionsRequest, PortalUpdateCourseBookingQuestionsResponse, UpdateEventGuestsRequest, EventGuestsResponse, PortalCancelCourseEnrollmentRequest, PortalCancelCourseEnrollmentResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalRefundInfo, PortalCancelEventRegistrationResult, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCancelMembershipAtPeriodEndResult, MagicLinkRequest, } from './types';
|
|
47
|
+
export { discountAvailabilityAllowsManualEntry, discountAvailabilityHasDiscounts, getAutoAppliedDiscountPreview, } from './types';
|
|
47
48
|
export type { BookingQuestionsDocumentAnswerValue } from '../../../portal/types';
|
|
48
49
|
export { deriveCreditProductLabels, getCreditProductCreditUnit, getCreditProductTypeLabel, getPortalCreditProductCreditNoun, } from './creditProducts';
|
|
49
50
|
export type { CreditProductCreditUnit, CreditProductLabelStyle, CreditProductSource, CreditProductUseCase, DerivedCreditProductLabels, EnabledCreditProductModules, } from './creditProducts';
|
|
@@ -614,11 +614,23 @@ export interface AutoAppliedDiscountPreview {
|
|
|
614
614
|
discountAmountCents: number | null;
|
|
615
615
|
computedAmountCents: number;
|
|
616
616
|
}
|
|
617
|
-
export
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
617
|
+
export type DiscountsAvailableResponse = Readonly<{
|
|
618
|
+
type: "none";
|
|
619
|
+
}> | Readonly<{
|
|
620
|
+
type: "manual";
|
|
621
|
+
manualCodeEntryAllowed: true;
|
|
622
|
+
}> | Readonly<{
|
|
623
|
+
type: "auto";
|
|
624
|
+
manualCodeEntryAllowed: false;
|
|
625
|
+
autoAppliedDiscount: AutoAppliedDiscountPreview;
|
|
626
|
+
}> | Readonly<{
|
|
627
|
+
type: "auto_and_manual";
|
|
628
|
+
manualCodeEntryAllowed: true;
|
|
629
|
+
autoAppliedDiscount: AutoAppliedDiscountPreview;
|
|
630
|
+
}>;
|
|
631
|
+
export declare function discountAvailabilityHasDiscounts(availability: DiscountsAvailableResponse): boolean;
|
|
632
|
+
export declare function discountAvailabilityAllowsManualEntry(availability: DiscountsAvailableResponse): boolean;
|
|
633
|
+
export declare function getAutoAppliedDiscountPreview(availability: DiscountsAvailableResponse): AutoAppliedDiscountPreview | null;
|
|
622
634
|
export interface DiscountApplyLine {
|
|
623
635
|
context: DiscountContext;
|
|
624
636
|
subtotalCents: number;
|
|
@@ -656,6 +656,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
656
656
|
loadMoreText?: string;
|
|
657
657
|
startOfWeek?: import("../..").WeekStart;
|
|
658
658
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
659
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
659
660
|
showFilters?: boolean | null;
|
|
660
661
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
661
662
|
showVenueFilter?: boolean | null;
|
|
@@ -686,6 +687,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
686
687
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
687
688
|
startOfWeek: import("../..").WeekStart;
|
|
688
689
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
690
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
689
691
|
showFilters: boolean;
|
|
690
692
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
691
693
|
showVenueFilter: boolean;
|
|
@@ -733,6 +735,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
733
735
|
loadMoreText?: string;
|
|
734
736
|
startOfWeek?: import("../..").WeekStart;
|
|
735
737
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
738
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
736
739
|
showFilters?: boolean | null;
|
|
737
740
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
738
741
|
showVenueFilter?: boolean | null;
|
|
@@ -769,6 +772,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
769
772
|
loadMoreText?: string;
|
|
770
773
|
startOfWeek?: import("../..").WeekStart;
|
|
771
774
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
775
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
772
776
|
showFilters?: boolean | null;
|
|
773
777
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
774
778
|
showVenueFilter?: boolean | null;
|
|
@@ -802,6 +806,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
802
806
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
803
807
|
startOfWeek: import("../..").WeekStart;
|
|
804
808
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
809
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
805
810
|
showFilters: boolean;
|
|
806
811
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
807
812
|
showVenueFilter: boolean;
|
|
@@ -842,6 +847,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
842
847
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
843
848
|
startOfWeek: import("../..").WeekStart;
|
|
844
849
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
850
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
845
851
|
showFilters: boolean;
|
|
846
852
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
847
853
|
showVenueFilter: boolean;
|
|
@@ -895,6 +901,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
895
901
|
loadMoreText?: string;
|
|
896
902
|
startOfWeek?: import("../..").WeekStart;
|
|
897
903
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
904
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
898
905
|
showFilters?: boolean | null;
|
|
899
906
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
900
907
|
showVenueFilter?: boolean | null;
|
|
@@ -925,6 +932,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
925
932
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
926
933
|
startOfWeek: import("../..").WeekStart;
|
|
927
934
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
935
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
928
936
|
showFilters: boolean;
|
|
929
937
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
930
938
|
showVenueFilter: boolean;
|
|
@@ -972,6 +980,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
972
980
|
loadMoreText?: string;
|
|
973
981
|
startOfWeek?: import("../..").WeekStart;
|
|
974
982
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
983
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
975
984
|
showFilters?: boolean | null;
|
|
976
985
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
977
986
|
showVenueFilter?: boolean | null;
|
|
@@ -1008,6 +1017,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1008
1017
|
loadMoreText?: string;
|
|
1009
1018
|
startOfWeek?: import("../..").WeekStart;
|
|
1010
1019
|
calendarTabViews?: import("../..").CalendarTabViews;
|
|
1020
|
+
defaultCalendarView?: import("../..").CalendarView;
|
|
1011
1021
|
showFilters?: boolean | null;
|
|
1012
1022
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
1013
1023
|
showVenueFilter?: boolean | null;
|
|
@@ -1041,6 +1051,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1041
1051
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1042
1052
|
startOfWeek: import("../..").WeekStart;
|
|
1043
1053
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
1054
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
1044
1055
|
showFilters: boolean;
|
|
1045
1056
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
1046
1057
|
showVenueFilter: boolean;
|
|
@@ -1081,6 +1092,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1081
1092
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
1082
1093
|
startOfWeek: import("../..").WeekStart;
|
|
1083
1094
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
1095
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
1084
1096
|
showFilters: boolean;
|
|
1085
1097
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
1086
1098
|
showVenueFilter: boolean;
|
|
@@ -2357,6 +2369,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2357
2369
|
spamProtectionEnabled?: boolean;
|
|
2358
2370
|
stage?: "preview" | "published";
|
|
2359
2371
|
supportEmail?: string;
|
|
2372
|
+
sitePasses?: Readonly<{
|
|
2373
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2374
|
+
}> | null;
|
|
2375
|
+
siteMemberships?: Readonly<{
|
|
2376
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2377
|
+
}> | null;
|
|
2360
2378
|
}>) => Readonly<{
|
|
2361
2379
|
display: Readonly<{
|
|
2362
2380
|
kind: "event-registration";
|
|
@@ -2395,6 +2413,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2395
2413
|
spamProtectionEnabled?: boolean;
|
|
2396
2414
|
stage?: "preview" | "published";
|
|
2397
2415
|
supportEmail?: string;
|
|
2416
|
+
sitePasses?: Readonly<{
|
|
2417
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2418
|
+
}> | null;
|
|
2419
|
+
siteMemberships?: Readonly<{
|
|
2420
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2421
|
+
}> | null;
|
|
2398
2422
|
}>) => unknown;
|
|
2399
2423
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
2400
2424
|
siteId?: string;
|
|
@@ -2420,6 +2444,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2420
2444
|
spamProtectionEnabled?: boolean;
|
|
2421
2445
|
stage?: "preview" | "published";
|
|
2422
2446
|
supportEmail?: string;
|
|
2447
|
+
sitePasses?: Readonly<{
|
|
2448
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2449
|
+
}> | null;
|
|
2450
|
+
siteMemberships?: Readonly<{
|
|
2451
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2452
|
+
}> | null;
|
|
2423
2453
|
}>>;
|
|
2424
2454
|
}>;
|
|
2425
2455
|
render: Readonly<{
|
|
@@ -2479,6 +2509,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2479
2509
|
spamProtectionEnabled?: boolean;
|
|
2480
2510
|
stage?: "preview" | "published";
|
|
2481
2511
|
supportEmail?: string;
|
|
2512
|
+
sitePasses?: Readonly<{
|
|
2513
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2514
|
+
}> | null;
|
|
2515
|
+
siteMemberships?: Readonly<{
|
|
2516
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2517
|
+
}> | null;
|
|
2482
2518
|
}>) => Readonly<{
|
|
2483
2519
|
display: Readonly<{
|
|
2484
2520
|
kind: "event-registration";
|
|
@@ -2517,6 +2553,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2517
2553
|
spamProtectionEnabled?: boolean;
|
|
2518
2554
|
stage?: "preview" | "published";
|
|
2519
2555
|
supportEmail?: string;
|
|
2556
|
+
sitePasses?: Readonly<{
|
|
2557
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2558
|
+
}> | null;
|
|
2559
|
+
siteMemberships?: Readonly<{
|
|
2560
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2561
|
+
}> | null;
|
|
2520
2562
|
}>) => unknown;
|
|
2521
2563
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
2522
2564
|
siteId?: string;
|
|
@@ -2542,6 +2584,12 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2542
2584
|
spamProtectionEnabled?: boolean;
|
|
2543
2585
|
stage?: "preview" | "published";
|
|
2544
2586
|
supportEmail?: string;
|
|
2587
|
+
sitePasses?: Readonly<{
|
|
2588
|
+
passes: readonly import("../..").PublicPassProduct[];
|
|
2589
|
+
}> | null;
|
|
2590
|
+
siteMemberships?: Readonly<{
|
|
2591
|
+
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2592
|
+
}> | null;
|
|
2545
2593
|
}>>;
|
|
2546
2594
|
}>;
|
|
2547
2595
|
render: Readonly<{
|
|
@@ -2870,12 +2918,8 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2870
2918
|
showCost?: boolean;
|
|
2871
2919
|
showAcceptedPasses?: boolean;
|
|
2872
2920
|
showAcceptedMemberships?: boolean;
|
|
2873
|
-
sitePasses?:
|
|
2874
|
-
|
|
2875
|
-
}> | null;
|
|
2876
|
-
siteMemberships?: Readonly<{
|
|
2877
|
-
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2878
|
-
}> | null;
|
|
2921
|
+
sitePasses?: import("../..").PublicPassProductCollection | null;
|
|
2922
|
+
siteMemberships?: import("../..").PublicMembershipProductCollection | null;
|
|
2879
2923
|
autoApplyDiscount?: import("../..").EventAutoApplyDiscountPreview | null;
|
|
2880
2924
|
className?: string | null;
|
|
2881
2925
|
nowIso?: string;
|
|
@@ -2916,6 +2960,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2916
2960
|
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
2917
2961
|
startOfWeek: import("../..").WeekStart;
|
|
2918
2962
|
calendarTabViews: import("../..").CalendarTabViews;
|
|
2963
|
+
defaultCalendarView: import("../..").CalendarView;
|
|
2919
2964
|
showFilters: boolean;
|
|
2920
2965
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
2921
2966
|
showVenueFilter: boolean;
|