@riverbankcms/sdk 0.94.0 → 0.96.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.
Files changed (189) hide show
  1. package/README.md +30 -4
  2. package/dist/{PreviewEditorSidebar-D3PAF7NW.mjs → PreviewEditorSidebar-46VT4QVU.mjs} +3 -3
  3. package/dist/{PreviewEditorUI-G5JVJEIJ.mjs → PreviewEditorUI-JD75GE5F.mjs} +3 -3
  4. package/dist/SdkPreviewModeRuntime-MJUSYUFB.mjs +8 -0
  5. package/dist/_dts/ai/src/contracts/proposals.d.ts +10 -10
  6. package/dist/_dts/api/src/bookingOperations.d.ts +7 -0
  7. package/dist/_dts/api/src/bookingRecords.d.ts +3 -0
  8. package/dist/_dts/api/src/cache-tags.d.ts +4 -0
  9. package/dist/_dts/api/src/contentRuntime.d.ts +14 -0
  10. package/dist/_dts/api/src/endpoints.d.ts +8 -0
  11. package/dist/_dts/api/src/event-presentation.d.ts +15 -0
  12. package/dist/_dts/api/src/index.d.ts +1 -1
  13. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  14. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +17 -4
  15. package/dist/_dts/api/src/shared-contracts.d.ts +19 -9
  16. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
  17. package/dist/_dts/block-form/src/client/index.d.ts +1 -1
  18. package/dist/_dts/block-form/src/fields/types.d.ts +9 -1
  19. package/dist/_dts/block-form/src/registry/schemas.d.ts +4 -0
  20. package/dist/_dts/block-form/src/registry/widgets.d.ts +1 -0
  21. package/dist/_dts/block-form/src/widgets/InlineTextField/InlineTextField.d.ts +4 -0
  22. package/dist/_dts/block-form/src/widgets/InlineTextField/index.d.ts +3 -0
  23. package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldDefaults.d.ts +2 -0
  24. package/dist/_dts/block-form/src/widgets/InlineTextField/inlineTextFieldSchema.d.ts +3 -0
  25. package/dist/_dts/blocks/src/bindings/index.d.ts +1 -0
  26. package/dist/_dts/blocks/src/bindings/types.d.ts +1 -0
  27. package/dist/_dts/blocks/src/index.d.ts +2 -0
  28. package/dist/_dts/blocks/src/portal/types.d.ts +7 -0
  29. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -29631
  30. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -29614
  31. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -29634
  32. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -29627
  33. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +2 -29585
  34. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -29677
  35. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -29655
  36. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +220 -0
  37. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -29655
  38. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -29685
  39. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -29761
  40. package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +9 -0
  41. package/dist/_dts/blocks/src/system/inlineText.d.ts +78 -0
  42. package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -1
  43. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +15 -3
  44. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +188 -7
  45. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  46. package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +21 -6
  47. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
  48. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +5 -3
  49. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +5 -1
  50. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +9 -6
  52. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ticketSelectionLines.d.ts +36 -0
  53. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +7 -1
  54. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +2 -2
  55. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -3
  56. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +19 -4
  57. package/dist/_dts/blocks/src/system/runtime/nodes/renderInlineText.d.ts +3 -0
  58. package/dist/_dts/content-editor/src/index.d.ts +1 -0
  59. package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +9 -0
  60. package/dist/_dts/content-model/src/entry-slots/types.d.ts +6 -0
  61. package/dist/_dts/content-model/src/templates/bindingTypeCompatibility.d.ts +1 -1
  62. package/dist/_dts/content-model/src/templates/defaults.d.ts +30 -0
  63. package/dist/_dts/content-model/src/templates/types.d.ts +1 -0
  64. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +163 -2
  65. package/dist/_dts/editor/src/inline/FloatingToolbar.d.ts +18 -0
  66. package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +18 -1
  67. package/dist/_dts/editor/src/inline/InlineTextEditorStyles.d.ts +1 -0
  68. package/dist/_dts/editor/src/inline/domParse.d.ts +3 -0
  69. package/dist/_dts/editor/src/inline/presentation.d.ts +48 -0
  70. package/dist/_dts/editor/src/inline/selection.d.ts +12 -0
  71. package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
  72. package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +3 -0
  73. package/dist/_dts/editor-blocks/src/widgets/inline-text/index.d.ts +1 -0
  74. package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +7 -0
  75. package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +29 -1
  76. package/dist/_dts/path-utils/src/index.d.ts +1 -0
  77. package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
  78. package/dist/_dts/sdk/src/cli/commands/content.d.ts +56 -0
  79. package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +4 -0
  80. package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +2 -6
  81. package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +2 -0
  82. package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +56 -0
  83. package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +2 -1
  84. package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +2 -0
  85. package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +14 -0
  86. package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +46 -0
  87. package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +4 -0
  88. package/dist/_dts/sdk/src/cli/content/writer.d.ts +2 -0
  89. package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +22 -0
  90. package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +3 -0
  91. package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +78 -0
  92. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +36 -0
  93. package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +21 -0
  94. package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +29 -0
  95. package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +48 -0
  96. package/dist/_dts/sdk/src/cli/sync/diff.d.ts +3 -6
  97. package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +39 -0
  98. package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -0
  99. package/dist/_dts/sdk/src/client/types.d.ts +7 -2
  100. package/dist/_dts/sdk/src/config/field-definitions.d.ts +8 -3
  101. package/dist/_dts/sdk/src/config/typed-entries.d.ts +5 -3
  102. package/dist/_dts/sdk/src/contracts/bindings.d.ts +1 -0
  103. package/dist/_dts/sdk/src/contracts/content.d.ts +18 -0
  104. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  105. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +3 -2
  106. package/dist/_dts/sdk/src/next/middleware.d.ts +1 -0
  107. package/dist/_dts/sdk/src/next/redirect-destination.d.ts +3 -0
  108. package/dist/_dts/sdk/src/next/route-outcome-proxy.d.ts +22 -0
  109. package/dist/_dts/sdk/src/public-api/contracts.d.ts +20 -1
  110. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  111. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
  112. package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -1
  113. package/dist/_dts/sdk/src/version.d.ts +1 -1
  114. package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
  115. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -1
  116. package/dist/_dts/theme-core/src/cards/types.d.ts +15 -15
  117. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  118. package/dist/_dts/theme-core/src/inputs/types.d.ts +1 -1
  119. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +42 -42
  120. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +2 -2
  121. package/dist/_dts/theme-core/src/schema.d.ts +44 -44
  122. package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
  123. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -16
  124. package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
  125. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
  126. package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
  127. package/dist/{chunk-AQ6RT6LZ.mjs → chunk-4TLTV7OB.mjs} +2 -2
  128. package/dist/{chunk-NT76QGIJ.mjs → chunk-7ED5UNHL.mjs} +14 -0
  129. package/dist/{chunk-XIK2HYI3.mjs → chunk-EL55VV6Q.mjs} +49 -9
  130. package/dist/{chunk-A63UXN3P.mjs → chunk-VHIMXQ7Z.mjs} +106 -4
  131. package/dist/{chunk-AJZGT6YG.mjs → chunk-VTPPVAOL.mjs} +1 -1
  132. package/dist/{chunk-PCNCETBI.mjs → chunk-XMATDBXO.mjs} +2082 -408
  133. package/dist/cli/index.mjs +2809 -787
  134. package/dist/cli/init-docs/content/cli-reference.md +43 -4
  135. package/dist/cli/init-docs/content/content-management.md +22 -0
  136. package/dist/client/{accordion-RNQIPG55.mjs → accordion-GUNXIIZR.mjs} +1 -1
  137. package/dist/client/{bookingForm-HYEEVRLP.mjs → bookingForm-AOU4VHP5.mjs} +3 -3
  138. package/dist/client/bookings.mjs +211 -105
  139. package/dist/client/{carousel-W7DQ3YPU.mjs → carousel-4QSX2JPC.mjs} +1 -1
  140. package/dist/client/{cart-PXJ3SXXO.mjs → cart-JKN6C4ZB.mjs} +4 -4
  141. package/dist/client/{checkout-X3JYSOXI.mjs → checkout-YY6YMITW.mjs} +4 -4
  142. package/dist/client/{chunk-PICR3NTQ.mjs → chunk-6H27K6AA.mjs} +1 -1
  143. package/dist/client/{chunk-J6TMMMXW.mjs → chunk-A3YN7M3G.mjs} +1 -1
  144. package/dist/client/{chunk-YYVGSYBO.mjs → chunk-BFCJZODD.mjs} +3 -3
  145. package/dist/client/{chunk-IXDSXF2D.mjs → chunk-CPKMJVBD.mjs} +353 -187
  146. package/dist/client/{chunk-6SYGVVWA.mjs → chunk-GWCRCJLB.mjs} +9 -0
  147. package/dist/client/{chunk-Q47XGAGS.mjs → chunk-H7A6PUGM.mjs} +1 -1
  148. package/dist/client/{chunk-WERRJXNJ.mjs → chunk-SY543WZ3.mjs} +1 -1
  149. package/dist/client/{chunk-DUOHLWLF.mjs → chunk-VJROUYOQ.mjs} +2 -2
  150. package/dist/client/client.mjs +4495 -3855
  151. package/dist/client/{courseRegistration-QZ67PVHO.mjs → courseRegistration-UU2KMPSQ.mjs} +3 -3
  152. package/dist/client/{eventCalendar-V3BDHQNT.mjs → eventCalendar-WIVNS2TM.mjs} +6 -6
  153. package/dist/client/{eventCombined-XYFRN2RG.mjs → eventCombined-P3G5MW4J.mjs} +6 -6
  154. package/dist/client/{eventDetails-TFE5TWKV.mjs → eventDetails-2VHJ2RDG.mjs} +6 -6
  155. package/dist/client/{eventListing-IQ6AGWZ6.mjs → eventListing-TGO6JI3R.mjs} +6 -6
  156. package/dist/client/{eventRegistration-WGJVFKQJ.mjs → eventRegistration-B46HEJES.mjs} +6 -6
  157. package/dist/client/{form-6UZY6RUA.mjs → form-VKRTFUNQ.mjs} +1 -1
  158. package/dist/client/{headerSection-RSFXY6V3.mjs → headerSection-XUX4ZJLO.mjs} +2 -2
  159. package/dist/client/hooks.mjs +34 -3
  160. package/dist/client/{locationMap-24FH67I4.mjs → locationMap-NQFI5MJO.mjs} +2 -2
  161. package/dist/client/{newsletterForm-QVL3MLTN.mjs → newsletterForm-P2GETCQK.mjs} +1 -1
  162. package/dist/client/{productDetail-ZDYN3G4T.mjs → productDetail-7NQ7O5IF.mjs} +4 -4
  163. package/dist/client/{productList-4BMJLQHZ.mjs → productList-RX6ZJ7BL.mjs} +4 -4
  164. package/dist/client/rendering/client.mjs +4170 -3768
  165. package/dist/client/rendering/islands.mjs +18 -18
  166. package/dist/client/rendering.mjs +1700 -1065
  167. package/dist/client/{shop-U5C634FF.mjs → shop-BHN5AKY6.mjs} +4 -4
  168. package/dist/preview-next/before-render.mjs +14 -0
  169. package/dist/preview-next/client/runtime.mjs +5 -5
  170. package/dist/preview-next/middleware.mjs +14 -0
  171. package/dist/{sdk-runtime-VGV46WVB.mjs → sdk-runtime-X2LXQ5IC.mjs} +6 -6
  172. package/dist/server/components.mjs +3255 -2827
  173. package/dist/server/config-template-validation.mjs +29 -20
  174. package/dist/server/config-validation.mjs +36 -4
  175. package/dist/server/config.mjs +36 -4
  176. package/dist/server/data.mjs +34 -3
  177. package/dist/server/index.mjs +44 -1
  178. package/dist/server/next/middleware.mjs +120 -0
  179. package/dist/server/next.mjs +3405 -2859
  180. package/dist/server/page-converter.mjs +20 -3
  181. package/dist/server/prebuild.mjs +1 -1
  182. package/dist/server/rendering/server.mjs +3264 -2837
  183. package/dist/server/rendering.mjs +3295 -2844
  184. package/dist/server/routing.mjs +35 -4
  185. package/dist/server/server.mjs +2358 -2188
  186. package/dist/server/theme-bridge.mjs +140 -0
  187. package/dist/styles/index.css +139 -0
  188. package/package.json +5 -1
  189. package/dist/SdkPreviewModeRuntime-NHTLRNQD.mjs +0 -8
