riverbankcms 0.22.0 → 0.22.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.
@@ -1360,7 +1360,8 @@ function createEventOfferingPageSurfaceSubject(eventOfferingId, input) {
1360
1360
  const identity = {
1361
1361
  kind: "eventOffering",
1362
1362
  eventOfferingId,
1363
- catalogueEventSeriesIds: input.catalogueEventSeriesIds
1363
+ catalogueEventSeriesIds: input.catalogueEventSeriesIds,
1364
+ ...input.detailAdmission ? { detailAdmission: input.detailAdmission } : {}
1364
1365
  };
1365
1366
  return input.bookingScope === "whole_series" ? {
1366
1367
  ...identity,
@@ -1386,57 +1387,60 @@ function parseEventPageSurfaceDestinationMode(value) {
1386
1387
  function parseEventPageSurfaceSubject(value) {
1387
1388
  if (!isRecord$9(value)) return err({ kind: "notObject" });
1388
1389
  switch (value.kind) {
1389
- case "eventSeries": {
1390
- const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
1391
- if (!eventSeriesId.ok) {
1392
- return err({
1393
- kind: "invalidEventSeriesId",
1394
- error: eventSeriesId.error
1395
- });
1396
- }
1397
- if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") {
1398
- return err({
1399
- kind: "invalidEventSeriesBookingScope",
1400
- bookingScope: value.bookingScope
1401
- });
1402
- }
1403
- return ok(createEventSeriesPageSurfaceSubject(eventSeriesId.value, value.bookingScope, parseEventPageSurfaceDestinationMode(value.eventDestinationMode)));
1404
- }
1405
- case "eventOffering": {
1406
- const eventOfferingId = parseEventOfferingId(value.eventOfferingId);
1407
- if (!eventOfferingId.ok) {
1408
- return err({
1409
- kind: "invalidEventOfferingId",
1410
- error: eventOfferingId.error
1411
- });
1412
- }
1413
- if (!Array.isArray(value.catalogueEventSeriesIds)) {
1414
- return err({
1415
- kind: "invalidEventOfferingCatalogue",
1416
- catalogue: value.catalogueEventSeriesIds
1417
- });
1418
- }
1419
- if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") {
1420
- return err({
1421
- kind: "invalidEventOfferingBookingScope",
1422
- bookingScope: value.bookingScope
1423
- });
1424
- }
1425
- const parsedCatalogueIds = parseEventSeriesIdList(value.catalogueEventSeriesIds);
1426
- if (!parsedCatalogueIds.ok) return parsedCatalogueIds;
1427
- const eventDestinationMode = parseEventPageSurfaceDestinationMode(value.eventDestinationMode);
1428
- return ok(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
1429
- catalogueEventSeriesIds: parsedCatalogueIds.value,
1430
- bookingScope: value.bookingScope,
1431
- ...eventDestinationMode ? { eventDestinationMode } : {}
1432
- }));
1433
- }
1390
+ case "eventSeries": return parseEventSeriesPageSurfaceSubject(value);
1391
+ case "eventOffering": return parseEventOfferingPageSurfaceSubject(value);
1434
1392
  default: return err({
1435
1393
  kind: "unsupportedSubject",
1436
1394
  subjectKind: value.kind
1437
1395
  });
1438
1396
  }
1439
1397
  }
