riverbankcms 0.31.1 → 0.31.2
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 +6037 -3007
- package/dist/{entryCommands-CYEpLRXI.mjs → entryCommands-BnfJSvqs.mjs} +219 -18
- package/dist/eventUpsertInputSchema-NGbAnXH1.mjs +108 -0
- package/dist/load-config-B-bx73AK.mjs +4 -0
- package/dist/{load-config-DIyqYeRP.mjs → load-config-CMeJVHDQ.mjs} +2 -2
- package/dist/{plan-D5NfiRLe.mjs → plan-CiwCwXPF.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/sdk-event-upsert-BMYgDeSe.mjs +35556 -0
- package/dist/{src-exrglXYU.mjs → src-BXMUcFYN.mjs} +172 -45
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/eventUpsertInputSchema-CGmm5o_I.mjs +0 -5519
- package/dist/load-config-B_kPvIxz.mjs +0 -4
- package/dist/sdk-event-upsert-0U4hsDpo.mjs +0 -15688
|
@@ -161,7 +161,6 @@ const unsafeAsDatedOfferingCapacityHoldAuditRef = (value) => value;
|
|
|
161
161
|
const unsafeAsDatedOfferingRevocationAuditEventId = (value) => value;
|
|
162
162
|
const unsafeAsDatedOfferingWaitlistCapacityEffectId = (value) => value;
|
|
163
163
|
const unsafeAsDatedOfferingWaitlistCapacityEffectClaimToken = (value) => value;
|
|
164
|
-
const unsafeAsDatedOfferingRunCancellationOperationId = (value) => value;
|
|
165
164
|
const unsafeAsWaitlistEntryId = (id) => id;
|
|
166
165
|
const unsafeAsWaitlistHoldId = (id) => id;
|
|
167
166
|
const parseDatedOfferingCapacityHoldId = (value) => parseUuidBrand(value, unsafeAsDatedOfferingCapacityHoldId);
|
|
@@ -169,7 +168,6 @@ const parseDatedOfferingCapacityHoldAuditRef = (value) => parseUuidBrand(value,
|
|
|
169
168
|
const parseDatedOfferingRevocationAuditEventId = (value) => parseUuidBrand(value, unsafeAsDatedOfferingRevocationAuditEventId);
|
|
170
169
|
const parseDatedOfferingWaitlistCapacityEffectId = (value) => parseUuidBrand(value, unsafeAsDatedOfferingWaitlistCapacityEffectId);
|
|
171
170
|
const parseDatedOfferingWaitlistCapacityEffectClaimToken = (value) => parseUuidBrand(value, unsafeAsDatedOfferingWaitlistCapacityEffectClaimToken);
|
|
172
|
-
const parseDatedOfferingRunCancellationOperationId = (value) => parseUuidBrand(value, unsafeAsDatedOfferingRunCancellationOperationId);
|
|
173
171
|
|
|
174
172
|
//#endregion
|
|
175
173
|
//#region ../core/src/branded/entitlements.ts
|
|
@@ -1387,8 +1385,8 @@ function formatBookingPriceDisplay(display, options = {}) {
|
|
|
1387
1385
|
case "free": return "Free";
|
|
1388
1386
|
case "exact": return formatCurrencyAmount(display.amount, display.currency, options);
|
|
1389
1387
|
case "from": return `From ${formatCurrencyAmount(display.amount, display.currency, options)}`;
|
|
1390
|
-
case "range": return `${formatCurrencyAmount(display.minAmount, display.currency, options)}
|
|
1391
|
-
case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}
|
|
1388
|
+
case "range": return `${formatCurrencyAmount(display.minAmount, display.currency, options)}–${formatCurrencyAmount(display.maxAmount, display.currency, options)}`;
|
|
1389
|
+
case "mixed": return display.paidToAmount > display.paidFromAmount ? `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}–${formatCurrencyAmount(display.paidToAmount, display.currency, options)}` : `Free / ${formatCurrencyAmount(display.paidFromAmount, display.currency, options)}`;
|
|
1392
1390
|
case "unavailable": return "Pricing unavailable";
|
|
1393
1391
|
case "external": return display.label;
|
|
1394
1392
|
default: return assertNever(display);
|
|
@@ -1399,6 +1397,46 @@ function formatEventPricing(pricing, options = {}) {
|
|
|
1399
1397
|
return formatBookingPriceDisplay(publicEventPricingDisplay(pricing), options);
|
|
1400
1398
|
}
|
|
1401
1399
|
|
|
1400
|
+
//#endregion
|
|
1401
|
+
//#region ../core/src/event-preset-vocabulary.ts
|
|
1402
|
+
const EVENT_PRESET_VOCABULARY = {
|
|
1403
|
+
event: {
|
|
1404
|
+
label: "Event",
|
|
1405
|
+
pluralLabel: "Events",
|
|
1406
|
+
description: "Any event, repeating or manually dated, that does not fit the other categories."
|
|
1407
|
+
},
|
|
1408
|
+
class: {
|
|
1409
|
+
label: "Class",
|
|
1410
|
+
pluralLabel: "Classes",
|
|
1411
|
+
description: "Regular scheduled classes and group sessions."
|
|
1412
|
+
},
|
|
1413
|
+
course: {
|
|
1414
|
+
label: "Course",
|
|
1415
|
+
pluralLabel: "Courses",
|
|
1416
|
+
description: "A fixed set of dates that people book together."
|
|
1417
|
+
},
|
|
1418
|
+
term: {
|
|
1419
|
+
label: "Term",
|
|
1420
|
+
pluralLabel: "Terms",
|
|
1421
|
+
description: "A fixed term of sessions that people book together."
|
|
1422
|
+
},
|
|
1423
|
+
workshop: {
|
|
1424
|
+
label: "Workshop",
|
|
1425
|
+
pluralLabel: "Workshops",
|
|
1426
|
+
description: "One-off workshops, day sessions, or special events."
|
|
1427
|
+
},
|
|
1428
|
+
retreat: {
|
|
1429
|
+
label: "Retreat",
|
|
1430
|
+
pluralLabel: "Retreats",
|
|
1431
|
+
description: "Multi-day or residential immersive experiences."
|
|
1432
|
+
},
|
|
1433
|
+
performance: {
|
|
1434
|
+
label: "Performance",
|
|
1435
|
+
pluralLabel: "Performances",
|
|
1436
|
+
description: "Audience-facing shows, concerts, recitals, or showcases."
|
|
1437
|
+
}
|
|
1438
|
+
};
|
|
1439
|
+
|
|
1402
1440
|
//#endregion
|
|
1403
1441
|
//#region ../core/src/event-page-surface-subject.ts
|
|
1404
1442
|
function createEventSeriesPageSurfaceSubject(eventSeriesId, bookingScope, eventDestinationMode) {
|
|
@@ -1525,6 +1563,17 @@ function parseEventSeriesIdList(values) {
|
|
|
1525
1563
|
function isRecord$10(value) {
|
|
1526
1564
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1527
1565
|
}
|
|
1566
|
+
/**
|
|
1567
|
+
* The offering-kind label a page surface's subject settles on its own, such as
|
|
1568
|
+
* "Course" for a whole-series run's page. Uses the platform vocabulary that
|
|
1569
|
+
* lists and the booking flow use. An ordinary series or an offering page
|
|
1570
|
+
* doesn't say which preset it belongs to, so it has no label here and the
|
|
1571
|
+
* template's own default stands.
|
|
1572
|
+
*/
|
|
1573
|
+
function offeringLabelForPageSurfaceSubject(subject) {
|
|
1574
|
+
if (subject?.kind !== "eventSeries") return null;
|
|
1575
|
+
return subject.bookingScope === "whole_series" ? EVENT_PRESET_VOCABULARY.course.label : null;
|
|
1576
|
+
}
|
|
1528
1577
|
|
|
1529
1578
|
//#endregion
|
|
1530
1579
|
//#region ../core/src/page-surface-subject.ts
|
|
@@ -8759,6 +8808,11 @@ const VERTICAL_DEFINITIONS = [
|
|
|
8759
8808
|
label: "Theatre or performing arts school",
|
|
8760
8809
|
description: "Classes, terms, workshops, performances, and lessons."
|
|
8761
8810
|
},
|
|
8811
|
+
{
|
|
8812
|
+
id: "arts_crafts",
|
|
8813
|
+
label: "Arts and crafts",
|
|
8814
|
+
description: "Pottery, painting, printmaking and making classes, courses and workshops."
|
|
8815
|
+
},
|
|
8762
8816
|
{
|
|
8763
8817
|
id: "community_wellbeing",
|
|
8764
8818
|
label: "Community or wellbeing centre",
|
|
@@ -8843,6 +8897,10 @@ const VERTICAL_BOOKING_PRESETS = [
|
|
|
8843
8897
|
verticalBookingPreset("performing_arts_school.workshops", "performing_arts_school", "workshop", "Workshop", "Workshops", "One-off workshops, masterclasses, or intensives."),
|
|
8844
8898
|
verticalBookingPreset("performing_arts_school.performances", "performing_arts_school", "performance", "Performance", "Performances", "Shows, showcases, productions, or ticketed performances."),
|
|
8845
8899
|
verticalBookingPreset("performing_arts_school.lessons", "performing_arts_school", "appointment", "Lesson", "Lessons", "One-to-one lessons, coaching, or audition prep."),
|
|
8900
|
+
verticalBookingPreset("arts_crafts.classes", "arts_crafts", "class", "Class", "Classes", "Regular weekly classes and open studio sessions."),
|
|
8901
|
+
verticalBookingPreset("arts_crafts.courses", "arts_crafts", "course", "Course", "Courses", "Multi-week courses that build a skill from the start."),
|
|
8902
|
+
verticalBookingPreset("arts_crafts.workshops", "arts_crafts", "workshop", "Workshop", "Workshops", "One-off workshops, taster sessions and make-and-take days."),
|
|
8903
|
+
verticalBookingPreset("arts_crafts.private_sessions", "arts_crafts", "appointment", "Private session", "Private sessions", "One-to-one tuition or small private group sessions."),
|
|
8846
8904
|
verticalBookingPreset("community_wellbeing.classes", "community_wellbeing", "class", "Class", "Classes", "Regular groups, sessions, practices, or weekly activities."),
|
|
8847
8905
|
verticalBookingPreset("community_wellbeing.workshops", "community_wellbeing", "workshop", "Workshop", "Workshops", "One-off workshops, talks, events, or gatherings."),
|
|
8848
8906
|
verticalBookingPreset("community_wellbeing.courses", "community_wellbeing", "course", "Course", "Courses", "Fixed-schedule courses, study groups, or multi-session programmes."),
|
|
@@ -8857,6 +8915,7 @@ const DEFAULT_ONBOARDING_PRESET_ID_BY_VERTICAL = {
|
|
|
8857
8915
|
yoga_wellness: null,
|
|
8858
8916
|
fitness_pt: null,
|
|
8859
8917
|
dance_school: null,
|
|
8918
|
+
arts_crafts: null,
|
|
8860
8919
|
physiotherapy_physical_health: "physiotherapy_physical_health.appointments",
|
|
8861
8920
|
massage_bodywork: "massage_bodywork.treatments",
|
|
8862
8921
|
therapist_practitioner: null,
|
|
@@ -9336,46 +9395,6 @@ const PORTAL_NAV_DEFAULT_LABELS = {
|
|
|
9336
9395
|
loggedIn: "My account"
|
|
9337
9396
|
};
|
|
9338
9397
|
|
|
9339
|
-
//#endregion
|
|
9340
|
-
//#region ../core/src/event-preset-vocabulary.ts
|
|
9341
|
-
const EVENT_PRESET_VOCABULARY = {
|
|
9342
|
-
event: {
|
|
9343
|
-
label: "Event",
|
|
9344
|
-
pluralLabel: "Events",
|
|
9345
|
-
description: "Any event, repeating or manually dated, that does not fit the other categories."
|
|
9346
|
-
},
|
|
9347
|
-
class: {
|
|
9348
|
-
label: "Class",
|
|
9349
|
-
pluralLabel: "Classes",
|
|
9350
|
-
description: "Regular scheduled classes and group sessions."
|
|
9351
|
-
},
|
|
9352
|
-
course: {
|
|
9353
|
-
label: "Course",
|
|
9354
|
-
pluralLabel: "Courses",
|
|
9355
|
-
description: "A fixed set of dates that people book together."
|
|
9356
|
-
},
|
|
9357
|
-
term: {
|
|
9358
|
-
label: "Term",
|
|
9359
|
-
pluralLabel: "Terms",
|
|
9360
|
-
description: "A fixed term of sessions that people book together."
|
|
9361
|
-
},
|
|
9362
|
-
workshop: {
|
|
9363
|
-
label: "Workshop",
|
|
9364
|
-
pluralLabel: "Workshops",
|
|
9365
|
-
description: "One-off workshops, day sessions, or special events."
|
|
9366
|
-
},
|
|
9367
|
-
retreat: {
|
|
9368
|
-
label: "Retreat",
|
|
9369
|
-
pluralLabel: "Retreats",
|
|
9370
|
-
description: "Multi-day or residential immersive experiences."
|
|
9371
|
-
},
|
|
9372
|
-
performance: {
|
|
9373
|
-
label: "Performance",
|
|
9374
|
-
pluralLabel: "Performances",
|
|
9375
|
-
description: "Audience-facing shows, concerts, recitals, or showcases."
|
|
9376
|
-
}
|
|
9377
|
-
};
|
|
9378
|
-
|
|
9379
9398
|
//#endregion
|
|
9380
9399
|
//#region ../core/src/event-catalogue.ts
|
|
9381
9400
|
/** Accepts validated settings; defaults and raw configuration parsing belong to the caller. */
|
|
@@ -9474,6 +9493,10 @@ const BUSINESS_VOCABULARY_BY_VERTICAL = {
|
|
|
9474
9493
|
person: person("teacher", "teachers"),
|
|
9475
9494
|
offeringsExample: "weekly drama classes, holiday workshops and an end-of-term show"
|
|
9476
9495
|
},
|
|
9496
|
+
arts_crafts: {
|
|
9497
|
+
person: person("tutor", "tutors"),
|
|
9498
|
+
offeringsExample: "a weekly wheel-throwing class, a six-week printmaking course and Saturday taster workshops"
|
|
9499
|
+
},
|
|
9477
9500
|
community_wellbeing: {
|
|
9478
9501
|
person: person("facilitator", "facilitators"),
|
|
9479
9502
|
offeringsExample: "a weekly walking group, wellbeing workshops and drop-in support sessions"
|
|
@@ -9509,6 +9532,10 @@ const TITLE_EXAMPLE_BY_PRESET = {
|
|
|
9509
9532
|
"dance_school.workshops": "e.g., Contemporary Intensive, Tap Masterclass",
|
|
9510
9533
|
"dance_school.private_lessons": "e.g., Private Ballet Lesson, Audition Coaching",
|
|
9511
9534
|
"dance_school.shows": "e.g., Winter Showcase, Summer Recital",
|
|
9535
|
+
"arts_crafts.classes": "e.g., Tuesday Evening Wheel Throwing, Open Studio",
|
|
9536
|
+
"arts_crafts.courses": "e.g., Six-Week Beginners Pottery, Lino Printing Course",
|
|
9537
|
+
"arts_crafts.workshops": "e.g., Make a Mug in a Day, Watercolour Taster",
|
|
9538
|
+
"arts_crafts.private_sessions": "e.g., One-to-One Wheel Lesson, Private Group Session",
|
|
9512
9539
|
"physiotherapy_physical_health.appointments": "e.g., Initial Assessment, Follow-Up Appointment",
|
|
9513
9540
|
"physiotherapy_physical_health.rehab_classes": "e.g., Weekly Back Care, Mobility and Strength Class",
|
|
9514
9541
|
"physiotherapy_physical_health.workshops": "e.g., Running Injury Prevention, Everyday Back Care",
|
|
@@ -11072,4 +11099,104 @@ function decideBookingEmbedChange(current, change) {
|
|
|
11072
11099
|
}
|
|
11073
11100
|
|
|
11074
11101
|
//#endregion
|
|
11075
|
-
|
|
11102
|
+
//#region ../core/src/ownerAppointmentTime.ts
|
|
11103
|
+
/** Owners may waive public rules, but cannot waive real clashes or book into the past. */
|
|
11104
|
+
function decideOwnerAppointmentTime(proposed, rules, nowMs) {
|
|
11105
|
+
const start = Date.parse(proposed.startAt);
|
|
11106
|
+
const end = Date.parse(proposed.endAt);
|
|
11107
|
+
if (end <= start || !Number.isFinite(start) || !Number.isFinite(end) || end - start !== rules.service.durationMinutes * 6e4) {
|
|
11108
|
+
return {
|
|
11109
|
+
kind: "refused",
|
|
11110
|
+
reason: "invalid_time"
|
|
11111
|
+
};
|
|
11112
|
+
}
|
|
11113
|
+
if (start < nowMs - 3 * 6e4) return {
|
|
11114
|
+
kind: "refused",
|
|
11115
|
+
reason: "past"
|
|
11116
|
+
};
|
|
11117
|
+
const overlaps$1 = (window, from = start, to = end) => from < Date.parse(window.endAt) && to > Date.parse(window.startAt);
|
|
11118
|
+
if (rules.reservations.some((window) => overlaps$1(window))) return {
|
|
11119
|
+
kind: "refused",
|
|
11120
|
+
reason: "reservation_overlap"
|
|
11121
|
+
};
|
|
11122
|
+
if (rules.appointments.some((window) => overlaps$1(window))) return {
|
|
11123
|
+
kind: "refused",
|
|
11124
|
+
reason: "appointment_overlap"
|
|
11125
|
+
};
|
|
11126
|
+
const occupiedStart = start - rules.service.prepMinutes * 6e4;
|
|
11127
|
+
const occupiedEnd = end + rules.service.cleanupMinutes * 6e4;
|
|
11128
|
+
const breaks = {
|
|
11129
|
+
working_hours: !isOwnerWorkingTime(start, end, rules),
|
|
11130
|
+
minimum_notice: start < nowMs + rules.bookingNotice.minLeadMinutes * 6e4,
|
|
11131
|
+
booking_window: rules.bookingNotice.maxBookingNoticeMinutes !== null && start > nowMs + rules.bookingNotice.maxBookingNoticeMinutes * 6e4,
|
|
11132
|
+
buffer: rules.occupiedWindows.some((window) => overlaps$1(window, occupiedStart, occupiedEnd)),
|
|
11133
|
+
closure: rules.closures.some((window) => overlaps$1(window, occupiedStart, occupiedEnd)),
|
|
11134
|
+
google_busy: rules.googleBusy.some((window) => overlaps$1(window, occupiedStart, occupiedEnd))
|
|
11135
|
+
};
|
|
11136
|
+
return {
|
|
11137
|
+
kind: "allowed",
|
|
11138
|
+
ruleBreaks: Object.keys(breaks).filter((key) => breaks[key])
|
|
11139
|
+
};
|
|
11140
|
+
}
|
|
11141
|
+
function isOwnerWorkingTime(start, end, rules) {
|
|
11142
|
+
return Boolean(rules.workingStarts?.some((value) => Date.parse(value) === start)) || rules.workingWindows.some((window) => start >= Date.parse(window.startAt) && end <= Date.parse(window.endAt));
|
|
11143
|
+
}
|
|
11144
|
+
const OWNER_APPOINTMENT_RULE_COPY = {
|
|
11145
|
+
working_hours: "Outside working hours",
|
|
11146
|
+
minimum_notice: "Sooner than your minimum notice",
|
|
11147
|
+
booking_window: "Further ahead than you take bookings",
|
|
11148
|
+
buffer: "Too close to another appointment",
|
|
11149
|
+
closure: "During a closure or time off",
|
|
11150
|
+
google_busy: "Busy in Google Calendar"
|
|
11151
|
+
};
|
|
11152
|
+
const OWNER_APPOINTMENT_GOOGLE_UNAVAILABLE_COPY = "We couldn’t check Google Calendar, so this time might clash with something there.";
|
|
11153
|
+
const OWNER_APPOINTMENT_REFUSAL_COPY = {
|
|
11154
|
+
nonexistent_time: "The clocks go forward on this date, so that time is skipped. Choose another time.",
|
|
11155
|
+
invalid_time: "Choose a valid time for this service.",
|
|
11156
|
+
past: "That time has already passed.",
|
|
11157
|
+
appointment_overlap: "This practitioner already has an appointment at this time.",
|
|
11158
|
+
reservation_overlap: "This time is held for another client’s regular session."
|
|
11159
|
+
};
|
|
11160
|
+
|
|
11161
|
+
//#endregion
|
|
11162
|
+
//#region ../core/src/ownerLocalStartAt.ts
|
|
11163
|
+
/** Owner-entered clock times must survive conversion without silently moving forward. */
|
|
11164
|
+
function ownerLocalStartAt(date, time, timezone) {
|
|
11165
|
+
try {
|
|
11166
|
+
const localDate = parseBookingLocalDate(date);
|
|
11167
|
+
const localTime = parseLocalScheduleTime(time);
|
|
11168
|
+
const zone = requireBookingTimeZone(timezone);
|
|
11169
|
+
const target = Date.UTC(localDate.year, localDate.month - 1, localDate.day, localTime.hour, localTime.minute, localTime.second);
|
|
11170
|
+
const converted = localScheduleDateTimeToUtcDate(localDate, localTime, zone);
|
|
11171
|
+
if (localClockMs(converted, zone) !== target) return { kind: "nonexistent" };
|
|
11172
|
+
const candidates = [
|
|
11173
|
+
-1,
|
|
11174
|
+
0,
|
|
11175
|
+
1
|
|
11176
|
+
].map((days) => {
|
|
11177
|
+
const probe = new Date(converted.getTime() + days * 864e5);
|
|
11178
|
+
return new Date(probe.getTime() + target - localClockMs(probe, zone));
|
|
11179
|
+
}).filter((candidate$1) => localClockMs(candidate$1, zone) === target);
|
|
11180
|
+
return {
|
|
11181
|
+
kind: "ok",
|
|
11182
|
+
startAt: new Date(Math.min(...candidates.map((candidate$1) => candidate$1.getTime()))).toISOString()
|
|
11183
|
+
};
|
|
11184
|
+
} catch {
|
|
11185
|
+
return { kind: "invalid" };
|
|
11186
|
+
}
|
|
11187
|
+
}
|
|
11188
|
+
function localClockMs(instant, timezone) {
|
|
11189
|
+
const date = getLocalScheduleDate(instant, timezone);
|
|
11190
|
+
const time = getLocalScheduleTime(instant, timezone);
|
|
11191
|
+
return Date.UTC(date.year, date.month - 1, date.day, time.hour, time.minute, time.second);
|
|
11192
|
+
}
|
|
11193
|
+
|
|
11194
|
+
//#endregion
|
|
11195
|
+
//#region ../core/src/event-occurrence-route-segment.ts
|
|
11196
|
+
/** Date and UUID segments are reserved by the event-occurrence route. */
|
|
11197
|
+
function isEventOccurrenceRouteSegment(segment) {
|
|
11198
|
+
return /^(?:\d{4}-\d{2}-\d{2}|[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12})$/i.test(segment);
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
//#endregion
|
|
11202
|
+
export { parseWeeklyOpeningHours as $, unsafeAsUploadSessionId as $n, businessCancellationRefusalCodes as $t, resolveWholeSeriesRunLifecycle as A, unsafeAsDemoCapability as An, getLocalScheduleDate as At, parseConfiguredMailingListProvider as B, unsafeAsBookingSessionId as Bn, toUtcIsoDateTimeString as Bt, isPublicReadEndpoint as C, unsafeAsNonNegativeCents as Cn, resolveBookingDisplayContext as Ct, nextLiveRunSessionStartMs as D, assertNever as Dn, formatLocalScheduleDate as Dt, firstLiveRunSessionStartMs as E, parseCurrencyCode as En, compareLocalScheduleDates as Et, parseMailingListBlockId as F, parseMembershipId as Fn, resolveBookingBusinessTimeZone as Ft, parseFooterCompositionV1 as G, unsafeAsMediaAssetId as Gn, isSettleableOrderInstalmentPlanStatus as Gt, DEFAULT_MAILING_LIST_PRIVACY_NOTE as H, unsafeAsDeclaredMimeType as Hn, validateBookingPaymentOptionKinds as Ht, parseMailingListContentVersionId as I, unsafeAsEntitlementId as In, resolveBookingTimeZoneId as It, DEFAULT_MAILING_LIST_TARGETING as J, unsafeAsPositiveSeconds as Jn, getBookingInstalmentDepositRefundability as Jt, footerNavigationLayouts as K, unsafeAsOriginalFilename as Kn, addIntervalPreservingMonthAnchor as Kt, parseMailingListSignedSourceToken as L, unsafeAsPassId as Ln, toBookingTimeZone as Lt, exposeSecret as M, unsafeAsStaffMemberId as Mn, localScheduleTimePattern as Mt, parseManagementKey as N, parseCustomerId as Nn, parseBookingLocalDate as Nt, orderedLiveRunSessions as O, formatDurationUnitLabel as On, formatLocalScheduleTime as Ot, slugify as P, parseSiteTermsVersionId as Pn, parseLocalScheduleTime as Pt, parsePublicContactDetails as Q, unsafeAsStoragePath as Qn, splitAmountWithRemainderInFirst as Qt, parseMailingListRuntimeContext as R, parseDatedOfferingCapacityHoldAuditRef as Rn, parseBookingTimeZone as Rt, getPublicReadCachePolicy as S, toNonNegativeCents as Sn, inferSiteDateLocale as St, CANCELLED_SESSION_STATUS as T, formatCurrencyAmount as Tn, buildBookingUtcDateWindow as Tt, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as U, unsafeAsDetectedMimeType as Un, isLiveOrderInstalmentPlanStatus as Ut, parseMailingListGlobalForm as V, parseMediaAssetId as Vn, BOOKING_COURSE_INSTALMENT_DEADLINES as Vt, parseMailingListProviderScope as W, unsafeAsFileChecksumSha256 as Wn, isSettleableFlexibleBalanceContractStatus as Wt, isCanonicalRichTextDoc as X, unsafeAsSiteScopedStoragePath as Xn, getBookingInstalmentProtectedDepositAmountCents as Xt, planMailingListChoicePresentation as Y, unsafeAsSafeDownloadFilename as Yn, getBookingInstalmentPlanIntervalCount as Yt, formatOpeningHoursRows as Z, unsafeAsStorageBucketName as Zn, omitZeroAmountFutureRows as Zt, ORDINARY_EVENT_PRESET_VALUES as _, mapReadonlyNonEmptyArray as _n, unsafeAsPricingOptionId as _r, formatDateRange as _t, authoredValuesEqual as a, EVENT_PRESET_VOCABULARY as an, parseApiKeyId as ar, locationMapLinks as at, PUBLIC_AVAILABILITY_FRESHNESS_SECONDS as b, parsePositiveCents as bn, blockInteractionContextSchema as br, formatTime as bt, resolveEventCatalogue as c, isPublicEventPricingOptionDisplayable as cn, unsafeAsSiteId as cr, parseLocationValue as ct, canonicalizeConfiguredBookingVerticalConfig as d, publicEventPricingOptions as dn, parseRetiredCourseId as dr, toLocationCoordinates as dt, scheduleBookingReasonCodes as en, unsafeAsProductId as er, assertAllowedPublicUrl as et, parseVerticalId as f, publicEventPricingType as fn, unsafeAsEventCategoryId as fr, isPresent as ft, EVENT_PRESET_VALUES as g, mapNonEmptyArray as gn, unsafeAsOccurrenceId as gr, formatDate as gt, DEFAULT_EVENT_TYPE_PRESETS as h, fromArray as hn, unsafeAsEventSeriesId as hr, selectCategoryView as ht, isRecord as i, parsePageSurfaceSubject as in, unsafeAsSiteFontId as ir, stableJsonStringify as it, createSecret as j, unsafeAsAppointmentResourceId as jn, getLocalScheduleTime as jt, resolveWholeSeriesBookingPhase as k, unsafeAsBookingRequirementId as kn, getBookingLocalDateKey as kt, NAVIGATION_LOCATIONS as l, publicEventPricingCurrency as ln, unsafeAsUserId as lr, projectPublicLocation as lt, resolveSiteVerticalBookingConfig as m, resolvePricingOptionsPriceDisplay as mn, unsafeAsEventOfferingId as mr, mapDrawingSchema as mt, OFFLINE_PAYMENT_METHODS as n, resolveFlexibleBalanceInitialPaymentCents as nn, parseEditorSessionGeneration as nr, SENSITIVE_COLLECTION_MODES as nt, creditProductUnitNoun as o, formatBookingPriceDisplay as on, parseSiteId as or, locationValueSchema as ot, parseVerticalPresetId as p, resolveExactOrFreePriceDisplay as pn, unsafeAsEventInstanceId as pr, trimmedStringOrNull as pt, parseMailingListPlacementTargeting as q, unsafeAsPositiveByteCount as qn, clampConfiguredAmount as qt, committedWriteProofSchema as r, deriveTotalTicketQuantity as rn, parsePageId as rr, decideLocationSave as rt, formatCreditProductUnits as s, formatEventPricing as sn, parseUserId as sr, normalizeLocationAddressText as st, isEventOccurrenceRouteSegment as t, resolveFlexibleBalanceDueAt as tn, unsafeAsCheckoutLineId as tr, SENSITIVE_COLLECTION_CONFIRMATION_VERSION as tt, areConfiguredBookingVerticalConfigsEqual as u, publicEventPricingDisplay as un, parseEventSeriesId as ur, publicLocationSchema as ut, SURFACE_EVENT_PRESET_VALUES as v, isNonNegativeWholeCents as vn, err as vr, formatDateTime as vt, publicReadFreshnessSeconds as w, unsafeAsPositiveCents as wn, toScheduledBookingDateTime as wt, PUBLIC_CONTENT_FRESHNESS_SECONDS as x, toCents as xn, formatTimeRange as xt, WHOLE_SERIES_EVENT_PRESET_VALUES as y, parseNonNegativeCents as yn, ok as yr, formatDateTimeRange as yt, assessMailingListTargeting as z, parseDatedOfferingCapacityHoldId as zn, parseUtcIsoDateTimeString 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 { 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-
|
|
5
|
-
import "./load-config-
|
|
2
|
+
import "./sdk-event-upsert-BMYgDeSe.mjs";
|
|
3
|
+
import "./src-BXMUcFYN.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-BnfJSvqs.mjs";
|
|
5
|
+
import "./load-config-CMeJVHDQ.mjs";
|
|
6
6
|
|
|
7
7
|
export { applyPushConfigPlan, calculateEntryDiffs, compileEntryPushCommands, createOutput, executeEntryCommandPlanAsSyncResult, preparePushConfigTarget, readEntries, syncLocalMediaForPull, syncLocalMediaForPush, writeMediaManifest };
|