@@ -0,0 +1,29 @@
1
+ import type { OutputContext } from '../output';
2
+ import type { PageMergeConflict, PageMergeDecision } from './pageMerge';
3
+ import type { RemotePageMergePlan } from './pageMergePlan';
4
+ export type RemotePageMergeJsonReport = Readonly<{
5
+ kind: 'push';
6
+ scope: 'pages';
7
+ mergeRemote: true;
8
+ dryRun: boolean;
9
+ summary: RemotePageMergePlan['summary'];
10
+ decisions: readonly RemotePageMergeDecisionReport[];
11
+ }>;
12
+ export type RemotePageMergeDecisionReport = Readonly<{
13
+ kind: PageMergeDecision['kind'];
14
+ identifier: string;
15
+ localFieldPaths?: readonly string[];
16
+ remoteFieldPaths?: readonly string[];
17
+ conflict?: Readonly<{
18
+ code: PageMergeConflict['code'];
19
+ fieldPath?: string;
20
+ message: string;
21
+ }>;
22
+ }>;
23
+ export declare function remotePageMergeJsonReport(input: Readonly<{
24
+ plan: RemotePageMergePlan;
25
+ dryRun: boolean;
26
+ }>): RemotePageMergeJsonReport;
27
+ export declare function writeRemotePageMergeHumanReport(output: Pick<OutputContext, 'info'>, plan: RemotePageMergePlan, options: Readonly<{
28
+ dryRun: boolean;
29
+ }>): void;
@@ -0,0 +1,48 @@
1
+ import type { PulledPages } from '../../client/management/types';
2
+ import type { EnvTarget } from '../helpers';
3
+ import type { LocalPage } from '../content/reader';
4
+ export type PageBaseSnapshotTarget = Readonly<{
5
+ env: EnvTarget;
6
+ siteId: string;
7
+ }>;
8
+ export type PageBaseSnapshotSubject = Readonly<{
9
+ identifier: string;
10
+ }>;
11
+ export type PageBaseSnapshot = Readonly<{
12
+ version: 'page-base.v1';
13
+ target: Readonly<{
14
+ env: EnvTarget;
15
+ siteIdHash: string;
16
+ }>;
17
+ subject: PageBaseSnapshotSubject;
18
+ pulledAt: string;
19
+ remoteVersion: Readonly<{
20
+ createdAt?: string;
21
+ updatedAt?: string;
22
+ publishedAt?: string | null;
23
+ }>;
24
+ page: LocalPage;
25
+ }>;
26
+ export type WritePageBaseSnapshotsInput = Readonly<{
27
+ contentDir: string;
28
+ target: PageBaseSnapshotTarget;
29
+ pages: PulledPages['pages'];
30
+ meta: PulledPages['meta'];
31
+ cleanupMissing?: boolean;
32
+ }>;
33
+ export type WritePageBaseSnapshotsResult = Readonly<{
34
+ rootDir: string;
35
+ count: number;
36
+ }>;
37
+ export declare function pageBaseSnapshotRoot(contentDir: string): string;
38
+ export declare function pageBaseSnapshotPath(input: Readonly<{
39
+ contentDir: string;
40
+ target: PageBaseSnapshotTarget;
41
+ subject: PageBaseSnapshotSubject;
42
+ }>): string;
43
+ export declare function writePageBaseSnapshots(input: WritePageBaseSnapshotsInput): Promise<WritePageBaseSnapshotsResult>;
44
+ export declare function readPageBaseSnapshot(input: Readonly<{
45
+ contentDir: string;
46
+ target: PageBaseSnapshotTarget;
47
+ subject: PageBaseSnapshotSubject;
48
+ }>): Promise<PageBaseSnapshot | null>;
@@ -6,6 +6,8 @@
6
6
  */
