@riverbankcms/sdk 0.70.0 → 0.70.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 (52) hide show
  1. package/dist/_dts/ai/src/contracts/commandExposure.d.ts +8 -0
  2. package/dist/_dts/ai/src/contracts/feedback.d.ts +55 -0
  3. package/dist/_dts/ai/src/contracts/proposals.d.ts +34764 -0
  4. package/dist/_dts/ai/src/contracts.d.ts +5 -0
  5. package/dist/_dts/ai/src/designer/rfc6902.d.ts +16 -0
  6. package/dist/_dts/ai/src/designer/themePatch.d.ts +50 -0
  7. package/dist/_dts/api/src/aiPlayground.d.ts +1 -1
  8. package/dist/_dts/api/src/appointmentSetup.d.ts +19 -0
  9. package/dist/_dts/api/src/availability.d.ts +84 -2
  10. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +10 -1
  11. package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
  12. package/dist/_dts/api/src/endpoints.d.ts +29 -0
  13. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +4 -0
  14. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +29 -1
  15. package/dist/_dts/api/src/types.d.ts +1 -1
  16. package/dist/_dts/billing/src/components/index.d.ts +41 -0
  17. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +219 -0
  18. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
  19. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
  20. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
  21. package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +3 -1
  22. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -1
  23. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -0
  24. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorApplyPayload.d.ts +8 -0
  25. package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +1 -0
  26. package/dist/_dts/sdk/src/cli/commands/style.d.ts +19 -0
  27. package/dist/_dts/sdk/src/client/management/index.d.ts +2 -1
  28. package/dist/_dts/sdk/src/client/management/theme.d.ts +3 -1
  29. package/dist/_dts/sdk/src/client/management/types.d.ts +23 -0
  30. package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
  31. package/dist/_dts/sdk/src/version.d.ts +1 -1
  32. package/dist/_dts/site-commands/src/commands.d.ts +25 -7
  33. package/dist/_dts/site-commands/src/metadata.d.ts +2 -2
  34. package/dist/cli/index.mjs +168 -10
  35. package/dist/client/client.mjs +56 -2
  36. package/dist/client/hooks.mjs +55 -1
  37. package/dist/client/rendering.mjs +55 -1
  38. package/dist/preview-next/before-render.mjs +39 -0
  39. package/dist/preview-next/client/runtime.mjs +152 -38
  40. package/dist/preview-next/middleware.mjs +39 -0
  41. package/dist/server/components.mjs +55 -1
  42. package/dist/server/config-validation.mjs +55 -1
  43. package/dist/server/config.mjs +55 -1
  44. package/dist/server/data.mjs +55 -1
  45. package/dist/server/index.mjs +40 -1
  46. package/dist/server/next.mjs +56 -2
  47. package/dist/server/prebuild.mjs +1 -1
  48. package/dist/server/rendering/server.mjs +55 -1
  49. package/dist/server/rendering.mjs +55 -1
  50. package/dist/server/routing.mjs +56 -2
  51. package/dist/server/server.mjs +56 -2
  52. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import type { AllowedRuntime, SiteCommandBatch, SiteCommandBatchExposureDecision, SiteCommandCapabilityGap, SiteCommandExposureDecision, SiteCommandExposureTarget } from '../../../site-commands/src/index';
2
+ export type AiCommandExposureOptions = Readonly<{
3
+ runtime?: AllowedRuntime;
4
+ capabilityGaps?: readonly SiteCommandCapabilityGap[];
5
+ }>;
6
+ export type AiCommandExposureDecision = SiteCommandExposureDecision | SiteCommandBatchExposureDecision;
7
+ export declare function evaluateAiCommandExposure(command: SiteCommandExposureTarget, options?: AiCommandExposureOptions): SiteCommandExposureDecision;
8
+ export declare function evaluateAiCommandExposure(batch: SiteCommandBatch, options?: AiCommandExposureOptions): SiteCommandBatchExposureDecision;
@@ -0,0 +1,55 @@
1
+ import { z } from 'zod';
2
+ export declare const RejectedThemeProposalSummarySchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"theme">;
4
+ id: z.ZodString;
5
+ summary: z.ZodString;
6
+ }, z.core.$strip>;
7
+ export declare const RejectedPageOpsProposalSummarySchema: z.ZodObject<{
8
+ type: z.ZodLiteral<"pageOps">;
9
+ id: z.ZodString;
10
+ summary: z.ZodString;
11
+ }, z.core.$strip>;
12
+ export declare const RejectedContentEditProposalSummarySchema: z.ZodObject<{
13
+ type: z.ZodLiteral<"contentEdit">;
14
+ id: z.ZodString;
15
+ blockId: z.ZodString;
16
+ field: z.ZodString;
17
+ summary: z.ZodString;
18
+ rationale: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ export declare const RejectedProposalSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
+ type: z.ZodLiteral<"theme">;
22
+ id: z.ZodString;
23
+ summary: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ type: z.ZodLiteral<"pageOps">;
26
+ id: z.ZodString;
27
+ summary: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ type: z.ZodLiteral<"contentEdit">;
30
+ id: z.ZodString;
31
+ blockId: z.ZodString;
32
+ field: z.ZodString;
33
+ summary: z.ZodString;
34
+ rationale: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>], "type">;
36
+ export type RejectedProposalSummary = z.infer<typeof RejectedProposalSummarySchema>;
37
+ export declare const ChatFeedbackSchema: z.ZodObject<{
38
+ rejectedProposals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
39
+ type: z.ZodLiteral<"theme">;
40
+ id: z.ZodString;
41
+ summary: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ type: z.ZodLiteral<"pageOps">;
44
+ id: z.ZodString;
45
+ summary: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ type: z.ZodLiteral<"contentEdit">;
48
+ id: z.ZodString;
49
+ blockId: z.ZodString;
50
+ field: z.ZodString;
51
+ summary: z.ZodString;
52
+ rationale: z.ZodOptional<z.ZodString>;
53
+ }, z.core.$strip>], "type">>>;
54
+ }, z.core.$strict>;
55
+ export type ChatFeedback = z.infer<typeof ChatFeedbackSchema>;