riverbankcms 0.28.1 → 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 +74927 -30650
- package/dist/cli/init-docs/content/cli-reference.md +22 -0
- package/dist/{entryCommands-CrfobcW7.mjs → entryCommands-DqqGit0l.mjs} +15338 -10507
- package/dist/{eventUpsertInputSchema-R2GbOsj2.mjs → eventUpsertInputSchema-EGy8zFUx.mjs} +24 -107
- package/dist/load-config-3e2Npz2O.mjs +4 -0
- package/dist/{load-config-DTbiJyCf.mjs → load-config-Dgw0C6y3.mjs} +2 -2
- package/dist/{plan-DJfyedxU.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-nzVzuMR1.mjs → src-DOwrYdTk.mjs} +141 -128
- package/dist/testing.mjs +4 -4
- package/package.json +1 -1
- package/dist/load-config-BB5L2u1y.mjs +0 -4
- package/dist/sdk-event-upsert-4Dn75Ui9.mjs +0 -56803
|
@@ -495,6 +495,28 @@ existing offerings or their stored presets. The declarative equivalent is
|
|
|
495
495
|
settings`; `riverbankcms pull settings` writes the canonical configuration
|
|
496
496
|
back to that file.
|
|
497
497
|
|
|
498
|
+
### changeBookingQuestions
|
|
499
|
+
|
|
500
|
+
Every change to an event's or appointment service's booking questions goes
|
|
501
|
+
through this one command, the same one the dashboard uses. It applies the set
|
|
502
|
+
choice, question and section edits, timing settings and consent together, or
|
|
503
|
+
refuses the whole change.
|
|
504
|
+
|
|
505
|
+
```bash
|
|
506
|
+
riverbankcms changeBookingQuestions --file edits.json
|
|
507
|
+
riverbankcms changeBookingQuestions --data '{"target":{"kind":"event_series","id":"<uuid>"},"selection":{"kind":"keep"},"edits":[...]}'
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
The input has a `target` (`event_series`, `appointment_service`, or
|
|
511
|
+
`question_set` to edit a set everywhere it's used), a `selection` (`keep`,
|
|
512
|
+
`define`, `attach`, `copy` or `detach`), a list of `edits` (`add_questions`,
|
|
513
|
+
`change_question`, `move_question`, `remove_question`, section edits,
|
|
514
|
+
`rename_set` or `replace_questions`), and optional `settings`, `consent`,
|
|
515
|
+
`siteTermsMode` and `expected` (the version you read, so a change made
|
|
516
|
+
elsewhere in the meantime is refused rather than overwritten). Set names are
|
|
517
|
+
internal; customers see fixed headings. The SDK equivalent is
|
|
518
|
+
`client.forms.changeBookingQuestions(input)`.
|
|
519
|
+
|
|
498
520
|
### push-config
|
|
499
521
|
|
|
500
522
|
Push SDK configuration to the CMS dashboard.
|