7
7
  import type { LocalContent, LocalFooterContent } from '../content/reader';
8
8
  import type { PulledContent, ManagementFooterContent } from '../../client/management/types';
9
+ import { type BuildFieldDiffOptions, type FieldChange } from './field-diff';
10
+ export type { FieldChange } from './field-diff';
9
11
  export type DiffType = 'create' | 'update' | 'unchanged';
10
12
  export interface EntryDiff {
11
13
  type: DiffType | 'delete';
@@ -205,15 +207,10 @@ export declare function formatDiffDetail(diff: ContentDiff): string;
205
207
  * @returns Content diff showing what would be created/updated locally
206
208
  */
207
209
  export declare function calculatePullDiff(remote: PulledContent, local: LocalContent | null): ContentDiff;
208
- export interface FieldChange {
209
- path: string;
210
- before: unknown;
211
- after: unknown;
212
- }
213
210
  /**
214
211
  * Find changed fields between two objects with their before/after values.
215
212
  */
216
- export declare function findChangedFieldsWithValues(local: Record<string, unknown>, remote: Record<string, unknown>, prefix?: string): FieldChange[];
213
+ export declare function findChangedFieldsWithValues(local: Record<string, unknown>, remote: Record<string, unknown>, prefix?: string, options?: BuildFieldDiffOptions): FieldChange[];
217
214
  /**
218
215
  * Format a value for human-readable display.
219
216
  */
@@ -0,0 +1,39 @@
1
+ export type FieldPathSegment = Readonly<{
2
+ type: 'property';
3
+ key: string;
4
+ }> | Readonly<{
5
+ type: 'index';
6
+ index: number;
7
+ }> | Readonly<{
8
+ type: 'item';
9
+ key: string;
10
+ }>;
11
+ export type FieldDiffKind = 'added' | 'removed' | 'changed' | 'list_reordered';
12
+ export type FieldDiff = Readonly<{
13
+ kind: FieldDiffKind;
14
+ path: readonly FieldPathSegment[];
15
+ before: unknown;
16
+ after: unknown;
17
+ }>;
18
+ export type FieldChange = Readonly<{
19
+ kind: FieldDiffKind;
20
+ path: string;
21
+ before: unknown;
22
+ after: unknown;
23
+ redacted?: true;
24
+ }>;
25
+ export type FieldDiffIdentityInput = Readonly<{
26
+ path: readonly FieldPathSegment[];
27
+ item: unknown;
28
+ index: number;
29
+ }>;
30
+ export type FieldDiffIdentity = (input: FieldDiffIdentityInput) => string | null | undefined;
31
+ export type BuildFieldDiffOptions = Readonly<{
32
+ identifyArrayItem?: FieldDiffIdentity;
33
+ }>;
34
+ export declare function buildFieldDiffs(local: Record<string, unknown>, remote: Record<string, unknown>, options?: BuildFieldDiffOptions): FieldDiff[];
35
+ export declare function formatFieldPath(path: readonly FieldPathSegment[]): string;
36
+ export declare function fieldDiffToChange(diff: FieldDiff): FieldChange;
37
+ export declare function buildFieldChanges(local: Record<string, unknown>, remote: Record<string, unknown>, options?: BuildFieldDiffOptions): FieldChange[];
38
+ export declare function formatFieldDiffValue(value: unknown, maxChars?: number): string;
39
+ export declare function formatFieldChange(change: FieldChange): string;
@@ -4,6 +4,7 @@
4
4
  * Provides content synchronization between local files and CMS.
5
5
  */
6
6
  export { calculateDiff, calculatePullDiff, hasPendingChanges, formatDiffSummary, formatDiffDetail, buildJsonDiff, type ContentDiff, type EntryDiff, type PageDiff, type BlockDiff, type NavigationDiff, type DiffType, type DiffOptions, type JsonDiff, type JsonDiffMode, type JsonDiffChange, type JsonDiffChangeType, type JsonDiffOperation, type PullJsonDiff, type PullJsonDiffChange, type FieldChange, findChangedFieldsWithValues, formatValue, formatHumanDiff, } from './diff';
7
+ export { buildFieldDiffs, buildFieldChanges, formatFieldPath, formatFieldChange, formatFieldDiffValue, type FieldDiff, type FieldDiffKind, type FieldDiffIdentity, type FieldDiffIdentityInput, type FieldPathSegment, type BuildFieldDiffOptions, } from './field-diff';
7
8
  export { executeResidualSettingsSyncPlan, createEmptySyncResult, formatSyncResult, type SyncOptions, type SyncResult, type ResidualSettingsDiff, type ResidualSettingsLocalContent, } from './executor';
8
9
  export { addCounters, mergeManySyncResults, mergeSyncResults, } from './syncResultAggregation';
9
10
  export { extractMediaPaths, buildStorageUrl, downloadMedia, syncMedia, type MediaSyncResult, type MediaSyncSummary, type MediaSyncOptions, type MediaUploadClient, } from './media';
@@ -1,6 +1,6 @@
1
- import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
1
+ import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
2
2
  import type { PublishedRuntimeCacheAdapter, PublishedRuntimeCacheAdapterErrorKind } from './runtimeCachePolicy';
3
- export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
3
+ export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
4
4
  /**
5
5
  * Pagination metadata returned when `includeMeta: true`
6
6
  */
@@ -604,6 +604,11 @@ export interface RiverbankClient {
604
604
  siteId: string;
605
605
  path: string;
606
606
  } & SdkMethodOptions): Promise<CheckRedirectResponse>;
