@riverbankcms/sdk 0.60.7 → 0.60.11

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 (44) hide show
  1. package/dist/_dts/api/src/index.d.ts +2 -1
  2. package/dist/_dts/api/src/navigation/linkValue.d.ts +15 -2
  3. package/dist/_dts/api/src/navigation.d.ts +2 -0
  4. package/dist/_dts/blocks/src/index.d.ts +2 -1
  5. package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +185 -0
  6. package/dist/_dts/blocks/src/system/manifest/index.d.ts +1 -0
  7. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -84
  8. package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +2 -2
  9. package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
  10. package/dist/_dts/blocks/src/system/types/link.d.ts +100 -2
  11. package/dist/_dts/db/src/schemas/forms.d.ts +24 -3
  12. package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
  13. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
  14. package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +1 -1
  15. package/dist/_dts/sdk/src/config/typed-entries.d.ts +36 -1
  16. package/dist/_dts/sdk/src/contracts/content.d.ts +13 -2
  17. package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
  18. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -0
  19. package/dist/_dts/sdk/src/version.d.ts +1 -1
  20. package/dist/_dts/theme-core/src/buttons/classNames.d.ts +21 -0
  21. package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
  22. package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -0
  23. package/dist/cli/index.mjs +736 -427
  24. package/dist/client/bookings.mjs +746 -149
  25. package/dist/client/client.mjs +40389 -39847
  26. package/dist/client/hooks.mjs +1737 -1735
  27. package/dist/client/rendering/client.mjs +351 -113
  28. package/dist/client/rendering/islands.mjs +4549 -4366
  29. package/dist/client/rendering.mjs +1915 -1373
  30. package/dist/preview-next/client/runtime.mjs +1509 -945
  31. package/dist/server/components.mjs +3148 -2781
  32. package/dist/server/config-validation.mjs +1727 -1725
  33. package/dist/server/config.mjs +1727 -1725
  34. package/dist/server/data.mjs +1737 -1735
  35. package/dist/server/index.mjs +1 -1
  36. package/dist/server/next.mjs +3193 -2826
  37. package/dist/server/page-converter.mjs +10 -10
  38. package/dist/server/prebuild.mjs +1 -1
  39. package/dist/server/rendering/server.mjs +3161 -2794
  40. package/dist/server/rendering.mjs +3161 -2794
  41. package/dist/server/routing.mjs +297 -314
  42. package/dist/server/server.mjs +1738 -1736
  43. package/package.json +1 -1
  44. package/dist/_dts/blocks/src/system/runtime/shared/themedButtonClass.d.ts +0 -11
@@ -8389,262 +8389,6 @@ var init_routableLink = __esm({
8389
8389
  }
8390
8390
  });
8391
8391
 
