@riverbankcms/sdk 0.5.0 → 0.5.2
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/cli/index.js +567 -209
- package/dist/cli/index.js.map +1 -1
- package/dist/client/client.d.mts +2 -2
- package/dist/client/client.d.ts +2 -2
- package/dist/client/client.js +23 -1
- package/dist/client/client.js.map +1 -1
- package/dist/client/client.mjs +23 -1
- package/dist/client/client.mjs.map +1 -1
- package/dist/client/hooks.d.mts +2 -2
- package/dist/client/hooks.d.ts +2 -2
- package/dist/client/usePage-BXjk8BhD.d.mts +6704 -0
- package/dist/client/usePage-BiOReg0_.d.ts +6704 -0
- package/dist/server/{Layout-Cc5HUXAH.d.mts → Layout-BClXUTsd.d.mts} +1 -1
- package/dist/server/{Layout-B-q2Py4v.d.ts → Layout-UXGjXv8M.d.ts} +1 -1
- package/dist/server/{chunk-6OSNCH4F.js → chunk-6PWMOREA.js} +24 -2
- package/dist/server/chunk-6PWMOREA.js.map +1 -0
- package/dist/server/{chunk-4HIRA33Z.mjs → chunk-XY66HIB4.mjs} +24 -2
- package/dist/server/{chunk-6OSNCH4F.js.map → chunk-XY66HIB4.mjs.map} +1 -1
- package/dist/server/{components-CU46ZkAv.d.mts → components-BmaJxgCV.d.mts} +3 -3
- package/dist/server/{components-DvozDwRN.d.ts → components-DppHY5oD.d.ts} +3 -3
- package/dist/server/components.d.mts +5 -5
- package/dist/server/components.d.ts +5 -5
- package/dist/server/data.d.mts +2 -2
- package/dist/server/data.d.ts +2 -2
- package/dist/server/{index-Q7RLMAQ6.d.mts → index-Bucs6UqG.d.mts} +1 -1
- package/dist/server/{index-CJfMXZQr.d.ts → index-Cp7tJuRt.d.ts} +1 -1
- package/dist/server/index.d.mts +24 -3
- package/dist/server/index.d.ts +24 -3
- package/dist/server/index.js +2 -2
- package/dist/server/index.mjs +1 -1
- package/dist/server/{loadContent-DgpSKWqY.d.mts → loadContent-BS-3wesN.d.mts} +3 -3
- package/dist/server/{loadContent-GPvUI1bN.d.ts → loadContent-Buvmudee.d.ts} +3 -3
- package/dist/server/{loadPage-DGnIK7s4.d.mts → loadPage-B8mQUUSo.d.mts} +2 -2
- package/dist/server/{loadPage-DW9WB-u9.d.ts → loadPage-DP3nrHBi.d.ts} +2 -2
- package/dist/server/metadata.d.mts +3 -3
- package/dist/server/metadata.d.ts +3 -3
- package/dist/server/navigation.d.mts +2 -2
- package/dist/server/navigation.d.ts +2 -2
- package/dist/server/rendering/server.d.mts +4 -4
- package/dist/server/rendering/server.d.ts +4 -4
- package/dist/server/rendering.d.mts +7 -7
- package/dist/server/rendering.d.ts +7 -7
- package/dist/server/routing.d.mts +3 -3
- package/dist/server/routing.d.ts +3 -3
- package/dist/server/server.d.mts +5 -5
- package/dist/server/server.d.ts +5 -5
- package/dist/server/server.js +2 -2
- package/dist/server/server.mjs +1 -1
- package/dist/server/{types-0f4PIlgx.d.mts → types-1cLz0vnq.d.mts} +1 -1
- package/dist/server/{types-kOQyCFXO.d.ts → types-BvcJU7zk.d.ts} +1 -1
- package/dist/server/{types-C28kMfa1.d.ts → types-CVykEqXN.d.ts} +35 -1
- package/dist/server/{types-DuzJZKJI.d.mts → types-Dsu9wsUh.d.mts} +35 -1
- package/package.json +3 -1
- package/dist/server/chunk-4HIRA33Z.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ResolverContext } from './loadPage-
|
|
2
|
-
import './Layout-
|
|
3
|
-
import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-
|
|
1
|
+
import { f as ResolverContext } from './loadPage-B8mQUUSo.mjs';
|
|
2
|
+
import './Layout-BClXUTsd.mjs';
|
|
3
|
+
import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-Dsu9wsUh.mjs';
|
|
4
4
|
import './schema-Z6-afHJG.mjs';
|
|
5
5
|
import { a as ThemeTokens, T as TransformRegistry } from './core-DsNWrl3o.mjs';
|
|
6
6
|
import { M as Media, T as TipTapNode } from './richTextSchema-DURiozvD.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ResolverContext } from './loadPage-
|
|
2
|
-
import './Layout-
|
|
3
|
-
import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-
|
|
1
|
+
import { f as ResolverContext } from './loadPage-DP3nrHBi.js';
|
|
2
|
+
import './Layout-UXGjXv8M.js';
|
|
3
|
+
import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-CVykEqXN.js';
|
|
4
4
|
import './schema-Z6-afHJG.js';
|
|
5
5
|
import { a as ThemeTokens, T as TransformRegistry } from './core-DsNWrl3o.js';
|
|
6
6
|
import { M as Media, T as TipTapNode } from './richTextSchema-DURiozvD.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { d as BlockOverrideComponent, B as BlockOverrides, b as Page, P as PageProps, c as PageRenderer } from './loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-
|
|
3
|
-
export { T as Theme } from './types-
|
|
1
|
+
export { d as BlockOverrideComponent, B as BlockOverrides, b as Page, P as PageProps, c as PageRenderer } from './loadPage-B8mQUUSo.mjs';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-BClXUTsd.mjs';
|
|
3
|
+
export { T as Theme } from './types-Dsu9wsUh.mjs';
|
|
4
4
|
export { P as PageOutline } from './schema-Z6-afHJG.mjs';
|
|
5
|
-
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-
|
|
5
|
+
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-BmaJxgCV.mjs';
|
|
6
6
|
export { R as RouteMap, a as ThemeTokens } from './core-DsNWrl3o.mjs';
|
|
7
7
|
export { T as TipTapNode } from './richTextSchema-DURiozvD.mjs';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-1cLz0vnq.mjs';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react';
|
|
11
11
|
import './types-CbagRQ_7.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { d as BlockOverrideComponent, B as BlockOverrides, b as Page, P as PageProps, c as PageRenderer } from './loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-
|
|
3
|
-
export { T as Theme } from './types-
|
|
1
|
+
export { d as BlockOverrideComponent, B as BlockOverrides, b as Page, P as PageProps, c as PageRenderer } from './loadPage-DP3nrHBi.js';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-UXGjXv8M.js';
|
|
3
|
+
export { T as Theme } from './types-CVykEqXN.js';
|
|
4
4
|
export { P as PageOutline } from './schema-Z6-afHJG.js';
|
|
5
|
-
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-
|
|
5
|
+
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-DppHY5oD.js';
|
|
6
6
|
export { R as RouteMap, a as ThemeTokens } from './core-DsNWrl3o.js';
|
|
7
7
|
export { T as TipTapNode } from './richTextSchema-DURiozvD.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-BvcJU7zk.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react';
|
|
11
11
|
import './types-DuQCNVV0.js';
|
package/dist/server/data.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as PageOutline, S as SdkCustomBlock } from './schema-Z6-afHJG.mjs';
|
|
2
2
|
import { P as PrefetchContext, R as ResolvedBlockData, D as DataLoaderOverrides } from './types-CbagRQ_7.mjs';
|
|
3
3
|
export { B as BlockLoaderMap, a as DataLoaderContext, b as DataLoaderFn } from './types-CbagRQ_7.mjs';
|
|
4
|
-
import { R as RiverbankClient } from './types-
|
|
4
|
+
import { R as RiverbankClient } from './types-1cLz0vnq.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './blockKinds-B6MWzNWp.mjs';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-Dsu9wsUh.mjs';
|
|
8
8
|
import '@riverbankcms/ai';
|
|
9
9
|
import './link-DjxLyC82.mjs';
|
|
10
10
|
import '@riverbankcms/media-storage-supabase';
|
package/dist/server/data.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as PageOutline, S as SdkCustomBlock } from './schema-Z6-afHJG.js';
|
|
2
2
|
import { P as PrefetchContext, R as ResolvedBlockData, D as DataLoaderOverrides } from './types-DuQCNVV0.js';
|
|
3
3
|
export { B as BlockLoaderMap, a as DataLoaderContext, b as DataLoaderFn } from './types-DuQCNVV0.js';
|
|
4
|
-
import { R as RiverbankClient } from './types-
|
|
4
|
+
import { R as RiverbankClient } from './types-BvcJU7zk.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './blockKinds-B6MWzNWp.js';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-CVykEqXN.js';
|
|
8
8
|
import '@riverbankcms/ai';
|
|
9
9
|
import './link-DjxLyC82.js';
|
|
10
10
|
import '@riverbankcms/media-storage-supabase';
|
package/dist/server/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createRiverbankClient } from './index-
|
|
2
|
-
export { E as EntriesResponse, c as EntriesResponseWithMeta, b as EntryResponse, P as PageResponse, d as PaginationMeta, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-
|
|
3
|
-
import { A as APIEndpoints, b as APICallParams } from './types-
|
|
1
|
+
export { c as createRiverbankClient } from './index-Bucs6UqG.mjs';
|
|
2
|
+
export { E as EntriesResponse, c as EntriesResponseWithMeta, b as EntryResponse, P as PageResponse, d as PaginationMeta, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-1cLz0vnq.mjs';
|
|
3
|
+
import { A as APIEndpoints, b as APICallParams } from './types-Dsu9wsUh.mjs';
|
|
4
4
|
import './schema-Z6-afHJG.mjs';
|
|
5
5
|
export { g as ContainerAlignment, f as ContainerMaxWidth, d as ContainerOptionsConfig, R as RiverbankSiteConfig, b as SectionBackground, c as SectionOptionsConfig, e as SectionSpacing, S as SiteStyleConfig } from './types-BjgZt8xJ.mjs';
|
|
6
6
|
export { B as BlockKind, C as CustomBlockKind, S as SYSTEM_BLOCK_KINDS, a as SystemBlockKind } from './blockKinds-B6MWzNWp.mjs';
|
|
@@ -235,6 +235,27 @@ declare const API_ENDPOINTS: {
|
|
|
235
235
|
readonly tags: ["site-{siteId}", "api-keys", "access-logs"];
|
|
236
236
|
readonly responseKind: "json";
|
|
237
237
|
};
|
|
238
|
+
readonly listManagementKeys: {
|
|
239
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
240
|
+
readonly method: "GET";
|
|
241
|
+
readonly auth: "user";
|
|
242
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
243
|
+
readonly responseKind: "json";
|
|
244
|
+
};
|
|
245
|
+
readonly createManagementKey: {
|
|
246
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
247
|
+
readonly method: "POST";
|
|
248
|
+
readonly auth: "user";
|
|
249
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
250
|
+
readonly responseKind: "json";
|
|
251
|
+
};
|
|
252
|
+
readonly revokeManagementKey: {
|
|
253
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
254
|
+
readonly method: "DELETE";
|
|
255
|
+
readonly auth: "user";
|
|
256
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
257
|
+
readonly responseKind: "json";
|
|
258
|
+
};
|
|
238
259
|
readonly getBookingSettings: {
|
|
239
260
|
readonly path: "/sites/{siteId}/bookings/settings";
|
|
240
261
|
readonly method: "GET";
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createRiverbankClient } from './index-
|
|
2
|
-
export { E as EntriesResponse, c as EntriesResponseWithMeta, b as EntryResponse, P as PageResponse, d as PaginationMeta, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-
|
|
3
|
-
import { A as APIEndpoints, b as APICallParams } from './types-
|
|
1
|
+
export { c as createRiverbankClient } from './index-Cp7tJuRt.js';
|
|
2
|
+
export { E as EntriesResponse, c as EntriesResponseWithMeta, b as EntryResponse, P as PageResponse, d as PaginationMeta, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-BvcJU7zk.js';
|
|
3
|
+
import { A as APIEndpoints, b as APICallParams } from './types-CVykEqXN.js';
|
|
4
4
|
import './schema-Z6-afHJG.js';
|
|
5
5
|
export { g as ContainerAlignment, f as ContainerMaxWidth, d as ContainerOptionsConfig, R as RiverbankSiteConfig, b as SectionBackground, c as SectionOptionsConfig, e as SectionSpacing, S as SiteStyleConfig } from './types-DLBhEPSt.js';
|
|
6
6
|
export { B as BlockKind, C as CustomBlockKind, S as SYSTEM_BLOCK_KINDS, a as SystemBlockKind } from './blockKinds-B6MWzNWp.js';
|
|
@@ -235,6 +235,27 @@ declare const API_ENDPOINTS: {
|
|
|
235
235
|
readonly tags: ["site-{siteId}", "api-keys", "access-logs"];
|
|
236
236
|
readonly responseKind: "json";
|
|
237
237
|
};
|
|
238
|
+
readonly listManagementKeys: {
|
|
239
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
240
|
+
readonly method: "GET";
|
|
241
|
+
readonly auth: "user";
|
|
242
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
243
|
+
readonly responseKind: "json";
|
|
244
|
+
};
|
|
245
|
+
readonly createManagementKey: {
|
|
246
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
247
|
+
readonly method: "POST";
|
|
248
|
+
readonly auth: "user";
|
|
249
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
250
|
+
readonly responseKind: "json";
|
|
251
|
+
};
|
|
252
|
+
readonly revokeManagementKey: {
|
|
253
|
+
readonly path: "/sites/{siteId}/api-keys/management";
|
|
254
|
+
readonly method: "DELETE";
|
|
255
|
+
readonly auth: "user";
|
|
256
|
+
readonly tags: ["site-{siteId}", "api-keys", "management-keys"];
|
|
257
|
+
readonly responseKind: "json";
|
|
258
|
+
};
|
|
238
259
|
readonly getBookingSettings: {
|
|
239
260
|
readonly path: "/sites/{siteId}/bookings/settings";
|
|
240
261
|
readonly method: "GET";
|
package/dist/server/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _chunkGERCMTPQjs = require('./chunk-GERCMTPQ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk6PWMOREAjs = require('./chunk-6PWMOREA.js');
|
|
9
9
|
require('./chunk-DGUM43GV.js');
|
|
10
10
|
|
|
11
11
|
// ../api/src/aiPlayground.ts
|
|
@@ -101,5 +101,5 @@ var MultiPageUpdateResponse = _zod.z.object({
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
exports.API_ENDPOINTS =
|
|
104
|
+
exports.API_ENDPOINTS = _chunk6PWMOREAjs.API_ENDPOINTS; exports.SYSTEM_BLOCK_KINDS = _chunkGERCMTPQjs.SYSTEM_BLOCK_KINDS; exports.buildEndpointURL = _chunk6PWMOREAjs.buildEndpointURL; exports.createRiverbankClient = _chunk6PWMOREAjs.createRiverbankClient;
|
|
105
105
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme } from './types-
|
|
1
|
+
import { T as Theme } from './types-Dsu9wsUh.mjs';
|
|
2
2
|
import './schema-Z6-afHJG.mjs';
|
|
3
|
-
import { R as RiverbankClient } from './types-
|
|
4
|
-
import { P as PageProps } from './loadPage-
|
|
3
|
+
import { R as RiverbankClient } from './types-1cLz0vnq.mjs';
|
|
4
|
+
import { P as PageProps } from './loadPage-B8mQUUSo.mjs';
|
|
5
5
|
import { R as ResolvedBlockData } from './types-CbagRQ_7.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme } from './types-
|
|
1
|
+
import { T as Theme } from './types-CVykEqXN.js';
|
|
2
2
|
import './schema-Z6-afHJG.js';
|
|
3
|
-
import { R as RiverbankClient } from './types-
|
|
4
|
-
import { P as PageProps } from './loadPage-
|
|
3
|
+
import { R as RiverbankClient } from './types-BvcJU7zk.js';
|
|
4
|
+
import { P as PageProps } from './loadPage-DP3nrHBi.js';
|
|
5
5
|
import { R as ResolvedBlockData } from './types-DuQCNVV0.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as RiverbankClient, S as SiteResponse } from './types-
|
|
1
|
+
import { R as RiverbankClient, S as SiteResponse } from './types-1cLz0vnq.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { P as PageOutline, S as SdkCustomBlock } from './schema-Z6-afHJG.mjs';
|
|
6
6
|
import { T as TransformRegistry, a as ThemeTokens, R as RouteMap } from './core-DsNWrl3o.mjs';
|
|
7
|
-
import { T as Theme } from './types-
|
|
7
|
+
import { T as Theme } from './types-Dsu9wsUh.mjs';
|
|
8
8
|
import { R as ResolvedBlockData, D as DataLoaderOverrides } from './types-CbagRQ_7.mjs';
|
|
9
9
|
|
|
10
10
|
type ViewModel = Record<string, unknown>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as RiverbankClient, S as SiteResponse } from './types-
|
|
1
|
+
import { R as RiverbankClient, S as SiteResponse } from './types-BvcJU7zk.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { P as PageOutline, S as SdkCustomBlock } from './schema-Z6-afHJG.js';
|
|
6
6
|
import { T as TransformRegistry, a as ThemeTokens, R as RouteMap } from './core-DsNWrl3o.js';
|
|
7
|
-
import { T as Theme } from './types-
|
|
7
|
+
import { T as Theme } from './types-CVykEqXN.js';
|
|
8
8
|
import { R as ResolvedBlockData, D as DataLoaderOverrides } from './types-DuQCNVV0.js';
|
|
9
9
|
|
|
10
10
|
type ViewModel = Record<string, unknown>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as LoadPageResult } from './loadPage-
|
|
2
|
-
import { S as SiteResponse } from './types-
|
|
1
|
+
import { a as LoadPageResult } from './loadPage-B8mQUUSo.mjs';
|
|
2
|
+
import { S as SiteResponse } from './types-1cLz0vnq.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './schema-Z6-afHJG.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './core-DsNWrl3o.mjs';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-Dsu9wsUh.mjs';
|
|
9
9
|
import '@riverbankcms/ai';
|
|
10
10
|
import './link-DjxLyC82.mjs';
|
|
11
11
|
import '@riverbankcms/media-storage-supabase';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as LoadPageResult } from './loadPage-
|
|
2
|
-
import { S as SiteResponse } from './types-
|
|
1
|
+
import { a as LoadPageResult } from './loadPage-DP3nrHBi.js';
|
|
2
|
+
import { S as SiteResponse } from './types-BvcJU7zk.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './schema-Z6-afHJG.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './core-DsNWrl3o.js';
|
|
8
|
-
import './types-
|
|
8
|
+
import './types-CVykEqXN.js';
|
|
9
9
|
import '@riverbankcms/ai';
|
|
10
10
|
import './link-DjxLyC82.js';
|
|
11
11
|
import '@riverbankcms/media-storage-supabase';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NavigationMenuWithItems } from './types-
|
|
2
|
-
export { L as LinkPayload, a as NavigationItemRecord } from './types-
|
|
1
|
+
import { N as NavigationMenuWithItems } from './types-Dsu9wsUh.mjs';
|
|
2
|
+
export { L as LinkPayload, a as NavigationItemRecord } from './types-Dsu9wsUh.mjs';
|
|
3
3
|
import { R as RouteMap } from './core-DsNWrl3o.mjs';
|
|
4
4
|
import './schema-Z6-afHJG.mjs';
|
|
5
5
|
import '@riverbankcms/ai';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NavigationMenuWithItems } from './types-
|
|
2
|
-
export { L as LinkPayload, a as NavigationItemRecord } from './types-
|
|
1
|
+
import { N as NavigationMenuWithItems } from './types-CVykEqXN.js';
|
|
2
|
+
export { L as LinkPayload, a as NavigationItemRecord } from './types-CVykEqXN.js';
|
|
3
3
|
import { R as RouteMap } from './core-DsNWrl3o.js';
|
|
4
4
|
import './schema-Z6-afHJG.js';
|
|
5
5
|
import '@riverbankcms/ai';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { b as Page, P as PageProps } from '../loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-
|
|
1
|
+
export { b as Page, P as PageProps } from '../loadPage-B8mQUUSo.mjs';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-BClXUTsd.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { T as Theme } from '../types-
|
|
5
|
+
import { T as Theme } from '../types-Dsu9wsUh.mjs';
|
|
6
6
|
import '../schema-Z6-afHJG.mjs';
|
|
7
|
-
import { R as RiverbankClient } from '../types-
|
|
7
|
+
import { R as RiverbankClient } from '../types-1cLz0vnq.mjs';
|
|
8
8
|
import { B as BlockKind } from '../blockKinds-B6MWzNWp.mjs';
|
|
9
9
|
import '../core-DsNWrl3o.mjs';
|
|
10
10
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { b as Page, P as PageProps } from '../loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-
|
|
1
|
+
export { b as Page, P as PageProps } from '../loadPage-DP3nrHBi.js';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-UXGjXv8M.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { T as Theme } from '../types-
|
|
5
|
+
import { T as Theme } from '../types-CVykEqXN.js';
|
|
6
6
|
import '../schema-Z6-afHJG.js';
|
|
7
|
-
import { R as RiverbankClient } from '../types-
|
|
7
|
+
import { R as RiverbankClient } from '../types-BvcJU7zk.js';
|
|
8
8
|
import { B as BlockKind } from '../blockKinds-B6MWzNWp.js';
|
|
9
9
|
import '../core-DsNWrl3o.js';
|
|
10
10
|
import 'zod';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { d as BlockOverrideComponent, e as BlockOverrideProps, B as BlockOverrides, L as LoadPageParams, a as LoadPageResult, b as Page, P as PageProps, c as PageRenderer, l as loadPage } from './loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-
|
|
1
|
+
export { d as BlockOverrideComponent, e as BlockOverrideProps, B as BlockOverrides, L as LoadPageParams, a as LoadPageResult, b as Page, P as PageProps, c as PageRenderer, l as loadPage } from './loadPage-B8mQUUSo.mjs';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-BClXUTsd.mjs';
|
|
3
3
|
export { Block, BlockProps } from './rendering/server.mjs';
|
|
4
|
-
export { C as ContentEntryData, L as LoadContentParams, b as LoadContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-
|
|
5
|
-
export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-
|
|
4
|
+
export { C as ContentEntryData, L as LoadContentParams, b as LoadContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-BS-3wesN.mjs';
|
|
5
|
+
export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-Dsu9wsUh.mjs';
|
|
6
6
|
export { P as PageOutline } from './schema-Z6-afHJG.mjs';
|
|
7
|
-
import { G as GradientConfig } from './components-
|
|
8
|
-
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, a as HeroMedia, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-
|
|
7
|
+
import { G as GradientConfig } from './components-BmaJxgCV.mjs';
|
|
8
|
+
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, a as HeroMedia, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-BmaJxgCV.mjs';
|
|
9
9
|
export { R as RouteMap, a as ThemeTokens } from './core-DsNWrl3o.mjs';
|
|
10
10
|
import { M as Media } from './richTextSchema-DURiozvD.mjs';
|
|
11
11
|
export { T as TipTapNode } from './richTextSchema-DURiozvD.mjs';
|
|
12
12
|
export { C as CustomLinkValue, E as ExternalLinkValue, I as InternalLinkValue, L as LinkValue } from './link-DjxLyC82.mjs';
|
|
13
|
-
import './types-
|
|
13
|
+
import './types-1cLz0vnq.mjs';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import 'react';
|
|
16
16
|
import './types-CbagRQ_7.mjs';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { d as BlockOverrideComponent, e as BlockOverrideProps, B as BlockOverrides, L as LoadPageParams, a as LoadPageResult, b as Page, P as PageProps, c as PageRenderer, l as loadPage } from './loadPage-
|
|
2
|
-
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-
|
|
1
|
+
export { d as BlockOverrideComponent, e as BlockOverrideProps, B as BlockOverrides, L as LoadPageParams, a as LoadPageResult, b as Page, P as PageProps, c as PageRenderer, l as loadPage } from './loadPage-DP3nrHBi.js';
|
|
2
|
+
export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-UXGjXv8M.js';
|
|
3
3
|
export { Block, BlockProps } from './rendering/server.js';
|
|
4
|
-
export { C as ContentEntryData, L as LoadContentParams, b as LoadContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-
|
|
5
|
-
export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-
|
|
4
|
+
export { C as ContentEntryData, L as LoadContentParams, b as LoadContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-Buvmudee.js';
|
|
5
|
+
export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-CVykEqXN.js';
|
|
6
6
|
export { P as PageOutline } from './schema-Z6-afHJG.js';
|
|
7
|
-
import { G as GradientConfig } from './components-
|
|
8
|
-
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, a as HeroMedia, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-
|
|
7
|
+
import { G as GradientConfig } from './components-DppHY5oD.js';
|
|
8
|
+
export { f as BackgroundInput, B as BodyTextContent, H as HeroContent, a as HeroMedia, g as ResolvedBackground, R as RichText, c as RichTextPrimitiveProps, e as SectionBackground, h as SectionBackgroundProps, S as SystemBlockComponentProps, b as buildThemeRuntime, d as resolveBackground, r as resolveImageUrl } from './components-DppHY5oD.js';
|
|
9
9
|
export { R as RouteMap, a as ThemeTokens } from './core-DsNWrl3o.js';
|
|
10
10
|
import { M as Media } from './richTextSchema-DURiozvD.js';
|
|
11
11
|
export { T as TipTapNode } from './richTextSchema-DURiozvD.js';
|
|
12
12
|
export { C as CustomLinkValue, E as ExternalLinkValue, I as InternalLinkValue, L as LinkValue } from './link-DjxLyC82.js';
|
|
13
|
-
import './types-
|
|
13
|
+
import './types-BvcJU7zk.js';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import 'react';
|
|
16
16
|
import './types-DuQCNVV0.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RiverbankClient, e as ResolveEventOccurrenceResponse } from './types-
|
|
2
|
-
import { a as LoadPageResult } from './loadPage-
|
|
1
|
+
import { R as RiverbankClient, e as ResolveEventOccurrenceResponse } from './types-1cLz0vnq.mjs';
|
|
2
|
+
import { a as LoadPageResult } from './loadPage-B8mQUUSo.mjs';
|
|
3
3
|
import { R as RiverbankSiteConfig } from './types-BjgZt8xJ.mjs';
|
|
4
4
|
import './schema-Z6-afHJG.mjs';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-Dsu9wsUh.mjs';
|
|
6
6
|
import '@riverbankcms/ai';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import './link-DjxLyC82.mjs';
|
package/dist/server/routing.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RiverbankClient, e as ResolveEventOccurrenceResponse } from './types-
|
|
2
|
-
import { a as LoadPageResult } from './loadPage-
|
|
1
|
+
import { R as RiverbankClient, e as ResolveEventOccurrenceResponse } from './types-BvcJU7zk.js';
|
|
2
|
+
import { a as LoadPageResult } from './loadPage-DP3nrHBi.js';
|
|
3
3
|
import { R as RiverbankSiteConfig } from './types-DLBhEPSt.js';
|
|
4
4
|
import './schema-Z6-afHJG.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-CVykEqXN.js';
|
|
6
6
|
import '@riverbankcms/ai';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import './link-DjxLyC82.js';
|
package/dist/server/server.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { c as createRiverbankClient } from './index-
|
|
2
|
-
export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-
|
|
3
|
-
export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-
|
|
4
|
-
export { C as ContentEntryData, E as EntryContentResult, L as LoadContentParams, b as LoadContentResult, P as PageContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-
|
|
1
|
+
export { c as createRiverbankClient } from './index-Bucs6UqG.mjs';
|
|
2
|
+
export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-1cLz0vnq.mjs';
|
|
3
|
+
export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-B8mQUUSo.mjs';
|
|
4
|
+
export { C as ContentEntryData, E as EntryContentResult, L as LoadContentParams, b as LoadContentResult, P as PageContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-BS-3wesN.mjs';
|
|
5
5
|
import './schema-Z6-afHJG.mjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-Dsu9wsUh.mjs';
|
|
8
8
|
import '@riverbankcms/ai';
|
|
9
9
|
import './link-DjxLyC82.mjs';
|
|
10
10
|
import '@riverbankcms/media-storage-supabase';
|
package/dist/server/server.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { c as createRiverbankClient } from './index-
|
|
2
|
-
export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-
|
|
3
|
-
export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-
|
|
4
|
-
export { C as ContentEntryData, E as EntryContentResult, L as LoadContentParams, b as LoadContentResult, P as PageContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-
|
|
1
|
+
export { c as createRiverbankClient } from './index-Cp7tJuRt.js';
|
|
2
|
+
export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-BvcJU7zk.js';
|
|
3
|
+
export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-DP3nrHBi.js';
|
|
4
|
+
export { C as ContentEntryData, E as EntryContentResult, L as LoadContentParams, b as LoadContentResult, P as PageContentResult, a as isEntryContent, i as isPageContent, l as loadContent } from './loadContent-Buvmudee.js';
|
|
5
5
|
import './schema-Z6-afHJG.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import './types-
|
|
7
|
+
import './types-CVykEqXN.js';
|
|
8
8
|
import '@riverbankcms/ai';
|
|
9
9
|
import './link-DjxLyC82.js';
|
|
10
10
|
import '@riverbankcms/media-storage-supabase';
|
package/dist/server/server.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6PWMOREAjs = require('./chunk-6PWMOREA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -19,5 +19,5 @@ require('./chunk-DGUM43GV.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.createRiverbankClient =
|
|
22
|
+
exports.createRiverbankClient = _chunk6PWMOREAjs.createRiverbankClient; exports.isEntryContent = _chunkI2D7KOEAjs.isEntryContent; exports.isPageContent = _chunkI2D7KOEAjs.isPageContent; exports.loadContent = _chunkI2D7KOEAjs.loadContent; exports.loadPage = _chunkP3NNN73Gjs.loadPage;
|
|
23
23
|
//# sourceMappingURL=server.js.map
|
package/dist/server/server.mjs
CHANGED
|
@@ -3505,6 +3505,15 @@ type APIEndpoints = {
|
|
|
3505
3505
|
getSiteApiKeyAccessLogs: APIEndpoint<never, {
|
|
3506
3506
|
siteId: string;
|
|
3507
3507
|
}, GetSiteApiKeyAccessLogsResponse>;
|
|
3508
|
+
listManagementKeys: APIEndpoint<never, {
|
|
3509
|
+
siteId: string;
|
|
3510
|
+
}, ListManagementKeysResponse>;
|
|
3511
|
+
createManagementKey: APIEndpoint<CreateManagementKeyRequest, {
|
|
3512
|
+
siteId: string;
|
|
3513
|
+
}, CreateManagementKeyResponse>;
|
|
3514
|
+
revokeManagementKey: APIEndpoint<RevokeManagementKeyRequest, {
|
|
3515
|
+
siteId: string;
|
|
3516
|
+
}, RevokeManagementKeyResponse>;
|
|
3508
3517
|
getBookingSettings: APIEndpoint<never, {
|
|
3509
3518
|
siteId: string;
|
|
3510
3519
|
}, BookingSettingsResponse>;
|
|
@@ -4011,7 +4020,7 @@ type CreateRedirectRuleResponse = {
|
|
|
4011
4020
|
type DeleteRedirectRuleResponse = {
|
|
4012
4021
|
redirects: RedirectRuleRecord[];
|
|
4013
4022
|
};
|
|
4014
|
-
type ApiKeyType = 'content' | 'preview';
|
|
4023
|
+
type ApiKeyType = 'content' | 'preview' | 'management';
|
|
4015
4024
|
type ApiKeyRecord = {
|
|
4016
4025
|
id: string;
|
|
4017
4026
|
name: string;
|
|
@@ -4086,6 +4095,31 @@ type RegenerateSitePreviewKeyResponse = {
|
|
|
4086
4095
|
keyId: string;
|
|
4087
4096
|
message: string;
|
|
4088
4097
|
};
|
|
4098
|
+
type ManagementKeyRecord = {
|
|
4099
|
+
id: string;
|
|
4100
|
+
name: string | null;
|
|
4101
|
+
keyPrefix: string;
|
|
4102
|
+
keyHint: string | null;
|
|
4103
|
+
createdAt: string;
|
|
4104
|
+
lastUsedAt: string | null;
|
|
4105
|
+
};
|
|
4106
|
+
type ListManagementKeysResponse = {
|
|
4107
|
+
managementKeys: ManagementKeyRecord[];
|
|
4108
|
+
};
|
|
4109
|
+
type CreateManagementKeyRequest = {
|
|
4110
|
+
name?: string;
|
|
4111
|
+
};
|
|
4112
|
+
type CreateManagementKeyResponse = {
|
|
4113
|
+
key: string;
|
|
4114
|
+
keyId: string;
|
|
4115
|
+
message: string;
|
|
4116
|
+
};
|
|
4117
|
+
type RevokeManagementKeyRequest = {
|
|
4118
|
+
keyId: string;
|
|
4119
|
+
};
|
|
4120
|
+
type RevokeManagementKeyResponse = {
|
|
4121
|
+
message: string;
|
|
4122
|
+
};
|
|
4089
4123
|
type ApiKeyAccessLogsPagination = {
|
|
4090
4124
|
limit: number;
|
|
4091
4125
|
offset: number;
|
|
@@ -3505,6 +3505,15 @@ type APIEndpoints = {
|
|
|
3505
3505
|
getSiteApiKeyAccessLogs: APIEndpoint<never, {
|
|
3506
3506
|
siteId: string;
|
|
3507
3507
|
}, GetSiteApiKeyAccessLogsResponse>;
|
|
3508
|
+
listManagementKeys: APIEndpoint<never, {
|
|
3509
|
+
siteId: string;
|
|
3510
|
+
}, ListManagementKeysResponse>;
|
|
3511
|
+
createManagementKey: APIEndpoint<CreateManagementKeyRequest, {
|
|
3512
|
+
siteId: string;
|
|
3513
|
+
}, CreateManagementKeyResponse>;
|
|
3514
|
+
revokeManagementKey: APIEndpoint<RevokeManagementKeyRequest, {
|
|
3515
|
+
siteId: string;
|
|
3516
|
+
}, RevokeManagementKeyResponse>;
|
|
3508
3517
|
getBookingSettings: APIEndpoint<never, {
|
|
3509
3518
|
siteId: string;
|
|
3510
3519
|
}, BookingSettingsResponse>;
|
|
@@ -4011,7 +4020,7 @@ type CreateRedirectRuleResponse = {
|
|
|
4011
4020
|
type DeleteRedirectRuleResponse = {
|
|
4012
4021
|
redirects: RedirectRuleRecord[];
|
|
4013
4022
|
};
|
|
4014
|
-
type ApiKeyType = 'content' | 'preview';
|
|
4023
|
+
type ApiKeyType = 'content' | 'preview' | 'management';
|
|
4015
4024
|
type ApiKeyRecord = {
|
|
4016
4025
|
id: string;
|
|
4017
4026
|
name: string;
|
|
@@ -4086,6 +4095,31 @@ type RegenerateSitePreviewKeyResponse = {
|
|
|
4086
4095
|
keyId: string;
|
|
4087
4096
|
message: string;
|
|
4088
4097
|
};
|
|
4098
|
+
type ManagementKeyRecord = {
|
|
4099
|
+
id: string;
|
|
4100
|
+
name: string | null;
|
|
4101
|
+
keyPrefix: string;
|
|
4102
|
+
keyHint: string | null;
|
|
4103
|
+
createdAt: string;
|
|
4104
|
+
lastUsedAt: string | null;
|
|
4105
|
+
};
|
|
4106
|
+
type ListManagementKeysResponse = {
|
|
4107
|
+
managementKeys: ManagementKeyRecord[];
|
|
4108
|
+
};
|
|
4109
|
+
type CreateManagementKeyRequest = {
|
|
4110
|
+
name?: string;
|
|
4111
|
+
};
|
|
4112
|
+
type CreateManagementKeyResponse = {
|
|
4113
|
+
key: string;
|
|
4114
|
+
keyId: string;
|
|
4115
|
+
message: string;
|
|
4116
|
+
};
|
|
4117
|
+
type RevokeManagementKeyRequest = {
|
|
4118
|
+
keyId: string;
|
|
4119
|
+
};
|
|
4120
|
+
type RevokeManagementKeyResponse = {
|
|
4121
|
+
message: string;
|
|
4122
|
+
};
|
|
4089
4123
|
type ApiKeyAccessLogsPagination = {
|
|
4090
4124
|
limit: number;
|
|
4091
4125
|
offset: number;
|