@lotics/cli 0.321.44 → 0.321.46
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 -7
- package/docs/design.md +6 -5
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -17,7 +17,8 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
17
17
|
reads in the success tone. `records.mark` is a category's own mark, a select whose options carry a brand or glyph.
|
|
18
18
|
- A list's columns: the name and its lead, the status, then the columns the job reads on every row, as many as fit a desk. Each
|
|
19
19
|
fact once: a column the row draws itself stands once. A generated number (`autonumber`) as the title yields
|
|
20
|
-
the row's name to the subtitle's first part and stands first on its line.
|
|
20
|
+
the row's name to the subtitle's first part and stands first on its line. A row listed under its record is named by its
|
|
21
|
+
subtitle's first part where its title only reads that record (a join row's lookup through the link back): title a join row by one side, its subtitle the other.
|
|
21
22
|
- A list worked by a date states `sort` on that date's column, newest first; without one, a register reads newest made
|
|
22
23
|
first and a record's child List in the order its rows were added.
|
|
23
24
|
- Someone is a face wherever they are read: a link to a table stating `records.party` draws its row's face; a member
|
|
@@ -98,7 +99,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
98
99
|
- `figure` (alias): The one number the row stands for, read at its right (a total, a quantity left)
|
|
99
100
|
- `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
|
|
100
101
|
- `due` (list of alias (at least one)): Dates that are deadlines (stored, or computed as a date)
|
|
101
|
-
- `image` (alias | list of alias (at least one)): A files field that pictures the row, or a one-row link to a table with a picture, whose picture the row leads with
|
|
102
|
+
- `image` (alias | list of alias (at least one)): A files field that pictures the row, or a one-row link to a table with a picture (or a lookup of one through a one-row link: a delivery led by its order's customer), whose picture the row leads with
|
|
102
103
|
- `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)
|
|
103
104
|
- `limits` (map of alias → (alias | number)): A number read against a bound
|
|
104
105
|
- `starts` (map of alias → `"today"` | `"me"`): What a field of a row being added starts at, where that start is certain
|
|
@@ -142,7 +143,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
142
143
|
**Record**
|
|
143
144
|
|
|
144
145
|
- `entity` (alias, required): The table whose rows open on this page
|
|
145
|
-
- `children` (list of (alias | Field | Fieldset | Section | Side | Outside | List | Reading | Statement | Act | Check) (at least one)): Parts (Section, Side), or for a one-part record its Fields, Fieldsets, Lists, Readings and
|
|
146
|
+
- `children` (list of (alias | Field | Fieldset | Section | Side | Outside | List | Reading | Statement | Comments | Act | Check) (at least one)): Parts (Section, Side), or for a one-part record its Fields, Fieldsets, Lists, Readings, Statements and Comments directly
|
|
146
147
|
- `add` (`false` | list of alias (at least one)): What a new row asks where a picker of this entity offers one, anywhere in the App
|
|
147
148
|
- `row` (Record row): How the App reads this entity's rows wherever it lists them
|
|
148
149
|
- `door` (`"page"` | `"drawer"`): How a row opens, on a page or in a drawer
|
|
@@ -151,7 +152,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
151
152
|
|
|
152
153
|
- `title` (text): The part's heading
|
|
153
154
|
- `key` (alias): Unique among its siblings
|
|
154
|
-
- `children` (list of (alias | Field | Fieldset | List | Reading | Statement | Act | Check) (at least one)): What the part draws, in reading order
|
|
155
|
+
- `children` (list of (alias | Field | Fieldset | List | Reading | Statement | Comments | Act | Check) (at least one)): What the part draws, in reading order
|
|
155
156
|
- `at` (list of alias (at least one)): Options of the record's status during which this part is the work now
|
|
156
157
|
- `when` (condition): Drawn only while this holds
|
|
157
158
|
|
|
@@ -323,7 +324,7 @@ or several members, draws their faces as a stack that names them on hover. Worke
|
|
|
323
324
|
`records.image` names the files field that pictures a row — a product's photo, a damage photo, a
|
|
324
325
|
scan, a receipt. Every row of it then leads with its picture, or its paper's preview, wherever it is drawn —
|
|
325
326
|
a row holding no picture leads with the placeholder; a link to it previews the file. `image` may instead name a
|
|
326
|
-
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
|
|
327
|
+
one-row link to a table with a picture (an order line's `item`), or a lookup of one through a one-row link (a delivery's `customer`, through its order): the row leads with that row's picture, still titled by
|
|
327
328
|
its own words — or several in order (`["product", "bundle"]`, a line linking either), the first that holds a picture leading the row. Never a field an Act keeps the paper it makes in (`into`). List
|
|
328
329
|
`layout: "cards"` where the picture is how a row is found. A files field the record keeps as a folder of
|
|
329
330
|
papers is drawn as a Field, read whole. Worked: `examples/cards`.
|