607
+ resolveRouteOutcome(params: {
608
+ siteId: string;
609
+ path: string;
610
+ preview?: boolean;
611
+ } & SdkMethodOptions): Promise<RouteOutcomeResponse>;
607
612
  /**
608
613
  * Get all published routes for a site.
609
614
  * Useful for static site generation (SSG) to enumerate all pages.
@@ -6,7 +6,7 @@
6
6
  * and executed by the blocks runtime without leaking blocks types into the SDK
7
7
  * public `.d.ts`.
8
8
  */
9
- import type { LinkValue, Media, TipTapNode } from '../contracts';
9
+ import type { InlineText, LinkValue, Media, TipTapNode } from '../contracts';
10
10
  export type VisibilityLevel = 'admin' | 'designer' | 'author';
11
11
  export type ReferenceValueFrom = 'id' | 'identifier' | 'slug';
12
12
  export declare const SDK_ICON_PICKER_PRESETS: readonly ["cta", "feature"];
@@ -114,6 +114,11 @@ export type TextFieldDefinition = FieldBase & {
114
114
  export type RichTextFieldDefinition = FieldBase & {
115
115
  type: 'richText';
116
116
  };
117
+ export type InlineTextFieldDefinition = FieldBase & {
118
+ type: 'inlineText';
119
+ maxLength?: number;
120
+ plainTextField?: string;
121
+ };
117
122
  export type MediaFieldDefinition = FieldBase & {
118
123
  type: 'media';
119
124
  mediaKinds?: Array<'image' | 'video' | 'audio'>;
@@ -237,5 +242,5 @@ export type EntryPickerFieldDefinition = FieldBase & {
237
242
  /** Which entry field to store as the value: 'id' (UUID), 'identifier', or 'slug'. */
238
243
  valueFrom?: 'id' | 'identifier' | 'slug';
239
244
  };
240
- export type FieldDefinition = TextFieldDefinition | RichTextFieldDefinition | MediaFieldDefinition | FileFieldDefinition | BooleanFieldDefinition | NumberFieldDefinition | DateFieldDefinition | TimeFieldDefinition | DateTimeFieldDefinition | SlugFieldDefinition | UrlFieldDefinition | LinkFieldDefinition | SelectFieldDefinition | ReferenceFieldDefinition | RepeaterFieldDefinition | GroupFieldDefinition | ModalFieldDefinition | TabGroupFieldDefinition | PresetOrCustomFieldDefinition | ContentTypeSelectFieldDefinition | EntryPickerFieldDefinition;
241
- export type { TipTapNode, Media, LinkValue };
245
+ export type FieldDefinition = TextFieldDefinition | RichTextFieldDefinition | InlineTextFieldDefinition | MediaFieldDefinition | FileFieldDefinition | BooleanFieldDefinition | NumberFieldDefinition | DateFieldDefinition | TimeFieldDefinition | DateTimeFieldDefinition | SlugFieldDefinition | UrlFieldDefinition | LinkFieldDefinition | SelectFieldDefinition | ReferenceFieldDefinition | RepeaterFieldDefinition | GroupFieldDefinition | ModalFieldDefinition | TabGroupFieldDefinition | PresetOrCustomFieldDefinition | ContentTypeSelectFieldDefinition | EntryPickerFieldDefinition;
246
+ export type { InlineText, TipTapNode, Media, LinkValue };
@@ -30,8 +30,8 @@
30
30
  * });
