@riverbankcms/sdk 0.119.0 → 0.123.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-C7TXFitV.mjs → PreviewEditorSidebar-DvJFmC29.mjs} +6 -6
- package/dist/{PreviewEditorUI-_1JIHTXS.mjs → PreviewEditorUI-DVHP4bCo.mjs} +3 -3
- package/dist/{PreviewQueryProvider-nKUT4TL-.mjs → PreviewQueryProvider-07EE4uWL.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CvJTVgWa.mjs → SdkPreviewModeRuntime-BE5eFayo.mjs} +5 -5
- package/dist/{SiteChromeCustomizeContext-66QfCbAS.mjs → SiteChromeCustomizeContext-4hn4A0HX.mjs} +3 -3
- package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -72
- package/dist/_dts/api/src/bookingConfig.d.ts +32 -6
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/courses.d.ts +7 -1
- package/dist/_dts/api/src/endpoints.d.ts +3 -3
- package/dist/_dts/api/src/index.d.ts +3 -3
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -3
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -12
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +1 -7
- package/dist/cli/index.mjs +144 -2517
- package/dist/client/client.mjs +3 -2
- package/dist/preview-next/before-render.mjs +2 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +2 -1
- package/dist/{previewAuthStore-DN7vcRsv.mjs → previewAuthStore-ShY26RNz.mjs} +2 -1
- package/dist/{sdk-runtime-DaOiA7ct.mjs → sdk-runtime-CJxkFq2B.mjs} +2 -2
- package/dist/{separator-CqRhcCxD.mjs → separator-CoFmo8uA.mjs} +1 -1
- package/dist/server/components.mjs +32 -2401
- package/dist/server/index.mjs +3 -2
- package/dist/server/next.mjs +35 -2402
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +32 -2404
- package/dist/server/rendering.mjs +32 -2401
- package/dist/server/server.mjs +3 -2
- package/package.json +1 -1
package/dist/client/client.mjs
CHANGED
|
@@ -507,6 +507,7 @@ const API_ENDPOINTS$1 = {
|
|
|
507
507
|
errors: [
|
|
508
508
|
"validation:invalid_input",
|
|
509
509
|
"auth:forbidden",
|
|
510
|
+
"resource:conflict",
|
|
510
511
|
"server:internal_error"
|
|
511
512
|
]
|
|
512
513
|
},
|
|
@@ -2265,7 +2266,7 @@ const API_ENDPOINTS$1 = {
|
|
|
2265
2266
|
auth: "user",
|
|
2266
2267
|
responseKind: "json"
|
|
2267
2268
|
},
|
|
2268
|
-
|
|
2269
|
+
publishPageSurface: {
|
|
2269
2270
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2270
2271
|
method: "POST",
|
|
2271
2272
|
errors: [
|
|
@@ -160158,7 +160159,7 @@ var SimpleCache = class {
|
|
|
160158
160159
|
* 1. This constant
|
|
160159
160160
|
* 2. The "version" field in package.json
|
|
160160
160161
|
*/
|
|
160161
|
-
const SDK_VERSION = "0.
|
|
160162
|
+
const SDK_VERSION = "0.123.0";
|
|
160162
160163
|
//#endregion
|
|
160163
160164
|
//#region src/client/error.ts
|
|
160164
160165
|
let _Symbol$for;
|
|
@@ -512,6 +512,7 @@ const API_ENDPOINTS = {
|
|
|
512
512
|
errors: [
|
|
513
513
|
"validation:invalid_input",
|
|
514
514
|
"auth:forbidden",
|
|
515
|
+
"resource:conflict",
|
|
515
516
|
"server:internal_error"
|
|
516
517
|
]
|
|
517
518
|
},
|
|
@@ -2270,7 +2271,7 @@ const API_ENDPOINTS = {
|
|
|
2270
2271
|
auth: "user",
|
|
2271
2272
|
responseKind: "json"
|
|
2272
2273
|
},
|
|
2273
|
-
|
|
2274
|
+
publishPageSurface: {
|
|
2274
2275
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2275
2276
|
method: "POST",
|
|
2276
2277
|
errors: [
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-07EE4uWL.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-BE5eFayo.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-CJxkFq2B.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-CJxkFq2B.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -514,6 +514,7 @@ const API_ENDPOINTS = {
|
|
|
514
514
|
errors: [
|
|
515
515
|
"validation:invalid_input",
|
|
516
516
|
"auth:forbidden",
|
|
517
|
+
"resource:conflict",
|
|
517
518
|
"server:internal_error"
|
|
518
519
|
]
|
|
519
520
|
},
|
|
@@ -2272,7 +2273,7 @@ const API_ENDPOINTS = {
|
|
|
2272
2273
|
auth: "user",
|
|
2273
2274
|
responseKind: "json"
|
|
2274
2275
|
},
|
|
2275
|
-
|
|
2276
|
+
publishPageSurface: {
|
|
2276
2277
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2277
2278
|
method: "POST",
|
|
2278
2279
|
errors: [
|
|
@@ -485,6 +485,7 @@ const API_ENDPOINTS = {
|
|
|
485
485
|
errors: [
|
|
486
486
|
"validation:invalid_input",
|
|
487
487
|
"auth:forbidden",
|
|
488
|
+
"resource:conflict",
|
|
488
489
|
"server:internal_error"
|
|
489
490
|
]
|
|
490
491
|
},
|
|
@@ -2243,7 +2244,7 @@ const API_ENDPOINTS = {
|
|
|
2243
2244
|
auth: "user",
|
|
2244
2245
|
responseKind: "json"
|
|
2245
2246
|
},
|
|
2246
|
-
|
|
2247
|
+
publishPageSurface: {
|
|
2247
2248
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2248
2249
|
method: "POST",
|
|
2249
2250
|
errors: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-07EE4uWL.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-BE5eFayo.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $c as cn, Yc as Primitive } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { $c as cn, Yc as Primitive } from "./SiteChromeCustomizeContext-4hn4A0HX.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
|