riverbankcms 0.40.0 → 0.40.1

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Cr as unsafeAsStoragePath, Ct as isPresent, Nn as mapReadonlyNonEmptyArray, Nr as unsafeAsPageSurfaceId, Ot as BOOKING_COURSE_INSTALMENT_DEADLINES, S as resolveSiteVerticalBookingConfig, Sr as unsafeAsStorageBucketName, T as ORDINARY_EVENT_PRESET_VALUES, Un as assertNever$6, Wr as unsafeAsEventCategoryId, X as parseConfiguredMailingListProvider, Xr as ok$2, Yn as unsafeAsContentEntryId, Yr as err$1, Z as parseMailingListGlobalForm, _ as NAVIGATION_LOCATIONS, _n as parseBookingTimeZone, _t as locationValueSchema, a as isRecord$8, br as unsafeAsSafeDownloadFilename, fn as parseUtcIsoDateTimeString, fr as parseMediaAssetId, ft as SENSITIVE_COLLECTION_MODES, kt as validateBookingPaymentOptionKinds, ln as localScheduleTimePattern, lt as parsePublicContactDetails, n as OFFLINE_PAYMENT_METHODS, ot as isCanonicalRichTextDoc, t as isEventOccurrenceRouteSegment, tt as parseFooterCompositionV1, u as STAFF_OPERATIONAL_CAPABILITIES, ut as parseWeeklyOpeningHours, vr as unsafeAsPositiveByteCount, w as EVENT_PRESET_VALUES, yr as unsafeAsPositiveSeconds } from "./src-C5150tVc.mjs";
2
+ import { Ct as isPresent, Jr as err$1, Mr as unsafeAsPageSurfaceId, Nn as mapReadonlyNonEmptyArray, Ot as BOOKING_COURSE_INSTALMENT_DEADLINES, S as resolveSiteVerticalBookingConfig, Sr as unsafeAsStoragePath, T as ORDINARY_EVENT_PRESET_VALUES, Un as assertNever$6, Ur as unsafeAsEventCategoryId, X as parseConfiguredMailingListProvider, Yr as ok$2, Z as parseMailingListGlobalForm, _ as NAVIGATION_LOCATIONS, _n as parseBookingTimeZone, _r as unsafeAsPositiveByteCount, _t as locationValueSchema, a as isRecord$8, dr as parseMediaAssetId, fn as parseUtcIsoDateTimeString, ft as SENSITIVE_COLLECTION_MODES, kt as validateBookingPaymentOptionKinds, ln as localScheduleTimePattern, lt as parsePublicContactDetails, n as OFFLINE_PAYMENT_METHODS, ot as isCanonicalRichTextDoc, t as isEventOccurrenceRouteSegment, tt as parseFooterCompositionV1, u as STAFF_OPERATIONAL_CAPABILITIES, ut as parseWeeklyOpeningHours, vr as unsafeAsPositiveSeconds, w as EVENT_PRESET_VALUES, xr as unsafeAsStorageBucketName, yr as unsafeAsSafeDownloadFilename } from "./src-oeP1NG4L.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import { z } from "zod";
5
5
  // \0rolldown/runtime.js
@@ -601,7 +601,9 @@ const bookingPageLookIdValues = [
601
601
  "site-style:poster",
602
602
  "site-style:loom",
603
603
  "site-style:brook",
604
- "site-style:poise"
604
+ "site-style:poise",
605
+ "site-style:press",
606
+ "site-style:vista"
605
607
  ];
606
608
  /** Boundary admission for draft and suggestion inputs. */
607
609
  function parseBookingPageLookId(value) {
@@ -2448,8 +2450,9 @@ const sdkEntrySlotBlocksInputSchema = createSdkEntrySlotBlocksInputSchema();
2448
2450
  // ../content-model/src/page-sections/types.ts
2449
2451
  /**
2450
2452
  * Page sections (#1703): owner-defined, structured sections on a subject's
2451
- * pages. A definition says what a section is (its heading, what goes in it)
2452
- * and where it applies. The values live in each page's own content.
2453
+ * pages. A definition says what a section is (its heading, what goes in it),
2454
+ * where it applies and where its words come from. Words written per page live
2455
+ * in each page's own content; shared words live on the definition.
2453
2456
  */
2454
2457
  const BODY_SECTION_KINDS = [
2455
2458
  "list",
@@ -2518,18 +2521,9 @@ const applicabilitySchema = z.discriminatedUnion("subject", [
2518
2521
  }).strict()
2519
2522
  ]);
2520
2523
  z.object({
2521
- id: pageSectionIdSchema,
2522
- label: sectionLabelSchema,
2523
- hint: sectionHintSchema,
2524
- shape: sectionShapeSchema,
2525
- applicability: applicabilitySchema,
2526
- position: z.number().int().nonnegative(),
2527
- state: z.discriminatedUnion("kind", [z.object({ kind: z.literal("active") }).strict(), z.object({
2528
- kind: z.literal("archived"),
2529
- archivedAt: z.string()
2530
- }).strict()])
2524
+ kind: z.literal("sharedSectionSwitch"),
2525
+ shown: z.boolean()
2531
2526
  }).strict();
