riverbankcms 0.28.1 → 0.29.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 +1139 -1700
- package/dist/{entryCommands-CrfobcW7.mjs → entryCommands-5kz7nIFG.mjs} +139 -29
- package/dist/{eventUpsertInputSchema-R2GbOsj2.mjs → eventUpsertInputSchema-DEN6k1oM.mjs} +2 -3
- package/dist/load-config-DkoaFO1t.mjs +4 -0
- package/dist/{load-config-DTbiJyCf.mjs → load-config-JcidEUjc.mjs} +2 -2
- package/dist/{plan-DJfyedxU.mjs → plan-BppGb0gS.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-4Dn75Ui9.mjs → sdk-event-upsert-CXc13KPT.mjs} +6832 -597
- package/dist/{src-nzVzuMR1.mjs → src-4CBCWovR.mjs} +119 -127
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-BB5L2u1y.mjs +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { $ as locationValueSchema, D as parseManagementKey, E as exposeSecret, J as assertAllowedPublicUrl, Kn as parsePageId, Ot as resolveBookingTimeZoneId, R as parseMailingListProviderScope, T as createSecret, Tt as parseBookingLocalDate, Yn as parseSiteId, a as resolveEventCatalogue, bn as unsafeAsAppointmentResourceId, c as areConfiguredBookingVerticalConfigsEqual, ct as formatDate, d as parseVerticalPresetId, f as resolveSiteVerticalBookingConfig, gn as assertNever, ir as unsafeAsOccurrenceId, l as canonicalizeConfiguredBookingVerticalConfig, m as EVENT_PRESET_VALUES, n as committedWriteProofSchema, nr as unsafeAsEventOfferingId, or as err, p as DEFAULT_EVENT_TYPE_PRESETS, rr as unsafeAsEventSeriesId, sr as ok, t as OFFLINE_PAYMENT_METHODS, u as parseVerticalId, v as getPublicReadCachePolicy, xn as unsafeAsStaffMemberId, y as publicReadFreshnessSeconds, z as parseFooterCompositionV1 } from "./src-
|
|
4
|
-
import { n as CliSdkPeerError, t as loadConfigFile } from "./load-config-
|
|
2
|
+
import { $n as slugifyMediaIdentifier, $t as footerLookIdValues, A as evaluateSiteCommandExposure, Bt as BREAKPOINT_XL, E as parseAndPlanCommandBatchForTypes, F as entryIdentifierForCommand, In as parseAspectRatioValue, It as themeSchema, K as bookingQuestionAttachmentSchema, Lr as parseSurfaceTree, Lt as BREAKPOINT_LG, Qn as resolveMediaIdentifier, Qt as asFooterLookId, Rt as BREAKPOINT_MD, T as createDryRunReport, V as eventBookingOfferIntentSchema, X as createCommandRef, Yn as buildMediaIdentifierFromFilename, Z as createContentEntryRef, _r as asAppearancePresetId, an as pageDesignBoundaryTreatmentSchema, ar as normalizeAmbiguousStoragePathForSite, br as asPageFlowPresetId, cr as MAX_MANAGEMENT_MEDIA_UPLOAD_BYTES, ct as require_dist, en as asHeaderLayoutId, gr as arrangementModes, in as buttonStyleSelectionSchema, it as createSiteCommandSiteRef, j as getSiteCommandMetadata, k as evaluateSiteCommandBatchExposure, m as isInternalResolvedLinkValue, n as sdkCourseBookingSettingsSchema, nn as headerLayoutIdValues, nr as getExtensionForMimeType, on as pageDesignIntentSchemaVersion, r as sdkEventOccurrenceInputSchema, rn as headerStyleIdValues, rr as getMimeType, s as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, sn as footerPreferencesSchema, sr as FILE_SIZE_LIMITS, st as slugPart, tn as asHeaderStyleId, w as stableStringify, x as resolvePageUpsertSeo, xr as asSiteStyleId, xt as headerPreferencesSchema, y as eventVisibilitySchema, zn as getDirectImageUrlForSiteScopedPath, zt as BREAKPOINT_SM } from "./sdk-event-upsert-CXc13KPT.mjs";
|
|
3
|
+
import { $ as locationValueSchema, D as parseManagementKey, E as exposeSecret, J as assertAllowedPublicUrl, Kn as parsePageId, Ot as resolveBookingTimeZoneId, R as parseMailingListProviderScope, T as createSecret, Tt as parseBookingLocalDate, Yn as parseSiteId, a as resolveEventCatalogue, bn as unsafeAsAppointmentResourceId, c as areConfiguredBookingVerticalConfigsEqual, ct as formatDate, d as parseVerticalPresetId, f as resolveSiteVerticalBookingConfig, gn as assertNever, ir as unsafeAsOccurrenceId, l as canonicalizeConfiguredBookingVerticalConfig, m as EVENT_PRESET_VALUES, n as committedWriteProofSchema, nr as unsafeAsEventOfferingId, or as err, p as DEFAULT_EVENT_TYPE_PRESETS, rr as unsafeAsEventSeriesId, sr as ok, t as OFFLINE_PAYMENT_METHODS, u as parseVerticalId, v as getPublicReadCachePolicy, xn as unsafeAsStaffMemberId, y as publicReadFreshnessSeconds, z as parseFooterCompositionV1 } from "./src-4CBCWovR.mjs";
|
|
4
|
+
import { n as CliSdkPeerError, t as loadConfigFile } from "./load-config-JcidEUjc.mjs";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import * as fs$1 from "fs/promises";
|
|
8
8
|
import * as path$1 from "path";
|
|
9
9
|
import * as readline from "readline";
|
|
10
|
-
import { z } from "zod";
|
|
10
|
+
import { safeParse, z } from "zod";
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import { basename, dirname as dirname$1, join } from "node:path";
|
|
13
13
|
import { riverbankSiteConfigSchema, validateFieldIdConflicts } from "@riverbankcms/sdk/config/validation";
|
|
@@ -306,7 +306,7 @@ function userFacingZodErrorMap(issue) {
|
|
|
306
306
|
return getUserFacingValidationMessage(issue);
|
|
307
307
|
}
|
|
308
308
|
function safeParseUserInput(schema, input) {
|
|
309
|
-
return
|
|
309
|
+
return safeParse(schema, input, { error: userFacingZodErrorMap });
|
|
310
310
|
}
|
|
311
311
|
function toFieldErrors(zodError, options = {}) {
|
|
312
312
|
return zodError.issues.map((issue) => ({
|
|
@@ -4128,6 +4128,14 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4128
4128
|
auth: "admin",
|
|
4129
4129
|
responseKind: "json"
|
|
4130
4130
|
},
|
|
4131
|
+
adminGrantTrial: {
|
|
4132
|
+
path: "/admin/billing/trial-grant",
|
|
4133
|
+
method: "POST",
|
|
4134
|
+
tags: ["admin", "billing"],
|
|
4135
|
+
auth: "admin",
|
|
4136
|
+
responseKind: "json",
|
|
4137
|
+
errors: []
|
|
4138
|
+
},
|
|
4131
4139
|
changePlan: {
|
|
4132
4140
|
path: "/billing/plan/change",
|
|
4133
4141
|
method: "POST",
|
|
@@ -4515,6 +4523,54 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
4515
4523
|
* person when nothing is attached to them.
|
|
4516
4524
|
*/
|
|
4517
4525
|
const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
4526
|
+
previewPersonRemoval: {
|
|
4527
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
|
|
4528
|
+
method: "GET",
|
|
4529
|
+
auth: "user",
|
|
4530
|
+
responseKind: "json",
|
|
4531
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
4532
|
+
errors: [
|
|
4533
|
+
"auth:forbidden",
|
|
4534
|
+
"resource:not_found",
|
|
4535
|
+
"server:internal_error"
|
|
4536
|
+
]
|
|
4537
|
+
},
|
|
4538
|
+
removePerson: {
|
|
4539
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal",
|
|
4540
|
+
method: "POST",
|
|
4541
|
+
auth: "user",
|
|
4542
|
+
responseKind: "json",
|
|
4543
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
4544
|
+
errors: [
|
|
4545
|
+
"auth:forbidden",
|
|
4546
|
+
"resource:not_found",
|
|
4547
|
+
"server:internal_error"
|
|
4548
|
+
]
|
|
4549
|
+
},
|
|
4550
|
+
getPersonRemovalStatus: {
|
|
4551
|
+
path: "/sites/{siteId}/bookings/people/{personId}/removal",
|
|
4552
|
+
method: "GET",
|
|
4553
|
+
auth: "user",
|
|
4554
|
+
responseKind: "json",
|
|
4555
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
4556
|
+
errors: [
|
|
4557
|
+
"auth:forbidden",
|
|
4558
|
+
"resource:not_found",
|
|
4559
|
+
"server:internal_error"
|
|
4560
|
+
]
|
|
4561
|
+
},
|
|
4562
|
+
exportPersonData: {
|
|
4563
|
+
path: "/sites/{siteId}/bookings/people/{personId}/export.json",
|
|
4564
|
+
method: "GET",
|
|
4565
|
+
auth: "user",
|
|
4566
|
+
responseKind: "blob",
|
|
4567
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
4568
|
+
errors: [
|
|
4569
|
+
"auth:forbidden",
|
|
4570
|
+
"resource:not_found",
|
|
4571
|
+
"server:internal_error"
|
|
4572
|
+
]
|
|
4573
|
+
},
|
|
4518
4574
|
getBookingPerson: {
|
|
4519
4575
|
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
4520
4576
|
method: "GET",
|
|
@@ -5917,6 +5973,20 @@ const ENDPOINT_DEFINITIONS = {
|
|
|
5917
5973
|
errors: ["resource:not_found", "server:internal_error"],
|
|
5918
5974
|
responseKind: "json"
|
|
5919
5975
|
},
|
|
5976
|
+
updateFooterCredit: {
|
|
5977
|
+
path: "/sites/{siteId}/settings/footer-credit",
|
|
5978
|
+
method: "POST",
|
|
5979
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
5980
|
+
auth: "user",
|
|
5981
|
+
demoMutation: DEMO_MUTATION_ALLOWED,
|
|
5982
|
+
errors: [
|
|
5983
|
+
"auth:forbidden",
|
|
5984
|
+
"validation:invalid_input",
|
|
5985
|
+
"resource:not_found",
|
|
5986
|
+
"server:internal_error"
|
|
5987
|
+
],
|
|
5988
|
+
responseKind: "json"
|
|
5989
|
+
},
|
|
5920
5990
|
updateFooterComposition: {
|
|
5921
5991
|
editLease: "unleased-editor",
|
|
5922
5992
|
path: "/sites/{siteId}/settings/footer-composition",
|
|
@@ -6274,6 +6344,18 @@ const ENDPOINT_DEFINITIONS = {
|
|
|
6274
6344
|
auth: "user",
|
|
6275
6345
|
responseKind: "json"
|
|
6276
6346
|
},
|
|
6347
|
+
accountAnswerHeardFrom: {
|
|
6348
|
+
path: "/account/heard-from",
|
|
6349
|
+
method: "POST",
|
|
6350
|
+
tags: ["account"],
|
|
6351
|
+
auth: "user",
|
|
6352
|
+
errors: [
|
|
6353
|
+
"auth:unauthenticated",
|
|
6354
|
+
"validation:invalid_input",
|
|
6355
|
+
"server:internal_error"
|
|
6356
|
+
],
|
|
6357
|
+
responseKind: "json"
|
|
6358
|
+
},
|
|
6277
6359
|
accountRevokeSessions: {
|
|
6278
6360
|
path: "/account/sessions/revoke",
|
|
6279
6361
|
method: "POST",
|
|
@@ -10402,7 +10484,7 @@ const sdkMediaDeleteApplyResponseSchema = z.discriminatedUnion("kind", [
|
|
|
10402
10484
|
*
|
|
10403
10485
|
* Goal: a single source-of-truth for link shapes used across dashboard + SDK.
|
|
10404
10486
|
* - Types live in `packages/api/src/navigation/types.ts`
|
|
10405
|
-
* - Schemas live here and are tied to types via `satisfies z.ZodType<...>`
|
|
10487
|
+
* - Schemas live here and are tied to types via `satisfies z.core.$ZodType<...>`
|
|
10406
10488
|
*/
|
|
10407
10489
|
const portalLinkPayloadSchema = z.object({
|
|
10408
10490
|
kind: z.literal("portal"),
|
|
@@ -10641,18 +10723,7 @@ const sdkPullVenueSchema = z.object({
|
|
|
10641
10723
|
description: z.string().nullable(),
|
|
10642
10724
|
timezone: z.string().nullable(),
|
|
10643
10725
|
capacity: z.number().int().nonnegative().nullable(),
|
|
10644
|
-
|
|
10645
|
-
line1: z.string().optional(),
|
|
10646
|
-
line2: z.string().optional(),
|
|
10647
|
-
city: z.string().optional(),
|
|
10648
|
-
region: z.string().optional(),
|
|
10649
|
-
postcode: z.string().optional(),
|
|
10650
|
-
country: z.string().optional()
|
|
10651
|
-
}),
|
|
10652
|
-
location: z.object({
|
|
10653
|
-
lat: z.number(),
|
|
10654
|
-
lng: z.number()
|
|
10655
|
-
}).partial().nullable(),
|
|
10726
|
+
addressVisibility: z.enum(["everyone", "booked"]).optional(),
|
|
10656
10727
|
locationValue: locationValueSchema.nullable().optional(),
|
|
10657
10728
|
mapEmbed: z.string().nullable(),
|
|
10658
10729
|
updatedAt: sdkTimestampSchema$2,
|
|
@@ -10707,7 +10778,6 @@ const sdkPullEventRunCommonSchema = z.object({
|
|
|
10707
10778
|
capacity: z.number().int().nonnegative().nullable(),
|
|
10708
10779
|
bookingOffer: eventBookingOfferIntentSchema,
|
|
10709
10780
|
venueRef: z.string().nullable(),
|
|
10710
|
-
formRef: z.string().nullable(),
|
|
10711
10781
|
bookingQuestions: bookingQuestionAttachmentSchema.nullable().optional(),
|
|
10712
10782
|
settings: sdkJsonObjectSchema$1,
|
|
10713
10783
|
presentation: z.unknown().optional(),
|
|
@@ -11178,12 +11248,8 @@ const appointmentSetupVenueChoiceSchema = z.discriminatedUnion("kind", [
|
|
|
11178
11248
|
title: z.string().trim().min(1),
|
|
11179
11249
|
description: z.string().nullable(),
|
|
11180
11250
|
timezone: z.string().trim().min(1).nullable(),
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
locationJson: z.object({
|
|
11184
|
-
lat: z.number(),
|
|
11185
|
-
lng: z.number()
|
|
11186
|
-
}).nullable().optional()
|
|
11251
|
+
addressVisibility: z.enum(["everyone", "booked"]).optional(),
|
|
11252
|
+
locationValue: locationValueSchema.nullable().optional()
|
|
11187
11253
|
})
|
|
11188
11254
|
]);
|
|
11189
11255
|
const appointmentSetupPaymentDraftSchema = z.discriminatedUnion("kind", [
|
|
@@ -11512,7 +11578,10 @@ const sdkPatchPageBlockResponseSchema = z.object({
|
|
|
11512
11578
|
const sdkUpsertNavigationMenuResponseSchema = sdkCommandApplicationResultSchema(sdkManagementNavigationMenuSchema);
|
|
11513
11579
|
const sdkUpsertSettingsResponseSchema = sdkCommandApplicationResultSchema(sdkPullSettingsSchema);
|
|
11514
11580
|
const sdkUpsertFormResponseSchema = sdkCommandApplicationResultSchema(sdkPullFormSchemaWithId);
|
|
11515
|
-
const sdkUpsertVenueResponseSchema = sdkCommandApplicationResultSchema(sdkPullVenueSchema.extend({ id: sdkIdentifierSchema }))
|
|
11581
|
+
const sdkUpsertVenueResponseSchema = sdkCommandApplicationResultSchema(sdkPullVenueSchema.extend({ id: sdkIdentifierSchema })).extend({ warning: z.object({
|
|
11582
|
+
code: z.literal("venue_public_refresh_delayed"),
|
|
11583
|
+
message: z.string()
|
|
11584
|
+
}).optional() });
|
|
11516
11585
|
const sdkUpsertEventCategoryResponseSchema = sdkCommandApplicationResultSchema(sdkPullEventCategorySchema.extend({ id: sdkIdentifierSchema }));
|
|
11517
11586
|
const sdkManagementEventSchema = sdkPullEventSchema.extend({
|
|
11518
11587
|
id: sdkIdentifierSchema.transform(unsafeAsEventOfferingId),
|
|
@@ -14304,7 +14373,7 @@ const blockSectionDeclarationShape = {
|
|
|
14304
14373
|
*
|
|
14305
14374
|
* Goal: a single source-of-truth for request payload shapes used across dashboard + SDK.
|
|
14306
14375
|
* - Endpoint request/response types live in `packages/api/src/types.ts`
|
|
14307
|
-
* - Schemas live here and are tied to those types via `satisfies z.ZodType<...>`
|
|
14376
|
+
* - Schemas live here and are tied to those types via `satisfies z.core.$ZodType<...>`
|
|
14308
14377
|
*
|
|
14309
14378
|
* NOTE: These schemas represent the *wire/input* shape for API requests.
|
|
14310
14379
|
* Service-layer code should parse/normalize again (defaults/refinements) into domain types.
|
|
@@ -17966,6 +18035,20 @@ const EVENT_SERIES_REGISTRATION_STATUSES = [
|
|
|
17966
18035
|
"completed"
|
|
17967
18036
|
];
|
|
17968
18037
|
|
|
18038
|
+
//#endregion
|
|
18039
|
+
//#region ../api/src/recordedPayment.ts
|
|
18040
|
+
/** Facts shared by every staff-recorded payment. Future dates need the site's timezone. */
|
|
18041
|
+
const recordedPaymentFieldsSchema = z.object({
|
|
18042
|
+
method: z.enum(OFFLINE_PAYMENT_METHODS),
|
|
18043
|
+
paidOn: z.iso.date()
|
|
18044
|
+
});
|
|
18045
|
+
/** A newly added booking defaults its payment date to today in the site's timezone. */
|
|
18046
|
+
const handAddedPaidPaymentSchema = recordedPaymentFieldsSchema.extend({
|
|
18047
|
+
kind: z.literal("paid"),
|
|
18048
|
+
amountCents: z.number().int().positive(),
|
|
18049
|
+
paidOn: recordedPaymentFieldsSchema.shape.paidOn.optional()
|
|
18050
|
+
}).strict();
|
|
18051
|
+
|
|
17969
18052
|
//#endregion
|
|
17970
18053
|
//#region ../api/src/bookingActivity.ts
|
|
17971
18054
|
const BOOKING_ACTIVITY_CATEGORY_VALUES = [
|
|
@@ -18089,6 +18172,23 @@ const PERSON_DELETION_BLOCKER_CATEGORY_VALUES = [
|
|
|
18089
18172
|
"uploads",
|
|
18090
18173
|
"contact_corrections"
|
|
18091
18174
|
];
|
|
18175
|
+
const PERSON_REMOVAL_BLOCKER_CATEGORIES = [
|
|
18176
|
+
"upcoming_bookings",
|
|
18177
|
+
"memberships",
|
|
18178
|
+
"payment_plans",
|
|
18179
|
+
"flexible_balances",
|
|
18180
|
+
"unused_passes",
|
|
18181
|
+
"credit",
|
|
18182
|
+
"gifts",
|
|
18183
|
+
"purchases",
|
|
18184
|
+
"uploads"
|
|
18185
|
+
];
|
|
18186
|
+
const PERSON_REMOVAL_CLEANUP_KINDS = [
|
|
18187
|
+
"storage",
|
|
18188
|
+
"stripe",
|
|
18189
|
+
"google_calendar",
|
|
18190
|
+
"newsletter"
|
|
18191
|
+
];
|
|
18092
18192
|
|
|
18093
18193
|
//#endregion
|
|
18094
18194
|
//#region ../api/src/eventAttendanceLabels.ts
|
|
@@ -19252,6 +19352,17 @@ async function adminChangePlan(apiClient, body, options) {
|
|
|
19252
19352
|
return normalizeApiError(error, "Failed to update billing plan");
|
|
19253
19353
|
}
|
|
19254
19354
|
}
|
|
19355
|
+
async function adminGrantTrial(apiClient, body, options) {
|
|
19356
|
+
try {
|
|
19357
|
+
return unwrapResponse(await apiClient({
|
|
19358
|
+
endpoint: "adminGrantTrial",
|
|
19359
|
+
body,
|
|
19360
|
+
options
|
|
19361
|
+
}));
|
|
19362
|
+
} catch (error) {
|
|
19363
|
+
return normalizeApiError(error, "Failed to give free time");
|
|
19364
|
+
}
|
|
19365
|
+
}
|
|
19255
19366
|
async function listAdminInvites(apiClient, params = {}, options) {
|
|
19256
19367
|
try {
|
|
19257
19368
|
return unwrapResponse(await apiClient({
|
|
@@ -19798,8 +19909,7 @@ const settlementAuditSchema = {
|
|
|
19798
19909
|
const settleShopOrderPaymentSchema = z.union([z.object({
|
|
19799
19910
|
...settlementAuditSchema,
|
|
19800
19911
|
action: z.enum(["mark_paid", "record_partial_payment"]),
|
|
19801
|
-
|
|
19802
|
-
paidOn: z.iso.date()
|
|
19912
|
+
...recordedPaymentFieldsSchema.shape
|
|
19803
19913
|
}), z.object({
|
|
19804
19914
|
...settlementAuditSchema,
|
|
19805
19915
|
action: z.literal("mark_waived")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as normalizeLinkValue, a as classifySdkEventSchedule, g as linkSchema, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer, s as RESOLVED_INTERNAL_LINK_ENTITY_TYPES } from "./sdk-event-upsert-
|
|
3
|
-
import { m as EVENT_PRESET_VALUES, r as isRecord$4 } from "./src-
|
|
2
|
+
import { _ as normalizeLinkValue, a as classifySdkEventSchedule, g as linkSchema, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer, s as RESOLVED_INTERNAL_LINK_ENTITY_TYPES } from "./sdk-event-upsert-CXc13KPT.mjs";
|
|
3
|
+
import { m as EVENT_PRESET_VALUES, r as isRecord$4 } from "./src-4CBCWovR.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../blocks/src/lib/typeGuards.ts
|
|
@@ -5151,7 +5151,6 @@ const eventRunCommonInputSchema = z.object({
|
|
|
5151
5151
|
bookingOffer: eventBookingOfferInputSchema.optional(),
|
|
5152
5152
|
capacity: sdkEventUpsertOptionalFieldSchemas.capacity,
|
|
5153
5153
|
venueRef: z.string().nullable().optional(),
|
|
5154
|
-
formRef: z.string().nullable().optional(),
|
|
5155
5154
|
settings: z.record(z.string(), z.unknown()).optional(),
|
|
5156
5155
|
tags: z.array(z.string()).optional()
|
|
5157
5156
|
}).strict();
|
|
@@ -7,7 +7,7 @@ import { existsSync as existsSync$1 } from "fs";
|
|
|
7
7
|
import { fileURLToPath } from "url";
|
|
8
8
|
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "0.
|
|
10
|
+
var version = "0.29.0";
|
|
11
11
|
var peerDependencies = { "@riverbankcms/sdk": ">=0.157.0 <1.0.0" };
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "riverbankcms",
|
|
@@ -93,7 +93,7 @@ var package_default = {
|
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region src/version.ts
|
|
95
95
|
/** The package manifest is the source-run fallback; builds inject this value. */
|
|
96
|
-
const CLI_VERSION = typeof "0.
|
|
96
|
+
const CLI_VERSION = typeof "0.29.0" === "string" ? "0.29.0" : version;
|
|
97
97
|
/**
|
|
98
98
|
* The CLI's SDK peer range is bundled from the CLI manifest alongside its
|
|
99
99
|
* version. Runtime config loading uses this value as the single compatibility
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { Yn as parseSiteId, or as err, sr as ok } from "./src-
|
|
2
|
+
import { Yn as parseSiteId, or as err, sr as ok } from "./src-4CBCWovR.mjs";
|
|
3
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, isAbsolute, join, parse, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/dist/scaffold/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "../src-
|
|
3
|
-
import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-
|
|
2
|
+
import "../src-4CBCWovR.mjs";
|
|
3
|
+
import { a as prepareScaffoldExecution, d as loadGeneratedPackageRanges, i as preflightScaffoldTargets, l as deriveGeneratedPackageRanges, o as writeScaffoldFiles, r as preflightScaffoldPlan, s as deriveScaffoldLocalManifest, t as deriveScaffoldPlan, u as findPackageManifestPath } from "../plan-BppGb0gS.mjs";
|
|
4
4
|
|
|
5
5
|
export { deriveGeneratedPackageRanges, deriveScaffoldLocalManifest, deriveScaffoldPlan, findPackageManifestPath, loadGeneratedPackageRanges, preflightScaffoldPlan, preflightScaffoldTargets, prepareScaffoldExecution, writeScaffoldFiles };
|