@lotics/cli 0.321.53 → 0.321.54
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 +5 -5
- package/docs/build.md +1 -1
- package/docs/data_model.md +1 -1
- package/docs/design.md +2 -2
- package/package.json +1 -1
package/docs/build.md
CHANGED
|
@@ -82,7 +82,7 @@ One template per paper the owner sends. A slot is named after a field of the rec
|
|
|
82
82
|
|
|
83
83
|
**Which apps**, and who gets each, is `app_architecture`. **How each row reads** comes before the first List: `design/treatments` names the view per kind of row.
|
|
84
84
|
|
|
85
|
-
**Start from one root List.** `{"type": "List", "entity": "cake_order"}` in the App's `children` is a whole app: the platform
|
|
85
|
+
**Start from one root List.** `{"type": "List", "entity": "cake_order"}` in the App's `children` is a whole app: the platform composes the page every row opens, the add and the Delete, and stores them. State only the difference from what it composes.
|
|
86
86
|
|
|
87
87
|
```json
|
|
88
88
|
{
|
package/docs/data_model.md
CHANGED
|
@@ -186,7 +186,7 @@ A table is named by its alias wherever a call names one (`table_id`, a link's `t
|
|
|
186
186
|
The partner may stand on a table the call does not name: `pair: "<alias>"` makes it there, or pairs the one-way link that table
|
|
187
187
|
already holds under that alias, and the answer lists that table among the call's. Only someone who manages that table may.
|
|
188
188
|
- A formula's `output_type` is inferred from its expression; state it only to override.
|
|
189
|
-
- **A call's removals are judged together, on what the call leaves.** A table and the links and lookups naming it, removed in one call, pass; every reader left outside the call is named in one answer, not one per retry. An app reading a field or an option that leaves is rebuilt in the same call, and the answer (a dry run too) lists each node of its tree that changed: a column, a filter, a sort key
|
|
189
|
+
- **A call's removals are judged together, on what the call leaves.** A table and the links and lookups naming it, removed in one call, pass; every reader left outside the call is named in one answer, not one per retry. An app reading a field or an option that leaves is rebuilt in the same call, and the answer (a dry run too) lists each node of its tree that changed: a column, a filter, a sort key, a field of a part that only drew the field, a child List the platform composed is dropped when its link leaves, with the part left holding nothing by that and the page the platform composed for its rows; a step the platform composed is dropped when every option it stands at leaves; a filter whose field the rows no longer draw is left out; and an option leaves every list of options it stood in. What has no meaning without it refuses the call, naming the node: an act that sets a removed option, a part or step holding content you stated that is left with nothing, a child List you stated more of whose link leaves, a list that held only the removed option. An app drawing a field that is retyped, or a link pointed at another table, is rebuilt too, its tree unchanged: where the field no longer lets the tree draw what it drew, the call refuses, naming the node, and a field that became a formula, rollup, lookup or autonumber leaves the app's allowlist of saves. A workflow body its author wrote is never rewritten: it is checked again against the tables as the call leaves them, and the call refuses, naming the workflow, only if it no longer checks. A table's check or workflow that reads a retyped field or a link pointed elsewhere is judged the same way and refuses, naming it, only if it no longer holds. Deleting one field through the table's field route drops no node: an app whose tree draws the field refuses it, naming the node.
|
|
190
190
|
- **A field something reads cannot go.** A query, a workflow, a check, an app only its owner can rebuild, or another
|
|
191
191
|
table's formula, rollup, lookup or copy that reads the field refuses its deletion, naming the reader. Change or remove
|
|
192
192
|
the reader first, or in the same call.
|
package/docs/design.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
An app is a tree of components: a List of one table, the Record a row opens, its Sections, the Acts that move it. The
|
|
4
4
|
tree states COMPOSITION — which fields, lists and acts each job's screen holds; how each piece looks is the platform's,
|
|
5
5
|
one way per concept. A node the tree leaves out draws its default, from the table's facts (`records`, the stage, the
|
|
6
|
-
write rules): a List's Readings band, the stage buttons, the picture
|
|
6
|
+
write rules): a List's Readings band, the stage buttons, the picture. What a write stores, and the Section that follows the table: `reference/changing-an-app`. State a node to change it,
|
|
7
7
|
or `false` at it to turn it off (`"readings": false`, a Record's `"row": { "image": false }`). A field is written where its Record declares it: a Section's Field, the table's face (title, line, picture, figure), or every field where the Record states no Section; the head, a line, a column or a board draws it, and never makes one written; every head part (`row.title`, each `row.subtitle` entry, `row.figure`, `row.image`) takes `edit: false` to be read. A drawn Field is a control unless it
|
|
8
8
|
or its entity is read-only (`edit: false`); a stepped status is not, since Acts move it, unless its `row` states `status: { edit: true }`. Which apps a business needs is `app_architecture`.
|
|
9
9
|
|
|
@@ -330,7 +330,7 @@ papers is drawn as a Field, read whole. Worked: `examples/cards`.
|
|
|
330
330
|
|
|
331
331
|
#### A link opens its row
|
|
332
332
|
|
|
333
|
-
Every row an app draws opens on its page, the one you state or
|
|
333
|
+
Every row an app draws opens on its page, the one you state or the one a write stores for you. A link's row shows its name, line, status and figure. State `pages/<e>` to show more or to edit.
|
|
334
334
|
|
|
335
335
|
### Rows in time
|
|
336
336
|
|