riverbankcms 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7368,4 +7368,54 @@ function eventCatalogueChoices(catalogue) {
7368
7368
  }
7369
7369
 
7370
7370
  //#endregion
7371
- export { validateBookingPaymentOptionKinds as $, footerNavigationLayouts as A, unsafeAsOccurrenceId as At, formatBookingDate as B, unsafeAsStorageBucketName as Bt, parseMailingListContentVersionId as C, unsafeAsDemoCapability as Ct, sameMailingListPlacementTargeting as D, unsafeAsEventSeriesId as Dt, planMailingListChoicePresentation as E, unsafeAsEventOfferingId as Et, isPresent as F, unsafeAsSafeDownloadFilename as Ft, getBookingLocalDateKey as G, ok as Gt, formatBookingTime as H, unsafeAsUploadSessionId as Ht, normalizeLocationAddressText as I, unsafeAsSiteFontId as It, parseUtcIsoDateTimeString as J, getLocalScheduleDate as K, toLocationCoordinates as L, unsafeAsSiteId as Lt, parseMailingListPlacementTargeting as M, unsafeAsPositiveByteCount as Mt, isCanonicalRichTextDoc as N, unsafeAsPositiveSeconds as Nt, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as O, unsafeAsFileChecksumSha256 as Ot, assertAllowedPublicUrl as P, unsafeAsProductId as Pt, parseBookingTimeZone as Q, selectCategoryView as R, unsafeAsSiteScopedStoragePath as Rt, parseMailingListBlockId as S, unsafeAsDeclaredMimeType as St, parseMailingListRuntimeContext as T, unsafeAsEntitlementId as Tt, formatLocalScheduleDate as U, unsafeAsUserId as Ut, formatBookingDateParts as V, unsafeAsStoragePath as Vt, formatLocalScheduleTime as W, err as Wt, toScheduledBookingDateRange as X, toBookingTimeZone as Y, toScheduledBookingDateTime as Z, createSecret as _, parseSiteId as _t, parseVerticalId as a, publicEventPricingDisplay as at, stableJsonStringify as b, unsafeAsBookingRequirementId as bt, DEFAULT_EVENT_TYPE_PRESETS as c, resolvePricingOptionsPriceDisplay as ct, SURFACE_EVENT_PRESET_VALUES as d, formatCurrencyAmount as dt, parseEventPageSurfaceSubject as et, WHOLE_SERIES_EVENT_PRESET_VALUES as f, assertNever as ft, resolveWholeSeriesBookingPhase as g, parsePageId as gt, orderedLiveRunSessions as h, parseMediaAssetId as ht, canonicalizeConfiguredBookingVerticalConfig as i, publicEventPricingCurrency as it, parseFooterCompositionV1 as j, unsafeAsOriginalFilename as jt, parseMailingListProviderScope as k, unsafeAsMediaAssetId as kt, EVENT_PRESET_VALUES as l, fromArray as lt, CANCELLED_SESSION_STATUS as m, parseEventSeriesId as mt, NAVIGATION_LOCATIONS as n, formatEventPricing as nt, parseVerticalPresetId as o, publicEventPricingType as ot, publicReadFreshnessSeconds as p, parseApiKeyId as pt, getLocalScheduleTime as q, areConfiguredBookingVerticalConfigsEqual as r, isPublicEventPricingOptionDisplayable as rt, resolveSiteVerticalBookingConfig as s, resolveExactOrFreePriceDisplay as st, resolveEventCatalogue as t, formatBookingPriceDisplay as tt, ORDINARY_EVENT_PRESET_VALUES as u, mapNonEmptyArray as ut, exposeSecret as v, parseUserId as vt, parseMailingListSignedSourceToken as w, unsafeAsDetectedMimeType as wt, buildMailingListSignupBlockSourceRef as x, unsafeAsBookingSessionId as xt, parseManagementKey as y, unsafeAsAppointmentResourceId as yt, buildBookingUtcDateWindow as z, unsafeAsStaffMemberId as zt };
7371
+ //#region ../core/src/patch/index.ts
7372
+ function settableFrom(wireValue) {
7373
+ return wireValue === undefined ? { kind: "keep" } : {
7374
+ kind: "set",
7375
+ value: wireValue
7376
+ };
7377
+ }
7378
+ function clearableFrom(wireValue) {
7379
+ return wireValue === undefined ? { kind: "keep" } : wireValue === null ? { kind: "clear" } : {
7380
+ kind: "set",
7381
+ value: wireValue
7382
+ };
7383
+ }
7384
+ function applySettable(stored, change) {
7385
+ switch (change.kind) {
7386
+ case "keep": return stored;
7387
+ case "set": return change.value;
7388
+ default: return assertNever(change);
7389
+ }
7390
+ }
7391
+ function applyClearable(stored, change) {
7392
+ switch (change.kind) {
7393
+ case "keep": return stored;
7394
+ case "set": return change.value;
7395
+ case "clear": return null;
7396
+ default: return assertNever(change);
7397
+ }
7398
+ }
7399
+ /** A null deletes a key; protected keys are refused even when their value agrees. */
7400
+ function mergeBag(stored, patch, options) {
7401
+ const keys = options.protectedKeys.filter((key) => Object.prototype.hasOwnProperty.call(patch, key));
7402
+ if (keys.length > 0) return {
7403
+ ok: false,
7404
+ error: {
7405
+ kind: "protected-keys",
7406
+ keys
7407
+ }
7408
+ };
7409
+ const retained = Object.fromEntries(Object.entries(stored).filter(([key]) => !Object.prototype.hasOwnProperty.call(patch, key) || patch[key] !== null));
7410
+ const supplied = Object.fromEntries(Object.entries(patch).filter((entry) => entry[1] !== undefined && entry[1] !== null));
7411
+ return {
7412
+ ok: true,
7413
+ value: {
7414
+ ...retained,
7415
+ ...supplied
7416
+ }
7417
+ };
7418
+ }
7419
+
7420
+ //#endregion
7421
+ export { parseBookingTimeZone as $, unsafeAsEventSeriesId as $t, footerNavigationLayouts as A, parseCurrencyCode as At, buildBookingUtcDateWindow as B, parseRetiredCourseId as Bt, parseMailingListContentVersionId as C, isNonNegativeWholeCents as Ct, sameMailingListPlacementTargeting as D, unsafeAsNonNegativeCents as Dt, planMailingListChoicePresentation as E, toNonNegativeCents as Et, assertAllowedPublicUrl as F, parseDatedOfferingCapacityHoldId as Ft, formatLocalScheduleTime as G, unsafeAsBookingSessionId as Gt, formatBookingDateParts as H, parseUserId as Ht, isPresent as I, parseEventSeriesId as It, getLocalScheduleTime as J, unsafeAsDemoCapability as Jt, getBookingLocalDateKey as K, unsafeAsCheckoutLineId as Kt, normalizeLocationAddressText as L, parseMediaAssetId as Lt, parseMailingListPlacementTargeting as M, parseApiKeyId as Mt, isCanonicalRichTextDoc as N, parseCustomerId as Nt, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as O, unsafeAsPositiveCents as Ot, parsePublicContactDetails as P, parseDatedOfferingCapacityHoldAuditRef as Pt, toScheduledBookingDateTime as Q, unsafeAsEventOfferingId as Qt, toLocationCoordinates as R, parseMembershipId as Rt, parseMailingListBlockId as S, mapNonEmptyArray as St, parseMailingListRuntimeContext as T, toCents as Tt, formatBookingTime as U, unsafeAsAppointmentResourceId as Ut, formatBookingDate as V, parseSiteId as Vt, formatLocalScheduleDate as W, unsafeAsBookingRequirementId as Wt, toBookingTimeZone as X, unsafeAsEntitlementId as Xt, parseUtcIsoDateTimeString as Y, unsafeAsDetectedMimeType as Yt, toScheduledBookingDateRange as Z, unsafeAsEventInstanceId as Zt, createSecret as _, unsafeAsUserId as _n, publicEventPricingDisplay as _t, parseVerticalId as a, unsafeAsPositiveByteCount as an, clampConfiguredAmount as at, stableJsonStringify as b, resolvePricingOptionsPriceDisplay as bt, DEFAULT_EVENT_TYPE_PRESETS as c, unsafeAsProductId as cn, omitZeroAmountFutureRows as ct, SURFACE_EVENT_PRESET_VALUES as d, unsafeAsSiteId as dn, resolveFlexibleBalanceInitialPaymentCents as dt, unsafeAsFileChecksumSha256 as en, validateBookingPaymentOptionKinds as et, WHOLE_SERIES_EVENT_PRESET_VALUES as f, unsafeAsSiteScopedStoragePath as fn, parseEventPageSurfaceSubject as ft, resolveWholeSeriesBookingPhase as g, unsafeAsUploadSessionId as gn, publicEventPricingCurrency as gt, orderedLiveRunSessions as h, unsafeAsStoragePath as hn, isPublicEventPricingOptionDisplayable as ht, canonicalizeConfiguredBookingVerticalConfig as i, unsafeAsPassId as in, addIntervalPreservingMonthAnchor as it, parseFooterCompositionV1 as j, assertNever as jt, parseMailingListProviderScope as k, formatCurrencyAmount as kt, EVENT_PRESET_VALUES as l, unsafeAsSafeDownloadFilename as ln, splitAmountWithRemainderInFirst as lt, CANCELLED_SESSION_STATUS as m, unsafeAsStorageBucketName as mn, formatEventPricing as mt, NAVIGATION_LOCATIONS as n, unsafeAsOccurrenceId as nn, isSettleableFlexibleBalanceContractStatus as nt, parseVerticalPresetId as o, unsafeAsPositiveSeconds as on, getBookingInstalmentDepositRefundability as ot, publicReadFreshnessSeconds as p, unsafeAsStaffMemberId as pn, formatBookingPriceDisplay as pt, getLocalScheduleDate as q, unsafeAsDeclaredMimeType as qt, areConfiguredBookingVerticalConfigsEqual as r, unsafeAsOriginalFilename as rn, isSettleableOrderInstalmentPlanStatus as rt, resolveSiteVerticalBookingConfig as s, unsafeAsPricingOptionId as sn, getBookingInstalmentProtectedDepositAmountCents as st, resolveEventCatalogue as t, unsafeAsMediaAssetId as tn, isLiveOrderInstalmentPlanStatus as tt, ORDINARY_EVENT_PRESET_VALUES as u, unsafeAsSiteFontId as un, resolveFlexibleBalanceDueAt as ut, exposeSecret as v, err as vn, publicEventPricingType as vt, parseMailingListSignedSourceToken as w, parseNonNegativeCents as wt, buildMailingListSignupBlockSourceRef as x, fromArray as xt, parseManagementKey as y, ok as yn, resolveExactOrFreePriceDisplay as yt, selectCategoryView as z, parsePageId as zt };
package/dist/testing.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import "./sdk-event-upsert-TGjuLLJp.mjs";
3
- import "./src-DQ0xnGOE.mjs";
4
- import { n as syncLocalMediaForPush, r as syncLocalMediaForPull, y as writeMediaManifest } from "./local-sync-But5fsta.mjs";
2
+ import "./sdk-event-upsert-TBJhbame.mjs";
3
+ import "./src-DxiCPcDa.mjs";
4
+ import { n as syncLocalMediaForPush, r as syncLocalMediaForPull, y as writeMediaManifest } from "./local-sync-2x8FP35G.mjs";
5
5
 
6
6
  export { syncLocalMediaForPull, syncLocalMediaForPush, writeMediaManifest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "riverbankcms",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
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-4qWCVvBe.mjs";
3
-
4
- export { loadConfigFile };