@riverbankcms/sdk 0.107.0 → 0.108.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-DpAbAl08.mjs → PreviewEditorSidebar-BBT-kZAM.mjs} +46 -11
- package/dist/{PreviewEditorUI-O7cn6Xxv.mjs → PreviewEditorUI-D69xNKT2.mjs} +10 -9
- package/dist/{PreviewQueryProvider-D0tnKl0t.mjs → PreviewQueryProvider-RRu7wyQ5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CVB7urtl.mjs → SdkPreviewModeRuntime-CuDjXH6o.mjs} +426 -72
- package/dist/{SiteChromeCustomizeContext-C_sizso-.mjs → SiteChromeCustomizeContext-BQUY2dEk.mjs} +3865 -544
- package/dist/_dts/ai/src/contracts/proposals.d.ts +3712 -220
- package/dist/_dts/api/src/blocks.d.ts +41 -7
- package/dist/_dts/api/src/bookingRecords.d.ts +180 -115
- package/dist/_dts/api/src/cache-tags.d.ts +3 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +19 -1
- package/dist/_dts/api/src/endpoints.d.ts +99 -0
- package/dist/_dts/api/src/footer-settings.d.ts +1 -0
- package/dist/_dts/api/src/footerSettings.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +5 -2
- package/dist/_dts/api/src/navigation/contracts.d.ts +3 -3
- package/dist/_dts/api/src/previewContentContract.d.ts +4 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +62 -0
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +143 -55
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +41 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +0 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +50 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +9 -48
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/icons/registry.d.ts +2 -1
- package/dist/_dts/blocks/src/system/icons/social.d.ts +5 -0
- package/dist/_dts/blocks/src/system/icons/svg.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/fragments/footerNav.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledContainer.d.ts +4 -4
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +3 -12
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +27 -8
- package/dist/_dts/content-editor/src/footerComposer.d.ts +56 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +5 -5
- package/dist/_dts/content-editor/src/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +3 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +20 -36
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +5 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +11 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/content-model/src/definitions/shared.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +3 -0
- package/dist/_dts/core/src/editor-state.d.ts +4 -0
- package/dist/_dts/core/src/footer-composition.d.ts +143 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/public-profile.d.ts +73 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3043 -2941
- package/dist/_dts/db/src/schemas/forms.d.ts +10 -10
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +5 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/path-utils/src/index.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/previewErrorMessages.d.ts +4 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -0
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +14 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -0
- package/dist/_dts/sdk/src/client/management/types.d.ts +15 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/content-validation.d.ts +4 -0
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +13 -10
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/footer/mode.d.ts +15 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -30
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +1186 -34
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +15 -0
- package/dist/cli/index.mjs +760 -374
- package/dist/client/{DiscountCodeDisclosure-BwGkvmVH.mjs → DiscountCodeDisclosure-D6TOf6Hi.mjs} +1 -1
- package/dist/client/{EventCombined.client-JnWE6Hzc.mjs → EventCombined.client-Dao3zxRk.mjs} +3 -3
- package/dist/client/{EventListing.client-DQewc_kg.mjs → EventListing.client-B2NNt4y1.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DPAU3SFt.mjs → LeafletStaticMap-BhwFo16w.mjs} +1 -1
- package/dist/client/{MagicLinkForm-D4kpWCbW.mjs → MagicLinkForm-BWnB7cMR.mjs} +2 -2
- package/dist/client/{StepIndicator-CBlkb4rA.mjs → StepIndicator-TzRiQ0BY.mjs} +2 -2
- package/dist/client/{accordion-DAIBVpTS.mjs → accordion-BPy-AJ4_.mjs} +1 -1
- package/dist/client/{bookingForm-DZ-4l5_1.mjs → bookingForm-BL4PGZds.mjs} +6 -6
- package/dist/client/bookings.mjs +143 -94
- package/dist/client/{buttons-DJgynGHQ.mjs → buttons-EBjyslaX.mjs} +144 -95
- package/dist/client/{carousel-D-SLfX8r.mjs → carousel-C2b7Cn9-.mjs} +1 -1
- package/dist/client/{cart-CEgbgJhX.mjs → cart-BQcbXIVD.mjs} +3 -3
- package/dist/client/{checkout-CXWrCRAA.mjs → checkout-DEmpGRJu.mjs} +3 -3
- package/dist/client/client.mjs +827 -434
- package/dist/client/{courseRegistration-DVmLrRVz.mjs → courseRegistration-BqRZPmsq.mjs} +7 -7
- package/dist/client/{eventCalendar-DCuyPY_c.mjs → eventCalendar-B8N_tSl5.mjs} +5 -5
- package/dist/client/{eventCombined-kP2CA2D4.mjs → eventCombined-Gjn6gtq7.mjs} +2 -2
- package/dist/client/{eventDetails-DU0LeF5e.mjs → eventDetails-M-VCxA-r.mjs} +3 -3
- package/dist/client/{eventListing-CcHF87BI.mjs → eventListing-DR19hqYi.mjs} +2 -2
- package/dist/client/{eventRegistration-DJnR0yFH.mjs → eventRegistration-BR02a0k3.mjs} +7 -7
- package/dist/client/{form-CH1lCusH.mjs → form-LY2xIbwg.mjs} +2 -2
- package/dist/client/{headerSection-CBPFZoku.mjs → headerSection-CYwwXJfh.mjs} +3 -3
- package/dist/client/hooks.mjs +377 -362
- package/dist/client/{locationMap-Cx1hBg5n.mjs → locationMap-DWnBXrFq.mjs} +2 -2
- package/dist/client/{newsletterForm-1ZL_ti9u.mjs → newsletterForm-D9s-fQ2P.mjs} +2 -2
- package/dist/client/{pricing-BIbzmV0G.mjs → pricing-DDq80oYc.mjs} +1 -1
- package/dist/client/{productDetail-BTh5gHBV.mjs → productDetail-B0SbWd45.mjs} +3 -3
- package/dist/client/{productList-Cc7OMrqN.mjs → productList-PwYlZn0y.mjs} +3 -3
- package/dist/client/{propsDecoder-oR-M-ISN.mjs → propsDecoder-BRWBiH7i.mjs} +33 -9
- package/dist/client/rendering/client.mjs +247 -40
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +478 -270
- package/dist/client/{shop-CQ_YbCnn.mjs → shop-CMwZPYME.mjs} +6 -6
- package/dist/client/{shop-commerce-BM-AoD3M.mjs → shop-commerce-BuxsFate.mjs} +5 -5
- package/dist/client/{shop-commerce-store-DFMQhU5p.mjs → shop-commerce-store-boYlEJ91.mjs} +1 -1
- package/dist/client/{shopShared-D0SKO2Cu.mjs → shopShared-D2naaOes.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CrG4_ARt.mjs → useDiscountCodeUi-D9RHpVoj.mjs} +1 -1
- package/dist/client/{useEventFilters-CxK8Fekl.mjs → useEventFilters-igGiK1re.mjs} +3 -3
- package/dist/client/{usePolling-jcVryNgZ.mjs → usePolling-CI7MbsFB.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +178 -0
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +178 -0
- package/dist/{previewAuthStore-BPcJPzdz.mjs → previewAuthStore-a_cBD28m.mjs} +178 -0
- package/dist/{sdk-runtime-C39Rsk-x.mjs → sdk-runtime-MBzD-GmP.mjs} +2 -2
- package/dist/{separator-BoMSQnsP.mjs → separator-5ahRBC85.mjs} +1 -1
- package/dist/server/components.mjs +556 -366
- package/dist/server/config-validation.mjs +384 -363
- package/dist/server/config.mjs +384 -364
- package/dist/server/data.mjs +377 -362
- package/dist/server/index.mjs +179 -1
- package/dist/server/navigation.mjs +9 -3
- package/dist/server/next.mjs +1384 -995
- package/dist/server/page-converter.mjs +368 -355
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +539 -360
- package/dist/server/rendering.mjs +556 -366
- package/dist/server/routing.mjs +613 -543
- package/dist/server/server.mjs +554 -361
- package/dist/server/theme-bridge.mjs +189 -98
- package/dist/server/theme.mjs +161 -95
- package/dist/styles/index.css +7 -1
- package/package.json +1 -1
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { useSyncExternalStore } from "react";
|
|
4
4
|
//#region ../api/src/apiEndpointTypes.ts
|
|
5
|
+
function allowedDemoMutationPolicy() {
|
|
6
|
+
return {
|
|
7
|
+
classification: "allowed",
|
|
8
|
+
publicMessage: ""
|
|
9
|
+
};
|
|
10
|
+
}
|
|
5
11
|
function blockedDemoMutationPolicy(classification, publicMessage) {
|
|
6
12
|
if (publicMessage.trim() === "") throw new Error(`Demo mutation policy ${classification} requires publicMessage.`);
|
|
7
13
|
return {
|
|
@@ -29,6 +35,7 @@ const TAG_TEMPLATES = {
|
|
|
29
35
|
siteRouteOutcomes: "riverbank:site:{siteId}:route-outcomes",
|
|
30
36
|
routeById: "riverbank:route:{routeId}",
|
|
31
37
|
pageById: "riverbank:page:{pageId}",
|
|
38
|
+
pageSurfaceById: "riverbank:page-surface:{pageSurfaceId}",
|
|
32
39
|
workflowRunById: "riverbank:workflow-run:{runId}",
|
|
33
40
|
siteForms: "riverbank:site:{siteId}:forms",
|
|
34
41
|
formById: "riverbank:form:{formId}",
|
|
@@ -54,6 +61,7 @@ const TAG_TEMPLATES = {
|
|
|
54
61
|
const DEMO_MUTATION_BLOCKED_HIDDEN = blockedDemoMutationPolicy("blocked-hidden", "This action is not available in demo sites.");
|
|
55
62
|
const DEMO_MUTATION_BLOCKED_DISABLED = blockedDemoMutationPolicy("blocked-disabled", "This setting is disabled in demo sites.");
|
|
56
63
|
const DEMO_MUTATION_INTERNAL_ONLY = blockedDemoMutationPolicy("internal-only", "This internal operation is not available in demo sites.");
|
|
64
|
+
const DEMO_MUTATION_ALLOWED = allowedDemoMutationPolicy();
|
|
57
65
|
const API_ENDPOINTS = {
|
|
58
66
|
aiContentUpdateChat: {
|
|
59
67
|
path: "/ai/content-update-chat",
|
|
@@ -2192,6 +2200,49 @@ const API_ENDPOINTS = {
|
|
|
2192
2200
|
auth: "user",
|
|
2193
2201
|
responseKind: "json"
|
|
2194
2202
|
},
|
|
2203
|
+
updatePageSurfaceDraftContent: {
|
|
2204
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
2205
|
+
method: "PUT",
|
|
2206
|
+
errors: [
|
|
2207
|
+
"validation:invalid_input",
|
|
2208
|
+
"resource:not_found",
|
|
2209
|
+
"resource:conflict",
|
|
2210
|
+
"server:internal_error"
|
|
2211
|
+
],
|
|
2212
|
+
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
2213
|
+
auth: "user",
|
|
2214
|
+
responseKind: "json"
|
|
2215
|
+
},
|
|
2216
|
+
discardPageSurfaceDraftContent: {
|
|
2217
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content/draft",
|
|
2218
|
+
method: "DELETE",
|
|
2219
|
+
errors: [
|
|
2220
|
+
"validation:invalid_input",
|
|
2221
|
+
"resource:not_found",
|
|
2222
|
+
"resource:conflict",
|
|
2223
|
+
"server:internal_error"
|
|
2224
|
+
],
|
|
2225
|
+
tags: [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById],
|
|
2226
|
+
auth: "user",
|
|
2227
|
+
responseKind: "json"
|
|
2228
|
+
},
|
|
2229
|
+
updatePageSurfaceRouteMetadata: {
|
|
2230
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/metadata",
|
|
2231
|
+
method: "PATCH",
|
|
2232
|
+
errors: [
|
|
2233
|
+
"validation:invalid_input",
|
|
2234
|
+
"resource:not_found",
|
|
2235
|
+
"resource:conflict",
|
|
2236
|
+
"server:internal_error"
|
|
2237
|
+
],
|
|
2238
|
+
tags: [
|
|
2239
|
+
TAG_TEMPLATES.siteCollection,
|
|
2240
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2241
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2242
|
+
],
|
|
2243
|
+
auth: "user",
|
|
2244
|
+
responseKind: "json"
|
|
2245
|
+
},
|
|
2195
2246
|
runSdkWorkflow: {
|
|
2196
2247
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2197
2248
|
method: "POST",
|
|
@@ -2572,6 +2623,50 @@ const API_ENDPOINTS = {
|
|
|
2572
2623
|
errors: [],
|
|
2573
2624
|
responseKind: "json"
|
|
2574
2625
|
},
|
|
2626
|
+
getFooterComposition: {
|
|
2627
|
+
path: "/sites/{siteId}/settings/footer-composition",
|
|
2628
|
+
method: "GET",
|
|
2629
|
+
revalidate: 120,
|
|
2630
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
2631
|
+
auth: "user",
|
|
2632
|
+
errors: ["resource:not_found", "server:internal_error"],
|
|
2633
|
+
responseKind: "json"
|
|
2634
|
+
},
|
|
2635
|
+
updateFooterComposition: {
|
|
2636
|
+
path: "/sites/{siteId}/settings/footer-composition",
|
|
2637
|
+
method: "POST",
|
|
2638
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
2639
|
+
auth: "user",
|
|
2640
|
+
demoMutation: DEMO_MUTATION_ALLOWED,
|
|
2641
|
+
errors: [
|
|
2642
|
+
"validation:invalid_input",
|
|
2643
|
+
"resource:not_found",
|
|
2644
|
+
"server:internal_error"
|
|
2645
|
+
],
|
|
2646
|
+
responseKind: "json"
|
|
2647
|
+
},
|
|
2648
|
+
getPublicProfile: {
|
|
2649
|
+
path: "/sites/{siteId}/settings/public-profile",
|
|
2650
|
+
method: "GET",
|
|
2651
|
+
revalidate: 120,
|
|
2652
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
2653
|
+
auth: "user",
|
|
2654
|
+
errors: ["resource:not_found", "server:internal_error"],
|
|
2655
|
+
responseKind: "json"
|
|
2656
|
+
},
|
|
2657
|
+
updatePublicProfile: {
|
|
2658
|
+
path: "/sites/{siteId}/settings/public-profile",
|
|
2659
|
+
method: "POST",
|
|
2660
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
2661
|
+
auth: "user",
|
|
2662
|
+
demoMutation: DEMO_MUTATION_ALLOWED,
|
|
2663
|
+
errors: [
|
|
2664
|
+
"validation:invalid_input",
|
|
2665
|
+
"resource:not_found",
|
|
2666
|
+
"server:internal_error"
|
|
2667
|
+
],
|
|
2668
|
+
responseKind: "json"
|
|
2669
|
+
},
|
|
2575
2670
|
updateSiteLayoutSettings: {
|
|
2576
2671
|
path: "/sites/{siteId}/settings/layout",
|
|
2577
2672
|
method: "POST",
|
|
@@ -3644,6 +3739,76 @@ const API_ENDPOINTS = {
|
|
|
3644
3739
|
responseKind: "json",
|
|
3645
3740
|
errors: ["resource:not_found"]
|
|
3646
3741
|
},
|
|
3742
|
+
listPageSurfaceContentSlots: {
|
|
3743
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
|
|
3744
|
+
method: "GET",
|
|
3745
|
+
tags: [
|
|
3746
|
+
TAG_TEMPLATES.siteCollection,
|
|
3747
|
+
TAG_TEMPLATES.pageSurfaceById,
|
|
3748
|
+
"surface-slots",
|
|
3749
|
+
"blocks"
|
|
3750
|
+
],
|
|
3751
|
+
auth: "user",
|
|
3752
|
+
responseKind: "json",
|
|
3753
|
+
errors: [
|
|
3754
|
+
"resource:not_found",
|
|
3755
|
+
"resource:conflict",
|
|
3756
|
+
"server:internal_error"
|
|
3757
|
+
]
|
|
3758
|
+
},
|
|
3759
|
+
createPageSurfaceSlotBlock: {
|
|
3760
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
3761
|
+
method: "POST",
|
|
3762
|
+
tags: [
|
|
3763
|
+
TAG_TEMPLATES.siteCollection,
|
|
3764
|
+
TAG_TEMPLATES.pageSurfaceById,
|
|
3765
|
+
"surface-slot-{slotKey}",
|
|
3766
|
+
"blocks"
|
|
3767
|
+
],
|
|
3768
|
+
auth: "user",
|
|
3769
|
+
responseKind: "json",
|
|
3770
|
+
errors: [
|
|
3771
|
+
"validation:invalid_input",
|
|
3772
|
+
"resource:not_found",
|
|
3773
|
+
"resource:conflict",
|
|
3774
|
+
"server:internal_error"
|
|
3775
|
+
]
|
|
3776
|
+
},
|
|
3777
|
+
reorderPageSurfaceSlotBlocks: {
|
|
3778
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
3779
|
+
method: "POST",
|
|
3780
|
+
tags: [
|
|
3781
|
+
TAG_TEMPLATES.siteCollection,
|
|
3782
|
+
TAG_TEMPLATES.pageSurfaceById,
|
|
3783
|
+
"surface-slot-{slotKey}",
|
|
3784
|
+
"blocks"
|
|
3785
|
+
],
|
|
3786
|
+
auth: "user",
|
|
3787
|
+
responseKind: "json",
|
|
3788
|
+
errors: [
|
|
3789
|
+
"validation:invalid_input",
|
|
3790
|
+
"resource:not_found",
|
|
3791
|
+
"resource:conflict",
|
|
3792
|
+
"server:internal_error"
|
|
3793
|
+
]
|
|
3794
|
+
},
|
|
3795
|
+
deletePageSurfaceSlotBlock: {
|
|
3796
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
3797
|
+
method: "DELETE",
|
|
3798
|
+
tags: [
|
|
3799
|
+
TAG_TEMPLATES.siteCollection,
|
|
3800
|
+
TAG_TEMPLATES.pageSurfaceById,
|
|
3801
|
+
"surface-slot-{slotKey}",
|
|
3802
|
+
"blocks"
|
|
3803
|
+
],
|
|
3804
|
+
auth: "user",
|
|
3805
|
+
responseKind: "json",
|
|
3806
|
+
errors: [
|
|
3807
|
+
"resource:not_found",
|
|
3808
|
+
"resource:conflict",
|
|
3809
|
+
"server:internal_error"
|
|
3810
|
+
]
|
|
3811
|
+
},
|
|
3647
3812
|
createBlock: {
|
|
3648
3813
|
path: "/sites/{siteId}/pages/{pageId}/blocks",
|
|
3649
3814
|
method: "POST",
|
|
@@ -6256,6 +6421,19 @@ const API_ENDPOINTS = {
|
|
|
6256
6421
|
auth: "service",
|
|
6257
6422
|
responseKind: "json"
|
|
6258
6423
|
},
|
|
6424
|
+
sdkPatchPageBlock: {
|
|
6425
|
+
path: "/sdk/{siteId}/pages/{identifier}/blocks/{blockIdentifier}",
|
|
6426
|
+
method: "PATCH",
|
|
6427
|
+
errors: [
|
|
6428
|
+
"validation:invalid_input",
|
|
6429
|
+
"resource:not_found",
|
|
6430
|
+
"resource:conflict",
|
|
6431
|
+
"billing:plan_limit_exceeded",
|
|
6432
|
+
"server:internal_error"
|
|
6433
|
+
],
|
|
6434
|
+
auth: "service",
|
|
6435
|
+
responseKind: "json"
|
|
6436
|
+
},
|
|
6259
6437
|
sdkReorderPageBlocks: {
|
|
6260
6438
|
path: "/sdk/{siteId}/pages/{identifier}/blocks/reorder",
|
|
6261
6439
|
method: "POST",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-RRu7wyQ5.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-CuDjXH6o.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ju as Primitive, Qu as cn } from "./SiteChromeCustomizeContext-BQUY2dEk.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|