1398
+ function parseEventSeriesPageSurfaceSubject(value) {
1399
+ const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
1400
+ if (!eventSeriesId.ok) {
1401
+ return err({
1402
+ kind: "invalidEventSeriesId",
1403
+ error: eventSeriesId.error
1404
+ });
1405
+ }
1406
+ if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") {
1407
+ return err({
1408
+ kind: "invalidEventSeriesBookingScope",
1409
+ bookingScope: value.bookingScope
1410
+ });
1411
+ }
1412
+ return ok(createEventSeriesPageSurfaceSubject(eventSeriesId.value, value.bookingScope, parseEventPageSurfaceDestinationMode(value.eventDestinationMode)));
1413
+ }
1414
+ function parseEventOfferingPageSurfaceSubject(value) {
1415
+ const eventOfferingId = parseEventOfferingId(value.eventOfferingId);
1416
+ if (!eventOfferingId.ok) {
1417
+ return err({
1418
+ kind: "invalidEventOfferingId",
1419
+ error: eventOfferingId.error
1420
+ });
1421
+ }
1422
+ if (!Array.isArray(value.catalogueEventSeriesIds)) {
1423
+ return err({
1424
+ kind: "invalidEventOfferingCatalogue",
1425
+ catalogue: value.catalogueEventSeriesIds
1426
+ });
1427
+ }
1428
+ if (value.bookingScope !== "single_occurrence" && value.bookingScope !== "whole_series") {
1429
+ return err({
1430
+ kind: "invalidEventOfferingBookingScope",
1431
+ bookingScope: value.bookingScope
1432
+ });
1433
+ }
1434
+ const parsedCatalogueIds = parseEventSeriesIdList(value.catalogueEventSeriesIds);
1435
+ if (!parsedCatalogueIds.ok) return parsedCatalogueIds;
1436
+ const eventDestinationMode = parseEventPageSurfaceDestinationMode(value.eventDestinationMode);
1437
+ return ok(createEventOfferingPageSurfaceSubject(eventOfferingId.value, {
1438
+ catalogueEventSeriesIds: parsedCatalogueIds.value,
1439
+ ...value.detailAdmission === "own-page" ? { detailAdmission: "own-page" } : {},
1440
+ bookingScope: value.bookingScope,
1441
+ ...eventDestinationMode ? { eventDestinationMode } : {}
1442
+ }));
1443
+ }
1440
1444
  function toEventPageSurfaceSubjectWire(subject) {
1441
1445
  return subject;
1442
1446
  }
@@ -2453,19 +2457,19 @@ function formatDateRange(start, endInclusive, context, options = {}) {
2453
2457
  return preserveOrder ? `${presentDate(first, context, profile)} – ${presentDate(last, context, profile)}` : presentDateRange(first, last, context, profile);
2454
2458
  }
2455
2459
  function formatDateTime(value, context, options) {
2456
- return presentDateTime(value, context, displayProfile(options, options.zone, options.clock, options.seconds));
2460
+ return presentDateTime(value, context, displayProfile(options, options.zone, options.seconds));
2457
2461
  }
2458
2462
  function formatDateTimeRange(span, context, options) {
2459
- return presentDateTimeRange(span, context, displayProfile(options, options.zone, options.clock, options.seconds));
2463
+ return presentDateTimeRange(span, context, displayProfile(options, options.zone, options.seconds));
2460
2464
  }
2461
2465
  function formatTime(value, context, options) {
2462
- return presentTime(value, context, displayProfile({}, options.zone, options.clock, options.seconds));
2466
+ return presentTime(value, context, displayProfile({}, options.zone, options.seconds));
2463
2467
  }
2464
2468
  function formatTimeRange(start, end, context, options) {
2465
2469
  return presentTimeRange({
2466
2470
  start,
2467
2471
  end
2468
- }, context, displayProfile({}, options.zone, options.clock, options.seconds));
2472
+ }, context, displayProfile({}, options.zone, options.seconds));
2469
2473
  }
2470
2474
  /** Sole date projection/typography owner, used by display and scheduled adapters. */
2471
2475
  function presentDate(value, context, profile) {
@@ -2572,19 +2576,11 @@ function combinedFormat(date, clock) {
2572
2576
  ...clock.format
2573
2577
  };
2574
2578
  }
