@smartkomm/plexus-cli 0.1.84 → 0.1.86

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.
@@ -1 +1 @@
1
- c5ab79e0044b2eb38a8fdac4f306654e4edea3bc97bd1983a9deb989ab01f142
1
+ 8048803cecc76d28ac9ae7eef6a196363625a0966f42704c1e8952ffecc8b5a7
@@ -1537,6 +1537,7 @@ Add a field to a section (types: string|boolean|consent|date|enum|email|tel|addr
1537
1537
  | `--doc-mime <value>` | docRef: allowed MIME types (a,b) |
1538
1538
  | `--doc-max-size <value>` | docRef: max bytes |
1539
1539
  | `--doc-multiple` | docRef: allow multiple files |
1540
+ | `--doc-min-files <value>` | docRef with --doc-multiple: at least N files (whole number >= 2) |
1540
1541
  | `--consent-key <value>` | consent: legal-text key |
1541
1542
  | `--consent-version <value>` | consent: pinned version |
1542
1543
  | `--declaration-url <value>` | consent: pin a declaration link (AGB/Erklärung) rendered inline in the label |
@@ -1658,6 +1659,7 @@ Set a field's validation/visibility expressions and flags
1658
1659
  | `--doc-mime <value>` | docRef: allowed MIME types (a,b) |
1659
1660
  | `--doc-max-size <value>` | docRef: max bytes |
1660
1661
  | `--doc-multiple` | docRef: allow multiple (or --no-doc-multiple) |
1662
+ | `--doc-min-files <value>` | docRef, multiple only: at least N files (whole number >= 2); "" clears |
1661
1663
  | `--consent-key <value>` | consent: legal-text key ("" clears) |
1662
1664
  | `--consent-version <value>` | consent: pinned version ("" clears) |
1663
1665
  | `--declaration-url <value>` | consent: pin a declaration link (AGB/Erklärung) inline in the label ("" clears) |
@@ -22,6 +22,9 @@ plexus-cli offer form field set --dir <bundle> --key kind.vorname \
22
22
  --bucket kind --placeholder "Max" --placeholder-en "Max" --required-if "kind.nachname != null"
23
23
  plexus-cli offer form field set --dir <bundle> --key kind.geschlecht --enum-list-key gender # swap inline→tenant list
24
24
  plexus-cli offer form field set --dir <bundle> --key kind.nachweis --doc-mime application/pdf --doc-max-size 9000000
25
+ # Several files, at least two (a whole number from 2, only with --doc-multiple; publish
26
+ # refuses anything else: config.docref-min-files). "" clears the minimum.
27
+ plexus-cli offer form field set --dir <bundle> --key <field> --doc-multiple --doc-min-files 2
25
28
  plexus-cli offer form field set --dir <bundle> --key kind.attest --required-for sonderfall # outcome-scoped required
26
29
  # Boolean as an explicit Ja | Nein answer (nothing preselected; drop any --default first,
27
30
  # publish refuses one: config.yesno-default). "" returns to the checkbox.
@@ -35,6 +35,12 @@ plexus-cli --env <env> platform storage orphans apply --list <scratch>/orphans.j
35
35
  plexus-cli --env <env> platform storage orphans apply --list <scratch>/orphans.json --confirm --allow-prod
36
36
  ```
37
37
 
38
+ Reading the plan's counts: **held** counts every object a row names, at any
39
+ age; **younger than 7 days** counts every young object, held or not — the two
40
+ overlap, and the line "of them younger than 7 days" under held is that overlap.
41
+ Only an object older than 7 days that nobody holds is **orphaned**. So on a
42
+ freshly reset deployment (everything young) held is still > 0 and orphaned 0.
43
+
38
44
  Every plan and apply is a **run** on the server: the command prints its run id
39
45
  at once (`plan run <id> started`), then asks the run's state every few seconds
40
46
  and prints the result when the run is done. No HTTP call waits on the sweep, so
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartkomm/plexus-cli",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "description": "Unified Plexus admin + admission-offer config CLI (Convex backend).",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",