@riverbankcms/sdk 0.140.0 → 0.141.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-CUyTzd5z.mjs → PreviewEditorSidebar-Q-fy9GYw.mjs} +3 -3
- package/dist/{PreviewEditorUI-Agkw4v5i.mjs → PreviewEditorUI-LYGzgk85.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-DdbeAdS8.mjs → SdkPreviewModeRuntime-CoPYI5Jq.mjs} +72 -46
- package/dist/{SiteChromeCustomizeContext-CqGOz-Kv.mjs → SiteChromeCustomizeContext-D8LePX8x.mjs} +681 -196
- package/dist/_dts/api/src/contentRuntime.d.ts +12 -31
- package/dist/_dts/api/src/domainConnection.d.ts +4 -0
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +25 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +1 -0
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +2 -1
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -26
- package/dist/_dts/api/src/siteOnboarding.d.ts +7 -0
- package/dist/_dts/billing/src/site-arrangements.d.ts +12 -3
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +122 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/eventSelection.d.ts +11 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +5 -0
- package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +27 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +12 -180
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -90
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.state.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +10 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.d.ts +37 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +11 -101
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +12 -0
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +4 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +27 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +17 -1
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +0 -6
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +4 -4
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +54 -12
- package/dist/_dts/theme-core/src/index.d.ts +1 -1
- package/dist/client/{BookingConsentAgreement-CuKa82V4.mjs → BookingConsentAgreement-xJeYNdnb.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-BbYieKWB.mjs → DiscountCodeDisclosure-DdT6uzl9.mjs} +1 -1
- package/dist/client/{EventCombined.client-LTfR1Aby.mjs → EventCombined.client-Cp28uYuM.mjs} +11 -15
- package/dist/client/{EventListing.client-DUHpYSuo.mjs → EventListing.client-CD6AJsMr.mjs} +4 -17
- package/dist/client/{LeafletStaticMap-CHRupL6m.mjs → LeafletStaticMap-DBsAi9-e.mjs} +1 -1
- package/dist/client/{accordion-6HiIFxNL.mjs → accordion-6dwbOKYR.mjs} +1 -1
- package/dist/client/{bookingForm-Dlmid43H.mjs → bookingForm-CZE9_qPQ.mjs} +5 -5
- package/dist/client/bookings.mjs +175 -93
- package/dist/client/{carousel-DmkZRRq_.mjs → carousel-7VHGQARz.mjs} +1 -1
- package/dist/client/{cart-CIC24330.mjs → cart-Qg_mvQhh.mjs} +3 -3
- package/dist/client/{checkout-D1Zw9imo.mjs → checkout-D84rpgdr.mjs} +3 -3
- package/dist/client/client.mjs +602 -139
- package/dist/client/{context-Cy1OayHx.mjs → context-Ctp3T0Wr.mjs} +1 -1
- package/dist/client/{dates-aDcfoLHr.mjs → dates-DJKFcI_N.mjs} +2 -2
- package/dist/client/{eventCalendar-FQxMPAjf.mjs → eventCalendar-CK31z3vs.mjs} +11 -7
- package/dist/client/{eventCombined-Dr3ac6Hb.mjs → eventCombined-DiXd-ewn.mjs} +3 -3
- package/dist/client/{eventDetails-D-AzUHFQ.mjs → eventDetails-CTRgt2DK.mjs} +4 -4
- package/dist/client/{eventListing-B3XxBf3i.mjs → eventListing-Dy9vi_j_.mjs} +3 -3
- package/dist/client/{eventRegistration-I6EaokFD.mjs → eventRegistration-CnalYMr2.mjs} +124 -31
- package/dist/client/{form-BbWckVWY.mjs → form-eUiMveTT.mjs} +2 -2
- package/dist/client/{headerSection-C9qU4Y7x.mjs → headerSection-Dy9kQpB1.mjs} +2 -2
- package/dist/client/hooks.mjs +247 -32
- package/dist/client/{locationMap-CLCShvlG.mjs → locationMap-DalCmWU0.mjs} +2 -2
- package/dist/client/{newsletterForm-Briukxzi.mjs → newsletterForm-SDDPvhS0.mjs} +23 -10
- package/dist/client/{pricing-Copadu-2.mjs → pricing-OcMz4SnX.mjs} +1 -1
- package/dist/client/{productDetail-oujlRd-r.mjs → productDetail-BQrgHElM.mjs} +3 -3
- package/dist/client/{productList-BRiIRUcd.mjs → productList-OnPn_UJj.mjs} +3 -3
- package/dist/client/{propsDecoder-CB2KS_ko.mjs → propsDecoder-zBdsnS-N.mjs} +38 -8
- package/dist/client/rendering/client.mjs +446 -121
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +601 -138
- package/dist/client/{scrollToBlock-B1IS1_ua.mjs → scrollToBlock-BNM4Ob2Y.mjs} +28 -11
- package/dist/client/{shop-Vn6yNFED.mjs → shop-Bv1fPTwQ.mjs} +6 -6
- package/dist/client/{shop-commerce-BVTqipYp.mjs → shop-commerce-D4KNGaW8.mjs} +5 -5
- package/dist/client/{shop-commerce-store-BVnJVy7v.mjs → shop-commerce-store-2N5EV0Rc.mjs} +1 -1
- package/dist/client/{shopShared-COIeK77T.mjs → shopShared-DvJGdHTV.mjs} +3 -3
- package/dist/client/{useEventFilters-DzIUcS9n.mjs → useEventFilters-BBBvGDHQ.mjs} +17 -11
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +4 -8
- package/dist/{sdk-runtime-CnCLvZRv.mjs → sdk-runtime-Defnbfzw.mjs} +1 -1
- package/dist/{separator-DKDRJ1oH.mjs → separator-CZXO3Sb0.mjs} +1 -1
- package/dist/server/components.mjs +384 -62
- package/dist/server/config-validation.mjs +232 -26
- package/dist/server/config.mjs +232 -26
- package/dist/server/data.mjs +247 -32
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +400 -69
- package/dist/server/page-converter.mjs +189 -25
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +399 -68
- package/dist/server/rendering.mjs +399 -68
- package/dist/server/routing.mjs +261 -33
- package/dist/server/server.mjs +248 -33
- package/dist/server/theme-bridge.mjs +47 -15
- package/dist/server/theme.mjs +1 -1
- package/dist/styles/index.css +28 -2
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export type DisplayMediaKind = (typeof DISPLAY_MEDIA_KINDS)[number];
|
|
|
10
10
|
export declare const DEFAULT_MEDIA_FIELD_KINDS: readonly ["image"];
|
|
11
11
|
export declare const PUBLIC_FILE_FIELD_KINDS: readonly ["document", "spreadsheet", "archive", "audio"];
|
|
12
12
|
export type FileFieldKind = (typeof PUBLIC_FILE_FIELD_KINDS)[number];
|
|
13
|
-
export declare const siteOptionSources: readonly ["eventCategories", "venues", "staffMembers"];
|
|
13
|
+
export declare const siteOptionSources: readonly ["eventCategories", "eventSeries", "venues", "staffMembers"];
|
|
14
14
|
export type SiteOptionSource = (typeof siteOptionSources)[number];
|
|
15
15
|
declare const selectOptionSchema: z.ZodObject<{
|
|
16
16
|
value: z.ZodString;
|
|
@@ -23,6 +23,7 @@ declare const selectSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
kind: z.ZodLiteral<"site">;
|
|
25
25
|
optionSource: z.ZodEnum<{
|
|
26
|
+
eventSeries: "eventSeries";
|
|
26
27
|
eventCategories: "eventCategories";
|
|
27
28
|
venues: "venues";
|
|
28
29
|
staffMembers: "staffMembers";
|
|
@@ -205,6 +206,7 @@ declare const uiSchema: z.ZodObject<{
|
|
|
205
206
|
slug: "slug";
|
|
206
207
|
}>>>;
|
|
207
208
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
209
|
+
eventSeries: "eventSeries";
|
|
208
210
|
eventCategories: "eventCategories";
|
|
209
211
|
venues: "venues";
|
|
210
212
|
staffMembers: "staffMembers";
|
|
@@ -393,6 +395,7 @@ declare const baseFieldSchema: z.ZodObject<{
|
|
|
393
395
|
slug: "slug";
|
|
394
396
|
}>>>;
|
|
395
397
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
398
|
+
eventSeries: "eventSeries";
|
|
396
399
|
eventCategories: "eventCategories";
|
|
397
400
|
venues: "venues";
|
|
398
401
|
staffMembers: "staffMembers";
|
|
@@ -582,6 +585,7 @@ declare const textFieldSchema: z.ZodObject<{
|
|
|
582
585
|
slug: "slug";
|
|
583
586
|
}>>>;
|
|
584
587
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
588
|
+
eventSeries: "eventSeries";
|
|
585
589
|
eventCategories: "eventCategories";
|
|
586
590
|
venues: "venues";
|
|
587
591
|
staffMembers: "staffMembers";
|
|
@@ -774,6 +778,7 @@ declare const richTextFieldSchema: z.ZodObject<{
|
|
|
774
778
|
slug: "slug";
|
|
775
779
|
}>>>;
|
|
776
780
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
eventSeries: "eventSeries";
|
|
777
782
|
eventCategories: "eventCategories";
|
|
778
783
|
venues: "venues";
|
|
779
784
|
staffMembers: "staffMembers";
|
|
@@ -964,6 +969,7 @@ declare const inlineTextFieldSchema: z.ZodObject<{
|
|
|
964
969
|
slug: "slug";
|
|
965
970
|
}>>>;
|
|
966
971
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
972
|
+
eventSeries: "eventSeries";
|
|
967
973
|
eventCategories: "eventCategories";
|
|
968
974
|
venues: "venues";
|
|
969
975
|
staffMembers: "staffMembers";
|
|
@@ -1156,6 +1162,7 @@ declare const mediaFieldSchema: z.ZodObject<{
|
|
|
1156
1162
|
slug: "slug";
|
|
1157
1163
|
}>>>;
|
|
1158
1164
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1165
|
+
eventSeries: "eventSeries";
|
|
1159
1166
|
eventCategories: "eventCategories";
|
|
1160
1167
|
venues: "venues";
|
|
1161
1168
|
staffMembers: "staffMembers";
|
|
@@ -1355,6 +1362,7 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
1355
1362
|
slug: "slug";
|
|
1356
1363
|
}>>>;
|
|
1357
1364
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1365
|
+
eventSeries: "eventSeries";
|
|
1358
1366
|
eventCategories: "eventCategories";
|
|
1359
1367
|
venues: "venues";
|
|
1360
1368
|
staffMembers: "staffMembers";
|
|
@@ -1551,6 +1559,7 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
1551
1559
|
slug: "slug";
|
|
1552
1560
|
}>>>;
|
|
1553
1561
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1562
|
+
eventSeries: "eventSeries";
|
|
1554
1563
|
eventCategories: "eventCategories";
|
|
1555
1564
|
venues: "venues";
|
|
1556
1565
|
staffMembers: "staffMembers";
|
|
@@ -1741,6 +1750,7 @@ declare const dateFieldSchema: z.ZodObject<{
|
|
|
1741
1750
|
slug: "slug";
|
|
1742
1751
|
}>>>;
|
|
1743
1752
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1753
|
+
eventSeries: "eventSeries";
|
|
1744
1754
|
eventCategories: "eventCategories";
|
|
1745
1755
|
venues: "venues";
|
|
1746
1756
|
staffMembers: "staffMembers";
|
|
@@ -1931,6 +1941,7 @@ declare const timeFieldSchema: z.ZodObject<{
|
|
|
1931
1941
|
slug: "slug";
|
|
1932
1942
|
}>>>;
|
|
1933
1943
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1944
|
+
eventSeries: "eventSeries";
|
|
1934
1945
|
eventCategories: "eventCategories";
|
|
1935
1946
|
venues: "venues";
|
|
1936
1947
|
staffMembers: "staffMembers";
|
|
@@ -2121,6 +2132,7 @@ declare const dateTimeFieldSchema: z.ZodObject<{
|
|
|
2121
2132
|
slug: "slug";
|
|
2122
2133
|
}>>>;
|
|
2123
2134
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2135
|
+
eventSeries: "eventSeries";
|
|
2124
2136
|
eventCategories: "eventCategories";
|
|
2125
2137
|
venues: "venues";
|
|
2126
2138
|
staffMembers: "staffMembers";
|
|
@@ -2311,6 +2323,7 @@ declare const slugFieldSchema: z.ZodObject<{
|
|
|
2311
2323
|
slug: "slug";
|
|
2312
2324
|
}>>>;
|
|
2313
2325
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2326
|
+
eventSeries: "eventSeries";
|
|
2314
2327
|
eventCategories: "eventCategories";
|
|
2315
2328
|
venues: "venues";
|
|
2316
2329
|
staffMembers: "staffMembers";
|
|
@@ -2504,6 +2517,7 @@ declare const urlFieldSchema: z.ZodObject<{
|
|
|
2504
2517
|
slug: "slug";
|
|
2505
2518
|
}>>>;
|
|
2506
2519
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2520
|
+
eventSeries: "eventSeries";
|
|
2507
2521
|
eventCategories: "eventCategories";
|
|
2508
2522
|
venues: "venues";
|
|
2509
2523
|
staffMembers: "staffMembers";
|
|
@@ -2695,6 +2709,7 @@ declare const linkFieldSchema: z.ZodObject<{
|
|
|
2695
2709
|
slug: "slug";
|
|
2696
2710
|
}>>>;
|
|
2697
2711
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2712
|
+
eventSeries: "eventSeries";
|
|
2698
2713
|
eventCategories: "eventCategories";
|
|
2699
2714
|
venues: "venues";
|
|
2700
2715
|
staffMembers: "staffMembers";
|
|
@@ -2885,6 +2900,7 @@ declare const selectFieldSchema: z.ZodObject<{
|
|
|
2885
2900
|
slug: "slug";
|
|
2886
2901
|
}>>>;
|
|
2887
2902
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
2903
|
+
eventSeries: "eventSeries";
|
|
2888
2904
|
eventCategories: "eventCategories";
|
|
2889
2905
|
venues: "venues";
|
|
2890
2906
|
staffMembers: "staffMembers";
|
|
@@ -2914,6 +2930,7 @@ declare const selectFieldSchema: z.ZodObject<{
|
|
|
2914
2930
|
}, z.core.$strip>, z.ZodObject<{
|
|
2915
2931
|
kind: z.ZodLiteral<"site">;
|
|
2916
2932
|
optionSource: z.ZodEnum<{
|
|
2933
|
+
eventSeries: "eventSeries";
|
|
2917
2934
|
eventCategories: "eventCategories";
|
|
2918
2935
|
venues: "venues";
|
|
2919
2936
|
staffMembers: "staffMembers";
|
|
@@ -3094,6 +3111,7 @@ declare const referenceFieldSchema: z.ZodObject<{
|
|
|
3094
3111
|
slug: "slug";
|
|
3095
3112
|
}>>>;
|
|
3096
3113
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3114
|
+
eventSeries: "eventSeries";
|
|
3097
3115
|
eventCategories: "eventCategories";
|
|
3098
3116
|
venues: "venues";
|
|
3099
3117
|
staffMembers: "staffMembers";
|
|
@@ -3296,6 +3314,7 @@ declare const repeaterFieldSchema: z.ZodObject<{
|
|
|
3296
3314
|
slug: "slug";
|
|
3297
3315
|
}>>>;
|
|
3298
3316
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3317
|
+
eventSeries: "eventSeries";
|
|
3299
3318
|
eventCategories: "eventCategories";
|
|
3300
3319
|
venues: "venues";
|
|
3301
3320
|
staffMembers: "staffMembers";
|
|
@@ -3503,6 +3522,7 @@ declare const groupFieldSchema: z.ZodObject<{
|
|
|
3503
3522
|
slug: "slug";
|
|
3504
3523
|
}>>>;
|
|
3505
3524
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3525
|
+
eventSeries: "eventSeries";
|
|
3506
3526
|
eventCategories: "eventCategories";
|
|
3507
3527
|
venues: "venues";
|
|
3508
3528
|
staffMembers: "staffMembers";
|
|
@@ -3696,6 +3716,7 @@ declare const modalFieldSchema: z.ZodObject<{
|
|
|
3696
3716
|
slug: "slug";
|
|
3697
3717
|
}>>>;
|
|
3698
3718
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3719
|
+
eventSeries: "eventSeries";
|
|
3699
3720
|
eventCategories: "eventCategories";
|
|
3700
3721
|
venues: "venues";
|
|
3701
3722
|
staffMembers: "staffMembers";
|
|
@@ -3889,6 +3910,7 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
3889
3910
|
slug: "slug";
|
|
3890
3911
|
}>>>;
|
|
3891
3912
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
3913
|
+
eventSeries: "eventSeries";
|
|
3892
3914
|
eventCategories: "eventCategories";
|
|
3893
3915
|
venues: "venues";
|
|
3894
3916
|
staffMembers: "staffMembers";
|
|
@@ -4082,6 +4104,7 @@ declare const tabGroupFieldSchema: z.ZodObject<{
|
|
|
4082
4104
|
slug: "slug";
|
|
4083
4105
|
}>>>;
|
|
4084
4106
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4107
|
+
eventSeries: "eventSeries";
|
|
4085
4108
|
eventCategories: "eventCategories";
|
|
4086
4109
|
venues: "venues";
|
|
4087
4110
|
staffMembers: "staffMembers";
|
|
@@ -4285,6 +4308,7 @@ declare const presetOrCustomFieldSchema: z.ZodObject<{
|
|
|
4285
4308
|
slug: "slug";
|
|
4286
4309
|
}>>>;
|
|
4287
4310
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4311
|
+
eventSeries: "eventSeries";
|
|
4288
4312
|
eventCategories: "eventCategories";
|
|
4289
4313
|
venues: "venues";
|
|
4290
4314
|
staffMembers: "staffMembers";
|
|
@@ -4484,6 +4508,7 @@ declare const contentTypeSelectFieldSchema: z.ZodObject<{
|
|
|
4484
4508
|
slug: "slug";
|
|
4485
4509
|
}>>>;
|
|
4486
4510
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4511
|
+
eventSeries: "eventSeries";
|
|
4487
4512
|
eventCategories: "eventCategories";
|
|
4488
4513
|
venues: "venues";
|
|
4489
4514
|
staffMembers: "staffMembers";
|
|
@@ -4679,6 +4704,7 @@ declare const entryPickerFieldSchema: z.ZodObject<{
|
|
|
4679
4704
|
slug: "slug";
|
|
4680
4705
|
}>>>;
|
|
4681
4706
|
siteOptionSource: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
4707
|
+
eventSeries: "eventSeries";
|
|
4682
4708
|
eventCategories: "eventCategories";
|
|
4683
4709
|
venues: "venues";
|
|
4684
4710
|
staffMembers: "staffMembers";
|
|
@@ -208,36 +208,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
208
208
|
readonly 'event-listing': Readonly<{
|
|
209
209
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
210
210
|
kind: "progressive";
|
|
211
|
-
buildRender: (source: Readonly<{
|
|
212
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
213
|
-
siteId: string;
|
|
214
|
-
apiBaseUrl?: string;
|
|
215
|
-
stage?: "preview" | "published";
|
|
216
|
-
layout?: import("../..").EventLayout;
|
|
217
|
-
columns?: import("../..").ColumnOption;
|
|
218
|
-
eventsPerPage?: string;
|
|
219
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
220
|
-
seeAllUrl?: string;
|
|
221
|
-
loadMoreText?: string;
|
|
222
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
223
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
224
|
-
buttonText?: string;
|
|
225
|
-
showVenue?: boolean;
|
|
226
|
-
showMap?: boolean;
|
|
227
|
-
showCapacity?: boolean;
|
|
228
|
-
emptyMessage?: string;
|
|
229
|
-
className?: string;
|
|
230
|
-
showFilters?: boolean | null;
|
|
231
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
232
|
-
showVenueFilter?: boolean | null;
|
|
233
|
-
showStaffFilter?: boolean | null;
|
|
234
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
235
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
236
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
237
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
238
|
-
filterStaffMemberId?: string | null;
|
|
239
|
-
filterVenueId?: string | null;
|
|
240
|
-
}>) => Readonly<{
|
|
211
|
+
buildRender: (source: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => Readonly<{
|
|
241
212
|
display: Readonly<{
|
|
242
213
|
kind: "event-listing";
|
|
243
214
|
state: "loading" | "empty" | "ready";
|
|
@@ -267,6 +238,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
267
238
|
eventSurface: import("../..").EventSurfaceScope;
|
|
268
239
|
filterEventPresets: string | null;
|
|
269
240
|
scheduleScope: import("../..").EventScheduleScope;
|
|
241
|
+
seriesIds?: string | null;
|
|
270
242
|
filterCategoryIds?: string | null;
|
|
271
243
|
filterStaffMemberId?: string | null;
|
|
272
244
|
filterVenueId?: string | null;
|
|
@@ -275,66 +247,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
275
247
|
}>;
|
|
276
248
|
contracts: Readonly<{
|
|
277
249
|
source: Readonly<{
|
|
278
|
-
encode: (value:
|
|
279
|
-
|
|
280
|
-
siteId: string;
|
|
281
|
-
apiBaseUrl?: string;
|
|
282
|
-
stage?: "preview" | "published";
|
|
283
|
-
layout?: import("../..").EventLayout;
|
|
284
|
-
columns?: import("../..").ColumnOption;
|
|
285
|
-
eventsPerPage?: string;
|
|
286
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
287
|
-
seeAllUrl?: string;
|
|
288
|
-
loadMoreText?: string;
|
|
289
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
290
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
291
|
-
buttonText?: string;
|
|
292
|
-
showVenue?: boolean;
|
|
293
|
-
showMap?: boolean;
|
|
294
|
-
showCapacity?: boolean;
|
|
295
|
-
emptyMessage?: string;
|
|
296
|
-
className?: string;
|
|
297
|
-
showFilters?: boolean | null;
|
|
298
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
299
|
-
showVenueFilter?: boolean | null;
|
|
300
|
-
showStaffFilter?: boolean | null;
|
|
301
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
302
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
303
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
304
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
305
|
-
filterStaffMemberId?: string | null;
|
|
306
|
-
filterVenueId?: string | null;
|
|
307
|
-
}>) => unknown;
|
|
308
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
309
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
310
|
-
siteId: string;
|
|
311
|
-
apiBaseUrl?: string;
|
|
312
|
-
stage?: "preview" | "published";
|
|
313
|
-
layout?: import("../..").EventLayout;
|
|
314
|
-
columns?: import("../..").ColumnOption;
|
|
315
|
-
eventsPerPage?: string;
|
|
316
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
317
|
-
seeAllUrl?: string;
|
|
318
|
-
loadMoreText?: string;
|
|
319
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
320
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
321
|
-
buttonText?: string;
|
|
322
|
-
showVenue?: boolean;
|
|
323
|
-
showMap?: boolean;
|
|
324
|
-
showCapacity?: boolean;
|
|
325
|
-
emptyMessage?: string;
|
|
326
|
-
className?: string;
|
|
327
|
-
showFilters?: boolean | null;
|
|
328
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
329
|
-
showVenueFilter?: boolean | null;
|
|
330
|
-
showStaffFilter?: boolean | null;
|
|
331
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
332
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
333
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
334
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
335
|
-
filterStaffMemberId?: string | null;
|
|
336
|
-
filterVenueId?: string | null;
|
|
337
|
-
}>>;
|
|
250
|
+
encode: (value: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => unknown;
|
|
251
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/events/EventListing.interactive").EventListingSourceProps>;
|
|
338
252
|
}>;
|
|
339
253
|
render: Readonly<{
|
|
340
254
|
encode: (value: Readonly<{
|
|
@@ -367,6 +281,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
367
281
|
eventSurface: import("../..").EventSurfaceScope;
|
|
368
282
|
filterEventPresets: string | null;
|
|
369
283
|
scheduleScope: import("../..").EventScheduleScope;
|
|
284
|
+
seriesIds?: string | null;
|
|
370
285
|
filterCategoryIds?: string | null;
|
|
371
286
|
filterStaffMemberId?: string | null;
|
|
372
287
|
filterVenueId?: string | null;
|
|
@@ -403,6 +318,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
403
318
|
eventSurface: import("../..").EventSurfaceScope;
|
|
404
319
|
filterEventPresets: string | null;
|
|
405
320
|
scheduleScope: import("../..").EventScheduleScope;
|
|
321
|
+
seriesIds?: string | null;
|
|
406
322
|
filterCategoryIds?: string | null;
|
|
407
323
|
filterStaffMemberId?: string | null;
|
|
408
324
|
filterVenueId?: string | null;
|
|
@@ -417,36 +333,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
417
333
|
}>;
|
|
418
334
|
runtime: Readonly<{
|
|
419
335
|
kind: "progressive";
|
|
420
|
-
buildRender: (source: Readonly<{
|
|
421
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
422
|
-
siteId: string;
|
|
423
|
-
apiBaseUrl?: string;
|
|
424
|
-
stage?: "preview" | "published";
|
|
425
|
-
layout?: import("../..").EventLayout;
|
|
426
|
-
columns?: import("../..").ColumnOption;
|
|
427
|
-
eventsPerPage?: string;
|
|
428
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
429
|
-
seeAllUrl?: string;
|
|
430
|
-
loadMoreText?: string;
|
|
431
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
432
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
433
|
-
buttonText?: string;
|
|
434
|
-
showVenue?: boolean;
|
|
435
|
-
showMap?: boolean;
|
|
436
|
-
showCapacity?: boolean;
|
|
437
|
-
emptyMessage?: string;
|
|
438
|
-
className?: string;
|
|
439
|
-
showFilters?: boolean | null;
|
|
440
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
441
|
-
showVenueFilter?: boolean | null;
|
|
442
|
-
showStaffFilter?: boolean | null;
|
|
443
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
444
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
445
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
446
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
447
|
-
filterStaffMemberId?: string | null;
|
|
448
|
-
filterVenueId?: string | null;
|
|
449
|
-
}>) => Readonly<{
|
|
336
|
+
buildRender: (source: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => Readonly<{
|
|
450
337
|
display: Readonly<{
|
|
451
338
|
kind: "event-listing";
|
|
452
339
|
state: "loading" | "empty" | "ready";
|
|
@@ -476,6 +363,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
476
363
|
eventSurface: import("../..").EventSurfaceScope;
|
|
477
364
|
filterEventPresets: string | null;
|
|
478
365
|
scheduleScope: import("../..").EventScheduleScope;
|
|
366
|
+
seriesIds?: string | null;
|
|
479
367
|
filterCategoryIds?: string | null;
|
|
480
368
|
filterStaffMemberId?: string | null;
|
|
481
369
|
filterVenueId?: string | null;
|
|
@@ -484,66 +372,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
484
372
|
}>;
|
|
485
373
|
contracts: Readonly<{
|
|
486
374
|
source: Readonly<{
|
|
487
|
-
encode: (value:
|
|
488
|
-
|
|
489
|
-
siteId: string;
|
|
490
|
-
apiBaseUrl?: string;
|
|
491
|
-
stage?: "preview" | "published";
|
|
492
|
-
layout?: import("../..").EventLayout;
|
|
493
|
-
columns?: import("../..").ColumnOption;
|
|
494
|
-
eventsPerPage?: string;
|
|
495
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
496
|
-
seeAllUrl?: string;
|
|
497
|
-
loadMoreText?: string;
|
|
498
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
499
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
500
|
-
buttonText?: string;
|
|
501
|
-
showVenue?: boolean;
|
|
502
|
-
showMap?: boolean;
|
|
503
|
-
showCapacity?: boolean;
|
|
504
|
-
emptyMessage?: string;
|
|
505
|
-
className?: string;
|
|
506
|
-
showFilters?: boolean | null;
|
|
507
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
508
|
-
showVenueFilter?: boolean | null;
|
|
509
|
-
showStaffFilter?: boolean | null;
|
|
510
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
511
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
512
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
513
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
514
|
-
filterStaffMemberId?: string | null;
|
|
515
|
-
filterVenueId?: string | null;
|
|
516
|
-
}>) => unknown;
|
|
517
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
518
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
519
|
-
siteId: string;
|
|
520
|
-
apiBaseUrl?: string;
|
|
521
|
-
stage?: "preview" | "published";
|
|
522
|
-
layout?: import("../..").EventLayout;
|
|
523
|
-
columns?: import("../..").ColumnOption;
|
|
524
|
-
eventsPerPage?: string;
|
|
525
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
526
|
-
seeAllUrl?: string;
|
|
527
|
-
loadMoreText?: string;
|
|
528
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
529
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
530
|
-
buttonText?: string;
|
|
531
|
-
showVenue?: boolean;
|
|
532
|
-
showMap?: boolean;
|
|
533
|
-
showCapacity?: boolean;
|
|
534
|
-
emptyMessage?: string;
|
|
535
|
-
className?: string;
|
|
536
|
-
showFilters?: boolean | null;
|
|
537
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
538
|
-
showVenueFilter?: boolean | null;
|
|
539
|
-
showStaffFilter?: boolean | null;
|
|
540
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
541
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
542
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
543
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
544
|
-
filterStaffMemberId?: string | null;
|
|
545
|
-
filterVenueId?: string | null;
|
|
546
|
-
}>>;
|
|
375
|
+
encode: (value: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => unknown;
|
|
376
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/events/EventListing.interactive").EventListingSourceProps>;
|
|
547
377
|
}>;
|
|
548
378
|
render: Readonly<{
|
|
549
379
|
encode: (value: Readonly<{
|
|
@@ -576,6 +406,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
576
406
|
eventSurface: import("../..").EventSurfaceScope;
|
|
577
407
|
filterEventPresets: string | null;
|
|
578
408
|
scheduleScope: import("../..").EventScheduleScope;
|
|
409
|
+
seriesIds?: string | null;
|
|
579
410
|
filterCategoryIds?: string | null;
|
|
580
411
|
filterStaffMemberId?: string | null;
|
|
581
412
|
filterVenueId?: string | null;
|
|
@@ -612,6 +443,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
612
443
|
eventSurface: import("../..").EventSurfaceScope;
|
|
613
444
|
filterEventPresets: string | null;
|
|
614
445
|
scheduleScope: import("../..").EventScheduleScope;
|
|
446
|
+
seriesIds?: string | null;
|
|
615
447
|
filterCategoryIds?: string | null;
|
|
616
448
|
filterStaffMemberId?: string | null;
|
|
617
449
|
filterVenueId?: string | null;
|
|
@@ -108,36 +108,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
108
108
|
readonly 'event-listing': Readonly<{
|
|
109
109
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
110
110
|
kind: "progressive";
|
|
111
|
-
buildRender: (source: Readonly<{
|
|
112
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
113
|
-
siteId: string;
|
|
114
|
-
apiBaseUrl?: string;
|
|
115
|
-
stage?: "preview" | "published";
|
|
116
|
-
layout?: import("../..").EventLayout;
|
|
117
|
-
columns?: import("../..").ColumnOption;
|
|
118
|
-
eventsPerPage?: string;
|
|
119
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
120
|
-
seeAllUrl?: string;
|
|
121
|
-
loadMoreText?: string;
|
|
122
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
123
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
124
|
-
buttonText?: string;
|
|
125
|
-
showVenue?: boolean;
|
|
126
|
-
showMap?: boolean;
|
|
127
|
-
showCapacity?: boolean;
|
|
128
|
-
emptyMessage?: string;
|
|
129
|
-
className?: string;
|
|
130
|
-
showFilters?: boolean | null;
|
|
131
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
132
|
-
showVenueFilter?: boolean | null;
|
|
133
|
-
showStaffFilter?: boolean | null;
|
|
134
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
135
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
136
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
137
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
138
|
-
filterStaffMemberId?: string | null;
|
|
139
|
-
filterVenueId?: string | null;
|
|
140
|
-
}>) => Readonly<{
|
|
111
|
+
buildRender: (source: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => Readonly<{
|
|
141
112
|
display: Readonly<{
|
|
142
113
|
kind: "event-listing";
|
|
143
114
|
state: "loading" | "empty" | "ready";
|
|
@@ -167,6 +138,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
167
138
|
eventSurface: import("../..").EventSurfaceScope;
|
|
168
139
|
filterEventPresets: string | null;
|
|
169
140
|
scheduleScope: import("../..").EventScheduleScope;
|
|
141
|
+
seriesIds?: string | null;
|
|
170
142
|
filterCategoryIds?: string | null;
|
|
171
143
|
filterStaffMemberId?: string | null;
|
|
172
144
|
filterVenueId?: string | null;
|
|
@@ -175,66 +147,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
175
147
|
}>;
|
|
176
148
|
contracts: Readonly<{
|
|
177
149
|
source: Readonly<{
|
|
178
|
-
encode: (value:
|
|
179
|
-
|
|
180
|
-
siteId: string;
|
|
181
|
-
apiBaseUrl?: string;
|
|
182
|
-
stage?: "preview" | "published";
|
|
183
|
-
layout?: import("../..").EventLayout;
|
|
184
|
-
columns?: import("../..").ColumnOption;
|
|
185
|
-
eventsPerPage?: string;
|
|
186
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
187
|
-
seeAllUrl?: string;
|
|
188
|
-
loadMoreText?: string;
|
|
189
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
190
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
191
|
-
buttonText?: string;
|
|
192
|
-
showVenue?: boolean;
|
|
193
|
-
showMap?: boolean;
|
|
194
|
-
showCapacity?: boolean;
|
|
195
|
-
emptyMessage?: string;
|
|
196
|
-
className?: string;
|
|
197
|
-
showFilters?: boolean | null;
|
|
198
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
199
|
-
showVenueFilter?: boolean | null;
|
|
200
|
-
showStaffFilter?: boolean | null;
|
|
201
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
202
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
203
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
204
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
205
|
-
filterStaffMemberId?: string | null;
|
|
206
|
-
filterVenueId?: string | null;
|
|
207
|
-
}>) => unknown;
|
|
208
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
209
|
-
events?: import("../../../../../api/src/index").PublicEvent[] | null;
|
|
210
|
-
siteId: string;
|
|
211
|
-
apiBaseUrl?: string;
|
|
212
|
-
stage?: "preview" | "published";
|
|
213
|
-
layout?: import("../..").EventLayout;
|
|
214
|
-
columns?: import("../..").ColumnOption;
|
|
215
|
-
eventsPerPage?: string;
|
|
216
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
217
|
-
seeAllUrl?: string;
|
|
218
|
-
loadMoreText?: string;
|
|
219
|
-
cardRole?: import("../../../../../theme-core/src/cards/index").CardRole;
|
|
220
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
221
|
-
buttonText?: string;
|
|
222
|
-
showVenue?: boolean;
|
|
223
|
-
showMap?: boolean;
|
|
224
|
-
showCapacity?: boolean;
|
|
225
|
-
emptyMessage?: string;
|
|
226
|
-
className?: string;
|
|
227
|
-
showFilters?: boolean | null;
|
|
228
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
229
|
-
showVenueFilter?: boolean | null;
|
|
230
|
-
showStaffFilter?: boolean | null;
|
|
231
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
232
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
233
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
234
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
235
|
-
filterStaffMemberId?: string | null;
|
|
236
|
-
filterVenueId?: string | null;
|
|
237
|
-
}>>;
|
|
150
|
+
encode: (value: import("../nodes/events/EventListing.interactive").EventListingSourceProps) => unknown;
|
|
151
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/events/EventListing.interactive").EventListingSourceProps>;
|
|
238
152
|
}>;
|
|
239
153
|
render: Readonly<{
|
|
240
154
|
encode: (value: Readonly<{
|
|
@@ -267,6 +181,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
267
181
|
eventSurface: import("../..").EventSurfaceScope;
|
|
268
182
|
filterEventPresets: string | null;
|
|
269
183
|
scheduleScope: import("../..").EventScheduleScope;
|
|
184
|
+
seriesIds?: string | null;
|
|
270
185
|
filterCategoryIds?: string | null;
|
|
271
186
|
filterStaffMemberId?: string | null;
|
|
272
187
|
filterVenueId?: string | null;
|
|
@@ -303,6 +218,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
303
218
|
eventSurface: import("../..").EventSurfaceScope;
|
|
304
219
|
filterEventPresets: string | null;
|
|
305
220
|
scheduleScope: import("../..").EventScheduleScope;
|
|
221
|
+
seriesIds?: string | null;
|
|
306
222
|
filterCategoryIds?: string | null;
|
|
307
223
|
filterStaffMemberId?: string | null;
|
|
308
224
|
filterVenueId?: string | null;
|
|
@@ -2,6 +2,7 @@ import type { EventScheduleScope, EventSurfaceScope } from '../../blocks/events/
|
|
|
2
2
|
import type { EventFilterCategory, EventFilterStaffMember, EventFilterVenue } from '../api/types';
|
|
3
3
|
import type { EventRuntimeFilters } from '../nodes/events/shared/listOptions';
|
|
4
4
|
type UseEventFiltersOptions = {
|
|
5
|
+
preFilterSeriesIds?: string | null;
|
|
5
6
|
/** Whether to show category filter (auto, always, never) */
|
|
6
7
|
showCategoryFilter?: 'auto' | 'always' | 'never';
|
|
7
8
|
/** Whether to show venue filter */
|
|
@@ -82,5 +83,5 @@ type EventFiltersState = {
|
|
|
82
83
|
* const events = await api.getPublicEvents(params);
|
|
83
84
|
* ```
|
|
84
85
|
*/
|
|
85
|
-
export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope, }?: UseEventFiltersOptions): EventFiltersState;
|
|
86
|
+
export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterSeriesIds, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope, }?: UseEventFiltersOptions): EventFiltersState;
|
|
86
87
|
export default useEventFilters;
|
|
@@ -18,6 +18,7 @@ declare const publicLocationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18
18
|
type PublicAppointmentLocation = z.infer<typeof publicLocationSchema>;
|
|
19
19
|
declare const publicAppointmentServiceSchema: z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
21
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
21
22
|
title: z.ZodString;
|
|
22
23
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
24
|
durationMinutes: z.ZodNumber;
|
|
@@ -66,6 +67,7 @@ export type AppointmentServiceRow = Readonly<{
|
|
|
66
67
|
locationLabel: string | null;
|
|
67
68
|
priceLabel: string | null;
|
|
68
69
|
href: string;
|
|
70
|
+
detailsHref: string | null;
|
|
69
71
|
}>;
|
|
70
72
|
export type AppointmentServicesView = Readonly<{
|
|
71
73
|
kind: 'items';
|
|
@@ -81,6 +83,7 @@ export type AppointmentServicesNodeProps = Readonly<{
|
|
|
81
83
|
sectionHeading?: unknown;
|
|
82
84
|
services?: unknown;
|
|
83
85
|
pathname?: unknown;
|
|
86
|
+
servicePathPrefix?: unknown;
|
|
84
87
|
className?: string | null;
|
|
85
88
|
}>;
|
|
86
89
|
export declare function formatAppointmentDuration(durationMinutes: number): string;
|
|
@@ -89,6 +92,7 @@ export declare function formatAppointmentPrice(service: PublicAppointmentService
|
|
|
89
92
|
export declare function buildAppointmentServicesView(input: Readonly<{
|
|
90
93
|
services: unknown;
|
|
91
94
|
pathname: string | undefined;
|
|
95
|
+
servicePathPrefix?: string | null;
|
|
92
96
|
}>): AppointmentServicesView;
|
|
93
|
-
export declare function AppointmentServicesNode({ sectionHeading, services, pathname, className, }: AppointmentServicesNodeProps): React.ReactElement;
|
|
97
|
+
export declare function AppointmentServicesNode({ sectionHeading, services, pathname, servicePathPrefix, className, }: AppointmentServicesNodeProps): React.ReactElement;
|
|
94
98
|
export default AppointmentServicesNode;
|
|
@@ -54,6 +54,10 @@ export declare function usePortalAuthWithDeps(deps: EventRegistrationHooksDeps):
|
|
|
54
54
|
export type UseEligibilityResult = {
|
|
55
55
|
state: EligibilityLookupState;
|
|
56
56
|
eligibility: EligibilityLookupState['eligibility'];
|
|
57
|
+
/** Identity of the inputs that produced `eligibility`, retained while refreshing. */
|
|
58
|
+
settledRequestKey: string | null;
|
|
59
|
+
/** Identity of the inputs currently requested by the wizard. */
|
|
60
|
+
requestKey: string;
|
|
57
61
|
isLoading: boolean;
|
|
58
62
|
error: EligibilityLookupState['error'];
|
|
59
63
|
creditState: PortalCreditState;
|