31
31
  * ```
32
32
  */
33
- import type { BooleanFieldDefinition, ContentTypeSelectFieldDefinition, DateFieldDefinition, DateTimeFieldDefinition, EntryPickerFieldDefinition, FileFieldDefinition, FieldDefinition, GroupFieldDefinition, LinkFieldDefinition, MediaFieldDefinition, ModalFieldDefinition, NumberFieldDefinition, PresetOrCustomFieldDefinition, ReferenceFieldDefinition, RepeaterFieldDefinition, RichTextFieldDefinition, SelectFieldDefinition, SlugFieldDefinition, TabGroupFieldDefinition, TextFieldDefinition, TimeFieldDefinition, UrlFieldDefinition } from './field-definitions';
34
- import type { LinkValue, Media, TipTapNode } from '../contracts';
33
+ import type { BooleanFieldDefinition, ContentTypeSelectFieldDefinition, DateFieldDefinition, DateTimeFieldDefinition, EntryPickerFieldDefinition, FileFieldDefinition, FieldDefinition, GroupFieldDefinition, InlineTextFieldDefinition, LinkFieldDefinition, MediaFieldDefinition, ModalFieldDefinition, NumberFieldDefinition, PresetOrCustomFieldDefinition, ReferenceFieldDefinition, RepeaterFieldDefinition, RichTextFieldDefinition, SelectFieldDefinition, SlugFieldDefinition, TabGroupFieldDefinition, TextFieldDefinition, TimeFieldDefinition, UrlFieldDefinition } from './field-definitions';
34
+ import type { InlineText, LinkValue, Media, TipTapNode } from '../contracts';
35
35
  import type { ContentTypeConfig, EntryConfig } from './content-types';
36
36
  export type { TipTapNode, Media, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, } from '../contracts';
37
37
  /**
@@ -65,6 +65,8 @@ export type FieldValueType<F extends FieldDefinition> = F extends {
65
65
  } ? number : F extends {
66
66
  type: 'richText';
67
67
  } ? TipTapNode : F extends {
68
+ type: 'inlineText';
69
+ } ? InlineText : F extends {
68
70
  type: 'media';
69
71
  } ? Media | null : F extends {
70
72
  type: 'file';
@@ -93,7 +95,7 @@ export type FieldValueType<F extends FieldDefinition> = F extends {
93
95
  type: 'select';
94
96
  } ? string : F extends {
95
97
  type: 'entryPicker';
96
- } ? string | null : F extends TextFieldDefinition ? string : F extends BooleanFieldDefinition ? boolean : F extends NumberFieldDefinition ? number : F extends RichTextFieldDefinition ? TipTapNode : F extends MediaFieldDefinition ? Media | null : F extends FileFieldDefinition ? Media | null : F extends LinkFieldDefinition ? LinkValue | null : F extends DateFieldDefinition ? string : F extends TimeFieldDefinition ? string : F extends DateTimeFieldDefinition ? string : F extends SlugFieldDefinition ? string : F extends UrlFieldDefinition ? string : F extends ReferenceFieldDefinition ? string : F extends PresetOrCustomFieldDefinition ? string : F extends ContentTypeSelectFieldDefinition ? string : F extends SelectFieldDefinition & {
98
+ } ? string | null : F extends TextFieldDefinition ? string : F extends BooleanFieldDefinition ? boolean : F extends NumberFieldDefinition ? number : F extends RichTextFieldDefinition ? TipTapNode : F extends InlineTextFieldDefinition ? InlineText : F extends MediaFieldDefinition ? Media | null : F extends FileFieldDefinition ? Media | null : F extends LinkFieldDefinition ? LinkValue | null : F extends DateFieldDefinition ? string : F extends TimeFieldDefinition ? string : F extends DateTimeFieldDefinition ? string : F extends SlugFieldDefinition ? string : F extends UrlFieldDefinition ? string : F extends ReferenceFieldDefinition ? string : F extends PresetOrCustomFieldDefinition ? string : F extends ContentTypeSelectFieldDefinition ? string : F extends SelectFieldDefinition & {
97
99
  multiple: true;
98
100
  } ? string[] : F extends SelectFieldDefinition ? string : F extends EntryPickerFieldDefinition ? string | null : F extends GroupFieldDefinition & {
99
101
  schema: {
@@ -16,6 +16,7 @@ export declare const BINDING_TRANSFORMS: {
16
16
  readonly RICHTEXT_FIRST_PARAGRAPH: "richtext.firstParagraph";
17
17
  readonly DATE_FORMAT_SHORT: "date.formatShort";
18
18
  readonly DATE_FORMAT_LONG: "date.formatLong";
19
+ readonly TEXT_INLINE_TEXT: "text.inlineText";
19
20
  };
20
21
  export type BindingTransformName = typeof BINDING_TRANSFORMS[keyof typeof BINDING_TRANSFORMS];
21
22
  export declare const BINDING_TRANSFORM_VALUES: [BindingTransformName, ...BindingTransformName[]];
@@ -17,6 +17,24 @@ export type TipTapNode = {
17
17
  attrs?: Record<string, unknown>;
18
18
  marks?: TipTapMark[];
19
19
  };
20
+ export type InlineTextAccentTone = 'accent' | 'brand' | 'contrast';
21
+ export type InlineTextHighlightTone = 'soft' | 'accent' | 'brand';
22
+ export type InlineTextMark = Readonly<{
23
+ kind: 'strong';
24
+ }> | Readonly<{
25
+ kind: 'emphasis';
26
+ }> | Readonly<{
27
+ kind: 'accent';
28
+ tone: InlineTextAccentTone;
29
+ }> | Readonly<{
30
+ kind: 'highlight';
31
+ tone: InlineTextHighlightTone;
32
+ }>;
33
+ export type InlineTextRun = Readonly<{
34
+ text: string;
35
+ marks?: readonly InlineTextMark[];
36
+ }>;
37
+ export type InlineText = readonly InlineTextRun[];
20
38
  export type InternalRouteOnlyLinkValue = {
21
39
  kind: 'internal';
22
40
  routeId: string;
@@ -1,4 +1,4 @@
1
- export type { TipTapNode, TipTapMark, Media, LinkValue, InternalRouteOnlyLinkValue, InternalResolvedLinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, } from './content';
1
+ export type { TipTapNode, TipTapMark, InlineText, InlineTextAccentTone, InlineTextHighlightTone, InlineTextMark, InlineTextRun, Media, LinkValue, InternalRouteOnlyLinkValue, InternalResolvedLinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, } from './content';
2
2
  export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CartContent, CardStylesContent, CheckoutContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CourseDetailsContent, CourseRegistrationContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LocationMapContent, LayoutAlign, LayoutWidth, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, ProductDetailContent, ProductListContent, SectionStylesContent, SemanticIconId, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, BlockIconValue, FeatureCardIconTreatment, } from './system-block-content';
3
3
  export type { PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, } from './page';
4
4
  export type { Theme, ThemeTokens } from './theme';
@@ -4,7 +4,7 @@
4
4
  * These are SDK-owned copies for SDK consumers so override typing does not
5
5
  * require importing internal blocks package types.
6
6
  */
7
- import type { LinkValue, Media, TipTapNode } from './content';
7
+ import type { InlineText, LinkValue, Media, TipTapNode } from './content';
8
8
  import type { Brand, EventCategoryId, VenueId } from '../../../core/src/index';
9
9
  type UnknownRecord = Record<string, unknown>;
10
10
  type ImageMedia = Omit<Media, 'type'> & {
@@ -386,7 +386,8 @@ export type HeroCta = {
386
386
  export type HeroCtaInput = HeroCta;
387
387
  export type HeroContent = {
388
388
  eyebrow?: string;
389
- headline: string;
389
+ headline?: string;
390
+ headlineInline: InlineText;
390
391
  subheadline?: string;
391
392
  contentAlignment?: 'left' | 'center' | 'right';
392
393
  verticalAlignment?: 'top' | 'center' | 'bottom';
@@ -0,0 +1 @@
1
+ export { handleRouteOutcomeRedirect, planRouteOutcomeRedirect, type HandleRouteOutcomeRedirectOptions, type RouteOutcomeRedirectPlan, type RouteOutcomeRedirectFailureContext, } from './route-outcome-proxy';
@@ -0,0 +1,3 @@
1
+ type IncomingSearch = string | URLSearchParams | Readonly<Record<string, string | string[] | undefined>> | null | undefined;
2
+ export declare function appendSearchToRedirectDestination(destination: string, incomingSearch: IncomingSearch): string;
3
+ export {};
@@ -0,0 +1,22 @@
1
+ import { NextResponse, type NextRequest } from 'next/server';
2
+ import type { RiverbankClient } from '../client/types';
3
+ import type { RedirectHttpStatus, RouteOutcomeResponse } from '../public-api/contracts';
4
+ export type RouteOutcomeRedirectFailureContext = Readonly<{
5
+ siteId: string;
6
+ path: string;
7
+ preview: boolean;
8
+ }>;
9
+ export type HandleRouteOutcomeRedirectOptions = Readonly<{
10
+ client: Pick<RiverbankClient, 'resolveRouteOutcome'>;
11
+ siteId: string;
12
+ onFailure?: (error: unknown, context: RouteOutcomeRedirectFailureContext) => void;
13
+ }>;
14
+ export type RouteOutcomeRedirectPlan = Readonly<{
15
+ kind: 'passThrough';
16
+ }> | Readonly<{
17
+ kind: 'redirect';
18
+ destination: string;
19
+ status: RedirectHttpStatus;
20
+ }>;
21
+ export declare function planRouteOutcomeRedirect(outcome: RouteOutcomeResponse): RouteOutcomeRedirectPlan;
22
+ export declare function handleRouteOutcomeRedirect(request: NextRequest, options: HandleRouteOutcomeRedirectOptions): Promise<NextResponse | null>;
@@ -804,6 +804,20 @@ export type CheckRedirectResponse = {
804
804
  redirectTo: string | null;
805
805
  status?: number;
806
806
  };
807
+ export type RedirectHttpStatus = 301 | 302 | 307 | 308;
808
+ export type RouteOutcomeResponse = {
809
+ type: "content";
810
+ content: PageResponse;
811
+ } | {
812
+ type: "redirect";
813
+ destination: string;
814
+ status: RedirectHttpStatus;
815
+ } | {
816
+ type: "notFound";
817
+ } | {
818
+ type: "loadFailed";
819
+ message: string;
820
+ };
807
821
  export type RoutableContentItem = {
808
822
  routeId: string;
809
823
  entityId: string;
@@ -835,7 +849,7 @@ export type SitemapRoutesResponse = {
835
849
  pageSize: number;
836
850
  allowIndexingInProduction: boolean;
837
851
  };
838
- export type PublicEndpointName = "getSite" | "getContentByPath" | "listPublishedEntries" | "getPublishedEntryPreview" | "getPublicFormById" | "listPublicForms" | "getPublicBookingServices" | "getPublicChallenge" | "listPublicEvents" | "batchBlockLoaders" | "listPublicCourses" | "listPublicTeamMembers" | "listPublicProducts" | "listPublicPasses" | "listPublicMemberships" | "resolveEntrySubroute" | "resolveEventOccurrence" | "checkRedirect" | "getRoutableContent" | "getPublicRoutableContent" | "getPublicSitemapRoutes";
852
+ export type PublicEndpointName = "getSite" | "getContentByPath" | "resolveRouteOutcome" | "listPublishedEntries" | "getPublishedEntryPreview" | "getPublicFormById" | "listPublicForms" | "getPublicBookingServices" | "getPublicChallenge" | "listPublicEvents" | "batchBlockLoaders" | "listPublicCourses" | "listPublicTeamMembers" | "listPublicProducts" | "listPublicPasses" | "listPublicMemberships" | "resolveEntrySubroute" | "resolveEventOccurrence" | "checkRedirect" | "getRoutableContent" | "getPublicRoutableContent" | "getPublicSitemapRoutes";
839
853
  export type PublicAPIEndpoints = {
840
854
  getSite: APIEndpointBase<never, {
841
855
  id?: string;
@@ -849,6 +863,11 @@ export type PublicAPIEndpoints = {
849
863
  }, {
850
864
  siteId: string;
851
865
  }, PageResponse>;
866
+ resolveRouteOutcome: APIEndpointBase<never, {
867
+ siteId: string;
868
+ path: string;
869
+ preview?: boolean;
870
+ }, RouteOutcomeResponse>;
852
871
  listPublishedEntries: APIEndpointBase<never, {
853
872
  siteId: string;
854
873
  type: string;
@@ -1,5 +1,5 @@
1
1
  import type { ApiResult, HTTPMethod, PublicAPIEndpoints, PublicEndpointName } from './contracts';
2
- export declare const PUBLIC_ENDPOINT_NAMES: readonly ["getSite", "getContentByPath", "listPublishedEntries", "getPublishedEntryPreview", "getPublicFormById", "listPublicForms", "getPublicBookingServices", "getPublicChallenge", "listPublicEvents", "batchBlockLoaders", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "resolveEntrySubroute", "resolveEventOccurrence", "checkRedirect", "getRoutableContent", "getPublicRoutableContent", "getPublicSitemapRoutes"];
2
+ export declare const PUBLIC_ENDPOINT_NAMES: readonly ["getSite", "getContentByPath", "resolveRouteOutcome", "listPublishedEntries", "getPublishedEntryPreview", "getPublicFormById", "listPublicForms", "getPublicBookingServices", "getPublicChallenge", "listPublicEvents", "batchBlockLoaders", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "resolveEntrySubroute", "resolveEventOccurrence", "checkRedirect", "getRoutableContent", "getPublicRoutableContent", "getPublicSitemapRoutes"];
3
3
  export type ApiClient = <E extends PublicEndpointName>(params: {
4
4
  endpoint: E;
5
5
  params?: PublicAPIEndpoints[E]['query'];
@@ -12,6 +12,7 @@ export declare const TRANSFORMS: {
12
12
  RICHTEXT_FIRST_PARAGRAPH: "richtext.firstParagraph";
13
13
  DATE_FORMAT_SHORT: "date.formatShort";
14
14
  DATE_FORMAT_LONG: "date.formatLong";
15
+ TEXT_INLINE_TEXT: "text.inlineText";
15
16
  };
16
17
  export declare const BINDING_SOURCES: BindingSource[];
17
18
  export declare const isRecord: typeof blocksIsRecord;
@@ -5,7 +5,7 @@
5
5
  * a page or a content entry.
6
6
  */
7
7
  import type { MediaAssetIndexItem, RouteMap, Theme } from '../../contracts';
8
- import type { RiverbankClient, SiteResponse } from '../../client/types';
8
+ import type { RiverbankClient, PageResponse, SiteResponse } from '../../client/types';
9
9
  import type { PageProps } from '../components/Page';
10
10
  import type { ResolvedBlockData } from '../../data/prefetchBlockData';
11
11
  import type { SdkCustomBlock } from '../../config/types';
@@ -32,6 +32,13 @@ export type LoadContentParams = {
32
32
  */
33
33
  preview?: boolean;
34
34
  };
35
+ export type LoadContentFromContentResponseParams = {
36
+ client: RiverbankClient;
37
+ siteId: string;
38
+ site: SiteResponse;
39
+ contentResponse: PageResponse;
40
+ preview?: boolean;
41
+ };
35
42
  /**
36
43
  * Content entry data returned when a path resolves to an entry
37
44
  */
@@ -233,3 +240,4 @@ export declare function isEntryContent(result: LoadContentResult): result is Ent
233
240
  * ```