2532
- // ../content-model/src/page-sections/values.ts
2533
2527
  /**
2534
2528
  * The most a section of each list-like kind can hold: how many items, and how
2535
2529
  * long each piece of text can be. They're the one source for these limits.
@@ -2606,7 +2600,8 @@ function findSectionLimitBreach(value) {
2606
2600
  }
2607
2601
  const richTextDocSchema$1 = z.custom(isCanonicalRichTextDoc, { message: "Expected a rich text document" });
2608
2602
  const mediaValueSchema = z.object({ identifier: z.string().trim().min(1) }).passthrough();
2609
- z.discriminatedUnion("kind", [
2603
+ /** A value that can be stored: the right shape, and within `SECTION_VALUE_LIMITS`. */
2604
+ const sectionValueSchema = z.discriminatedUnion("kind", [
2610
2605
  z.object({
2611
2606
  kind: z.literal("choice"),
2612
2607
  value: factTextSchema
@@ -2659,17 +2654,61 @@ z.discriminatedUnion("kind", [
2659
2654
  params: { breach }
2660
2655
  });
2661
2656
  });
2657
+ function parseSectionValue(value) {
2658
+ const parsed = z.safeParse(sectionValueSchema, value);
2659
+ return parsed.success ? parsed.data : null;
2660
+ }
2661
+ function isBodySectionValue(value) {
2662
+ return value.kind !== "choice" && value.kind !== "shortText";
2663
+ }
2664
+ function parseBodySectionValue(value) {
2665
+ const parsed = parseSectionValue(value);
2666
+ return parsed && isBodySectionValue(parsed) ? parsed : null;
2667
+ }
2662
2668
  Object.freeze({
2663
2669
  [Symbol("applicable-sections")]: true,
2664
2670
  sections: []
2665
2671
  });
2672
+ // ../content-model/src/page-sections/sharedWords.ts
2673
+ const EACH_PAGE_WORDS = { source: "eachPage" };
2674
+ /**
2675
+ * Shared words as they cross a boundary. The input stays open, as it does for
2676
+ * page content, so the schema can describe itself to the assistant's tools.
2677
+ */
2678
+ const sharedWordsValueSchema = z.unknown().transform((value, ctx) => {
2679
+ const parsed = parseBodySectionValue(value);
2680
+ if (parsed) return parsed;
2681
+ ctx.addIssue({
2682
+ code: "custom",
2683
+ message: "Expected the words of a section"
2684
+ });
2685
+ return z.NEVER;
2686
+ });
2687
+ const sectionWordsSchema = z.discriminatedUnion("source", [z.object({ source: z.literal("eachPage") }).strict(), z.object({
2688
+ source: z.literal("shared"),
2689
+ value: sharedWordsValueSchema
2690
+ }).strict()]);
2691
+ z.object({
2692
+ id: pageSectionIdSchema,
2693
+ label: sectionLabelSchema,
2694
+ hint: sectionHintSchema,
2695
+ shape: sectionShapeSchema,
2696
+ words: sectionWordsSchema.default(EACH_PAGE_WORDS),
2697
+ applicability: applicabilitySchema,
2698
+ position: z.number().int().nonnegative(),
2699
+ state: z.discriminatedUnion("kind", [z.object({ kind: z.literal("active") }).strict(), z.object({
2700
+ kind: z.literal("archived"),
2701
+ archivedAt: z.string()
2702
+ }).strict()])
2703
+ }).strict();
2666
2704
  // ../content-model/src/page-sections/commands.ts
2667
2705
  const subjectSchema = z.enum(SECTION_SUBJECTS);
2668
2706
  const updateSchema = z.object({
2669
2707
  label: sectionLabelSchema.optional(),
2670
2708
  hint: sectionHintSchema.optional(),
2671
2709
  applicability: z.optional(applicabilitySchema),
2672
- shape: z.optional(sectionShapeSchema)
2710
+ shape: z.optional(sectionShapeSchema),
2711
+ sharedWords: sharedWordsValueSchema.optional()
2673
2712
  }).strict().refine((changes) => Object.values(changes).some((value) => value !== void 0), { message: "Name at least one change" });
2674
2713
  const orderSchema = z.array(pageSectionIdSchema).min(1).max(200).transform((ids, ctx) => {
2675
2714
  const unique = toNonEmptyUnique(ids);
@@ -2687,7 +2726,8 @@ z.discriminatedUnion("kind", [
2687
2726
  label: sectionLabelSchema,
2688
2727
  hint: sectionHintSchema.default(null),
2689
2728
  shape: sectionShapeSchema,
2690
- applicability: applicabilitySchema
2729
+ applicability: applicabilitySchema,
2730
+ sharedWords: sharedWordsValueSchema.optional()
2691
2731
  }).strict(),
2692
2732
  z.object({
2693
2733
  kind: z.literal("update"),
@@ -2713,13 +2753,10 @@ z.discriminatedUnion("kind", [
2713
2753
  ]);
2714
2754
  // ../content-model/src/page-sections/confirmation.ts
2715
2755
  const uuid = z.string().uuid();
2716
- const sectionOwnerRefSchema = z.discriminatedUnion("kind", [z.object({
2756
+ const sectionOwnerRefSchema = z.object({
2717
2757
  kind: z.literal("pageSurface"),
2718
2758
  pageSurfaceId: uuid.transform(unsafeAsPageSurfaceId)
2719
- }).strict(), z.object({
2720
- kind: z.literal("contentEntry"),
2721
- contentEntryId: uuid.transform(unsafeAsContentEntryId)
2722
- }).strict()]);
2759
+ }).strict();
2723
2760
  /** B’s live-page effects, shared by every prepare/apply transport and review. */
2724
2761
  const pageSectionPageEffectSchema = z.enum([
2725
2762
  "appears",
@@ -2771,6 +2808,24 @@ const setEventPageContentCommandSchema = z.object({
2771
2808
  publish: z.boolean().default(false)
2772
2809
  }).strict()
2773
2810
  }).strict();
2811
+ /**
2812
+ * A team member's own page (#1901): the person's page surface, found by their
2813
+ * staff ref, gets the same save and publish as an event's. Fields the command
2814
+ * leaves out keep what's stored.
2815
+ */
2816
+ const setTeamMemberPageContentCommandSchema = z.object({
2817
+ type: z.literal("setTeamMemberPageContent"),
2818
+ ref: commandRefSchema,
2819
+ input: z.object({
2820
+ staffMemberRef: staffRefSchema,
2821
+ intro: z.string().optional(),
2822
+ /** Rich text, as the page editor stores it. */
2823
+ bio: unknownRecordSchema.optional(),
2824
+ specialties: z.string().optional(),
2825
+ sections: pageSectionValuesSchema.default({}),
2826
+ publish: z.boolean().default(false)
2827
+ }).strict()
2828
+ }).strict();
2774
2829
  /** Looks live on the full-page template's anchor, not the definition; null follows the site style. */
2775
2830
  const setPageSectionLookCommandSchema = z.object({
2776
2831
  type: z.literal("setPageSectionLook"),
@@ -2807,6 +2862,19 @@ const pageSectionCommandMetadata = {
2807
2862
  capability: "content.entries.write",
2808
2863
  support: "supported"
2809
2864
  },
2865
+ setTeamMemberPageContent: {
2866
+ scope: "content",
2867
+ risk: "medium",
2868
+ writeSemantics: "patch",
2869
+ lifecycleIntent: "mutation",
2870
+ idempotencyStrategy: "recipe_ref",
2871
+ conflictPolicy: "update_existing",
2872
+ previewability: "dry_run_only",
2873
+ allowedRuntimes: allRuntimes,
2874
+ intendedExposure: recipeExposure,
2875
+ capability: "content.entries.write",
2876
+ support: "supported"
2877
+ },
2810
2878
  setPageSectionLook: {
2811
2879
  scope: "content",
2812
2880
  risk: "medium",
@@ -29967,6 +30035,31 @@ const componentShadowSchema = z.object({ elevation: z.enum([
29967
30035
  "xl",
29968
30036
  "2xl"
29969
30037
  ]).default("sm") });
30038
+ // ../site-contracts/src/theme/sectionTreatment.ts
30039
+ const textureFinishSchema = z.enum([
30040
+ "paper-grain",
30041
+ "handmade-paper",
30042
+ "plaster"
30043
+ ]);
30044
+ const toneFinishSchema = z.discriminatedUnion("kind", [
30045
+ z.object({
30046
+ kind: z.literal("shading"),
30047
+ direction: z.enum(["darker-towards-foot", "lighter-from-top"])
30048
+ }).strict(),
30049
+ z.object({
30050
+ kind: z.literal("glow"),
30051
+ colour: themeColorTokenSchema,
30052
+ position: z.enum(["side", "middle"])
30053
+ }).strict(),
30054
+ z.object({
30055
+ kind: z.literal("gradient"),
30056
+ colour: themeColorTokenSchema
30057
+ }).strict()
30058
+ ]);
30059
+ const sectionTreatmentSchema = z.object({
30060
+ texture: z.union([z.enum(["auto", "off"]), textureFinishSchema]),
30061
+ tone: z.union([z.enum(["auto", "off"]), toneFinishSchema])
30062
+ }).strict();
29970
30063
  // ../site-contracts/src/siteStyle/footerPreferences.ts
29971
30064
  const footerEdgeIntentValues = [
29972
30065
  "soft-fade-short",
@@ -29994,8 +30087,27 @@ const footerEdgePreferenceSchema = z.discriminatedUnion("kind", [
29994
30087
  id: z.enum(footerEdgeIntentValues)
29995
30088
  })
29996
30089
  ]);
29997
- const footerPreferencesSchema = z.strictObject({ edge: footerEdgePreferenceSchema });
29998
- z.strictObject({ edge: footerEdgePreferenceSchema });
30090
+ const footerAreaColourSchema = z.discriminatedUnion("kind", [z.strictObject({
30091
+ kind: z.literal("ground"),
30092
+ name: z.string().min(1).max(80)
30093
+ }), z.strictObject({
30094
+ kind: z.literal("colour"),
30095
+ token: themeColorTokenSchema.refine((token) => !token.includes("/"), "A footer area takes a solid colour")
30096
+ })]);
30097
+ const footerSideAreaChoiceSchema = z.strictObject({ colour: footerAreaColourSchema });
30098
+ const footerAreaChoicesSchema = z.strictObject({
30099
+ band: footerSideAreaChoiceSchema.optional(),
30100
+ main: z.strictObject({
30101
+ colour: footerAreaColourSchema.optional(),
30102
+ treatment: sectionTreatmentSchema.optional()
30103
+ }).optional(),
30104
+ strip: footerSideAreaChoiceSchema.optional(),
30105
+ base: footerSideAreaChoiceSchema.optional()
30106
+ });
30107
+ const footerPreferencesSchema = z.strictObject({
30108
+ edge: footerEdgePreferenceSchema,
30109
+ areas: footerAreaChoicesSchema.optional()
30110
+ });
29999
30111
  // ../media-core/src/fileSafety.ts
30000
30112
  const CONTROL_CHARACTER_PATTERN = /[\u0000-\u001f\u007f]/u;
30001
30113
  function containsUnsafePathSegmentCharacter(value) {
@@ -31495,30 +31607,6 @@ const accordionIconTreatmentSchema = z.object({
31495
31607
  openColorToken: z.enum(accordionIconColorTokenValues).optional(),
31496
31608
  motion: z.enum(accordionIconMotionValues)
31497
31609
  });
31498
- const textureFinishSchema = z.enum([
31499
- "paper-grain",
31500
- "handmade-paper",
31501
- "plaster"
31502
- ]);
31503
- const toneFinishSchema = z.discriminatedUnion("kind", [
31504
- z.object({
31505
- kind: z.literal("shading"),
31506
- direction: z.enum(["darker-towards-foot", "lighter-from-top"])
31507
- }).strict(),
31508
- z.object({
31509
- kind: z.literal("glow"),
31510
- colour: themeColorTokenSchema,
31511
- position: z.enum(["side", "middle"])
31512
- }).strict(),
31513
- z.object({
31514
- kind: z.literal("gradient"),
31515
- colour: themeColorTokenSchema
31516
- }).strict()
31517
- ]);
31518
- const sectionTreatmentSchema = z.object({
31519
- texture: z.union([z.enum(["auto", "off"]), textureFinishSchema]),
31520
- tone: z.union([z.enum(["auto", "off"]), toneFinishSchema])
31521
- }).strict();
31522
31610
  const sectionStylesOverrideSchema = z.object({
31523
31611
  ground: z.object({ name: z.string().min(1) }).strict().nullable().optional(),
31524
31612
  treatment: sectionTreatmentSchema.nullable().optional(),
@@ -31837,11 +31925,29 @@ const footerBandPaintSchema = z.object({
31837
31925
  textColor: themeColorTokenSchema.optional()
31838
31926
  });
31839
31927
  /**
31928
+ * The texture and colour change an owner gave the main area, with the strengths
31929
+ * the style allows. The colours are worked out from the palette at render.
31930
+ */
31931
+ const footerMainFinishSchema = z.object({
31932
+ paint: z.object({
31933
+ texture: textureFinishSchema.optional(),
31934
+ tone: toneFinishSchema.optional()
31935
+ }).strict(),
31936
+ offers: z.object({
31937
+ textures: z.partialRecord(textureFinishSchema, z.number()),
31938
+ tones: z.partialRecord(z.enum([
31939
+ "shading",
31940
+ "glow",
31941
+ "gradient"
31942
+ ]), z.number())
31943
+ }).strict()
31944
+ }).strict();
31945
+ /**
31840
31946
  * The footer's areas. `main` is the footer's own ground; an unpainted area
31841
31947
  * (`null`) sits on it under a hairline rule.
31842
31948
  */
31843
31949
  const footerBandsSchema = z.object({
31844
- main: footerBandPaintSchema,
31950
+ main: footerBandPaintSchema.extend({ finish: footerMainFinishSchema.optional() }),
31845
31951
  band: footerBandPaintSchema.nullable(),
31846
31952
  strip: footerBandPaintSchema.nullable(),
31847
31953
  base: footerBandPaintSchema.nullable()
@@ -33108,7 +33214,13 @@ const upsertStaffMemberCommandSchema = z.object({
33108
33214
  shortBio: z.string().optional(),
33109
33215
  avatarRef: mediaRefSchema.nullable().optional(),
33110
33216
  timezone: z.string().min(1).optional(),
33111
- publicVisibility: z.enum(["hidden", "visible"]).optional()
33217
+ publicVisibility: z.enum(["hidden", "visible"]).optional(),
33218
+ /** Whether the person's page shows on a website (#1901). Left out, a new person follows the headcount rule. */
33219
+ websitePage: z.enum([
33220
+ "automatic",
33221
+ "shown",
33222
+ "hidden"
33223
+ ]).optional()
33112
33224
  }).strict()
33113
33225
  }).strict();
33114
33226
  const upsertVenueCommandSchema = z.object({
@@ -33200,26 +33312,12 @@ const deleteEventSeriesCommandSchema = z.object({
33200
33312
  eventRef: eventSeriesRefSchema.optional()
33201
33313
  }).strict()
33202
33314
  }).strict();
33203
- const ensureTeamMemberProfileCommandSchema = z.object({
33204
- type: z.literal("ensureTeamMemberProfile"),
33205
- ref: contentEntryRefSchema,
33206
- input: z.object({
33207
- staffMemberRef: staffRefSchema,
33208
- contentTypeKey: z.literal("team-member").default("team-member"),
33209
- title: z.string().min(1),
33210
- slug: z.string().min(1),
33211
- draftContent: unknownRecordSchema.optional(),
33212
- /** Quick fact answers, seeded with the draft content and kept with it. */
33213
- sections: pageSectionValuesSchema.optional(),
33214
- seedDraftContent: z.enum(["when_created", "never"]).default("when_created"),
33215
- publish: z.boolean().optional()
33216
- }).strict()
33217
- }).strict();
33218
33315
  const siteCommandSchema = z.discriminatedUnion("type", [
33219
33316
  upsertCourseOfferingCommandSchema,
33220
33317
  upsertGiftingOfferCommandSchema,
33221
33318
  upsertPageSectionDefinitionCommandSchema,
33222
33319
  setEventPageContentCommandSchema,
33320
+ setTeamMemberPageContentCommandSchema,
33223
33321
  setPageSectionLookCommandSchema,
33224
33322
  changeBookingQuestionsCommandSchema,
33225
33323
  configureSiteIdentityCommandSchema,
@@ -33244,7 +33342,6 @@ const siteCommandSchema = z.discriminatedUnion("type", [
33244
33342
  unpublishContentEntryCommandSchema,
33245
33343
  deleteContentEntryCommandSchema,
33246
33344
  upsertStaffMemberCommandSchema,
33247
- ensureTeamMemberProfileCommandSchema,
33248
33345
  upsertVenueCommandSchema,
33249
33346
  deleteVenueCommandSchema,
33250
33347
  upsertEventCategoryCommandSchema,
@@ -33329,7 +33426,6 @@ function getSiteCommandMetadata(type) {
33329
33426
  return siteCommandMetadata[type];
33330
33427
  }
33331
33428
  function getSiteCommandLifecycleIntent(command) {
33332
- if (command.type === "ensureTeamMemberProfile") return command.input.publish === true ? "publish" : "mutation";
33333
33429
  return getSiteCommandMetadata(command.type).lifecycleIntent;
33334
33430
  }
33335
33431
  // ../site-commands/src/metadata.ts
@@ -33634,19 +33730,6 @@ const siteCommandMetadata = {
33634
33730
  capability: "bookings.staff.write",
33635
33731
  support: "supported"
33636
33732
  },
33637
- ensureTeamMemberProfile: {
33638
- scope: "content",
33639
- risk: "medium",
33640
- writeSemantics: "upsert",
33641
- lifecycleIntent: "mutation",
33642
- idempotencyStrategy: "recipe_ref",
33643
- conflictPolicy: "update_existing",
33644
- previewability: "dry_run_only",
33645
- allowedRuntimes: allRuntimes,
33646
- intendedExposure: recipeExposure,
33647
- capability: "team_members.profile.write",
33648
- support: "supported"
33649
- },
33650
33733
  upsertVenue: {
33651
33734
  scope: "venue",
33652
33735
  risk: "medium",
@@ -34280,6 +34363,16 @@ function commandRefContributions(command) {
34280
34363
  field: `input.sections.${ref}`
34281
34364
  }))]
34282
34365
  };
34366
+ case "setTeamMemberPageContent": return {
34367
+ provides: [],
34368
+ requires: [{
34369
+ ref: command.input.staffMemberRef,
34370
+ field: "input.staffMemberRef"
34371
+ }, ...Object.keys(command.input.sections).map((ref) => ({
34372
+ ref,
34373
+ field: `input.sections.${ref}`
34374
+ }))]
34375
+ };
34283
34376
  case "setPageSectionLook": return {
34284
34377
  provides: [],
34285
34378
  requires: [{
@@ -34337,19 +34430,6 @@ function commandRefContributions(command) {
34337
34430
  provides: [],
34338
34431
  requires: optionalRef(command.input.eventRef, "input.eventRef")
34339
34432
  };
34340
- case "ensureTeamMemberProfile": return {
34341
- provides: [{
34342
- ref: command.ref,
34343
- field: "ref"
34344
- }],
34345
- requires: [{
34346
- ref: command.input.staffMemberRef,
34347
- field: "input.staffMemberRef"
34348
- }, ...Object.keys(command.input.sections ?? {}).map((ref) => ({
34349
- ref,
34350
- field: `input.sections.${ref}`
34351
- }))]
34352
- };
34353
34433
  case "upsertBlockTree": return {
34354
34434
  provides: [{
34355
34435
  ref: command.ref,
@@ -35422,4 +35502,4 @@ function classifySdkEventTiming(input, options = {}) {
35422
35502
  issues: schedule.issues.map((issue) => timingIssue(["schedule", ...issue.path], issue.message))
35423
35503
  };
35424
35504
  }
35425
- export { collectPortableMediaReferencesFromContent as $, pageLinkSchema as $n, __toESM as $r, BUTTON_STYLE_IDS as $t, parseSiteChromeBackgroundColorToken as A, changeBookingQuestionsInputSchema as An, asDesignSystemTemplateId as Ar, resolveVideoSelectionIntentForMediaField as At, headerPositioningValues as B, sanitizeHref as Bn, createCommandRef as Br, parseSafeDownloadFilename as Bt, blockOrderIdentifiersForCommand as C, paletteColorEntries as Cn, asAppearancePresetId as Cr, mediaIdentifierSchema as Ct, pagePathForCommand as D, paletteTokenNameSchema as Dn, asDesignBlockId as Dr, resolveMediaIdentifier as Dt, pageIdentifierForCommand as E, paletteModeSchema as En, asBoundaryOptionId as Er, parseMediaIdentifier as Et, defaultHeaderBrandPresentation as F, eventCommandScheduleSchema as Fn, compareEntrySlug as Fr, parseRelativeStoragePath as Ft, headerVariantValues as G, customLinkSchema as Gn, createFormRef as Gr, accordionIconSchema as Gt, sectionTreatmentSchema as H, validateEntryInstance as Hn, createEventCategoryRef as Hr, footerPreferencesSchema as Ht, defaultHeaderBrandPreferences as I, sdkEntrySlotBlocksInputSchema as In, bookingQuestionAttachmentSchema as Ir, FILE_SIZE_LIMITS as It, blockCustomCssRuleSchema as J, internalLinkSchema as Jn, createSiteCommandSiteRef as Jr, cardRoleValues as Jt, headerInteractionPaletteValues as K, entryLinkSchema as Kn, createNavigationRef as Kr, boxlessCardVariantValue as Kt, footerModeSchema as L, RichTextDocSchema as Ln, ianaTimezoneSchema as Lr, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as Lt, parseBackgroundAppearanceColorToken as M, eventBookingOfferIntentSchema as Mn, asPageFlowPresetId as Mr, getMimeType as Mt, defaultHeaderPreferences as N, bookingPaymentCollectionOptionSchema as Nn, asSiteStyleId as Nr, asRecord as Nt, hasConfiguredBookingVertical as O, parseColorTokenParts as On, asDesignBoundaryId as Or, slugifyMediaIdentifier as Ot, defaultHeaderNavPreferences as P, bookingPaymentTermsSchema as Pn, makeBoundaryId as Pr, normalizeAmbiguousStoragePathForSite as Pt, runtimeBoxBackgroundSchema as Q, linkSchema as Qn, __commonJSMin as Qr, surfaceCardRoleValues as Qt, cardStylesOverrideSchema as R, isRichTextDoc as Rn, createBlockRef as Rr, classifyKnownMimeType as Rt, blockIdentifierForCommand as S, normalizePaletteHex as Sn, visibleHeadingDecorationFamilyValues as Sr, mediaTypeDiscriminants as St, pageIdentifierForBlockCommand as T, paletteColorsSchema as Tn, asBlockOrderIndex as Tr, parseCanonicalMediaIdentifier as Tt, themeSchema as U, findUnfilledSentinels as Un, createEventSeriesRef as Ur, fontWidthFits as Ut, sectionStylesOverrideSchema as V, buildEntryScaffold as Vn, createContentEntryRef as Vr, defaultFooterPreferences as Vt, skinBookingBarSchema as W, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Wn, createFooterRef as Wr, getFontWidthRange as Wt, boxBackgroundOverlaySchema as X, internalRouteOnlyLinkSchema as Xn, refSlug as Xr, itemRoleValues as Xt, customCssRuleSchema as Y, internalResolvedLinkSchema as Yn, createVenueRef as Yr, cardVariantRoleValues as Yt, boxBackgroundSchema as Z, isResolvedInternalLinkEntityType as Zn, slugPart as Zr, openCardRoleValue as Zt, mapEventCommandContent as _, PALETTE_TOKEN_NAMES as _n, eventListTreatmentValues as _r, videoMediaSchema as _t, classifySdkEventSchedule as a, squareOutlineParametersSchema as an, asHeaderLayoutId as ar, normalizeWidthCandidates as at, getSiteCommandMetadata as b, hexColorSchema as bn, isArrangementMode as br, PUBLIC_FILE_FIELD_KINDS as bt, isEventVisibility as c, buttonSystemSchema as cn, footerLookIdValues as cr, resolveMediaTransformForAspect as ct, venueManagementFields as d, opaqueButtonColourTokenSchema as dn, pageDesignEditorBackgroundOverrideOwner as dr, getImageUrl as dt, buttonStyleSelectionSchema as en, ICON_PICKER_PRESETS as er, summarizePortableMediaReferences as et, sortRecord as f, parseOpaqueButtonColourToken as fn, parseBookingPageLookId as fr, isSiteScopedDirectImageStoragePath as ft, resolveEventSeriesWaitlistMapping as g, parseButtonPartValue as gn, arrangementModes as gr, runtimeMediaSchema as gt, parseAndPlanCommandBatchForTypes as h, isFreeButtonRadius as hn, VARIANT_ROLES as hr, persistableMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, quietArrowParametersSchema as in, asFooterLookId as ir, rotateNormalizedPoint as it, backgroundAppearanceColorTokenNames as j, require_dist as jn, asLayoutVariantKey as jr, getExtensionForMimeType as jt, headerPreferencesSchema as k, parseThemeColorToken as kn, asDesignPageId as kr, deriveVideoSlotPolicy as kt, resolvePageUpsertSeo as l, buttonVariantIdSchema as ln, headerLayoutIdValues as lr, getDirectImageUrlForRelativePath as lt, createDryRunReport as m, buttonKeyframesSchema as mn, SYSTEM_BLOCK_KINDS as mr, mediaSchema as mt, sdkCourseBookingSettingsSchema as n, flatInkHoverTreatmentSchema as nn, parseGradientPresetId as nr, deleteEnvSpecificKeys as nt, classifySdkEventBookingOffer as o, buttonEffectApplicationSchema as on, asHeaderStyleId as or, isExplicitRectCrop as ot, stableStringify as p, BUTTON_PART_NAMES as pn, siteChromeBackgroundOverrideOwner as pr, imageMediaSchema as pt, headerInteractionQuietPalette as q, externalLinkSchema as qn, createPageRef as qr, cardRoleSchema as qt, sdkEventOccurrenceInputSchema as r, flatInkParametersSchema as rn, SUPPORTED_LOADER_ENDPOINTS as rr, looksLikeUuid as rt, eventVisibilitySchema as s, buttonPressOffsetSchema as sn, bookingPageLookIdValues as sr, parseAspectRatioValue as st, classifySdkEventTiming as t, editorialLinkParametersSchema as tn, gradientPresetIdValues as tr, walkAndCollectImageAttrs as tt, eventCategoryManagementFields as u, buttonVisualStatesSchema as un, headerStyleIdValues as ur, getDirectImageUrlForSiteScopedPath as ut, evaluateSiteCommandBatchExposure as v, absoluteInkColors as vn, eyebrowTreatmentValues as vr, buildRenderableMediaAssetIndex as vt, entryIdentifierForCommand as w, paletteColorsFromEntries as wn, asBlockContentVersionId as wr, buildMediaIdentifierFromFilename as wt, eventManagementTiming as x, isThemeColorToken as xn, tileTreatmentValues as xr, isDisplayMediaKind as xt, evaluateSiteCommandExposure as y, blockColorTokenNames as yn, headingDecorationColorTokenValues as yr, resolveManagedMediaReference as yt, containerStylesOverrideSchema as z, isSafeRichTextHref as zn, createBlocksRef as zr, managementMediaLibraryUploadLimitForMimeType as zt };
35505
+ export { summarizePortableMediaReferences as $, pageLinkSchema as $n, __toESM as $r, BUTTON_STYLE_IDS as $t, parseSiteChromeBackgroundColorToken as A, changeBookingQuestionsInputSchema as An, asDesignSystemTemplateId as Ar, getExtensionForMimeType as At, headerPositioningValues as B, sanitizeHref as Bn, createCommandRef as Br, defaultFooterPreferences as Bt, blockOrderIdentifiersForCommand as C, paletteColorEntries as Cn, asAppearancePresetId as Cr, buildMediaIdentifierFromFilename as Ct, pagePathForCommand as D, paletteTokenNameSchema as Dn, asDesignBlockId as Dr, slugifyMediaIdentifier as Dt, pageIdentifierForCommand as E, paletteModeSchema as En, asBoundaryOptionId as Er, resolveMediaIdentifier as Et, defaultHeaderBrandPresentation as F, eventCommandScheduleSchema as Fn, compareEntrySlug as Fr, FILE_SIZE_LIMITS as Ft, headerInteractionPaletteValues as G, customLinkSchema as Gn, createFormRef as Gr, accordionIconSchema as Gt, themeSchema as H, validateEntryInstance as Hn, createEventCategoryRef as Hr, sectionTreatmentSchema as Ht, defaultHeaderBrandPreferences as I, sdkEntrySlotBlocksInputSchema as In, bookingQuestionAttachmentSchema as Ir, MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES as It, customCssRuleSchema as J, internalLinkSchema as Jn, createSiteCommandSiteRef as Jr, cardRoleValues as Jt, headerInteractionQuietPalette as K, entryLinkSchema as Kn, createNavigationRef as Kr, boxlessCardVariantValue as Kt, footerModeSchema as L, RichTextDocSchema as Ln, ianaTimezoneSchema as Lr, classifyKnownMimeType as Lt, parseBackgroundAppearanceColorToken as M, eventBookingOfferIntentSchema as Mn, asPageFlowPresetId as Mr, asRecord as Mt, defaultHeaderPreferences as N, bookingPaymentCollectionOptionSchema as Nn, asSiteStyleId as Nr, normalizeAmbiguousStoragePathForSite as Nt, hasConfiguredBookingVertical as O, parseColorTokenParts as On, asDesignBoundaryId as Or, deriveVideoSlotPolicy as Ot, defaultHeaderNavPreferences as P, bookingPaymentTermsSchema as Pn, makeBoundaryId as Pr, parseRelativeStoragePath as Pt, collectPortableMediaReferencesFromContent as Q, linkSchema as Qn, __commonJSMin as Qr, surfaceCardRoleValues as Qt, cardStylesOverrideSchema as R, isRichTextDoc as Rn, createBlockRef as Rr, managementMediaLibraryUploadLimitForMimeType as Rt, blockIdentifierForCommand as S, normalizePaletteHex as Sn, visibleHeadingDecorationFamilyValues as Sr, mediaIdentifierSchema as St, pageIdentifierForBlockCommand as T, paletteColorsSchema as Tn, asBlockOrderIndex as Tr, parseMediaIdentifier as Tt, skinBookingBarSchema as U, findUnfilledSentinels as Un, createEventSeriesRef as Ur, fontWidthFits as Ut, sectionStylesOverrideSchema as V, buildEntryScaffold as Vn, createContentEntryRef as Vr, footerPreferencesSchema as Vt, headerVariantValues as W, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Wn, createFooterRef as Wr, getFontWidthRange as Wt, boxBackgroundSchema as X, internalRouteOnlyLinkSchema as Xn, refSlug as Xr, itemRoleValues as Xt, boxBackgroundOverlaySchema as Y, internalResolvedLinkSchema as Yn, createVenueRef as Yr, cardVariantRoleValues as Yt, runtimeBoxBackgroundSchema as Z, isResolvedInternalLinkEntityType as Zn, slugPart as Zr, openCardRoleValue as Zt, mapEventCommandContent as _, PALETTE_TOKEN_NAMES as _n, eventListTreatmentValues as _r, buildRenderableMediaAssetIndex as _t, classifySdkEventSchedule as a, squareOutlineParametersSchema as an, asHeaderLayoutId as ar, isExplicitRectCrop as at, getSiteCommandMetadata as b, hexColorSchema as bn, isArrangementMode as br, isDisplayMediaKind as bt, isEventVisibility as c, buttonSystemSchema as cn, footerLookIdValues as cr, getDirectImageUrlForRelativePath as ct, venueManagementFields as d, opaqueButtonColourTokenSchema as dn, pageDesignEditorBackgroundOverrideOwner as dr, isSiteScopedDirectImageStoragePath as dt, buttonStyleSelectionSchema as en, ICON_PICKER_PRESETS as er, walkAndCollectImageAttrs as et, sortRecord as f, parseOpaqueButtonColourToken as fn, parseBookingPageLookId as fr, imageMediaSchema as ft, resolveEventSeriesWaitlistMapping as g, parseButtonPartValue as gn, arrangementModes as gr, videoMediaSchema as gt, parseAndPlanCommandBatchForTypes as h, isFreeButtonRadius as hn, VARIANT_ROLES as hr, runtimeMediaSchema as ht, sdkEventUpsertOptionalFieldSchemas as i, quietArrowParametersSchema as in, asFooterLookId as ir, normalizeWidthCandidates as it, backgroundAppearanceColorTokenNames as j, require_dist as jn, asLayoutVariantKey as jr, getMimeType as jt, headerPreferencesSchema as k, parseThemeColorToken as kn, asDesignPageId as kr, resolveVideoSelectionIntentForMediaField as kt, resolvePageUpsertSeo as l, buttonVariantIdSchema as ln, headerLayoutIdValues as lr, getDirectImageUrlForSiteScopedPath as lt, createDryRunReport as m, buttonKeyframesSchema as mn, SYSTEM_BLOCK_KINDS as mr, persistableMediaSchema as mt, sdkCourseBookingSettingsSchema as n, flatInkHoverTreatmentSchema as nn, parseGradientPresetId as nr, looksLikeUuid as nt, classifySdkEventBookingOffer as o, buttonEffectApplicationSchema as on, asHeaderStyleId as or, parseAspectRatioValue as ot, stableStringify as p, BUTTON_PART_NAMES as pn, siteChromeBackgroundOverrideOwner as pr, mediaSchema as pt, blockCustomCssRuleSchema as q, externalLinkSchema as qn, createPageRef as qr, cardRoleSchema as qt, sdkEventOccurrenceInputSchema as r, flatInkParametersSchema as rn, SUPPORTED_LOADER_ENDPOINTS as rr, rotateNormalizedPoint as rt, eventVisibilitySchema as s, buttonPressOffsetSchema as sn, bookingPageLookIdValues as sr, resolveMediaTransformForAspect as st, classifySdkEventTiming as t, editorialLinkParametersSchema as tn, gradientPresetIdValues as tr, deleteEnvSpecificKeys as tt, eventCategoryManagementFields as u, buttonVisualStatesSchema as un, headerStyleIdValues as ur, getImageUrl as ut, evaluateSiteCommandBatchExposure as v, absoluteInkColors as vn, eyebrowTreatmentValues as vr, resolveManagedMediaReference as vt, entryIdentifierForCommand as w, paletteColorsFromEntries as wn, asBlockContentVersionId as wr, parseCanonicalMediaIdentifier as wt, eventManagementTiming as x, isThemeColorToken as xn, tileTreatmentValues as xr, mediaTypeDiscriminants as xt, evaluateSiteCommandExposure as y, blockColorTokenNames as yn, headingDecorationColorTokenValues as yr, PUBLIC_FILE_FIELD_KINDS as yt, containerStylesOverrideSchema as z, isSafeRichTextHref as zn, createBlocksRef as zr, parseSafeDownloadFilename as zt };
@@ -103,9 +103,9 @@ const unsafeAsAppointmentResourceId = (id) => id;
103
103
  const unsafeAsStaffMemberId = (id) => id;
104
104
  const parseAppointmentId = (value) => parseUuidBrand(value, unsafeAsAppointmentId);
105
105
  const parseAppointmentServiceId = (value) => parseUuidBrand(value, unsafeAsAppointmentServiceId);
106
+ const parseStaffMemberId = (value) => parseUuidBrand(value, unsafeAsStaffMemberId);
106
107
  const unsafeAsClientArrangementId = (id) => id;
107
108
  const parseClientArrangementId = (value) => parseUuidBrand(value, unsafeAsClientArrangementId);
108
- const unsafeAsContentEntryId = (id) => id;
109
109
  const unsafeAsContentVersionId = (id) => id;
110
110
  const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
111
111
  const unsafeAsDemoCapability = (value) => value;
@@ -614,7 +614,14 @@ function isRecord$10(value) {
614
614
  return typeof value === "object" && value !== null && !Array.isArray(value);
615
615
  }
616
616
  function parsePageSurfaceSubject(value) {
617
- if (typeof value !== "object" || value === null || !("kind" in value) || value.kind !== "appointmentService") return parseEventPageSurfaceSubject(value);
617
+ if (typeof value !== "object" || value === null) return parseEventPageSurfaceSubject(value);
618
+ switch ("kind" in value ? value.kind : void 0) {
619
+ case "teamMember": return parseTeamMemberPageSurfaceSubject(value);
620
+ case "appointmentService": return parseServicePageSurfaceSubject(value);
621
+ default: return parseEventPageSurfaceSubject(value);
622
+ }
623
+ }
624
+ function parseServicePageSurfaceSubject(value) {
618
625
  const id = parseAppointmentServiceId("appointmentServiceId" in value ? value.appointmentServiceId : void 0);
619
626
  if (!id.ok) return err({
620
627
  kind: "invalidAppointmentServiceId",
@@ -627,11 +634,27 @@ function parsePageSurfaceSubject(value) {
627
634
  ..."noindex" in value && value.noindex === true ? { noindex: true } : {}
628
635
  });
629
636
  }
637
+ function parseTeamMemberPageSurfaceSubject(value) {
638
+ const id = parseStaffMemberId("staffMemberId" in value ? value.staffMemberId : void 0);
639
+ if (!id.ok) return err({
640
+ kind: "invalidStaffMemberId",
641
+ error: id.error
642
+ });
643
+ const mode = destinationMode(value, "teamMemberDestinationMode");
644
+ return ok({
645
+ kind: "teamMember",
646
+ staffMemberId: id.value,
647
+ ...mode ? { teamMemberDestinationMode: mode } : {}
648
+ });
649
+ }
630
650
  /** Parse the renderer choice once at the wire boundary. */
631
651
  function servicePageDestination(value) {
632
- if (!("serviceDestinationMode" in value)) return {};
633
- const mode = value.serviceDestinationMode;
634
- return mode === "cms-managed" || mode === "system-managed" ? { serviceDestinationMode: mode } : {};
652
+ const mode = destinationMode(value, "serviceDestinationMode");
653
+ return mode ? { serviceDestinationMode: mode } : {};
654
+ }
655
+ function destinationMode(value, key) {
656
+ const mode = key in value ? Reflect.get(value, key) : void 0;
657
+ return mode === "cms-managed" || mode === "system-managed" ? mode : null;
635
658
  }
636
659
  // ../core/src/date-time-formatter.ts
637
660
  /** Shared Intl engine, internal to core's date presentation owners. */
@@ -4709,4 +4732,4 @@ const OFFLINE_PAYMENT_METHODS = [
4709
4732
  function isEventOccurrenceRouteSegment(segment) {
4710
4733
  return /^(?:\d{4}-\d{2}-\d{2}|[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12})$/i.test(segment);
4711
4734
  }
4712
- export { DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as $, unsafeAsStaffMemberId as $n, inferSiteDateLocale as $t, getPublicReadCachePolicy as A, resolvePricingOptionsPriceDisplay as An, unsafeAsOrderPaymentPlanId as Ar, isLiveOrderInstalmentPlanStatus as At, resolveWholeSeriesRunLifecycle as B, unsafeAsPositiveCents as Bn, parseAttendeeId as Br, resolveFlexibleBalanceDueAt as Bt, DEFAULT_EVENT_TYPE_PRESETS as C, isPublicEventPricingOptionDisplayable as Cn, unsafeAsStoragePath as Cr, isPresent as Ct, WHOLE_SERIES_EVENT_PRESET_VALUES as D, publicEventPricingStrategy as Dn, parseOrderPaymentReceiptId as Dr, buildBookingUtcDateWindow as Dt, SURFACE_EVENT_PRESET_VALUES as E, publicEventPricingOptions as En, parseOrderId as Er, selectCategoryView as Et, firstLiveRunSessionStartMs as F, parseNonNegativeCents as Fn, parseApiKeyId as Fr, getBookingInstalmentProtectedDepositAmountCents as Ft, parseMailingListBlockId as G, unsafeAsBookingRequirementId as Gn, unsafeAsEventOfferingId as Gr, formatBookingCutOffHours as Gt, exposeSecret as H, parseCurrencyCode as Hn, parseEventSeriesRegistrationId as Hr, deriveTotalTicketQuantity as Ht, nextLiveRunSessionStartMs as I, parsePositiveCents as In, parseSiteId as Ir, omitZeroAmountFutureRows as It, parseMailingListRuntimeContext as J, unsafeAsDemoCapability as Jn, unsafeAsPricingOptionId as Jr, formatDateRange as Jt, parseMailingListContentVersionId as K, unsafeAsGiftingInstrumentId as Kn, unsafeAsEventSeriesId as Kr, hasBookingClosed as Kt, orderedLiveRunSessions as L, toCents as Ln, parseUserId as Lr, splitAmountWithRemainderInFirst as Lt, publicReadBatchFreshnessSeconds as M, mapNonEmptyArray as Mn, parseEditorSessionGeneration as Mr, clampConfiguredAmount as Mt, publicReadFreshnessSeconds as N, mapReadonlyNonEmptyArray as Nn, unsafeAsPageSurfaceId as Nr, getBookingInstalmentDepositRefundability as Nt, PUBLIC_CONTENT_FRESHNESS_SECONDS as O, publicEventPricingType as On, unsafeAsCheckoutLineId as Or, BOOKING_COURSE_INSTALMENT_DEADLINES as Ot, CANCELLED_SESSION_STATUS as P, isNonNegativeWholeCents as Pn, unsafeAsSiteFontId as Pr, getBookingInstalmentPlanIntervalCount as Pt, DEFAULT_MAILING_LIST_PRIVACY_NOTE as Q, unsafeAsAppointmentResourceId as Qn, formatTimeRange as Qt, resolveWholeSeriesBookingPhase as R, toNonNegativeCents as Rn, unsafeAsSiteId as Rr, businessCancellationRefusalCodes as Rt, resolveSiteVerticalBookingConfig as S, formatEventPricing as Sn, unsafeAsStorageBucketName as Sr, toLocationCoordinates as St, ORDINARY_EVENT_PRESET_VALUES as T, publicEventPricingDisplay as Tn, unsafeAsProductId as Tr, mapDrawingSchema as Tt, parseManagementKey as U, assertNever$5 as Un, parseRetiredCourseId as Ur, bookingCutOffHoursBetween as Ut, createSecret as V, formatCurrencyAmount as Vn, parseEventSeriesId as Vr, resolveFlexibleBalanceInitialPaymentCents as Vt, slugify as W, formatDurationUnitLabel as Wn, unsafeAsEventCategoryId as Wr, formatBookingClosedTime as Wt, parseConfiguredMailingListProvider as X, parseAppointmentId as Xn, ok as Xr, formatDateTimeRange as Xt, assessMailingListTargeting as Y, unsafeAsContentEntryId as Yn, err as Yr, formatDateTime as Yt, parseMailingListGlobalForm as Z, parseClientArrangementId as Zn, blockInteractionContextSchema as Zr, formatTime as Zt, NAVIGATION_LOCATIONS as _, parseBookingTimeZone as _n, unsafeAsOriginalFilename as _r, locationValueSchema as _t, isRecord as a, formatLocalScheduleTime as an, parseMembershipId as ar, planMailingListChoicePresentation as at, parseVerticalId as b, largestWaitlistGroup as bn, unsafeAsSafeDownloadFilename as br, projectPublicLocation as bt, applyClearable as c, getLocalScheduleTime as cn, parseDatedOfferingCapacityHoldAuditRef as cr, formatOpeningHoursRows as ct, creditProductUnitNoun as d, parseLocalScheduleTime as dn, unsafeAsBookingSessionId as dr, assertAllowedPublicUrl as dt, resolveBookingDisplayContext as en, parseCustomerId as er, parseMailingListProviderScope as et, formatCreditProductPayment as f, parseUtcIsoDateTimeString as fn, parseMediaAssetId as fr, SENSITIVE_COLLECTION_MODES as ft, withBookingModulesForSelectionChange as g, toBookingTimeZone as gn, unsafeAsMediaAssetId as gr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as gt, resolveEventCatalogue as h, resolveBookingTimeZoneId as hn, unsafeAsFileChecksumSha256 as hr, locationMapLinks as ht, committedWriteProofSchema as i, formatLocalScheduleDate as in, parseEntitlementId as ir, DEFAULT_MAILING_LIST_TARGETING as it, isPublicReadEndpoint as j, fromArray as jn, unsafeAsOrderPaymentReceiptId as jr, addIntervalPreservingMonthAnchor as jt, PUBLIC_RENDERED_AVAILABILITY_FRESHNESS_SECONDS as k, resolveExactOrFreePriceDisplay as kn, unsafeAsOrderFlexibleBalanceContractId as kr, validateBookingPaymentOptionKinds as kt, clearableFrom as l, localScheduleTimePattern as ln, parseDatedOfferingCapacityHoldId as lr, parsePublicContactDetails as lt, planTurningOnCourses as m, resolveBookingBusinessTimeZone as mn, unsafeAsDetectedMimeType as mr, stableJsonStringify as mt, OFFLINE_PAYMENT_METHODS as n, addLocalScheduleDays as nn, unsafeAsCustomerId as nr, footerLayoutForLookId as nt, authoredValuesEqual as o, getBookingLocalDateKey as on, unsafeAsEntitlementId as or, isCanonicalRichTextDoc as ot, formatCreditProductUnits as p, toUtcIsoDateTimeString as pn, unsafeAsDeclaredMimeType as pr, decideLocationSave as pt, parseMailingListSignedSourceToken as q, unsafeAsGiftingOfferId as qn, unsafeAsOccurrenceId as qr, formatDate$1 as qt, bookingContextId as r, compareLocalScheduleDates as rn, parseCustomerMembershipId as rr, parseMailingListPlacementTargeting as rt, APPOINTMENT_REQUEST_OUTCOME_VALUES as s, getLocalScheduleDate as sn, unsafeAsPassId as sr, richTextHasText as st, isEventOccurrenceRouteSegment as t, toScheduledBookingDateTime as tn, parseSiteTermsVersionId as tr, parseFooterCompositionV1 as tt, STAFF_OPERATIONAL_CAPABILITIES as u, parseBookingLocalDate as un, parseWaitlistEntryId as ur, parseWeeklyOpeningHours as ut, areConfiguredBookingVerticalConfigsEqual as v, parsePageSurfaceSubject as vn, unsafeAsPositiveByteCount as vr, normalizeLocationAddressText as vt, EVENT_PRESET_VALUES as w, publicEventPricingCurrency as wn, unsafeAsUploadSessionId as wr, trimmedStringOrNull as wt, parseVerticalPresetId as x, formatBookingPriceDisplay as xn, unsafeAsSiteScopedStoragePath as xr, publicLocationSchema as xt, canonicalizeConfiguredBookingVerticalConfig as y, EVENT_PRESET_VOCABULARY as yn, unsafeAsPositiveSeconds as yr, parseLocationValue as yt, resolveWholeSeriesPaymentDates as z, unsafeAsNonNegativeCents as zn, unsafeAsUserId as zr, scheduleBookingReasonCodes as zt };
4735
+ export { DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as $, parseCustomerId as $n, inferSiteDateLocale as $t, getPublicReadCachePolicy as A, resolvePricingOptionsPriceDisplay as An, unsafeAsOrderPaymentReceiptId as Ar, isLiveOrderInstalmentPlanStatus as At, resolveWholeSeriesRunLifecycle as B, unsafeAsPositiveCents as Bn, parseEventSeriesId as Br, resolveFlexibleBalanceDueAt as Bt, DEFAULT_EVENT_TYPE_PRESETS as C, isPublicEventPricingOptionDisplayable as Cn, unsafeAsUploadSessionId as Cr, isPresent as Ct, WHOLE_SERIES_EVENT_PRESET_VALUES as D, publicEventPricingStrategy as Dn, unsafeAsCheckoutLineId as Dr, buildBookingUtcDateWindow as Dt, SURFACE_EVENT_PRESET_VALUES as E, publicEventPricingOptions as En, parseOrderPaymentReceiptId as Er, selectCategoryView as Et, firstLiveRunSessionStartMs as F, parseNonNegativeCents as Fn, parseSiteId as Fr, getBookingInstalmentProtectedDepositAmountCents as Ft, parseMailingListBlockId as G, unsafeAsBookingRequirementId as Gn, unsafeAsEventSeriesId as Gr, formatBookingCutOffHours as Gt, exposeSecret as H, parseCurrencyCode as Hn, parseRetiredCourseId as Hr, deriveTotalTicketQuantity as Ht, nextLiveRunSessionStartMs as I, parsePositiveCents as In, parseUserId as Ir, omitZeroAmountFutureRows as It, parseMailingListRuntimeContext as J, unsafeAsDemoCapability as Jn, err as Jr, formatDateRange as Jt, parseMailingListContentVersionId as K, unsafeAsGiftingInstrumentId as Kn, unsafeAsOccurrenceId as Kr, hasBookingClosed as Kt, orderedLiveRunSessions as L, toCents as Ln, unsafeAsSiteId as Lr, splitAmountWithRemainderInFirst as Lt, publicReadBatchFreshnessSeconds as M, mapNonEmptyArray as Mn, unsafeAsPageSurfaceId as Mr, clampConfiguredAmount as Mt, publicReadFreshnessSeconds as N, mapReadonlyNonEmptyArray as Nn, unsafeAsSiteFontId as Nr, getBookingInstalmentDepositRefundability as Nt, PUBLIC_CONTENT_FRESHNESS_SECONDS as O, publicEventPricingType as On, unsafeAsOrderFlexibleBalanceContractId as Or, BOOKING_COURSE_INSTALMENT_DEADLINES as Ot, CANCELLED_SESSION_STATUS as P, isNonNegativeWholeCents as Pn, parseApiKeyId as Pr, getBookingInstalmentPlanIntervalCount as Pt, DEFAULT_MAILING_LIST_PRIVACY_NOTE as Q, unsafeAsStaffMemberId as Qn, formatTimeRange as Qt, resolveWholeSeriesBookingPhase as R, toNonNegativeCents as Rn, unsafeAsUserId as Rr, businessCancellationRefusalCodes as Rt, resolveSiteVerticalBookingConfig as S, formatEventPricing as Sn, unsafeAsStoragePath as Sr, toLocationCoordinates as St, ORDINARY_EVENT_PRESET_VALUES as T, publicEventPricingDisplay as Tn, parseOrderId as Tr, mapDrawingSchema as Tt, parseManagementKey as U, assertNever$5 as Un, unsafeAsEventCategoryId as Ur, bookingCutOffHoursBetween as Ut, createSecret as V, formatCurrencyAmount as Vn, parseEventSeriesRegistrationId as Vr, resolveFlexibleBalanceInitialPaymentCents as Vt, slugify as W, formatDurationUnitLabel as Wn, unsafeAsEventOfferingId as Wr, formatBookingClosedTime as Wt, parseConfiguredMailingListProvider as X, parseClientArrangementId as Xn, blockInteractionContextSchema as Xr, formatDateTimeRange as Xt, assessMailingListTargeting as Y, parseAppointmentId as Yn, ok as Yr, formatDateTime as Yt, parseMailingListGlobalForm as Z, unsafeAsAppointmentResourceId as Zn, formatTime as Zt, NAVIGATION_LOCATIONS as _, parseBookingTimeZone as _n, unsafeAsPositiveByteCount as _r, locationValueSchema as _t, isRecord as a, formatLocalScheduleTime as an, unsafeAsEntitlementId as ar, planMailingListChoicePresentation as at, parseVerticalId as b, largestWaitlistGroup as bn, unsafeAsSiteScopedStoragePath as br, projectPublicLocation as bt, applyClearable as c, getLocalScheduleTime as cn, parseDatedOfferingCapacityHoldId as cr, formatOpeningHoursRows as ct, creditProductUnitNoun as d, parseLocalScheduleTime as dn, parseMediaAssetId as dr, assertAllowedPublicUrl as dt, resolveBookingDisplayContext as en, parseSiteTermsVersionId as er, parseMailingListProviderScope as et, formatCreditProductPayment as f, parseUtcIsoDateTimeString as fn, unsafeAsDeclaredMimeType as fr, SENSITIVE_COLLECTION_MODES as ft, withBookingModulesForSelectionChange as g, toBookingTimeZone as gn, unsafeAsOriginalFilename as gr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as gt, resolveEventCatalogue as h, resolveBookingTimeZoneId as hn, unsafeAsMediaAssetId as hr, locationMapLinks as ht, committedWriteProofSchema as i, formatLocalScheduleDate as in, parseMembershipId as ir, DEFAULT_MAILING_LIST_TARGETING as it, isPublicReadEndpoint as j, fromArray as jn, parseEditorSessionGeneration as jr, addIntervalPreservingMonthAnchor as jt, PUBLIC_RENDERED_AVAILABILITY_FRESHNESS_SECONDS as k, resolveExactOrFreePriceDisplay as kn, unsafeAsOrderPaymentPlanId as kr, validateBookingPaymentOptionKinds as kt, clearableFrom as l, localScheduleTimePattern as ln, parseWaitlistEntryId as lr, parsePublicContactDetails as lt, planTurningOnCourses as m, resolveBookingBusinessTimeZone as mn, unsafeAsFileChecksumSha256 as mr, stableJsonStringify as mt, OFFLINE_PAYMENT_METHODS as n, addLocalScheduleDays as nn, parseCustomerMembershipId as nr, footerLayoutForLookId as nt, authoredValuesEqual as o, getBookingLocalDateKey as on, unsafeAsPassId as or, isCanonicalRichTextDoc as ot, formatCreditProductUnits as p, toUtcIsoDateTimeString as pn, unsafeAsDetectedMimeType as pr, decideLocationSave as pt, parseMailingListSignedSourceToken as q, unsafeAsGiftingOfferId as qn, unsafeAsPricingOptionId as qr, formatDate$1 as qt, bookingContextId as r, compareLocalScheduleDates as rn, parseEntitlementId as rr, parseMailingListPlacementTargeting as rt, APPOINTMENT_REQUEST_OUTCOME_VALUES as s, getLocalScheduleDate as sn, parseDatedOfferingCapacityHoldAuditRef as sr, richTextHasText as st, isEventOccurrenceRouteSegment as t, toScheduledBookingDateTime as tn, unsafeAsCustomerId as tr, parseFooterCompositionV1 as tt, STAFF_OPERATIONAL_CAPABILITIES as u, parseBookingLocalDate as un, unsafeAsBookingSessionId as ur, parseWeeklyOpeningHours as ut, areConfiguredBookingVerticalConfigsEqual as v, parsePageSurfaceSubject as vn, unsafeAsPositiveSeconds as vr, normalizeLocationAddressText as vt, EVENT_PRESET_VALUES as w, publicEventPricingCurrency as wn, unsafeAsProductId as wr, trimmedStringOrNull as wt, parseVerticalPresetId as x, formatBookingPriceDisplay as xn, unsafeAsStorageBucketName as xr, publicLocationSchema as xt, canonicalizeConfiguredBookingVerticalConfig as y, EVENT_PRESET_VOCABULARY as yn, unsafeAsSafeDownloadFilename as yr, parseLocationValue as yt, resolveWholeSeriesPaymentDates as z, unsafeAsNonNegativeCents as zn, parseAttendeeId as zr, scheduleBookingReasonCodes as zt };
package/dist/testing.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- export { zt as applyPushConfigPlan, R as calculateEntryDiffs, t as compileEntryPushCommands, Sn as createOutput, o as executeEntryCommandPlanAsSyncResult, Ht as preparePushConfigTarget, it as readEntries, W as syncLocalMediaForPull, U as syncLocalMediaForPush, mt as writeMediaManifest } from "./entryCommands-DC808i9P.mjs";
2
+ export { zt as applyPushConfigPlan, R as calculateEntryDiffs, t as compileEntryPushCommands, Sn as createOutput, o as executeEntryCommandPlanAsSyncResult, Ht as preparePushConfigTarget, it as readEntries, W as syncLocalMediaForPull, U as syncLocalMediaForPush, mt as writeMediaManifest } from "./entryCommands-X7gsvEhS.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riverbankcms",
3
- "version": "0.40.0",
3
+ "version": "0.40.1",
4
4
  "description": "Riverbank CMS command-line tools for SDK site developers",
5
5
  "bin": {
6
6
  "riverbankcms": "dist/cli/index.mjs"
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export { t as loadConfigFile } from "./load-config-BHD3Ugbc.mjs";