8392
- // ../api/src/navigation/matcher.ts
8393
- var init_matcher = __esm({
8394
- "../api/src/navigation/matcher.ts"() {
8395
- "use strict";
8396
- }
8397
- });
8398
-
8399
- // ../api/src/navigation.ts
8400
- var init_navigation = __esm({
8401
- "../api/src/navigation.ts"() {
8402
- "use strict";
8403
- init_envelope();
8404
- init_error_propagation();
8405
- init_navigationMenuValidation();
8406
- init_linkResolver();
8407
- init_routableLink();
8408
- init_matcher();
8409
- }
8410
- });
8411
-
8412
- // ../api/src/navigation/visibility.ts
8413
- var init_visibility = __esm({
8414
- "../api/src/navigation/visibility.ts"() {
8415
- "use strict";
8416
- init_types2();
8417
- init_isRecord();
8418
- }
8419
- });
8420
-
8421
- // ../api/src/navigation/linkValue.ts
8422
- var init_linkValue = __esm({
8423
- "../api/src/navigation/linkValue.ts"() {
8424
- "use strict";
8425
- init_routableLink();
8426
- }
8427
- });
8428
-
8429
- // ../api/src/redirects.ts
8430
- var init_redirects = __esm({
8431
- "../api/src/redirects.ts"() {
8432
- "use strict";
8433
- init_envelope();
8434
- init_error_propagation();
8435
- }
8436
- });
8437
-
8438
- // ../api/src/billing.ts
8439
- var init_billing = __esm({
8440
- "../api/src/billing.ts"() {
8441
- "use strict";
8442
- init_envelope();
8443
- init_error_propagation();
8444
- }
8445
- });
8446
-
8447
- // ../api/src/aiPatch.ts
8448
- var init_aiPatch = __esm({
8449
- "../api/src/aiPatch.ts"() {
8450
- "use strict";
8451
- init_envelope();
8452
- }
8453
- });
8454
-
8455
- // ../api/src/aiPlayground.ts
8456
- import { z as z8 } from "zod";
8457
- var Rfc6902PatchOp, PlaygroundProposeRequest, MultiPagePatchEnvelope, MultiPageUpdateResponse;
8458
- var init_aiPlayground = __esm({
8459
- "../api/src/aiPlayground.ts"() {
8460
- "use strict";
8461
- Rfc6902PatchOp = z8.discriminatedUnion("op", [
8462
- // Standard RFC-6902 operations
8463
- z8.object({
8464
- op: z8.literal("add"),
8465
- path: z8.string(),
8466
- value: z8.unknown()
8467
- }),
8468
- z8.object({
8469
- op: z8.literal("remove"),
8470
- path: z8.string()
8471
- }),
8472
- z8.object({
8473
- op: z8.literal("replace"),
8474
- path: z8.string(),
8475
- value: z8.unknown()
8476
- }),
8477
- z8.object({
8478
- op: z8.literal("move"),
8479
- from: z8.string(),
8480
- path: z8.string()
8481
- }),
8482
- z8.object({
8483
- op: z8.literal("copy"),
8484
- from: z8.string(),
8485
- path: z8.string()
8486
- }),
8487
- // Block-level operations (Phase 2)
8488
- z8.object({
8489
- op: z8.literal("add_block"),
8490
- blockKind: z8.string(),
8491
- afterBlockId: z8.string().nullable(),
8492
- content: z8.record(z8.string(), z8.unknown()),
8493
- rationale: z8.string()
8494
- }),
8495
- z8.object({
8496
- op: z8.literal("delete_block"),
8497
- blockId: z8.string(),
8498
- rationale: z8.string()
8499
- }),
8500
- z8.object({
8501
- op: z8.literal("reorder_block"),
8502
- blockId: z8.string(),
8503
- afterBlockId: z8.string().nullable(),
8504
- rationale: z8.string()
8505
- })
8506
- ]);
8507
- PlaygroundProposeRequest = z8.object({
8508
- request: z8.string().min(1).max(2e3)
8509
- });
8510
- MultiPagePatchEnvelope = z8.object({
8511
- pageId: z8.string(),
8512
- blockId: z8.string().optional(),
8513
- // Not present for page-level ops
8514
- blockKind: z8.string().optional(),
8515
- blockPurpose: z8.string().optional().nullable(),
8516
- ops: z8.array(Rfc6902PatchOp),
8517
- rationale: z8.string(),
8518
- currentContent: z8.record(z8.string(), z8.unknown()).optional()
8519
- });
8520
- MultiPageUpdateResponse = z8.object({
8521
- patches: z8.array(MultiPagePatchEnvelope),
8522
- assistantMessage: z8.string(),
8523
- pagesModified: z8.number(),
8524
- toolCallsUsed: z8.number()
8525
- });
8526
- }
8527
- });
8528
-
8529
- // ../api/src/seo.ts
8530
- var init_seo = __esm({
8531
- "../api/src/seo.ts"() {
8532
- "use strict";
8533
- init_envelope();
8534
- }
8535
- });
8536
-
8537
- // ../api/src/performance.ts
8538
- var init_performance = __esm({
8539
- "../api/src/performance.ts"() {
8540
- "use strict";
8541
- init_envelope();
8542
- }
8543
- });
8544
-
8545
- // ../api/src/contentTypes.ts
8546
- var init_contentTypes = __esm({
8547
- "../api/src/contentTypes.ts"() {
8548
- "use strict";
8549
- init_envelope();
8550
- init_error_propagation();
8551
- }
8552
- });
8553
-
8554
- // ../api/src/domains.ts
8555
- var init_domains = __esm({
8556
- "../api/src/domains.ts"() {
8557
- "use strict";
8558
- init_envelope();
8559
- init_error_propagation();
8560
- }
8561
- });
8562
-
8563
- // ../api/src/admin.ts
8564
- var init_admin = __esm({
8565
- "../api/src/admin.ts"() {
8566
- "use strict";
8567
- init_envelope();
8568
- init_error_propagation();
8569
- }
8570
- });
8571
-
8572
- // ../api/src/auth.ts
8573
- var init_auth = __esm({
8574
- "../api/src/auth.ts"() {
8575
- "use strict";
8576
- init_request();
8577
- init_envelope();
8578
- init_error_propagation();
8579
- }
8580
- });
8581
-
8582
- // ../api/src/index.ts
8583
- var init_src3 = __esm({
8584
- "../api/src/index.ts"() {
8585
- "use strict";
8586
- init_endpoints();
8587
- init_media();
8588
- init_contracts();
8589
- init_contracts2();
8590
- init_sdkContracts();
8591
- init_incrementalJson();
8592
- init_launchReadiness();
8593
- init_url();
8594
- init_envelope();
8595
- init_request();
8596
- init_env();
8597
- init_bookingRefundOutcomes();
8598
- init_customerMembershipOutcomes();
8599
- init_bookingVerticals();
8600
- init_appointmentSetup();
8601
- init_bookings();
8602
- init_cache_tags();
8603
- init_streamReader();
8604
- init_siteAnalytics();
8605
- init_types2();
8606
- init_eventAttendanceLabels();
8607
- init_siteBanner();
8608
- init_siteOnboarding();
8609
- init_privacyPolicy();
8610
- init_analytics();
8611
- init_publicProducts();
8612
- init_contentEntries();
8613
- init_blocks();
8614
- init_blocksKeys();
8615
- init_contentKeys();
8616
- init_pages();
8617
- init_routes();
8618
- init_bookings();
8619
- init_emailSettings();
8620
- init_eventEmailTemplates();
8621
- init_resources();
8622
- init_services();
8623
- init_availability();
8624
- init_calendar();
8625
- init_navigation();
8626
- init_navigationMenuValidation();
8627
- init_routableLink();
8628
- init_linkResolver();
8629
- init_matcher();
8630
- init_visibility();
8631
- init_linkValue();
8632
- init_redirects();
8633
- init_billing();
8634
- init_aiPatch();
8635
- init_aiPlayground();
8636
- init_seo();
8637
- init_performance();
8638
- init_contentTypes();
8639
- init_analytics();
8640
- init_siteMembers();
8641
- init_domains();
8642
- init_admin();
8643
- init_auth();
8644
- init_types2();
8645
- }
8646
- });
8647
-
8648
8392
  // ../blocks/src/system/manifest/augmentManifest.ts
