@riverbankcms/sdk 0.136.0 → 0.137.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/CHANGELOG.md +101 -0
- package/dist/{PreviewEditorSidebar-BU5ZlhQR.mjs → PreviewEditorSidebar-Bn6cONPa.mjs} +8 -8
- package/dist/{PreviewEditorUI-9XkHL-bC.mjs → PreviewEditorUI-LAwXZPSx.mjs} +3 -3
- package/dist/{PreviewQueryProvider-wbEpXryy.mjs → PreviewQueryProvider-ztQUdsNo.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CnWmj-2B.mjs → SdkPreviewModeRuntime-BbbGsI_v.mjs} +596 -164
- package/dist/{SiteChromeCustomizeContext-B6d5zkog.mjs → SiteChromeCustomizeContext-BbkNSt5a.mjs} +2888 -1404
- package/dist/_dts/ai/src/contracts/proposals.d.ts +12 -298
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +21 -14
- package/dist/_dts/ai/src/designer/themePatch.d.ts +5 -10
- package/dist/_dts/api/src/accessAdmin.d.ts +1 -9
- package/dist/_dts/api/src/accountApi.d.ts +49 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -4
- package/dist/_dts/api/src/domainConnection.d.ts +41 -0
- package/dist/_dts/api/src/endpoints.d.ts +194 -181
- package/dist/_dts/api/src/index.d.ts +4 -3
- package/dist/_dts/api/src/media.d.ts +19 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -15
- package/dist/_dts/api/src/sdkMediaContracts.d.ts +40 -0
- package/dist/_dts/api/src/sdkMediaEndpointDefinitions.d.ts +61 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +15 -4
- package/dist/_dts/api/src/siteInfrastructure.d.ts +17 -23
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +7 -21
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +27 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +37 -17
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -2
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +9 -0
- package/dist/_dts/blocks/src/pageRendererBlockSupport.d.ts +75 -0
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +2 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +34 -22
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ErrorStep.d.ts +3 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorPresentation.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +25 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationWizardContext.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useWaitlistClaimRestoration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/capacity.d.ts +164 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/cta.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +47 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/people.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/pricing.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/OfferingTitle.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listingLayout.d.ts +23 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +57 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +8 -40
- package/dist/_dts/db/src/index.d.ts +1 -0
- package/dist/_dts/db/src/utils/postgrestFilter.d.ts +2 -0
- package/dist/_dts/media-core/src/bulkDeletePlanning.d.ts +4 -0
- package/dist/_dts/media-core/src/fileDomain.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlSaveRequest.d.ts +51 -0
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +24 -2
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +23 -1
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +8 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/gradients/types.d.ts +5 -0
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +25 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -3
- package/dist/_dts/theme-core/src/schema.d.ts +12 -11
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +43 -3
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +10 -0
- package/dist/_dts/theme-core/src/site-styles/headerBrandPresentation.d.ts +63 -0
- package/dist/_dts/theme-core/src/site-styles/headerBytesComparison.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/headerInteractionPalette.d.ts +50 -1
- package/dist/_dts/theme-core/src/site-styles/headerLayoutCatalog.d.ts +48 -9
- package/dist/_dts/theme-core/src/site-styles/headerPreferences.d.ts +162 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +73 -0
- package/dist/_dts/theme-core/src/site-styles/headerRecompile.d.ts +118 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +10 -1
- package/dist/_dts/theme-core/src/site-styles/headerStyleDefaults.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +7 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +20 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +43 -2
- package/dist/client/{BookingConsentAgreement-DCch21a6.mjs → BookingConsentAgreement--_fUCZe-.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-DIj1T59K.mjs → DiscountCodeDisclosure-BMipSoDJ.mjs} +1 -1
- package/dist/client/{EventCombined.client-BWVNlXTx.mjs → EventCombined.client-CwJOxn7A.mjs} +154 -178
- package/dist/client/{EventListing.client-DVFCDe3i.mjs → EventListing.client-eVwiylPW.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BY5mIHw9.mjs → LeafletStaticMap-IKenna5u.mjs} +1 -1
- package/dist/client/{accordion-CK29E8rG.mjs → accordion-MGAO3PuE.mjs} +1 -1
- package/dist/client/{bookingForm-DFvnet-N.mjs → bookingForm-CudlQPUu.mjs} +5 -5
- package/dist/client/bookings.mjs +418 -79
- package/dist/client/capacity-BW00PO7s.mjs +271 -0
- package/dist/client/{carousel-BVU5NQlb.mjs → carousel-BrbGJ2Jl.mjs} +1 -1
- package/dist/client/{cart-BNItcZVa.mjs → cart-Bq5eU0xZ.mjs} +3 -3
- package/dist/client/{checkout-Bu6iCdkP.mjs → checkout-BAFVRdrK.mjs} +3 -3
- package/dist/client/client.mjs +2919 -1918
- package/dist/client/{context-BImarOAq.mjs → context-DCkiHVdD.mjs} +8 -5
- package/dist/client/dates-2RPXHQy4.mjs +264 -0
- package/dist/client/{eventCalendar-DS2h-UXD.mjs → eventCalendar-B0O-hPF7.mjs} +10 -17
- package/dist/client/{eventCombined-Drt4Oq9p.mjs → eventCombined-DCkDaoDI.mjs} +3 -3
- package/dist/client/{eventDetails-Bl2vWgTX.mjs → eventDetails-D8GG2dnD.mjs} +5 -3
- package/dist/client/{eventListing-CS7PHY7v.mjs → eventListing-3ssV_bxz.mjs} +3 -3
- package/dist/client/{eventRegistration-D-j8eNy2.mjs → eventRegistration-bPQo3kVw.mjs} +562 -309
- package/dist/client/{form-RMpoLTyr.mjs → form-qMv8RDkk.mjs} +2 -2
- package/dist/client/{headerSection-BYE3Lb3k.mjs → headerSection-CH0Sc5hX.mjs} +2 -2
- package/dist/client/hooks.mjs +289 -32
- package/dist/client/{locationMap-BxSr7Kkh.mjs → locationMap-0_xlBnNI.mjs} +2 -2
- package/dist/client/{newsletterForm-DerbXwFC.mjs → newsletterForm-NUW7m9RI.mjs} +2 -2
- package/dist/client/{productDetail-4SZCLhAf.mjs → productDetail-FBEOM7jW.mjs} +3 -3
- package/dist/client/{productList-D7AP4GNq.mjs → productList-R0OSGhnn.mjs} +3 -3
- package/dist/client/{propsDecoder-pzBeCh14.mjs → propsDecoder-pYvx_Srl.mjs} +88 -380
- package/dist/client/rendering/client.mjs +2616 -1637
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +2710 -1702
- package/dist/client/{scrollToBlock-CduAKf8T.mjs → scrollToBlock-ByQv96M2.mjs} +1 -1
- package/dist/client/{shop-Cp5p_kGe.mjs → shop-RUG9DmRE.mjs} +6 -6
- package/dist/client/{shop-commerce-DicXYaYX.mjs → shop-commerce-B76Jz23B.mjs} +5 -5
- package/dist/client/{shop-commerce-store-CGWnpY4K.mjs → shop-commerce-store-QuQNdDsD.mjs} +1 -1
- package/dist/client/{shopShared-BDf9ljkm.mjs → shopShared-vXU1omwJ.mjs} +3 -3
- package/dist/client/{useEventFilters-DeeyGYuk.mjs → useEventFilters-ByuU6HLA.mjs} +33 -18
- package/dist/preview-next/before-render.mjs +79 -51
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +79 -51
- package/dist/preview-next/middleware.mjs +79 -51
- package/dist/{previewAuthStore-DbqBol0V.mjs → previewAuthStore-L_cKW8Sb.mjs} +79 -51
- package/dist/{sdk-runtime-19MO27F0.mjs → sdk-runtime-sUMr5d70.mjs} +2 -2
- package/dist/{separator-DaPLtJ1f.mjs → separator-BIHkie5i.mjs} +1 -1
- package/dist/server/components.mjs +2077 -1274
- package/dist/server/config-validation.mjs +289 -32
- package/dist/server/config.mjs +289 -32
- package/dist/server/data.mjs +289 -32
- package/dist/server/index.mjs +80 -52
- package/dist/server/next.mjs +1822 -1111
- package/dist/server/page-converter.mjs +167 -31
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1988 -1286
- package/dist/server/rendering.mjs +1943 -1182
- package/dist/server/routing.mjs +351 -86
- package/dist/server/server.mjs +293 -128
- package/dist/server/theme-bridge.mjs +52 -8
- package/dist/server/theme.mjs +27 -8
- package/dist/styles/index.css +15 -0
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCapacity.d.ts +0 -48
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +0 -100
- /package/dist/_dts/blocks/src/system/runtime/nodes/events/{shared → domain}/destination.d.ts +0 -0
|
@@ -651,10 +651,10 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
|
|
|
651
651
|
sticky: "sticky";
|
|
652
652
|
}>;
|
|
653
653
|
shrinkOnScroll: z.ZodBoolean;
|
|
654
|
-
maxWidth: z.ZodEnum<{
|
|
654
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
655
655
|
full: "full";
|
|
656
656
|
container: "container";
|
|
657
|
-
}
|
|
657
|
+
}>>;
|
|
658
658
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
659
659
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
660
660
|
backgroundTone: z.ZodEnum<{
|
|
@@ -980,6 +980,7 @@ export declare const SiteStyleSelectionCommandBackedPreviewSchema: z.ZodObject<{
|
|
|
980
980
|
accent: "accent";
|
|
981
981
|
primary: "primary";
|
|
982
982
|
secondary: "secondary";
|
|
983
|
+
quiet: "quiet";
|
|
983
984
|
}>>;
|
|
984
985
|
container: z.ZodOptional<z.ZodObject<{
|
|
985
986
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -4581,10 +4582,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
4581
4582
|
sticky: "sticky";
|
|
4582
4583
|
}>;
|
|
4583
4584
|
shrinkOnScroll: z.ZodBoolean;
|
|
4584
|
-
maxWidth: z.ZodEnum<{
|
|
4585
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
4585
4586
|
full: "full";
|
|
4586
4587
|
container: "container";
|
|
4587
|
-
}
|
|
4588
|
+
}>>;
|
|
4588
4589
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4589
4590
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
4590
4591
|
backgroundTone: z.ZodEnum<{
|
|
@@ -4910,6 +4911,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
4910
4911
|
accent: "accent";
|
|
4911
4912
|
primary: "primary";
|
|
4912
4913
|
secondary: "secondary";
|
|
4914
|
+
quiet: "quiet";
|
|
4913
4915
|
}>>;
|
|
4914
4916
|
container: z.ZodOptional<z.ZodObject<{
|
|
4915
4917
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -9809,10 +9811,10 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
9809
9811
|
sticky: "sticky";
|
|
9810
9812
|
}>;
|
|
9811
9813
|
shrinkOnScroll: z.ZodBoolean;
|
|
9812
|
-
maxWidth: z.ZodEnum<{
|
|
9814
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
9813
9815
|
full: "full";
|
|
9814
9816
|
container: "container";
|
|
9815
|
-
}
|
|
9817
|
+
}>>;
|
|
9816
9818
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9817
9819
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
9818
9820
|
backgroundTone: z.ZodEnum<{
|
|
@@ -10138,6 +10140,7 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
10138
10140
|
accent: "accent";
|
|
10139
10141
|
primary: "primary";
|
|
10140
10142
|
secondary: "secondary";
|
|
10143
|
+
quiet: "quiet";
|
|
10141
10144
|
}>>;
|
|
10142
10145
|
container: z.ZodOptional<z.ZodObject<{
|
|
10143
10146
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -13802,10 +13805,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
13802
13805
|
sticky: "sticky";
|
|
13803
13806
|
}>;
|
|
13804
13807
|
shrinkOnScroll: z.ZodBoolean;
|
|
13805
|
-
maxWidth: z.ZodEnum<{
|
|
13808
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
13806
13809
|
full: "full";
|
|
13807
13810
|
container: "container";
|
|
13808
|
-
}
|
|
13811
|
+
}>>;
|
|
13809
13812
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13810
13813
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
13811
13814
|
backgroundTone: z.ZodEnum<{
|
|
@@ -14131,6 +14134,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
14131
14134
|
accent: "accent";
|
|
14132
14135
|
primary: "primary";
|
|
14133
14136
|
secondary: "secondary";
|
|
14137
|
+
quiet: "quiet";
|
|
14134
14138
|
}>>;
|
|
14135
14139
|
container: z.ZodOptional<z.ZodObject<{
|
|
14136
14140
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -19030,10 +19034,10 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
19030
19034
|
sticky: "sticky";
|
|
19031
19035
|
}>;
|
|
19032
19036
|
shrinkOnScroll: z.ZodBoolean;
|
|
19033
|
-
maxWidth: z.ZodEnum<{
|
|
19037
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
19034
19038
|
full: "full";
|
|
19035
19039
|
container: "container";
|
|
19036
|
-
}
|
|
19040
|
+
}>>;
|
|
19037
19041
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19038
19042
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
19039
19043
|
backgroundTone: z.ZodEnum<{
|
|
@@ -19359,6 +19363,7 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
19359
19363
|
accent: "accent";
|
|
19360
19364
|
primary: "primary";
|
|
19361
19365
|
secondary: "secondary";
|
|
19366
|
+
quiet: "quiet";
|
|
19362
19367
|
}>>;
|
|
19363
19368
|
container: z.ZodOptional<z.ZodObject<{
|
|
19364
19369
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -23024,10 +23029,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
23024
23029
|
sticky: "sticky";
|
|
23025
23030
|
}>;
|
|
23026
23031
|
shrinkOnScroll: z.ZodBoolean;
|
|
23027
|
-
maxWidth: z.ZodEnum<{
|
|
23032
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
23028
23033
|
full: "full";
|
|
23029
23034
|
container: "container";
|
|
23030
|
-
}
|
|
23035
|
+
}>>;
|
|
23031
23036
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23032
23037
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
23033
23038
|
backgroundTone: z.ZodEnum<{
|
|
@@ -23353,6 +23358,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
23353
23358
|
accent: "accent";
|
|
23354
23359
|
primary: "primary";
|
|
23355
23360
|
secondary: "secondary";
|
|
23361
|
+
quiet: "quiet";
|
|
23356
23362
|
}>>;
|
|
23357
23363
|
container: z.ZodOptional<z.ZodObject<{
|
|
23358
23364
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -28252,10 +28258,10 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
28252
28258
|
sticky: "sticky";
|
|
28253
28259
|
}>;
|
|
28254
28260
|
shrinkOnScroll: z.ZodBoolean;
|
|
28255
|
-
maxWidth: z.ZodEnum<{
|
|
28261
|
+
maxWidth: z.ZodDefault<z.ZodEnum<{
|
|
28256
28262
|
full: "full";
|
|
28257
28263
|
container: "container";
|
|
28258
|
-
}
|
|
28264
|
+
}>>;
|
|
28259
28265
|
scrollTreatment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28260
28266
|
kind: z.ZodLiteral<"contrast-glass">;
|
|
28261
28267
|
backgroundTone: z.ZodEnum<{
|
|
@@ -28581,6 +28587,7 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
28581
28587
|
accent: "accent";
|
|
28582
28588
|
primary: "primary";
|
|
28583
28589
|
secondary: "secondary";
|
|
28590
|
+
quiet: "quiet";
|
|
28584
28591
|
}>>;
|
|
28585
28592
|
container: z.ZodOptional<z.ZodObject<{
|
|
28586
28593
|
rounded: z.ZodDefault<z.ZodEnum<{
|
|
@@ -3,20 +3,16 @@ import { type Theme } from '../../../theme-core/src/index';
|
|
|
3
3
|
import { type ParsedRfc6902JsonPointerPath } from './rfc6902';
|
|
4
4
|
export declare const DEFAULT_THEME_PATCH_MAX_OPS = 25;
|
|
5
5
|
export declare const DEFAULT_THEME_PATCH_MAX_SERIALIZED_BYTES = 20000;
|
|
6
|
-
export declare const DEFAULT_THEME_PATCH_FORBIDDEN_PATH_PREFIXES: readonly ["/axes", "/palette"];
|
|
6
|
+
export declare const DEFAULT_THEME_PATCH_FORBIDDEN_PATH_PREFIXES: readonly ["/axes", "/palette", "/header", "/footer", "/buttons"];
|
|
7
7
|
export declare const SUPPORTED_THEME_PATCH_OPS: readonly ["add", "replace", "remove"];
|
|
8
|
-
type JsonPrimitive = string | number | boolean | null;
|
|
9
|
-
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
10
|
-
[key: string]: JsonValue;
|
|
11
|
-
};
|
|
12
8
|
export declare const ThemePatchOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13
9
|
op: z.ZodLiteral<"add">;
|
|
14
10
|
path: z.ZodString;
|
|
15
|
-
value: z.
|
|
11
|
+
value: z.ZodJSONSchema;
|
|
16
12
|
}, z.core.$strip>, z.ZodObject<{
|
|
17
13
|
op: z.ZodLiteral<"replace">;
|
|
18
14
|
path: z.ZodString;
|
|
19
|
-
value: z.
|
|
15
|
+
value: z.ZodJSONSchema;
|
|
20
16
|
}, z.core.$strip>, z.ZodObject<{
|
|
21
17
|
op: z.ZodLiteral<"remove">;
|
|
22
18
|
path: z.ZodString;
|
|
@@ -25,11 +21,11 @@ export type ThemePatchOp = z.infer<typeof ThemePatchOpSchema>;
|
|
|
25
21
|
export declare const ThemePatchOpsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
22
|
op: z.ZodLiteral<"add">;
|
|
27
23
|
path: z.ZodString;
|
|
28
|
-
value: z.
|
|
24
|
+
value: z.ZodJSONSchema;
|
|
29
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
26
|
op: z.ZodLiteral<"replace">;
|
|
31
27
|
path: z.ZodString;
|
|
32
|
-
value: z.
|
|
28
|
+
value: z.ZodJSONSchema;
|
|
33
29
|
}, z.core.$strip>, z.ZodObject<{
|
|
34
30
|
op: z.ZodLiteral<"remove">;
|
|
35
31
|
path: z.ZodString;
|
|
@@ -57,4 +53,3 @@ export declare function validateThemePatch(args: {
|
|
|
57
53
|
maxSerializedBytes?: number;
|
|
58
54
|
validateRuntime?: boolean;
|
|
59
55
|
}): ThemePatchValidationResult;
|
|
60
|
-
export {};
|
|
@@ -137,15 +137,7 @@ export type AddCustomDomainRequest = {
|
|
|
137
137
|
};
|
|
138
138
|
export type AddCustomDomainResponse = {
|
|
139
139
|
domain: SiteDomainRecord;
|
|
140
|
-
|
|
141
|
-
verified: boolean;
|
|
142
|
-
verification?: Array<{
|
|
143
|
-
type: string;
|
|
144
|
-
domain: string;
|
|
145
|
-
value: string;
|
|
146
|
-
reason: string;
|
|
147
|
-
}>;
|
|
148
|
-
};
|
|
140
|
+
connection: import('./domainConnection').CustomDomainConnectionSnapshot;
|
|
149
141
|
};
|
|
150
142
|
export type DomainSearchResultResponse = {
|
|
151
143
|
query: string;
|
|
@@ -3,6 +3,8 @@ import { type ApiKeyId, type Secret, type SiteId, type UserId } from '../../core
|
|
|
3
3
|
import { ApiEnvelopeError } from './common/envelope';
|
|
4
4
|
import { type ApiClient, type ApiRequestError } from './request';
|
|
5
5
|
import { type AccountCreateSiteRequest, type AccountCreateSiteResponse, type AccountProjectCredentialRecoveryFailureTag, type AccountProvisionProjectCredentialsRequest, type AccountIdentityResponse, type AccountListSitesQuery, type AccountListSitesResponse, type AccountSite } from './accountEndpoints';
|
|
6
|
+
import type { ExportBackupRequest } from './siteAssets';
|
|
7
|
+
import type { BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse } from './siteInfrastructure';
|
|
6
8
|
declare const identityResponseSchema: z.ZodObject<{
|
|
7
9
|
userId: z.ZodPipe<z.ZodString, z.ZodTransform<UserId, string>>;
|
|
8
10
|
email: z.ZodNullable<z.ZodString>;
|
|
@@ -79,6 +81,30 @@ declare const createSiteResponseSchema: z.ZodObject<{
|
|
|
79
81
|
title: z.ZodString;
|
|
80
82
|
slug: z.ZodString;
|
|
81
83
|
}, z.core.$strip>;
|
|
84
|
+
declare const backupUploadResponseSchema: z.ZodType<CreateBackupUploadUrlResponse>;
|
|
85
|
+
declare const backupPreviewResponseSchema: z.ZodType<BackupPreviewResponse>;
|
|
86
|
+
declare const importBackupAsNewSiteResponseSchema: z.ZodObject<{
|
|
87
|
+
ok: z.ZodLiteral<true>;
|
|
88
|
+
siteId: z.ZodPipe<z.ZodString, z.ZodTransform<SiteId, string>>;
|
|
89
|
+
slug: z.ZodString;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
counts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
92
|
+
created: z.ZodNumber;
|
|
93
|
+
updated: z.ZodNumber;
|
|
94
|
+
skipped: z.ZodNumber;
|
|
95
|
+
failed: z.ZodNumber;
|
|
96
|
+
}, z.core.$strict>>;
|
|
97
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
98
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
99
|
+
table: z.ZodString;
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
error: z.ZodString;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
export type AccountApiImportedSiteBackup = Omit<ImportBackupAsNewSiteResponse, 'siteId'> & Readonly<{
|
|
105
|
+
siteId: SiteId;
|
|
106
|
+
}>;
|
|
107
|
+
declare const deleteBackupUploadResponseSchema: z.ZodType<DeleteBackupUploadResponse>;
|
|
82
108
|
type AccountApiStandardKeyIds = Readonly<{
|
|
83
109
|
live?: ApiKeyId;
|
|
84
110
|
management?: ApiKeyId;
|
|
@@ -183,7 +209,7 @@ export type AccountApiCreatedSite = Omit<AccountCreateSiteResponse, 'id'> & Read
|
|
|
183
209
|
}>;
|
|
184
210
|
export type AccountApiResponseError = Readonly<{
|
|
185
211
|
tag: 'malformed_success';
|
|
186
|
-
endpoint: 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials';
|
|
212
|
+
endpoint: 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials' | 'createBackupUploadUrl' | 'deleteBackupUpload' | 'previewBackup' | 'importBackupAsNewSite';
|
|
187
213
|
issues: readonly z.ZodIssue[];
|
|
188
214
|
}>;
|
|
189
215
|
export declare class AccountApiMalformedResponseError extends Error {
|
|
@@ -207,7 +233,28 @@ export type AccountApi = Readonly<{
|
|
|
207
233
|
body: AccountProvisionProjectCredentialsRequest;
|
|
208
234
|
options?: RequestInit;
|
|
209
235
|
}>): Promise<AccountApiProvisionedProjectCredentials>;
|
|
236
|
+
exportSiteBackup(input: Readonly<{
|
|
237
|
+
siteId: SiteId;
|
|
238
|
+
body: ExportBackupRequest;
|
|
239
|
+
options?: RequestInit;
|
|
240
|
+
}>): Promise<Blob>;
|
|
241
|
+
createBackupUploadUrl(input: Readonly<{
|
|
242
|
+
body: CreateBackupUploadUrlRequest;
|
|
243
|
+
options?: RequestInit;
|
|
244
|
+
}>): Promise<CreateBackupUploadUrlResponse>;
|
|
245
|
+
deleteBackupUpload(input: Readonly<{
|
|
246
|
+
body: DeleteBackupUploadRequest;
|
|
247
|
+
options?: RequestInit;
|
|
248
|
+
}>): Promise<DeleteBackupUploadResponse>;
|
|
249
|
+
previewBackup(input: Readonly<{
|
|
250
|
+
body: BackupPreviewRequest;
|
|
251
|
+
options?: RequestInit;
|
|
252
|
+
}>): Promise<BackupPreviewResponse>;
|
|
253
|
+
importBackupAsNewSite(input: Readonly<{
|
|
254
|
+
body: ImportBackupAsNewSiteRequest;
|
|
255
|
+
options?: RequestInit;
|
|
256
|
+
}>): Promise<AccountApiImportedSiteBackup>;
|
|
210
257
|
}>;
|
|
211
258
|
export declare function createAccountApi(apiClient: ApiClient): AccountApi;
|
|
212
259
|
export declare function createBearerAccountApi(token: Secret<'oauth-access-token'>, baseUrl?: string): AccountApi;
|
|
213
|
-
export { identityResponseSchema as accountIdentityResponseSchema, listSitesResponseSchema as accountListSitesResponseSchema, createSiteResponseSchema as accountCreateSiteResponseSchema, provisionedProjectCredentialsResponseSchema as accountProvisionProjectCredentialsResponseSchema, };
|
|
260
|
+
export { identityResponseSchema as accountIdentityResponseSchema, listSitesResponseSchema as accountListSitesResponseSchema, createSiteResponseSchema as accountCreateSiteResponseSchema, provisionedProjectCredentialsResponseSchema as accountProvisionProjectCredentialsResponseSchema, backupUploadResponseSchema, backupPreviewResponseSchema, deleteBackupUploadResponseSchema, importBackupAsNewSiteResponseSchema, };
|
|
@@ -102,10 +102,6 @@ export type ExportFormSubmissionsCsvQuery = {
|
|
|
102
102
|
export type ExportFormSubmissionsCsvResponse = Blob;
|
|
103
103
|
export type ThemePreferencesRecord = CamelizeKeys<DbRow<'site_theme_preferences'>>;
|
|
104
104
|
export type ThemeRow = CamelizeKeys<DbRow<'themes'>>;
|
|
105
|
-
export type ThemeGenerationTurn = {
|
|
106
|
-
message: string;
|
|
107
|
-
themes: Theme[];
|
|
108
|
-
};
|
|
109
105
|
export type ContentEntryDetail<TContent> = {
|
|
110
106
|
entry: ContentEntryRecord;
|
|
111
107
|
route: ContentRouteRecord | null;
|
|
@@ -350,6 +346,7 @@ export type SiteBySlugResponse = {
|
|
|
350
346
|
/** Canonical persisted Style configurator selections, absent only when no selection row exists. */
|
|
351
347
|
selectionButtonStyleSelection?: import('../../theme-core/src/buttons/index').ButtonStyleSelection | null;
|
|
352
348
|
selectionButtonStyleRepairs?: readonly import('../../theme-core/src/buttons/index').ButtonStyleSelectionRepair[];
|
|
349
|
+
selectionHeaderPreferences?: import('../../theme-core/src/site-styles/index').HeaderPreferences | null;
|
|
353
350
|
selectionHeaderSelection?: import('../../theme-core/src/site-styles/index').HeaderLayoutStyleSelection | null;
|
|
354
351
|
selectionFooterLookId?: string | null;
|
|
355
352
|
navigation: NavigationMenuWithItems[];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type DomainVerificationRecord = Readonly<{
|
|
2
|
+
type: string;
|
|
3
|
+
domain: string;
|
|
4
|
+
value: string;
|
|
5
|
+
reason: string;
|
|
6
|
+
}>;
|
|
7
|
+
export type DomainDnsInstruction = Readonly<{
|
|
8
|
+
type: 'A' | 'CNAME';
|
|
9
|
+
name: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type CustomDomainConnectionState = Readonly<{
|
|
13
|
+
status: 'ownership_verification_required';
|
|
14
|
+
records: readonly DomainVerificationRecord[];
|
|
15
|
+
}> | Readonly<{
|
|
16
|
+
status: 'pending_dns';
|
|
17
|
+
records: readonly DomainDnsInstruction[];
|
|
18
|
+
}> | Readonly<{
|
|
19
|
+
status: 'dns_needs_attention';
|
|
20
|
+
records: readonly DomainDnsInstruction[];
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
status: 'connected';
|
|
23
|
+
}> | Readonly<{
|
|
24
|
+
status: 'check_unavailable';
|
|
25
|
+
message: string;
|
|
26
|
+
}>;
|
|
27
|
+
export type CustomDomainConnectionSnapshot = Readonly<{
|
|
28
|
+
primaryHostname: string;
|
|
29
|
+
primary: CustomDomainConnectionState;
|
|
30
|
+
companionHostname: string;
|
|
31
|
+
companion: CustomDomainConnectionState;
|
|
32
|
+
}>;
|
|
33
|
+
export type DomainHostingStatus = Readonly<{
|
|
34
|
+
kind: 'registered';
|
|
35
|
+
verified: boolean;
|
|
36
|
+
verification?: readonly DomainVerificationRecord[];
|
|
37
|
+
error?: string;
|
|
38
|
+
}> | Readonly<{
|
|
39
|
+
kind: 'custom';
|
|
40
|
+
connection: CustomDomainConnectionSnapshot;
|
|
41
|
+
}>;
|