@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.
Files changed (54) hide show
  1. package/dist/cli/index.js +567 -209
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/client/client.d.mts +2 -2
  4. package/dist/client/client.d.ts +2 -2
  5. package/dist/client/client.js +23 -1
  6. package/dist/client/client.js.map +1 -1
  7. package/dist/client/client.mjs +23 -1
  8. package/dist/client/client.mjs.map +1 -1
  9. package/dist/client/hooks.d.mts +2 -2
  10. package/dist/client/hooks.d.ts +2 -2
  11. package/dist/client/usePage-BXjk8BhD.d.mts +6704 -0
  12. package/dist/client/usePage-BiOReg0_.d.ts +6704 -0
  13. package/dist/server/{Layout-Cc5HUXAH.d.mts → Layout-BClXUTsd.d.mts} +1 -1
  14. package/dist/server/{Layout-B-q2Py4v.d.ts → Layout-UXGjXv8M.d.ts} +1 -1
  15. package/dist/server/{chunk-6OSNCH4F.js → chunk-6PWMOREA.js} +24 -2
  16. package/dist/server/chunk-6PWMOREA.js.map +1 -0
  17. package/dist/server/{chunk-4HIRA33Z.mjs → chunk-XY66HIB4.mjs} +24 -2
  18. package/dist/server/{chunk-6OSNCH4F.js.map → chunk-XY66HIB4.mjs.map} +1 -1
  19. package/dist/server/{components-CU46ZkAv.d.mts → components-BmaJxgCV.d.mts} +3 -3
  20. package/dist/server/{components-DvozDwRN.d.ts → components-DppHY5oD.d.ts} +3 -3
  21. package/dist/server/components.d.mts +5 -5
  22. package/dist/server/components.d.ts +5 -5
  23. package/dist/server/data.d.mts +2 -2
  24. package/dist/server/data.d.ts +2 -2
  25. package/dist/server/{index-Q7RLMAQ6.d.mts → index-Bucs6UqG.d.mts} +1 -1
  26. package/dist/server/{index-CJfMXZQr.d.ts → index-Cp7tJuRt.d.ts} +1 -1
  27. package/dist/server/index.d.mts +24 -3
  28. package/dist/server/index.d.ts +24 -3
  29. package/dist/server/index.js +2 -2
  30. package/dist/server/index.mjs +1 -1
  31. package/dist/server/{loadContent-DgpSKWqY.d.mts → loadContent-BS-3wesN.d.mts} +3 -3
  32. package/dist/server/{loadContent-GPvUI1bN.d.ts → loadContent-Buvmudee.d.ts} +3 -3
  33. package/dist/server/{loadPage-DGnIK7s4.d.mts → loadPage-B8mQUUSo.d.mts} +2 -2
  34. package/dist/server/{loadPage-DW9WB-u9.d.ts → loadPage-DP3nrHBi.d.ts} +2 -2
  35. package/dist/server/metadata.d.mts +3 -3
  36. package/dist/server/metadata.d.ts +3 -3
  37. package/dist/server/navigation.d.mts +2 -2
  38. package/dist/server/navigation.d.ts +2 -2
  39. package/dist/server/rendering/server.d.mts +4 -4
  40. package/dist/server/rendering/server.d.ts +4 -4
  41. package/dist/server/rendering.d.mts +7 -7
  42. package/dist/server/rendering.d.ts +7 -7
  43. package/dist/server/routing.d.mts +3 -3
  44. package/dist/server/routing.d.ts +3 -3
  45. package/dist/server/server.d.mts +5 -5
  46. package/dist/server/server.d.ts +5 -5
  47. package/dist/server/server.js +2 -2
  48. package/dist/server/server.mjs +1 -1
  49. package/dist/server/{types-0f4PIlgx.d.mts → types-1cLz0vnq.d.mts} +1 -1
  50. package/dist/server/{types-kOQyCFXO.d.ts → types-BvcJU7zk.d.ts} +1 -1
  51. package/dist/server/{types-C28kMfa1.d.ts → types-CVykEqXN.d.ts} +35 -1
  52. package/dist/server/{types-DuzJZKJI.d.mts → types-Dsu9wsUh.d.mts} +35 -1
  53. package/package.json +3 -1
  54. package/dist/server/chunk-4HIRA33Z.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import { f as ResolverContext } from './loadPage-DGnIK7s4.mjs';
2
- import './Layout-Cc5HUXAH.mjs';
3
- import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-DuzJZKJI.mjs';
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-DW9WB-u9.js';
2
- import './Layout-B-q2Py4v.js';
3
- import { T as Theme, H as HydratedTheme, E as ExpandedPalette } from './types-C28kMfa1.js';
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-DGnIK7s4.mjs';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-Cc5HUXAH.mjs';
3
- export { T as Theme } from './types-DuzJZKJI.mjs';
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-CU46ZkAv.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-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-0f4PIlgx.mjs';
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-DW9WB-u9.js';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-B-q2Py4v.js';
3
- export { T as Theme } from './types-C28kMfa1.js';
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-DvozDwRN.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-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-kOQyCFXO.js';
8
+ import './types-BvcJU7zk.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'react';
11
11
  import './types-DuQCNVV0.js';