8649
8393
  function augmentManifest(manifest) {
8650
8394
  let augmentedFields = manifest.fields ?? [];
@@ -8704,6 +8448,14 @@ var init_fieldPath = __esm({
8704
8448
  }
8705
8449
  });
8706
8450
 
8451
+ // ../blocks/src/system/manifest/fieldValidation/index.ts
8452
+ import { z as z8 } from "zod";
8453
+ var init_fieldValidation = __esm({
8454
+ "../blocks/src/system/manifest/fieldValidation/index.ts"() {
8455
+ "use strict";
8456
+ }
8457
+ });
8458
+
8707
8459
  // ../blocks/src/system/manifest/registry.ts
8708
8460
  function registerManifest(manifest) {
8709
8461
  manifestStore.set(manifest.name, manifest);
@@ -8720,62 +8472,11 @@ var init_registry = __esm({
8720
8472
  }
8721
8473
  });
8722
8474
 
8723
- // ../blocks/src/lib/typeGuards.ts
8724
- function isRecord2(value) {
8725
- return typeof value === "object" && value !== null && !Array.isArray(value);
8726
- }
8727
- function isObjectRecord(value) {
8728
- return typeof value === "object" && value !== null;
8729
- }
8730
- var init_typeGuards = __esm({
8731
- "../blocks/src/lib/typeGuards.ts"() {
8732
- "use strict";
8733
- }
8734
- });
8735
-
8736
8475
  // ../blocks/src/system/manifest/validation.ts