234
241
  */
235
242
  export declare function loadContent(params: LoadContentParams): Promise<LoadContentResult>;
243
+ export declare function loadContentFromContentResponse(params: LoadContentFromContentResponseParams): Promise<LoadContentResult>;
@@ -8,4 +8,4 @@
8
8
  * 1. This constant
9
9
  * 2. The "version" field in package.json
10
10
  */
11
- export declare const SDK_VERSION = "0.94.0";
11
+ export declare const SDK_VERSION = "0.96.0";
@@ -33,10 +33,10 @@ export declare const accordionSystemSchema: z.ZodObject<{
33
33
  spacious: "spacious";
34
34
  }>;
35
35
  corners: z.ZodNullable<z.ZodEnum<{
36
+ soft: "soft";
36
37
  square: "square";
37
38
  rounded: "rounded";
38
39
  pill: "pill";
39
- soft: "soft";
40
40
  }>>;
41
41
  border: z.ZodNullable<z.ZodObject<{
42
42
  widthClass: z.ZodString;
@@ -152,11 +152,11 @@ export declare const gradientSharpnessSchema: z.ZodEnum<{
152
152
  }>;
153
153
  export declare const prioritySchema: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
154
154
  export declare const variantRoleSchema: z.ZodEnum<{
155
+ accent: "accent";
155
156
  link: "link";
156
157
  primary: "primary";
157
158
  secondary: "secondary";
158
159
  outline: "outline";
159
- accent: "accent";
160
160
  ghost: "ghost";
161
161
  tertiary: "tertiary";
162
162
  }>;
@@ -93,10 +93,10 @@ export declare const cardBorderSchema: z.ZodObject<{
93
93
  }, z.core.$strip>;
94
94
  /** Per-corner radius value. `expressive` is a large block-radius multiple. */
95
95
  export declare const cardCornerValueSchema: z.ZodEnum<{
96
+ soft: "soft";
96
97
  square: "square";
97
98
  rounded: "rounded";
98
99
  pill: "pill";
99
- soft: "soft";
100
100
  expressive: "expressive";
101
101
  }>;
102
102
  export type CardCornerValue = z.infer<typeof cardCornerValueSchema>;
@@ -122,31 +122,31 @@ export declare const cardAccentEdgeSchema: z.ZodObject<{
122
122
  export type CardAccentEdge = z.infer<typeof cardAccentEdgeSchema>;
123
123
  export declare const cardCornerRadiiSchema: z.ZodObject<{
124
124
  topLeft: z.ZodOptional<z.ZodEnum<{
125
+ soft: "soft";
125
126
  square: "square";
126
127
  rounded: "rounded";
127
128
  pill: "pill";
128
- soft: "soft";
129
129
  expressive: "expressive";
130
130
  }>>;
131
131
  topRight: z.ZodOptional<z.ZodEnum<{
132
+ soft: "soft";
132
133
  square: "square";
133
134
  rounded: "rounded";
134
135
  pill: "pill";
135
- soft: "soft";
136
136
  expressive: "expressive";
137
137
  }>>;
138
138
  bottomLeft: z.ZodOptional<z.ZodEnum<{
139
+ soft: "soft";
139
140
  square: "square";
140
141
  rounded: "rounded";
141
142
  pill: "pill";
142
- soft: "soft";
143
143
  expressive: "expressive";
144
144
  }>>;
145
145
  bottomRight: z.ZodOptional<z.ZodEnum<{
146
+ soft: "soft";
146
147
  square: "square";
147
148
  rounded: "rounded";
148
149
  pill: "pill";
149
- soft: "soft";
150
150
  expressive: "expressive";
151
151
  }>>;
152
152
  }, z.core.$strip>;
@@ -203,38 +203,38 @@ export declare const cardVariantSchema: z.ZodObject<{
203
203
  }>>;
204
204
  }, z.core.$strip>>;
205
205
  corners: z.ZodOptional<z.ZodEnum<{
206
+ soft: "soft";
206
207
  square: "square";
207
208
  rounded: "rounded";
208
209
  pill: "pill";
209
- soft: "soft";
210
210
  }>>;
211
211
  cornerRadii: z.ZodOptional<z.ZodObject<{
212
212
  topLeft: z.ZodOptional<z.ZodEnum<{
213
+ soft: "soft";
213
214
  square: "square";
214
215
  rounded: "rounded";
215
216
  pill: "pill";
216
- soft: "soft";
217
217
  expressive: "expressive";
218
218
  }>>;
219
219
  topRight: z.ZodOptional<z.ZodEnum<{
220
+ soft: "soft";
220
221
  square: "square";
221
222
  rounded: "rounded";
222
223
  pill: "pill";
223
- soft: "soft";
224
224
  expressive: "expressive";
225
225
  }>>;
226
226
  bottomLeft: z.ZodOptional<z.ZodEnum<{
227
+ soft: "soft";
227
228
  square: "square";
228
229
  rounded: "rounded";
229
230
  pill: "pill";
230
- soft: "soft";
231
231
  expressive: "expressive";
232
232
  }>>;
233
233
  bottomRight: z.ZodOptional<z.ZodEnum<{
234
+ soft: "soft";
234
235
  square: "square";
235
236
  rounded: "rounded";
236
237
  pill: "pill";
237
- soft: "soft";
238
238
  expressive: "expressive";
239
239
  }>>;
240
240
  }, z.core.$strip>>;
@@ -311,38 +311,38 @@ export declare const cardSystemSchema: z.ZodObject<{
311
311
  }>>;
312
312
  }, z.core.$strip>>;