@@ -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-0f4PIlgx.mjs';
4
+ import { R as RiverbankClient } from './types-1cLz0vnq.mjs';
5
5
  import 'zod';
6
6
  import './blockKinds-B6MWzNWp.mjs';
7
- import './types-DuzJZKJI.mjs';
7
+ import './types-Dsu9wsUh.mjs';
8
8
  import '@riverbankcms/ai';
9
9
  import './link-DjxLyC82.mjs';
10
10
  import '@riverbankcms/media-storage-supabase';
@@ -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-kOQyCFXO.js';
4
+ import { R as RiverbankClient } from './types-BvcJU7zk.js';
5
5
  import 'zod';
6
6
  import './blockKinds-B6MWzNWp.js';
7
- import './types-C28kMfa1.js';
7
+ import './types-CVykEqXN.js';
8
8
  import '@riverbankcms/ai';
9
9
  import './link-DjxLyC82.js';
10
10
  import '@riverbankcms/media-storage-supabase';
@@ -1,4 +1,4 @@
1
- import { a as RiverbankClientConfig, R as RiverbankClient } from './types-0f4PIlgx.mjs';
1
+ import { a as RiverbankClientConfig, R as RiverbankClient } from './types-1cLz0vnq.mjs';
2
2
  import './schema-Z6-afHJG.mjs';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as RiverbankClientConfig, R as RiverbankClient } from './types-kOQyCFXO.js';
1
+ import { a as RiverbankClientConfig, R as RiverbankClient } from './types-BvcJU7zk.js';
2
2
  import './schema-Z6-afHJG.js';
3
3
 