2575
- function displayProfile(options, zone, clock, seconds) {
2579
+ function displayProfile(options, zone, seconds) {
2576
2580
  return {
2577
2581
  kind: "display",
2578
2582
  dateFormat: dateFormat(options),
2579
- clock: clock === "24-hour" ? {
2580
- kind: "intl",
2581
- format: {
2582
- hour: "2-digit",
2583
- minute: "2-digit",
2584
- ...seconds === "include" ? { second: "2-digit" } : {},
2585
- hourCycle: "h23"
2586
- }
2587
- } : {
2583
+ clock: {
2588
2584
  kind: "compact",
2589
2585
  localeSource: "product",
2590
2586
  seconds
@@ -3351,6 +3347,7 @@ function valueStatus(sync) {
3351
3347
  if (sync.local.kind === "pristine") return "saved";
3352
3348
  switch (sync.local.request.kind) {
3353
3349
  case "idle":
3350
+ case "reserved":
3354
3351
  case "abandoned": return "unsaved";
3355
3352
  case "in-flight": return "saving";
3356
3353
  case "failed": return "failed";
@@ -4229,6 +4226,28 @@ function parseOpeningHoursDay(value, expectedWeekday, index) {
4229
4226
  intervals: [first, ...rest]
4230
4227
  });
4231
4228
  }
4229
+ function parseOpeningHoursWeek(rawDays) {
4230
+ const parsedDays = publicProfileWeekdays.map((weekday, index) => parseOpeningHoursDay(rawDays[index], weekday, index));
4231
+ const failed = parsedDays.find((day) => !day.ok);
4232
+ if (failed !== undefined) return failed;
4233
+ const [monday, tuesday, wednesday, thursday, friday, saturday, sunday] = parsedDays.flatMap((day) => day.ok ? [day.value] : []);
4234
+ if (monday === undefined || tuesday === undefined || wednesday === undefined || thursday === undefined || friday === undefined || saturday === undefined || sunday === undefined) {
4235
+ return err({
4236
+ code: "invalid_weekdays",
4237
+ path: "openingHours.days",
4238
+ message: "Opening hours are incomplete."
4239
+ });
4240
+ }
4241
+ return ok([
4242
+ monday,
4243
+ tuesday,
4244
+ wednesday,
4245
+ thursday,
4246
+ friday,
4247
+ saturday,
4248
+ sunday
4249
+ ]);
4250
+ }
4232
4251
  function parseWeeklyOpeningHours(value) {
4233
4252
  if (!isRecord$8(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) {
4234
4253
  return err({
@@ -4239,31 +4258,20 @@ function parseWeeklyOpeningHours(value) {
4239
4258
  }
4240
4259
  const timeZone = parsePublicProfileTimeZone(value.timeZone);
4241
4260
  if (!timeZone.ok) return timeZone;
4242
- const days = [];
4243
- for (const [index, weekday] of publicProfileWeekdays.entries()) {
4244
- const day = parseOpeningHoursDay(value.days[index], weekday, index);
4245
- if (!day.ok) return day;
4246
- days.push(day.value);
4247
- }
4248
- const [monday, tuesday, wednesday, thursday, friday, saturday, sunday] = days;
4249
- if (monday === undefined || tuesday === undefined || wednesday === undefined || thursday === undefined || friday === undefined || saturday === undefined || sunday === undefined) {
4261
+ const note = value.note === undefined || value.note === null ? null : trimmedOptionalString(value.note);
4262
+ if (note === undefined) {
4250
4263
  return err({
4251
- code: "invalid_weekdays",
4252
- path: "openingHours.days",
4253
- message: "Opening hours are incomplete."
4264
+ code: "invalid_shape",
4265
+ path: "openingHours.note",
4266
+ message: "The opening hours note must be text."
4254
4267
  });
4255
4268
  }
4269
+ const days = parseOpeningHoursWeek(value.days);
4270
+ if (!days.ok) return days;
4256
4271
  return ok({
4257
4272
  timeZone: timeZone.value,
4258
- days: [
4259
- monday,
4260
- tuesday,
4261
- wednesday,
4262
- thursday,
4263
- friday,
4264
- saturday,
4265
- sunday
4266
- ]
4273
+ ...note !== null ? { note } : {},
4274
+ days: days.value
4267
4275
  });
4268
4276
  }
4269
4277
  function parseSocialLinkId(value, path) {
@@ -4509,6 +4517,50 @@ function emptyPublicProfile() {
4509
4517
  };
4510
4518
  }
4511
4519
 
4520
+ //#endregion
4521
+ //#region ../core/src/opening-hours.ts
4522
+ const openingHoursWeekdayLabels = {
4523
+ monday: "Monday",
4524
+ tuesday: "Tuesday",
4525
+ wednesday: "Wednesday",
4526
+ thursday: "Thursday",
4527
+ friday: "Friday",
4528
+ saturday: "Saturday",
4529
+ sunday: "Sunday"
4530
+ };
4531
+ function formatOpeningHoursTime(value) {
4532
+ const time = parseLocalScheduleTime(value);
4533
+ return formatBookingCompactEnglishTime(toScheduledBookingDateTime({
4534
+ startsAt: new Date(Date.UTC(2e3, 0, 1, time.hour, time.minute)).toISOString(),
4535
+ timeZone: "UTC",
4536
+ locale: "en-GB"
4537
+ }));
4538
+ }
4539
+ function formatDayHours(day) {
4540
+ return day.kind === "closed" ? "Closed" : day.intervals.map((interval) => `${formatOpeningHoursTime(interval.opensAt)} to ${formatOpeningHoursTime(interval.closesAt)}`).join(", ");
4541
+ }
4542
+ function weekdayRangeLabel(weekdays) {
4543
+ const first = weekdays[0];
4544
+ const last = weekdays[weekdays.length - 1];
4545
+ if (!first || !last) return "";
4546
+ return first === last ? openingHoursWeekdayLabels[first] : `${openingHoursWeekdayLabels[first]} to ${openingHoursWeekdayLabels[last]}`;
4547
+ }
4548
+ /** Monday-first table rows; only adjacent days with identical ranges are grouped. */
4549
+ function formatOpeningHoursRows(hours) {
4550
+ return (hours?.days ?? []).reduce((rows, day) => {
4551
+ const text = formatDayHours(day);
4552
+ const previous = rows[rows.length - 1];
4553
+ const weekdays = previous?.kind === day.kind && previous.hours === text ? [...previous.weekdays, day.weekday] : [day.weekday];
4554
+ const row = {
4555
+ kind: day.kind,
4556
+ weekdays,
4557
+ label: weekdayRangeLabel(weekdays),
4558
+ hours: text
4559
+ };
4560
+ return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
4561
+ }, []);
4562
+ }
4563
+
4512
4564
  //#endregion
4513
4565
  //#region ../core/src/public-experience.ts
4514
4566
  const PUBLIC_EXPERIENCES = ["website", "hosted_booking"];
@@ -8419,4 +8471,4 @@ function resolvePublicSiteVisibility(input) {
8419
8471
  }
8420
8472
 
8421
8473
  //#endregion
8422
- export { compareLocalScheduleDates as $, parseCustomerId as $t, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as A, unsafeAsSafeDownloadFilename as An, formatEventPricing as At, isPresent as B, ok as Bn, mapReadonlyNonEmptyArray as Bt, stableJsonStringify as C, unsafeAsOccurrenceId as Cn, omitZeroAmountFutureRows as Ct, parseMailingListSignedSourceToken as D, unsafeAsPositiveSeconds as Dn, deriveTotalTicketQuantity as Dt, parseMailingListContentVersionId as E, unsafeAsPositiveByteCount as En, resolveFlexibleBalanceInitialPaymentCents as Et, DEFAULT_MAILING_LIST_TARGETING as F, unsafeAsStorageBucketName as Fn, publicEventPricingType as Ft, formatDateRange as G, toNonNegativeCents as Gt, toLocationCoordinates as H, parseNonNegativeCents as Ht, planMailingListChoicePresentation as I, unsafeAsStoragePath as In, resolveExactOrFreePriceDisplay as It, formatTime as J, formatCurrencyAmount as Jt, formatDateTime as K, unsafeAsNonNegativeCents as Kt, isCanonicalRichTextDoc as L, unsafeAsUploadSessionId as Ln, resolvePricingOptionsPriceDisplay as Lt, parseFooterCompositionV1 as M, unsafeAsSiteId as Mn, publicEventPricingCurrency as Mt, footerNavigationLayouts as N, unsafeAsSiteScopedStoragePath as Nn, publicEventPricingDisplay as Nt, parseMailingListRuntimeContext as O, unsafeAsPricingOptionId as On, parseEventPageSurfaceSubject as Ot, parseMailingListPlacementTargeting as P, unsafeAsStaffMemberId as Pn, publicEventPricingOptions as Pt, buildBookingUtcDateWindow as Q, parseApiKeyId as Qt, parsePublicContactDetails as R, unsafeAsUserId as Rn, fromArray as Rt, parseManagementKey as S, unsafeAsMediaAssetId as Sn, getBookingInstalmentProtectedDepositAmountCents as St, parseMailingListBlockId as T, unsafeAsPassId as Tn, resolveFlexibleBalanceDueAt as Tt, selectCategoryView as U, parsePositiveCents as Ut, normalizeLocationAddressText as V, isNonNegativeWholeCents as Vt, formatDate as W, toCents as Wt, inferSiteDateLocale as X, assertNever as Xt, formatTimeRange as Y, parseCurrencyCode as Yt, resolveBookingDisplayContext as Z, formatDurationUnitLabel as Zt, orderedLiveRunSessions as _, unsafeAsEntitlementId as _n, isSettleableOrderInstalmentPlanStatus as _t, canonicalizeConfiguredBookingVerticalConfig as a, parsePageId as an, localScheduleTimePattern as at, createSecret as b, unsafeAsEventSeriesId as bn, getBookingInstalmentDepositRefundability as bt, resolveSiteVerticalBookingConfig as c, parseSiteTermsVersionId as cn, resolveBookingBusinessTimeZone as ct, ORDINARY_EVENT_PRESET_VALUES as d, unsafeAsBookingRequirementId as dn, toScheduledBookingDateTime as dt, parseDatedOfferingCapacityHoldAuditRef as en, formatLocalScheduleDate as et, SURFACE_EVENT_PRESET_VALUES as f, unsafeAsBookingSessionId as fn, toUtcIsoDateTimeString as ft, nextLiveRunSessionStartMs as g, unsafeAsDetectedMimeType as gn, isSettleableFlexibleBalanceContractStatus as gt, CANCELLED_SESSION_STATUS as h, unsafeAsDemoCapability as hn, isLiveOrderInstalmentPlanStatus as ht, areConfiguredBookingVerticalConfigsEqual as i, parseMembershipId as in, getLocalScheduleTime as it, parseMailingListProviderScope as j, unsafeAsSiteFontId as jn, isPublicEventPricingOptionDisplayable as jt, assessMailingListTargeting as k, unsafeAsProductId as kn, formatBookingPriceDisplay as kt, DEFAULT_EVENT_TYPE_PRESETS as l, parseUserId as ln, resolveBookingTimeZoneId as lt, publicReadFreshnessSeconds as m, unsafeAsDeclaredMimeType as mn, validateBookingPaymentOptionKinds as mt, EVENT_PRESET_VOCABULARY as n, parseEventSeriesId as nn, getBookingLocalDateKey as nt, parseVerticalId as o, parseRetiredCourseId as on, parseBookingLocalDate as ot, WHOLE_SERIES_EVENT_PRESET_VALUES as p, unsafeAsCheckoutLineId as pn, parseBookingTimeZone as pt, formatDateTimeRange as q, unsafeAsPositiveCents as qt, NAVIGATION_LOCATIONS as r, parseMediaAssetId as rn, getLocalScheduleDate as rt, parseVerticalPresetId as s, parseSiteId as sn, parseUtcIsoDateTimeString as st, resolveEventCatalogue as t, parseDatedOfferingCapacityHoldId as tn, formatLocalScheduleTime as tt, EVENT_PRESET_VALUES as u, unsafeAsAppointmentResourceId as un, toBookingTimeZone as ut, resolveWholeSeriesBookingPhase as v, unsafeAsEventInstanceId as vn, addIntervalPreservingMonthAnchor as vt, slugify as w, unsafeAsOriginalFilename as wn, splitAmountWithRemainderInFirst as wt, exposeSecret as x, unsafeAsFileChecksumSha256 as xn, getBookingInstalmentPlanIntervalCount as xt, resolveWholeSeriesRunLifecycle as y, unsafeAsEventOfferingId as yn, clampConfiguredAmount as yt, assertAllowedPublicUrl as z, err as zn, mapNonEmptyArray as zt };
8474
+ export { resolveBookingDisplayContext as $, formatDurationUnitLabel as $t, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as A, unsafeAsPricingOptionId as An, parseEventPageSurfaceSubject as At, parseWeeklyOpeningHours as B, unsafeAsUserId as Bn, fromArray as Bt, stableJsonStringify as C, unsafeAsFileChecksumSha256 as Cn, getBookingInstalmentPlanIntervalCount as Ct, parseMailingListSignedSourceToken as D, unsafeAsPassId as Dn, resolveFlexibleBalanceDueAt as Dt, parseMailingListContentVersionId as E, unsafeAsOriginalFilename as En, splitAmountWithRemainderInFirst as Et, DEFAULT_MAILING_LIST_TARGETING as F, unsafeAsSiteScopedStoragePath as Fn, publicEventPricingDisplay as Ft, selectCategoryView as G, parsePositiveCents as Gt, isPresent as H, ok as Hn, mapReadonlyNonEmptyArray as Ht, planMailingListChoicePresentation as I, unsafeAsStaffMemberId as In, publicEventPricingOptions as It, formatDateTime as J, unsafeAsNonNegativeCents as Jt, formatDate as K, toCents as Kt, isCanonicalRichTextDoc as L, unsafeAsStorageBucketName as Ln, publicEventPricingType as Lt, parseFooterCompositionV1 as M, unsafeAsSafeDownloadFilename as Mn, formatEventPricing as Mt, footerNavigationLayouts as N, unsafeAsSiteFontId as Nn, isPublicEventPricingOptionDisplayable as Nt, parseMailingListRuntimeContext as O, unsafeAsPositiveByteCount as On, resolveFlexibleBalanceInitialPaymentCents as Ot, parseMailingListPlacementTargeting as P, unsafeAsSiteId as Pn, publicEventPricingCurrency as Pt, inferSiteDateLocale as Q, assertNever as Qt, formatOpeningHoursRows as R, unsafeAsStoragePath as Rn, resolveExactOrFreePriceDisplay as Rt, parseManagementKey as S, unsafeAsEventSeriesId as Sn, getBookingInstalmentDepositRefundability as St, parseMailingListBlockId as T, unsafeAsOccurrenceId as Tn, omitZeroAmountFutureRows as Tt, normalizeLocationAddressText as U, isNonNegativeWholeCents as Ut, assertAllowedPublicUrl as V, err as Vn, mapNonEmptyArray as Vt, toLocationCoordinates as W, parseNonNegativeCents as Wt, formatTime as X, formatCurrencyAmount as Xt, formatDateTimeRange as Y, unsafeAsPositiveCents as Yt, formatTimeRange as Z, parseCurrencyCode as Zt, orderedLiveRunSessions as _, unsafeAsDemoCapability as _n, isLiveOrderInstalmentPlanStatus as _t, canonicalizeConfiguredBookingVerticalConfig as a, parseMediaAssetId as an, getLocalScheduleDate as at, createSecret as b, unsafeAsEventInstanceId as bn, addIntervalPreservingMonthAnchor as bt, resolveSiteVerticalBookingConfig as c, parseRetiredCourseId as cn, parseBookingLocalDate as ct, ORDINARY_EVENT_PRESET_VALUES as d, parseUserId as dn, resolveBookingTimeZoneId as dt, parseApiKeyId as en, buildBookingUtcDateWindow as et, SURFACE_EVENT_PRESET_VALUES as f, unsafeAsAppointmentResourceId as fn, toBookingTimeZone as ft, nextLiveRunSessionStartMs as g, unsafeAsDeclaredMimeType as gn, validateBookingPaymentOptionKinds as gt, CANCELLED_SESSION_STATUS as h, unsafeAsCheckoutLineId as hn, parseBookingTimeZone as ht, areConfiguredBookingVerticalConfigsEqual as i, parseEventSeriesId as in, getBookingLocalDateKey as it, parseMailingListProviderScope as j, unsafeAsProductId as jn, formatBookingPriceDisplay as jt, assessMailingListTargeting as k, unsafeAsPositiveSeconds as kn, deriveTotalTicketQuantity as kt, DEFAULT_EVENT_TYPE_PRESETS as l, parseSiteId as ln, parseUtcIsoDateTimeString as lt, publicReadFreshnessSeconds as m, unsafeAsBookingSessionId as mn, toUtcIsoDateTimeString as mt, EVENT_PRESET_VOCABULARY as n, parseDatedOfferingCapacityHoldAuditRef as nn, formatLocalScheduleDate as nt, parseVerticalId as o, parseMembershipId as on, getLocalScheduleTime as ot, WHOLE_SERIES_EVENT_PRESET_VALUES as p, unsafeAsBookingRequirementId as pn, toScheduledBookingDateTime as pt, formatDateRange as q, toNonNegativeCents as qt, NAVIGATION_LOCATIONS as r, parseDatedOfferingCapacityHoldId as rn, formatLocalScheduleTime as rt, parseVerticalPresetId as s, parsePageId as sn, localScheduleTimePattern as st, resolveEventCatalogue as t, parseCustomerId as tn, compareLocalScheduleDates as tt, EVENT_PRESET_VALUES as u, parseSiteTermsVersionId as un, resolveBookingBusinessTimeZone as ut, resolveWholeSeriesBookingPhase as v, unsafeAsDetectedMimeType as vn, isSettleableFlexibleBalanceContractStatus as vt, slugify as w, unsafeAsMediaAssetId as wn, getBookingInstalmentProtectedDepositAmountCents as wt, exposeSecret as x, unsafeAsEventOfferingId as xn, clampConfiguredAmount as xt, resolveWholeSeriesRunLifecycle as y, unsafeAsEntitlementId as yn, isSettleableOrderInstalmentPlanStatus as yt, parsePublicContactDetails as z, unsafeAsUploadSessionId as zn, resolvePricingOptionsPriceDisplay as zt };
package/dist/testing.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import "./sdk-event-upsert-BqjzK2zT.mjs";
3
- import "./src-zzwJUef5.mjs";
4
- import { An as createOutput, Ft as applyPushConfigPlan, H as syncLocalMediaForPush, L as calculateEntryDiffs, Rt as preparePushConfigTarget, U as syncLocalMediaForPull, o as executeEntryCommandPlanAsSyncResult, pt as writeMediaManifest, rt as readEntries, t as compileEntryPushCommands } from "./entryCommands-CoGu0G2R.mjs";
5
- import "./load-config-j58KSqxl.mjs";
2
+ import "./sdk-event-upsert-B3gflo1K.mjs";
3
+ import "./src-RfhyMOpX.mjs";
4
+ import { Bt as preparePushConfigTarget, G as syncLocalMediaForPull, Lt as applyPushConfigPlan, Mn as createOutput, W as syncLocalMediaForPush, at as readEntries, ht as writeMediaManifest, o as executeEntryCommandPlanAsSyncResult, t as compileEntryPushCommands, z as calculateEntryDiffs } from "./entryCommands-Bu-z9kxb.mjs";
5
+ import "./load-config-pAPKpeE0.mjs";
6
6
 
7
7
  export { applyPushConfigPlan, calculateEntryDiffs, compileEntryPushCommands, createOutput, executeEntryCommandPlanAsSyncResult, preparePushConfigTarget, readEntries, syncLocalMediaForPull, syncLocalMediaForPush, writeMediaManifest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riverbankcms",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Riverbank CMS command-line tools for SDK site developers",
5
5
  "bin": {
6
6
  "riverbankcms": "dist/cli/index.mjs"
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { t as loadConfigFile } from "./load-config-j58KSqxl.mjs";
3
-
4
- export { loadConfigFile };