@lotics/cli 0.318.38 → 0.318.40
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 +7 -6
- package/docs/data_model.md +4 -1
- package/docs/design.md +6 -4
- package/package.json +1 -1
package/docs/data_model.md
CHANGED
|
@@ -108,7 +108,10 @@ signature, an inspection's findings) is its own table with those fields, made by
|
|
|
108
108
|
|
|
109
109
|
Formulas and rollups are computed and STORED when a row is written, and one that reads another recomputes with it. A
|
|
110
110
|
rollup over a formula over a formula is paid three times on every touch, and again for every row upstream of it.
|
|
111
|
-
**Depth costs more than row count**: chain depth is yours to keep down, row scanning is the platform's.
|
|
111
|
+
**Depth costs more than row count**: chain depth is yours to keep down, row scanning is the platform's. A figure that
|
|
112
|
+
reads itself back through its rows' links (a task's total counting a subtask that lists the task) never settles: the
|
|
113
|
+
write that closes the loop is refused, naming the row and the link, and so is a later write reaching it until a link is
|
|
114
|
+
removed. A figure read through a chain of rows settles up to 256 rows deep in one write.
|
|
112
115
|
|
|
113
116
|
## Fields
|
|
114
117
|
|
package/docs/design.md
CHANGED
|
@@ -100,7 +100,7 @@ told apart by its own screen, and does any app hold a second entity behind tabs?
|
|
|
100
100
|
- `figure` (alias): The one number the row stands for, read at its right (a total, a quantity left)
|
|
101
101
|
- `status` (Status): The stage a row moves through, a single select, drawn in the record's head, or its Side where the Side states it
|
|
102
102
|
- `due` (list of alias (at least one)): Dates that are deadlines (stored, or computed as a date)
|
|
103
|
-
- `image` (alias): A files field that pictures the row
|
|
103
|
+
- `image` (alias): A files field that pictures the row, or a one-row link to a table with a picture, whose picture the row leads with
|
|
104
104
|
- `party` (`"person"` | `"organization"` | `"organisation"`): What each row is where the rows are people (a contact, a patient) or organisations (a customer, a supplier, a carrier)
|
|
105
105
|
- `limits` (map of alias → (alias | number)): A number read against a bound
|
|
106
106
|
- `starts` (map of alias → `"today"` | `"me"`): What a field of a row being added starts at, where that start is certain
|
|
@@ -153,7 +153,7 @@ told apart by its own screen, and does any app hold a second entity behind tabs?
|
|
|
153
153
|
|
|
154
154
|
- `title` (text, required): The part's heading
|
|
155
155
|
- `key` (alias): Unique among its siblings
|
|
156
|
-
- `children` (list of (alias | Field | Fieldset | List | Reading | Statement | Act) (at least one)): What the part draws
|
|
156
|
+
- `children` (list of (alias | Field | Fieldset | List | Reading | Statement | Act) (at least one)): What the part draws
|
|
157
157
|
- `at` (list of alias (at least one)): Options of the record's status during which this part is the work now
|
|
158
158
|
- `when` (condition): Drawn only while this holds
|
|
159
159
|
|
|
@@ -259,8 +259,10 @@ or several members, draws their faces as a stack that names them on hover. Worke
|
|
|
259
259
|
#### Image
|
|
260
260
|
|
|
261
261
|
`records.image` names the files field that pictures a row — a product's photo, a damage photo, a
|
|
262
|
-
scan, a receipt. Every row of it then leads with its picture, or its paper's preview, wherever it is drawn
|
|
263
|
-
a
|
|
262
|
+
scan, a receipt. Every row of it then leads with its picture, or its paper's preview, wherever it is drawn —
|
|
263
|
+
a row holding no picture leads with the placeholder; a link to it previews the file. `image` may instead name a
|
|
264
|
+
one-row link to a table with a picture (an order line's `item`): the row leads with that row's picture, still titled by
|
|
265
|
+
its own words. Never a field an Act keeps the paper it makes in (`into`). List
|
|
264
266
|
`layout: "cards"` where the picture is how a row is found. A files field the record keeps as a folder of
|
|
265
267
|
papers is drawn as a Field, read whole. Worked: `examples/cards`.
|
|
266
268
|
|