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.
- package/dist/acceptance/matrix.mjs +3 -3
- package/dist/cli/index.mjs +5075 -482
- package/dist/{eventUpsertInputSchema-IPfgjpZN.mjs → eventUpsertInputSchema-CGYRnGF5.mjs} +2 -2
- package/dist/{load-config-4qWCVvBe.mjs → load-config-CKdduOqm.mjs} +2 -2
- package/dist/load-config-DqVR7THz.mjs +4 -0
- package/dist/{local-sync-But5fsta.mjs → local-sync-2x8FP35G.mjs} +2 -2
- package/dist/{plan-tejzSw1n.mjs → plan-kJ-LMUsD.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-TGjuLLJp.mjs → sdk-event-upsert-TBJhbame.mjs} +5507 -5185
- package/dist/{src-DQ0xnGOE.mjs → src-DxiCPcDa.mjs} +51 -1
- package/dist/testing.mjs +3 -3
- package/package.json +1 -1
- package/dist/load-config-BmrIcDxY.mjs +0 -4
|
@@ -7368,4 +7368,54 @@ function eventCatalogueChoices(catalogue) {
|
|
|
7368
7368
|
}
|
|
7369
7369
|
|
|
7370
7370
|
//#endregion
|
|
7371
|
-
|
|
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-
|
|
3
|
-
import "./src-
|
|
4
|
-
import { n as syncLocalMediaForPush, r as syncLocalMediaForPull, y as writeMediaManifest } from "./local-sync-
|
|
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