riverbankcms 0.14.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 +5275 -801
- package/dist/cli/init-docs/content/content-management.md +2 -2
- package/dist/{eventUpsertInputSchema-CmkfzGW0.mjs → eventUpsertInputSchema-CGYRnGF5.mjs} +3 -3
- package/dist/{load-config-D0Qfqh2m.mjs → load-config-CKdduOqm.mjs} +2 -2
- package/dist/load-config-DqVR7THz.mjs +4 -0
- package/dist/{local-sync-C-FEofmj.mjs → local-sync-2x8FP35G.mjs} +3 -3
- package/dist/{plan-mb_YslEh.mjs → plan-kJ-LMUsD.mjs} +1 -1
- package/dist/scaffold/index.mjs +2 -2
- package/dist/{sdk-event-upsert-CqCQwcwu.mjs → sdk-event-upsert-TBJhbame.mjs} +5579 -5220
- package/dist/{src-CxEAuQpf.mjs → src-DxiCPcDa.mjs} +185 -13
- package/dist/testing.mjs +3 -3
- package/package.json +1 -1
- package/dist/load-config-BfEYgU02.mjs +0 -4
|
@@ -671,6 +671,7 @@ Footer links are managed via the site's footer navigation menu (see `content/nav
|
|
|
671
671
|
"identifier": "yoga-class",
|
|
672
672
|
"title": "Morning Yoga Class",
|
|
673
673
|
"preset": "class",
|
|
674
|
+
"categoryRef": "workshop",
|
|
674
675
|
"runRefs": ["yoga-class"],
|
|
675
676
|
"runs": [
|
|
676
677
|
{
|
|
@@ -692,7 +693,6 @@ Footer links are managed via the site's footer navigation menu (see `content/nav
|
|
|
692
693
|
}
|
|
693
694
|
],
|
|
694
695
|
"venueRef": "main-hall",
|
|
695
|
-
"categoryRef": "workshop",
|
|
696
696
|
"capacity": 30,
|
|
697
697
|
"bookingOffer": {
|
|
698
698
|
"bookingRequirement": "required",
|
|
@@ -741,7 +741,7 @@ Footer links are managed via the site's footer navigation menu (see `content/nav
|
|
|
741
741
|
whether a registration selects one occurrence or the complete series.
|
|
742
742
|
- Each run's `occurrences` is its complete authored schedule. Instants use canonical UTC
|
|
743
743
|
ISO datetimes and every item carries the event's IANA timezone.
|
|
744
|
-
-
|
|
744
|
+
- The Event's `categoryRef` references an event-category identifier and is shared by every run. A run's `venueRef` references a venue identifier.
|
|
745
745
|
- `status`: "draft", "active", "completed", "cancelled", or "archived"
|
|
746
746
|
- `visibility`: "public" (listed on the site and findable in search) or
|
|
747
747
|
"unlisted" (the link works and people can book, but it is left out of
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as classifySdkEventSchedule, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-
|
|
3
|
-
import { l as EVENT_PRESET_VALUES } from "./src-
|
|
2
|
+
import { a as classifySdkEventSchedule, i as sdkEventUpsertOptionalFieldSchemas, n as sdkCourseBookingSettingsSchema, o as classifySdkEventBookingOffer } from "./sdk-event-upsert-TBJhbame.mjs";
|
|
3
|
+
import { l as EVENT_PRESET_VALUES } from "./src-DxiCPcDa.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../blocks/src/lib/typeGuards.ts
|
|
@@ -4749,7 +4749,6 @@ const eventRunInputSchema = z.object({
|
|
|
4749
4749
|
bookingOffer: eventBookingOfferInputSchema.optional(),
|
|
4750
4750
|
capacity: sdkEventUpsertOptionalFieldSchemas.capacity,
|
|
4751
4751
|
venueRef: z.string().nullable().optional(),
|
|
4752
|
-
categoryRef: z.string().nullable().optional(),
|
|
4753
4752
|
formRef: z.string().nullable().optional(),
|
|
4754
4753
|
settings: z.record(z.string(), z.unknown()).optional(),
|
|
4755
4754
|
tags: z.array(z.string()).optional()
|
|
@@ -4758,6 +4757,7 @@ const eventUpsertInputSchema = z.object({
|
|
|
4758
4757
|
identifier: z.string().min(1).optional(),
|
|
4759
4758
|
courseBooking: sdkCourseBookingSettingsSchema.optional(),
|
|
4760
4759
|
title: z.string().min(1, "title is required"),
|
|
4760
|
+
categoryRef: z.string().nullable().optional(),
|
|
4761
4761
|
slug: z.string().min(1).optional(),
|
|
4762
4762
|
content: z.record(z.string(), z.unknown()).optional(),
|
|
4763
4763
|
blocks: sdkEntrySlotBlocksInputSchema.optional(),
|
|
@@ -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.16.0";
|
|
11
11
|
var peerDependencies = { "@riverbankcms/sdk": ">=0.139.0 <1.0.0" };
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "riverbankcms",
|
|
@@ -83,7 +83,7 @@ var package_default = {
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/version.ts
|
|
85
85
|
/** The package manifest is the source-run fallback; builds inject this value. */
|
|
86
|
-
const CLI_VERSION = typeof "0.
|
|
86
|
+
const CLI_VERSION = typeof "0.16.0" === "string" ? "0.16.0" : version;
|
|
87
87
|
/**
|
|
88
88
|
* The CLI's SDK peer range is bundled from the CLI manifest alongside its
|
|
89
89
|
* version. Runtime config loading uses this value as the single compatibility
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { T as eventBookingOfferIntentSchema,
|
|
3
|
-
import {
|
|
2
|
+
import { T as eventBookingOfferIntentSchema, br as asPageFlowPresetId, d as stableStringify, in as buttonStyleSelectionSchema, n as sdkCourseBookingSettingsSchema, nt as themeSchema, on as pageDesignBoundaryTreatmentSchema, r as sdkEventOccurrenceInputSchema, s as eventVisibilitySchema, sn as pageDesignIntentSchemaVersion, vr as asAppearancePresetId, xr as asSiteStyleId } from "./sdk-event-upsert-TBJhbame.mjs";
|
|
3
|
+
import { $t as unsafeAsEventSeriesId, Gt as unsafeAsBookingSessionId, Qt as unsafeAsEventOfferingId, St as mapNonEmptyArray, Vt as parseSiteId, Wt as unsafeAsBookingRequirementId, Xt as unsafeAsEntitlementId, Y as parseUtcIsoDateTimeString, Yt as unsafeAsDetectedMimeType, _n as unsafeAsUserId, a as parseVerticalId, an as unsafeAsPositiveByteCount, cn as unsafeAsProductId, dn as unsafeAsSiteId, en as unsafeAsFileChecksumSha256, fn as unsafeAsSiteScopedStoragePath, gn as unsafeAsUploadSessionId, hn as unsafeAsStoragePath, i as canonicalizeConfiguredBookingVerticalConfig, j as parseFooterCompositionV1, jt as assertNever, l as EVENT_PRESET_VALUES, ln as unsafeAsSafeDownloadFilename, mn as unsafeAsStorageBucketName, nn as unsafeAsOccurrenceId, o as parseVerticalPresetId, on as unsafeAsPositiveSeconds, qt as unsafeAsDeclaredMimeType, rn as unsafeAsOriginalFilename, s as resolveSiteVerticalBookingConfig, tn as unsafeAsMediaAssetId, un as unsafeAsSiteFontId, v as exposeSecret, vn as err, xt as fromArray, yn as ok } from "./src-DxiCPcDa.mjs";
|
|
4
4
|
import * as fs$1 from "fs/promises";
|
|
5
5
|
import * as path$1 from "path";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -823,6 +823,7 @@ const sdkPullEventSchema = z.object({
|
|
|
823
823
|
slug: sdkIdentifierSchema$1,
|
|
824
824
|
path: z.string().nullable(),
|
|
825
825
|
preset: z.enum(EVENT_PRESET_VALUES),
|
|
826
|
+
categoryRef: z.string().nullable(),
|
|
826
827
|
runRefs: z.tuple([sdkIdentifierSchema$1], sdkIdentifierSchema$1),
|
|
827
828
|
content: sdkJsonObjectSchema$1,
|
|
828
829
|
updatedAt: sdkTimestampSchema$2,
|
|
@@ -847,7 +848,6 @@ const sdkPullEventRunSchema = z.object({
|
|
|
847
848
|
capacity: z.number().int().nonnegative().nullable(),
|
|
848
849
|
bookingOffer: eventBookingOfferIntentSchema,
|
|
849
850
|
venueRef: z.string().nullable(),
|
|
850
|
-
categoryRef: z.string().nullable(),
|
|
851
851
|
formRef: z.string().nullable(),
|
|
852
852
|
settings: sdkJsonObjectSchema$1,
|
|
853
853
|
presentation: z.unknown().optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { Vt as parseSiteId, vn as err, yn as ok } from "./src-DxiCPcDa.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-DxiCPcDa.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-kJ-LMUsD.mjs";
|
|
4
4
|
|
|
5
5
|
export { deriveGeneratedPackageRanges, deriveScaffoldLocalManifest, deriveScaffoldPlan, findPackageManifestPath, loadGeneratedPackageRanges, preflightScaffoldPlan, preflightScaffoldTargets, prepareScaffoldExecution, writeScaffoldFiles };
|