@lotics/cli 0.321.37 → 0.321.38
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 +26 -8
- package/dist/src/client.d.ts +1 -0
- package/docs/design.md +1 -1
- package/docs/document_templates.md +1 -1
- package/docs/filters.md +1 -1
- package/package.json +1 -1
package/dist/src/client.d.ts
CHANGED
package/docs/design.md
CHANGED
|
@@ -117,7 +117,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
|
|
|
117
117
|
|
|
118
118
|
- `key` (alias, required): The app's alias, its name among apps
|
|
119
119
|
- `name` (text, required): The job, in the words of the people who do it
|
|
120
|
-
- `children` (list of (List | Sheet | Query | Workflow) (at least one)): The App's Views in order
|
|
120
|
+
- `children` (list of (List over a Query | List | Sheet | Query | Workflow) (at least one)): The App's Views in order
|
|
121
121
|
- `color` (colour): The launcher tile's colour
|
|
122
122
|
- `pages` (list of Record (at least one)): The page the rows of an entity open, one per entity, each a Record stating its `entity`
|
|
123
123
|
|
|
@@ -109,7 +109,7 @@ the `set_template` description for the reference; here is the capability:
|
|
|
109
109
|
also offer an auto-rendered `table` variable — declare its columns and pass an array, no
|
|
110
110
|
hand-written loop. Excel marks the rows that repeat with `{{#each items}}` and `{{/each}}`, each alone in a row above and
|
|
111
111
|
below them, or inline in the paper's own rows: `{{#each items}}` opens the first repeated row's first cell holding text
|
|
112
|
-
and `{{/each}}` closes the last one's last (a formula cell is passed over), so a one-row body reads `{{#each lines}}{{@ordinal}}` … `{{amount}}{{/each}}`.
|
|
112
|
+
and `{{/each}}` closes the last one's last (a formula cell is passed over), so a one-row body reads `{{#each lines}}{{@ordinal}}` … `{{amount}}{{/each}}`. A row repeats for one loop: two loops side by side in the same rows are refused, so put them in separate row bands or on separate sheets.
|
|
113
113
|
(Excel has no auto-rendered `table` type; its variable types are string/number/date/boolean/array.) Inside a loop the row's number counted from 1
|
|
114
114
|
is `{{@ordinal}}` (Excel, HTML, email) or `{{$ordinal}}` (Word), the innermost loop's: an STT column is a cell holding
|
|
115
115
|
`{{@ordinal}}` beside the row's other markers. `{{@index}}` counts from 0.
|
package/docs/filters.md
CHANGED
|
@@ -65,7 +65,7 @@ The depth a filter may nest is the depth you write: the groups an operator stand
|
|
|
65
65
|
{ "node_type": "condition", "field_key": "title", "operator": "is_any_of", "value": ["hello", "world"] }
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
`contains "cá"` finds `Cá hồi`, not `Cà chua`. Keeping accents reads `hòa` and `hoà` as one spelling. A condition with `ignore_accents: true` makes `contains`, `does_not_contain`, `starts_with`, `ends_with
|
|
68
|
+
`contains "cá"` finds `Cá hồi`, not `Cà chua`. Keeping accents reads `hòa` and `hoà` as one spelling. A condition with `ignore_accents: true` makes `contains`, `does_not_contain`, `starts_with`, `ends_with`, `contains_any_of` ignore accents too: `ca` and `cá` find both, and so on a record link's `contains`, `not_contains`, `starts_with` and `ends_with`. Any other operator refuses it. A condition with `whole_words: true` makes `contains` and `contains_any_of` on text, and `contains` on a record link (which reads each linked row's name), match a term only as a whole token: the character before and after the match is the edge of the text or an ASCII character that is no letter or digit (`2025SGSIN-1` is not in `2025SGSIN-12`; `ơng` is not in `Dương`, and a non-ASCII character never ends a token). Any other operator refuses it. A text value is a string, never an array; `is_any_of` matches several. Its array has no length cap —
|
|
69
69
|
pass the whole list in one condition rather than splitting it across calls.
|
|
70
70
|
|
|
71
71
|
## Number
|