@lotics/cli 0.321.114 → 0.321.116
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/src/cli.js +3 -7
- package/docs/design.md +6 -7
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -49,7 +49,7 @@ or its entity is read-only (`edit: false`); a stepped status is not, since Acts
|
|
|
49
49
|
- `fields` (map of alias → Field, required): The table's columns, each under its alias, which is its key here and so is never stated inside it
|
|
50
50
|
- `records` (any value): How a row is recognised
|
|
51
51
|
- `checks` (map of alias → table check (`workflows/table-checks`)): The conditions a write of the table's rows may not meet, each under its alias
|
|
52
|
-
- `unique` (list
|
|
52
|
+
- `unique` (list of list of alias (at least one)): Sets of fields whose values no two live rows share
|
|
53
53
|
|
|
54
54
|
**Any field**
|
|
55
55
|
|
|
@@ -422,12 +422,11 @@ stage, `set` the earlier), and without one a row moved on by mistake stays until
|
|
|
422
422
|
|
|
423
423
|
#### Buttons
|
|
424
424
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
Act agents run — an invoice made from delivered orders, a payment matched from a statement — states neither.
|
|
425
|
+
People mostly work through agents, so an app draws no button by default: an Act is offered everywhere, and a record's
|
|
426
|
+
header ⋯ and a row's ⋯ list it. Rows never draw a button: every row act waits in its ⋯, and where many rows are worked,
|
|
427
|
+
tick them and state an act `on: "rows"`. An Act on a record or drawer states `button: true` only for a step a person
|
|
428
|
+
does at that screen (a count received, a signed paper, an approval), never for work an agent does (an invoice made
|
|
429
|
+
from delivered orders, a payment matched from a statement). Every other Act waits in the record's ⋯.
|
|
431
430
|
|
|
432
431
|
#### Stages
|
|
433
432
|
|