8737
8476
  import { z as z9 } from "zod";
8738
- var nullableString, internalLinkSchema, externalLinkSchema2, customLinkSchema2, pageLinkSchema2, entryLinkSchema2, linkSchema;
8739
8477
  var init_validation = __esm({
8740
8478
  "../blocks/src/system/manifest/validation.ts"() {
8741
8479
  "use strict";
8742
- nullableString = z9.union([z9.string().min(1), z9.null()]);
8743
- internalLinkSchema = z9.object({
8744
- kind: z9.literal("internal"),
8745
- routeId: z9.string().min(1),
8746
- entityId: z9.string().min(1).optional(),
8747
- entityType: z9.enum(["page", "content"]).optional(),
8748
- href: nullableString.optional(),
8749
- title: nullableString.optional(),
8750
- typeLabel: nullableString.optional(),
8751
- contentTypeKey: nullableString.optional(),
8752
- contentTypeName: nullableString.optional(),
8753
- updatedAt: nullableString.optional()
8754
- }).passthrough();
8755
- externalLinkSchema2 = z9.object({
8756
- kind: z9.literal("external"),
8757
- href: z9.string().min(1)
8758
- }).passthrough();
8759
- customLinkSchema2 = z9.object({
8760
- kind: z9.literal("url"),
8761
- href: z9.string().min(1)
8762
- }).passthrough();
8763
- pageLinkSchema2 = z9.object({
8764
- kind: z9.literal("page"),
8765
- identifier: z9.string().min(1)
8766
- }).passthrough();
8767
- entryLinkSchema2 = z9.object({
8768
- kind: z9.literal("entry"),
8769
- contentType: z9.string().min(1),
8770
- identifier: z9.string().min(1)
8771
- }).passthrough();
8772
- linkSchema = z9.union([
8773
- internalLinkSchema,
8774
- externalLinkSchema2,
8775
- customLinkSchema2,
8776
- pageLinkSchema2,
8777
- entryLinkSchema2
8778
- ]);
8779
8480
  }
8780
8481
  });
8781
8482
 
