riverbankcms 0.29.0 → 0.30.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 +17 -3
- package/dist/cli/index.mjs +74354 -29516
- package/dist/cli/init-docs/content/cli-reference.md +22 -0
- package/dist/{entryCommands-5kz7nIFG.mjs → entryCommands-DqqGit0l.mjs} +15303 -10582
- package/dist/{eventUpsertInputSchema-DEN6k1oM.mjs → eventUpsertInputSchema-EGy8zFUx.mjs} +24 -106
- package/dist/load-config-3e2Npz2O.mjs +4 -0
- package/dist/{load-config-JcidEUjc.mjs → load-config-Dgw0C6y3.mjs} +2 -2
- package/dist/{plan-BppGb0gS.mjs → plan-cE7TKMc1.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/sdk-event-upsert-mPJpEQ2x.mjs +15022 -0
- package/dist/{src-4CBCWovR.mjs → src-DOwrYdTk.mjs} +27 -6
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-DkoaFO1t.mjs +0 -4
- package/dist/sdk-event-upsert-CXc13KPT.mjs +0 -63038
|
@@ -1860,6 +1860,8 @@ const LIVE_CONTRACT_STATUSES = {
|
|
|
1860
1860
|
function isLiveOrderInstalmentPlanStatus(status) {
|
|
1861
1861
|
return LIVE_PLAN_STATUSES[status];
|
|
1862
1862
|
}
|
|
1863
|
+
/** The live plan statuses as a list, for queries that select plans to collect. */
|
|
1864
|
+
const LIVE_ORDER_INSTALMENT_PLAN_STATUSES = Object.keys(LIVE_PLAN_STATUSES).filter(isLiveOrderInstalmentPlanStatus);
|
|
1863
1865
|
function isLiveFlexibleBalanceContractStatus(status) {
|
|
1864
1866
|
return LIVE_CONTRACT_STATUSES[status];
|
|
1865
1867
|
}
|
|
@@ -3613,11 +3615,6 @@ function resolvePermittedLocation(permission, location, siteCountry) {
|
|
|
3613
3615
|
|
|
3614
3616
|
//#endregion
|
|
3615
3617
|
//#region ../core/src/venue-location.ts
|
|
3616
|
-
/**
|
|
3617
|
-
* Release 1 gate: anon can still read the legacy address columns until release 2's migration,
|
|
3618
|
-
* so "Only people who've booked" isn't offered or accepted yet. Release 2 deletes this.
|
|
3619
|
-
*/
|
|
3620
|
-
const BOOKED_ONLY_VENUE_ADDRESS_AVAILABLE = false;
|
|
3621
3618
|
const venueLocationAudience = Symbol("venue-location-audience");
|
|
3622
3619
|
/** Eligibility to read the venue is decided by the resource owner before disclosure. */
|
|
3623
3620
|
function decidePublicVenueLocation(venue, siteCountry) {
|
|
@@ -10388,6 +10385,26 @@ const EMAIL_DEFINITIONS = {
|
|
|
10388
10385
|
perEvent: false,
|
|
10389
10386
|
templateStorage: false
|
|
10390
10387
|
},
|
|
10388
|
+
venue_claim_link: {
|
|
10389
|
+
wording: "fixed",
|
|
10390
|
+
perEvent: false,
|
|
10391
|
+
templateStorage: false
|
|
10392
|
+
},
|
|
10393
|
+
venue_claim_submitted: {
|
|
10394
|
+
wording: "fixed",
|
|
10395
|
+
perEvent: false,
|
|
10396
|
+
templateStorage: false
|
|
10397
|
+
},
|
|
10398
|
+
venue_claim_updated: {
|
|
10399
|
+
wording: "fixed",
|
|
10400
|
+
perEvent: false,
|
|
10401
|
+
templateStorage: false
|
|
10402
|
+
},
|
|
10403
|
+
venue_claim_removed: {
|
|
10404
|
+
wording: "fixed",
|
|
10405
|
+
perEvent: false,
|
|
10406
|
+
templateStorage: false
|
|
10407
|
+
},
|
|
10391
10408
|
support_ticket_notification: {
|
|
10392
10409
|
wording: "fixed",
|
|
10393
10410
|
perEvent: false,
|
|
@@ -10533,6 +10550,10 @@ const OFFLINE_PAYMENT_METHODS = [
|
|
|
10533
10550
|
"card_machine",
|
|
10534
10551
|
"other"
|
|
10535
10552
|
];
|
|
10553
|
+
/** Reads a stored method; anything unrecognised (including null) is null. */
|
|
10554
|
+
function parseOfflinePaymentMethod(value) {
|
|
10555
|
+
return OFFLINE_PAYMENT_METHODS.find((method) => method === value) ?? null;
|
|
10556
|
+
}
|
|
10536
10557
|
const OFFLINE_PAYMENT_METHOD_LABELS = {
|
|
10537
10558
|
cash: "Cash",
|
|
10538
10559
|
bank_transfer: "Bank transfer",
|
|
@@ -10541,4 +10562,4 @@ const OFFLINE_PAYMENT_METHOD_LABELS = {
|
|
|
10541
10562
|
};
|
|
10542
10563
|
|
|
10543
10564
|
//#endregion
|
|
10544
|
-
export {
|
|
10565
|
+
export { locationMapLinks as $, unsafeAsSiteId as $n, isPublicEventPricingOptionDisplayable as $t, parseMailingListContentVersionId as A, parseDatedOfferingCapacityHoldId as An, resolveBookingTimeZoneId as At, footerNavigationLayouts as B, unsafeAsSafeDownloadFilename as Bn, addIntervalPreservingMonthAnchor as Bt, resolveWholeSeriesBookingPhase as C, unsafeAsStaffMemberId as Cn, getBookingLocalDateKey as Ct, parseManagementKey as D, unsafeAsEntitlementId as Dn, parseBookingLocalDate as Dt, exposeSecret as E, parseMembershipId as En, localScheduleTimePattern as Et, parseMailingListGlobalForm as F, unsafeAsFileChecksumSha256 as Fn, BOOKING_COURSE_INSTALMENT_DEADLINES as Ft, formatOpeningHoursRows as G, unsafeAsProductId as Gn, omitZeroAmountFutureRows as Gt, DEFAULT_MAILING_LIST_TARGETING as H, unsafeAsStorageBucketName as Hn, getBookingInstalmentDepositRefundability as Ht, DEFAULT_MAILING_LIST_PRIVACY_NOTE as I, unsafeAsMediaAssetId as In, validateBookingPaymentOptionKinds as It, assertAllowedPublicUrl as J, parsePageId as Jn, resolveFlexibleBalanceInitialPaymentCents as Jt, parsePublicContactDetails as K, unsafeAsCheckoutLineId as Kn, splitAmountWithRemainderInFirst as Kt, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as L, unsafeAsOriginalFilename as Ln, isLiveOrderInstalmentPlanStatus as Lt, parseMailingListRuntimeContext as M, parseMediaAssetId as Mn, parseBookingTimeZone as Mt, assessMailingListTargeting as N, unsafeAsDeclaredMimeType as Nn, parseUtcIsoDateTimeString as Nt, slugify as O, unsafeAsPassId as On, parseLocalScheduleTime as Ot, parseConfiguredMailingListProvider as P, unsafeAsDetectedMimeType as Pn, toUtcIsoDateTimeString as Pt, stableJsonStringify as Q, parseUserId as Qn, formatEventPricing as Qt, parseMailingListProviderScope as R, unsafeAsPositiveByteCount as Rn, isSettleableFlexibleBalanceContractStatus as Rt, orderedLiveRunSessions as S, unsafeAsAppointmentResourceId as Sn, formatLocalScheduleTime as St, createSecret as T, parseSiteTermsVersionId as Tn, getLocalScheduleTime as Tt, planMailingListChoicePresentation as U, unsafeAsStoragePath as Un, getBookingInstalmentPlanIntervalCount as Ut, parseMailingListPlacementTargeting as V, unsafeAsSiteScopedStoragePath as Vn, clampConfiguredAmount as Vt, isCanonicalRichTextDoc as W, unsafeAsUploadSessionId as Wn, getBookingInstalmentProtectedDepositAmountCents as Wt, SENSITIVE_COLLECTION_MODES as X, parseApiKeyId as Xn, parseEventPageSurfaceSubject as Xt, SENSITIVE_COLLECTION_CONFIRMATION_VERSION as Y, unsafeAsSiteFontId as Yn, deriveTotalTicketQuantity as Yt, decideLocationSave as Z, parseSiteId as Zn, formatBookingPriceDisplay as Zt, WHOLE_SERIES_EVENT_PRESET_VALUES as _, parseCurrencyCode as _n, resolveBookingDisplayContext as _t, resolveEventCatalogue as a, resolvePricingOptionsPriceDisplay as an, unsafeAsEventSeriesId as ar, toLocationCoordinates as at, CANCELLED_SESSION_STATUS as b, unsafeAsBookingRequirementId as bn, compareLocalScheduleDates as bt, areConfiguredBookingVerticalConfigsEqual as c, mapReadonlyNonEmptyArray as cn, err as cr, mapDrawingSchema as ct, parseVerticalPresetId as d, parsePositiveCents as dn, formatDateRange as dt, publicEventPricingCurrency as en, unsafeAsUserId as er, locationValueSchema as et, resolveSiteVerticalBookingConfig as f, toCents as fn, formatDateTime as ft, SURFACE_EVENT_PRESET_VALUES as g, formatCurrencyAmount as gn, inferSiteDateLocale as gt, ORDINARY_EVENT_PRESET_VALUES as h, unsafeAsPositiveCents as hn, formatTimeRange as ht, authoredValuesEqual as i, resolveExactOrFreePriceDisplay as in, unsafeAsEventOfferingId as ir, publicLocationSchema as it, parseMailingListSignedSourceToken as j, unsafeAsBookingSessionId as jn, toBookingTimeZone as jt, parseMailingListBlockId as k, parseDatedOfferingCapacityHoldAuditRef as kn, resolveBookingBusinessTimeZone as kt, canonicalizeConfiguredBookingVerticalConfig as l, isNonNegativeWholeCents as ln, ok as lr, selectCategoryView as lt, EVENT_PRESET_VALUES as m, unsafeAsNonNegativeCents as mn, formatTime as mt, committedWriteProofSchema as n, publicEventPricingOptions as nn, parseRetiredCourseId as nr, parseLocationValue as nt, EVENT_PRESET_VOCABULARY as o, fromArray as on, unsafeAsOccurrenceId as or, isPresent as ot, DEFAULT_EVENT_TYPE_PRESETS as p, toNonNegativeCents as pn, formatDateTimeRange as pt, parseWeeklyOpeningHours as q, parseEditorSessionGeneration as qn, resolveFlexibleBalanceDueAt as qt, isRecord as r, publicEventPricingType as rn, unsafeAsEventInstanceId as rr, projectPublicLocation as rt, NAVIGATION_LOCATIONS as s, mapNonEmptyArray as sn, unsafeAsPricingOptionId as sr, trimmedStringOrNull as st, OFFLINE_PAYMENT_METHODS as t, publicEventPricingDisplay as tn, parseEventSeriesId as tr, normalizeLocationAddressText as tt, parseVerticalId as u, parseNonNegativeCents as un, blockInteractionContextSchema as ur, formatDate as ut, getPublicReadCachePolicy as v, assertNever as vn, toScheduledBookingDateTime as vt, resolveWholeSeriesRunLifecycle as w, parseCustomerId as wn, getLocalScheduleDate as wt, nextLiveRunSessionStartMs as x, unsafeAsDemoCapability as xn, formatLocalScheduleDate as xt, publicReadFreshnessSeconds as y, formatDurationUnitLabel as yn, buildBookingUtcDateWindow as yt, parseFooterCompositionV1 as z, unsafeAsPositiveSeconds as zn, isSettleableOrderInstalmentPlanStatus as zt };
|
package/dist/testing.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./sdk-event-upsert-
|
|
3
|
-
import "./src-
|
|
4
|
-
import {
|
|
5
|
-
import "./load-config-
|
|
2
|
+
import "./sdk-event-upsert-mPJpEQ2x.mjs";
|
|
3
|
+
import "./src-DOwrYdTk.mjs";
|
|
4
|
+
import { G as syncLocalMediaForPull, Gt as applyPushConfigPlan, Jt as preparePushConfigTarget, Mn as createOutput, W as syncLocalMediaForPush, at as readEntries, ht as writeMediaManifest, o as executeEntryCommandPlanAsSyncResult, t as compileEntryPushCommands, z as calculateEntryDiffs } from "./entryCommands-DqqGit0l.mjs";
|
|
5
|
+
import "./load-config-Dgw0C6y3.mjs";
|
|
6
6
|
|
|
7
7
|
export { applyPushConfigPlan, calculateEntryDiffs, compileEntryPushCommands, createOutput, executeEntryCommandPlanAsSyncResult, preparePushConfigTarget, readEntries, syncLocalMediaForPull, syncLocalMediaForPush, writeMediaManifest };
|
package/package.json
CHANGED