313
313
  corners: z.ZodOptional<z.ZodEnum<{
314
+ soft: "soft";
314
315
  square: "square";
315
316
  rounded: "rounded";
316
317
  pill: "pill";
317
- soft: "soft";
318
318
  }>>;
319
319
  cornerRadii: z.ZodOptional<z.ZodObject<{
320
320
  topLeft: z.ZodOptional<z.ZodEnum<{
321
+ soft: "soft";
321
322
  square: "square";
322
323
  rounded: "rounded";
323
324
  pill: "pill";
324
- soft: "soft";
325
325
  expressive: "expressive";
326
326
  }>>;
327
327
  topRight: z.ZodOptional<z.ZodEnum<{
328
+ soft: "soft";
328
329
  square: "square";
329
330
  rounded: "rounded";
330
331
  pill: "pill";
331
- soft: "soft";
332
332
  expressive: "expressive";
333
333
  }>>;
334
334
  bottomLeft: z.ZodOptional<z.ZodEnum<{
335
+ soft: "soft";
335
336
  square: "square";
336
337
  rounded: "rounded";
337
338
  pill: "pill";
338
- soft: "soft";
339
339
  expressive: "expressive";
340
340
  }>>;
341
341
  bottomRight: z.ZodOptional<z.ZodEnum<{
342
+ soft: "soft";
342
343
  square: "square";
343
344
  rounded: "rounded";
344
345
  pill: "pill";
345
- soft: "soft";
346
346
  expressive: "expressive";
347
347
  }>>;
348
348
  }, z.core.$strip>>;