@@ -8792,6 +8493,7 @@ var init_manifest = __esm({
8792
8493
  "use strict";
8793
8494
  init_augmentManifest();
8794
8495
  init_fieldPath();
8496
+ init_fieldValidation();
8795
8497
  init_registry();
8796
8498
  init_schema2();
8797
8499
  init_validation();
@@ -9975,6 +9677,14 @@ var init_media2 = __esm({
9975
9677
  }
9976
9678
  });
9977
9679
 
9680
+ // ../theme-core/src/buttons/classNames.ts
9681
+ var init_classNames = __esm({
9682
+ "../theme-core/src/buttons/classNames.ts"() {
9683
+ "use strict";
9684
+ init_types4();
9685
+ }
9686
+ });
9687
+
9978
9688
  // ../theme-core/src/tokens/resolver.ts
9979
9689
  var init_resolver = __esm({
9980
9690
  "../theme-core/src/tokens/resolver.ts"() {
@@ -10114,6 +9824,7 @@ var init_generateButtonCss = __esm({
10114
9824
  "../theme-core/src/buttons/generateButtonCss.ts"() {
10115
9825
  "use strict";
10116
9826
  init_types4();
9827
+ init_classNames();
10117
9828
  init_resolver();
10118
9829
  init_generateEffectsCSS();
10119
9830
  init_constants();
@@ -10148,6 +9859,7 @@ var init_buttons = __esm({
10148
9859
  "../theme-core/src/buttons/index.ts"() {
10149
9860
  "use strict";
10150
9861
  init_types4();
9862
+ init_classNames();
10151
9863
  init_generateButtonCss();
10152
9864
  init_generateDefaultButtonSystem();
10153
9865
  init_constants();
@@ -19061,14 +18773,14 @@ var init_runtime = __esm({
19061
18773
  });
19062
18774
 
19063
18775
  // ../blocks/src/contracts/islands.ts
19064
- function isObjectRecord2(value) {
18776
+ function isObjectRecord(value) {
19065
18777
  return typeof value === "object" && value !== null;
19066
18778
  }
19067
18779
  function pickRecordKeys(source, keys) {
19068
18780
  return Object.fromEntries(keys.map((key) => [key, source[key]]));
19069
18781
  }
19070
18782
  function expectEncodedRecord(value, label) {
19071
- if (isObjectRecord2(value)) {
18783
+ if (isObjectRecord(value)) {
19072
18784
  return value;
19073
18785
  }
19074
18786
  throw new Error(`Expected ${label} codec to encode an object`);
@@ -19100,7 +18812,7 @@ function createInteractiveIslandCodec(options) {
19100
18812
  };
19101
18813
  },
19102
18814
  decode: (input) => {
19103
- if (!isObjectRecord2(input)) {
18815
+ if (!isObjectRecord(input)) {
19104
18816
  return decodeFailure([{ path: [], message: "Expected island props object" }]);
19105
18817
  }
19106
18818
  const metaResult = options.meta.decode(pickRecordKeys(input, options.metaKeys));
@@ -19112,7 +18824,7 @@ function createInteractiveIslandCodec(options) {
19112
18824
  });
19113
18825
  }
19114
18826
  const renderInput = input.render;
19115
- if (!isObjectRecord2(renderInput)) {
18827
+ if (!isObjectRecord(renderInput)) {
19116
18828
  renderIssues.push({
19117
18829
  path: ["render"],
19118
18830
  message: "Expected render object"
@@ -20564,6 +20276,19 @@ var init_media3 = __esm({
20564
20276
  }
20565
20277
  });
20566
20278
 
20279
+ // ../blocks/src/lib/typeGuards.ts
20280
+ function isRecord2(value) {
20281
+ return typeof value === "object" && value !== null && !Array.isArray(value);
20282
+ }
20283
+ function isObjectRecord2(value) {
20284
+ return typeof value === "object" && value !== null;
20285
+ }
20286
+ var init_typeGuards = __esm({
20287
+ "../blocks/src/lib/typeGuards.ts"() {
20288
+ "use strict";
20289
+ }
20290
+ });
20291
+
20567
20292
  // ../blocks/src/system/transforms/registry/content.ts
20568
20293
  import { z as z39 } from "zod";
20569
20294
  function getSiteName(context) {
@@ -31221,10 +30946,10 @@ function normalizeDataLoaders(def) {
31221
30946
  }
31222
30947
  function normalizeContent(block) {
31223
30948
  const source = block.draftContent ?? block.content ?? block.publishedContent ?? {};
31224
- if (!isObjectRecord(source)) return {};
30949
+ if (!isObjectRecord2(source)) return {};
31225
30950
  if ("data" in source) {
31226
30951
  const data = source.data;
31227
- if (isObjectRecord(data)) {
30952
+ if (isObjectRecord2(data)) {
31228
30953
  return data;
31229
30954
  }
31230
30955
  if (data === null || data === void 0) {
@@ -31363,7 +31088,7 @@ var init_prefetchBlockData = __esm({
31363
31088
 
31364
31089
  // ../blocks/src/system/data/normalizeLoaderParams.ts
31365
31090
  function toStringParams(value) {
31366
- if (!isObjectRecord(value)) return {};
31091
+ if (!isObjectRecord2(value)) return {};
31367
31092
  const out = {};
31368
31093
  for (const [k, v] of Object.entries(value)) {
31369
31094
  if (typeof v === "string") out[k] = v;
@@ -31436,6 +31161,264 @@ var init_data = __esm({
31436
31161
  }
31437
31162
  });
31438
31163
 
31164
+ // ../api/src/navigation/linkValue.ts
31165
+ var init_linkValue = __esm({
31166
+ "../api/src/navigation/linkValue.ts"() {
31167
+ "use strict";
31168
+ init_src();
31169
+ init_routableLink();
31170
+ }
31171
+ });
31172
+
31173
+ // ../api/src/navigation/matcher.ts
31174
+ var init_matcher = __esm({
31175
+ "../api/src/navigation/matcher.ts"() {
31176
+ "use strict";
31177
+ }
31178
+ });
31179
+
31180
+ // ../api/src/navigation.ts
31181
+ var init_navigation = __esm({
31182
+ "../api/src/navigation.ts"() {
31183
+ "use strict";
31184
+ init_envelope();
31185
+ init_error_propagation();
31186
+ init_navigationMenuValidation();
31187
+ init_linkResolver();
31188
+ init_routableLink();
31189
+ init_linkValue();
31190
+ init_matcher();
31191
+ }
31192
+ });
31193
+
31194
+ // ../api/src/navigation/visibility.ts
31195
+ var init_visibility = __esm({
31196
+ "../api/src/navigation/visibility.ts"() {
31197
+ "use strict";
31198
+ init_types2();
31199
+ init_isRecord();
31200
+ }
31201
+ });
31202
+
31203
+ // ../api/src/redirects.ts
31204
+ var init_redirects = __esm({
31205
+ "../api/src/redirects.ts"() {
31206
+ "use strict";
31207
+ init_envelope();
31208
+ init_error_propagation();
31209
+ }
31210
+ });
31211
+
31212
+ // ../api/src/billing.ts
31213
+ var init_billing = __esm({
31214
+ "../api/src/billing.ts"() {
31215
+ "use strict";
31216
+ init_envelope();
31217
+ init_error_propagation();
31218
+ }
31219
+ });
31220
+
31221
+ // ../api/src/aiPatch.ts
31222
+ var init_aiPatch = __esm({
31223
+ "../api/src/aiPatch.ts"() {
31224
+ "use strict";
31225
+ init_envelope();
31226
+ }
31227
+ });
31228
+
31229
+ // ../api/src/aiPlayground.ts
31230
+ import { z as z63 } from "zod";
31231
+ var Rfc6902PatchOp, PlaygroundProposeRequest, MultiPagePatchEnvelope, MultiPageUpdateResponse;
31232
+ var init_aiPlayground = __esm({
31233
+ "../api/src/aiPlayground.ts"() {
31234
+ "use strict";
31235
+ Rfc6902PatchOp = z63.discriminatedUnion("op", [
31236
+ // Standard RFC-6902 operations
31237
+ z63.object({
31238
+ op: z63.literal("add"),
31239
+ path: z63.string(),
31240
+ value: z63.unknown()
31241
+ }),
31242
+ z63.object({
31243
+ op: z63.literal("remove"),
31244
+ path: z63.string()
31245
+ }),
31246
+ z63.object({
31247
+ op: z63.literal("replace"),
31248
+ path: z63.string(),
31249
+ value: z63.unknown()
31250
+ }),
31251
+ z63.object({
31252
+ op: z63.literal("move"),
31253
+ from: z63.string(),
31254
+ path: z63.string()
31255
+ }),
31256
+ z63.object({
31257
+ op: z63.literal("copy"),
31258
+ from: z63.string(),
31259
+ path: z63.string()
31260
+ }),
31261
+ // Block-level operations (Phase 2)
31262
+ z63.object({
31263
+ op: z63.literal("add_block"),
31264
+ blockKind: z63.string(),
31265
+ afterBlockId: z63.string().nullable(),
31266
+ content: z63.record(z63.string(), z63.unknown()),
31267
+ rationale: z63.string()
31268
+ }),
31269
+ z63.object({
31270
+ op: z63.literal("delete_block"),
31271
+ blockId: z63.string(),
31272
+ rationale: z63.string()
31273
+ }),
31274
+ z63.object({
31275
+ op: z63.literal("reorder_block"),
31276
+ blockId: z63.string(),
31277
+ afterBlockId: z63.string().nullable(),
31278
+ rationale: z63.string()
31279
+ })
31280
+ ]);
31281
+ PlaygroundProposeRequest = z63.object({
31282
+ request: z63.string().min(1).max(2e3)
31283
+ });
31284
+ MultiPagePatchEnvelope = z63.object({
31285
+ pageId: z63.string(),
31286
+ blockId: z63.string().optional(),
31287
+ // Not present for page-level ops
31288
+ blockKind: z63.string().optional(),
31289
+ blockPurpose: z63.string().optional().nullable(),
31290
+ ops: z63.array(Rfc6902PatchOp),
31291
+ rationale: z63.string(),
31292
+ currentContent: z63.record(z63.string(), z63.unknown()).optional()
31293
+ });
31294
+ MultiPageUpdateResponse = z63.object({
31295
+ patches: z63.array(MultiPagePatchEnvelope),
31296
+ assistantMessage: z63.string(),
31297
+ pagesModified: z63.number(),
31298
+ toolCallsUsed: z63.number()
31299
+ });
31300
+ }
31301
+ });
31302
+
31303
+ // ../api/src/seo.ts
31304
+ var init_seo = __esm({
31305
+ "../api/src/seo.ts"() {
31306
+ "use strict";
31307
+ init_envelope();
31308
+ }
31309
+ });
31310
+
31311
+ // ../api/src/performance.ts
31312
+ var init_performance = __esm({
31313
+ "../api/src/performance.ts"() {
31314
+ "use strict";
31315
+ init_envelope();
31316
+ }
31317
+ });
31318
+
31319
+ // ../api/src/contentTypes.ts
31320
+ var init_contentTypes = __esm({
31321
+ "../api/src/contentTypes.ts"() {
31322
+ "use strict";
31323
+ init_envelope();
31324
+ init_error_propagation();
31325
+ }
31326
+ });
31327
+
31328
+ // ../api/src/domains.ts
31329
+ var init_domains = __esm({
31330
+ "../api/src/domains.ts"() {
31331
+ "use strict";
31332
+ init_envelope();
31333
+ init_error_propagation();
31334
+ }
31335
+ });
31336
+
31337
+ // ../api/src/admin.ts
31338
+ var init_admin = __esm({
31339
+ "../api/src/admin.ts"() {
31340
+ "use strict";
31341
+ init_envelope();
31342
+ init_error_propagation();
31343
+ }
31344
+ });
31345
+
31346
+ // ../api/src/auth.ts
31347
+ var init_auth = __esm({
31348
+ "../api/src/auth.ts"() {
31349
+ "use strict";
31350
+ init_request();
31351
+ init_envelope();
31352
+ init_error_propagation();
31353
+ }
31354
+ });
31355
+
31356
+ // ../api/src/index.ts
31357
+ var init_src3 = __esm({
31358
+ "../api/src/index.ts"() {
31359
+ "use strict";
31360
+ init_endpoints();
31361
+ init_media();
31362
+ init_contracts();
31363
+ init_contracts2();
31364
+ init_sdkContracts();
31365
+ init_incrementalJson();
31366
+ init_launchReadiness();
31367
+ init_url();
31368
+ init_envelope();
31369
+ init_request();
31370
+ init_env();
31371
+ init_bookingRefundOutcomes();
31372
+ init_customerMembershipOutcomes();
31373
+ init_bookingVerticals();
31374
+ init_appointmentSetup();
31375
+ init_bookings();
31376
+ init_cache_tags();
31377
+ init_streamReader();
31378
+ init_siteAnalytics();
31379
+ init_types2();
31380
+ init_eventAttendanceLabels();
31381
+ init_siteBanner();
31382
+ init_siteOnboarding();
31383
+ init_privacyPolicy();
31384
+ init_analytics();
31385
+ init_publicProducts();
31386
+ init_contentEntries();
31387
+ init_blocks();
31388
+ init_blocksKeys();
31389
+ init_contentKeys();
31390
+ init_pages();
31391
+ init_routes();
31392
+ init_bookings();
31393
+ init_emailSettings();
31394
+ init_eventEmailTemplates();
31395
+ init_resources();
31396
+ init_services();
31397
+ init_availability();
31398
+ init_calendar();
31399
+ init_navigation();
31400
+ init_navigationMenuValidation();
31401
+ init_routableLink();
31402
+ init_linkResolver();
31403
+ init_matcher();
31404
+ init_visibility();
31405
+ init_linkValue();
31406
+ init_redirects();
31407
+ init_billing();
31408
+ init_aiPatch();
31409
+ init_aiPlayground();
31410
+ init_seo();
31411
+ init_performance();
31412
+ init_contentTypes();
31413
+ init_analytics();
31414
+ init_siteMembers();
31415
+ init_domains();
31416
+ init_admin();
31417
+ init_auth();
31418
+ init_types2();
31419
+ }
31420
+ });
31421
+
31439
31422
  // src/data/prefetchBlockData.ts
31440
31423
  function isSupportedLoaderEndpoint(endpoint) {
31441
31424
  return SUPPORTED_LOADER_ENDPOINTS2.includes(endpoint);