@smartkomm/plexus-cli 0.1.85 → 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
|
-
|
|
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.
|