4
4
  /**
@@ -1,6 +1,6 @@
1
- export { c as createRiverbankClient } from './index-Q7RLMAQ6.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-0f4PIlgx.mjs';
3
- import { A as APIEndpoints, b as APICallParams } from './types-DuzJZKJI.mjs';
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";
@@ -1,6 +1,6 @@
1
- export { c as createRiverbankClient } from './index-CJfMXZQr.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-kOQyCFXO.js';
3
- import { A as APIEndpoints, b as APICallParams } from './types-C28kMfa1.js';
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";
@@ -5,7 +5,7 @@ var _chunkGERCMTPQjs = require('./chunk-GERCMTPQ.js');
5
5
 
6
6
 
7
7
 
8
- var _chunk6OSNCH4Fjs = require('./chunk-6OSNCH4F.js');
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 = _chunk6OSNCH4Fjs.API_ENDPOINTS; exports.SYSTEM_BLOCK_KINDS = _chunkGERCMTPQjs.SYSTEM_BLOCK_KINDS; exports.buildEndpointURL = _chunk6OSNCH4Fjs.buildEndpointURL; exports.createRiverbankClient = _chunk6OSNCH4Fjs.createRiverbankClient;
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
@@ -5,7 +5,7 @@ import {
5
5
  API_ENDPOINTS,
6
6
  buildEndpointURL,
7
7
  createRiverbankClient
8
- } from "./chunk-4HIRA33Z.mjs";
8
+ } from "./chunk-XY66HIB4.mjs";
9
9
  import "./chunk-BJTO5JO5.mjs";
10
10
 
11
11
  // ../api/src/aiPlayground.ts
@@ -1,7 +1,7 @@
1
- import { T as Theme } from './types-DuzJZKJI.mjs';
1
+ import { T as Theme } from './types-Dsu9wsUh.mjs';
2
2
  import './schema-Z6-afHJG.mjs';
3
- import { R as RiverbankClient } from './types-0f4PIlgx.mjs';
4
- import { P as PageProps } from './loadPage-DGnIK7s4.mjs';
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-C28kMfa1.js';
1
+ import { T as Theme } from './types-CVykEqXN.js';
2
2
  import './schema-Z6-afHJG.js';
3
- import { R as RiverbankClient } from './types-kOQyCFXO.js';
4
- import { P as PageProps } from './loadPage-DW9WB-u9.js';
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-0f4PIlgx.mjs';
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-DuzJZKJI.mjs';
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-kOQyCFXO.js';
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-C28kMfa1.js';
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-DGnIK7s4.mjs';
2
- import { S as SiteResponse } from './types-0f4PIlgx.mjs';
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-DuzJZKJI.mjs';
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-DW9WB-u9.js';
2
- import { S as SiteResponse } from './types-kOQyCFXO.js';
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-C28kMfa1.js';
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-DuzJZKJI.mjs';
2
- export { L as LinkPayload, a as NavigationItemRecord } from './types-DuzJZKJI.mjs';
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-C28kMfa1.js';
2
- export { L as LinkPayload, a as NavigationItemRecord } from './types-C28kMfa1.js';
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-DGnIK7s4.mjs';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-Cc5HUXAH.mjs';
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-DuzJZKJI.mjs';
5
+ import { T as Theme } from '../types-Dsu9wsUh.mjs';
6
6
  import '../schema-Z6-afHJG.mjs';
7
- import { R as RiverbankClient } from '../types-0f4PIlgx.mjs';
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-DW9WB-u9.js';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from '../Layout-B-q2Py4v.js';
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-C28kMfa1.js';
5
+ import { T as Theme } from '../types-CVykEqXN.js';
6
6
  import '../schema-Z6-afHJG.js';
7
- import { R as RiverbankClient } from '../types-kOQyCFXO.js';
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-DGnIK7s4.mjs';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-Cc5HUXAH.mjs';
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-DgpSKWqY.mjs';
5
- export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-DuzJZKJI.mjs';
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-CU46ZkAv.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-CU46ZkAv.mjs';
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-0f4PIlgx.mjs';
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-DW9WB-u9.js';
2
- export { H as HeaderData, L as Layout, a as LayoutProps } from './Layout-B-q2Py4v.js';
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-GPvUI1bN.js';
5
- export { c as SiteFooterContent, S as SiteHeaderContent, T as Theme } from './types-C28kMfa1.js';
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-DvozDwRN.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-DvozDwRN.js';
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-kOQyCFXO.js';
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-0f4PIlgx.mjs';
2
- import { a as LoadPageResult } from './loadPage-DGnIK7s4.mjs';
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-DuzJZKJI.mjs';
5
+ import './types-Dsu9wsUh.mjs';
6
6
  import '@riverbankcms/ai';
7
7
  import 'zod';
8
8
  import './link-DjxLyC82.mjs';
@@ -1,8 +1,8 @@
1
- import { R as RiverbankClient, e as ResolveEventOccurrenceResponse } from './types-kOQyCFXO.js';
2
- import { a as LoadPageResult } from './loadPage-DW9WB-u9.js';
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-C28kMfa1.js';
5
+ import './types-CVykEqXN.js';
6
6
  import '@riverbankcms/ai';
7
7
  import 'zod';
8
8
  import './link-DjxLyC82.js';
@@ -1,10 +1,10 @@
1
- export { c as createRiverbankClient } from './index-Q7RLMAQ6.mjs';
2
- export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-0f4PIlgx.mjs';
3
- export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-DGnIK7s4.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-DgpSKWqY.mjs';
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-DuzJZKJI.mjs';
7
+ import './types-Dsu9wsUh.mjs';
8
8
  import '@riverbankcms/ai';
9
9
  import './link-DjxLyC82.mjs';
10
10
  import '@riverbankcms/media-storage-supabase';
@@ -1,10 +1,10 @@
1
- export { c as createRiverbankClient } from './index-CJfMXZQr.js';
2
- export { E as EntriesResponse, b as EntryResponse, P as PageResponse, R as RiverbankClient, a as RiverbankClientConfig, S as SiteResponse } from './types-kOQyCFXO.js';
3
- export { L as LoadPageParams, a as LoadPageResult, R as RuntimeSdkConfig, l as loadPage } from './loadPage-DW9WB-u9.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-GPvUI1bN.js';
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-C28kMfa1.js';
7
+ import './types-CVykEqXN.js';
8
8
  import '@riverbankcms/ai';
9
9
  import './link-DjxLyC82.js';
10
10
  import '@riverbankcms/media-storage-supabase';
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6OSNCH4Fjs = require('./chunk-6OSNCH4F.js');
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 = _chunk6OSNCH4Fjs.createRiverbankClient; exports.isEntryContent = _chunkI2D7KOEAjs.isEntryContent; exports.isPageContent = _chunkI2D7KOEAjs.isPageContent; exports.loadContent = _chunkI2D7KOEAjs.loadContent; exports.loadPage = _chunkP3NNN73Gjs.loadPage;
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createRiverbankClient
3
- } from "./chunk-4HIRA33Z.mjs";
3
+ } from "./chunk-XY66HIB4.mjs";
4
4
  import {
5
5
  isEntryContent,
6
6
  isPageContent,
@@ -1,4 +1,4 @@
1
- import { A as APIEndpoints } from './types-DuzJZKJI.mjs';
1
+ import { A as APIEndpoints } from './types-Dsu9wsUh.mjs';
2
2
  import './schema-Z6-afHJG.mjs';
3
3
 
4
4
  type SiteResponse = NonNullable<APIEndpoints['getSite']['response']>;
@@ -1,4 +1,4 @@
1
- import { A as APIEndpoints } from './types-C28kMfa1.js';
1
+ import { A as APIEndpoints } from './types-CVykEqXN.js';
2
2
  import './schema-Z6-afHJG.js';
3
3
 
4
4
  type SiteResponse = NonNullable<APIEndpoints['getSite']['response']>;
@@ -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;