@lotics/cli 0.320.6 → 0.320.8
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/agent_surface.md +0 -1
- package/docs/design.md +1 -1
- package/docs/examples.md +0 -93
- package/package.json +1 -1
package/docs/agent_surface.md
CHANGED
|
@@ -78,7 +78,6 @@ the screen already holds.
|
|
|
78
78
|
| `<entity>_pictures` | The picture and name of each <entity> row among the ids handed in. | `<entity>_ids` | a link to several pictured rows |
|
|
79
79
|
| `<entity>_count_by_<scope>` | How many <entity> rows each <scope entity> holds. | | an app stating `scope` |
|
|
80
80
|
| `<task>_progress_by_<link>` | How many <task> rows each <entity> row handed in holds, at each status. | `<entity>_ids` | rows whose task rows are counted done |
|
|
81
|
-
| `<child>_nested_by_<link>` | The <child> rows under any <entity> handed in, through "<link>". | `<entity>_ids` | each plain List of child rows on the page of rows a List holds open by `nested`, for the rows it draws; named as that List's read under one record, `_nested` after the child |
|
|
82
81
|
| `<entity>_sub_counts_by_<link>` | How many <entity> rows stand under each <entity> row handed in, through <link>, at each status. | `<entity>_ids` | a record's rows block over a hierarchy (`nests`), for the rows it draws |
|
|
83
82
|
| `<entity>_plan_places` | Every <place> the <entity> rows stand at, with what the plan draws of each. | | a register laid out as a `plan`: the places its rows stand at |
|
|
84
83
|
| `<lane>_lanes` | The <lane> rows of one <scope entity>, each a lane of the board. | `<scope entity>_id` | a lanes board inside an app stating `scope` |
|
package/docs/design.md
CHANGED
|
@@ -230,7 +230,7 @@ Each kind of row's view is chosen before its List is written:
|
|
|
230
230
|
| A day's work given out to people or vehicles | List `layout: {"lanes": {"by": …}}` over rows holding a day and no hour | `reference/lanes` |
|
|
231
231
|
| A log of what happened | a child List with `layout: "timeline"` | `reference/layouts` |
|
|
232
232
|
| Opened to be worked on | the Record's Sections — each one area of the record's data, its lists and field groups inside it; a status's stage acts stand at the foot of the rows they move, `at` where the work moves in steps; fields only one kind of row holds (a delay's cause, a safety issue's hours lost) in a Section whose `when` names that kind | |
|
|
233
|
-
| Rows that each belong to another row | a child List on that row's Record, with `create` and `remove` — and a child's own rows a List in that child's page, as deep as the data goes
|
|
233
|
+
| Rows that each belong to another row | a child List on that row's Record, with `create` and `remove` — and a child's own rows a List in that child's page, as deep as the data goes, and every row's ⋯ offers Duplicate; a List with `same` where read-only | |
|
|
234
234
|
| A related row's value on the list (the newest contract's end date) | a `lookup` field of the table, ordered, as a column | `reference/lookup` |
|
|
235
235
|
| Moving through a status | an Act per move, `status.dates` for the moment of each stage, and the register's Readings | |
|
|
236
236
|
| Counted over a period | the register's Tabs over one `period`; a Tab's `totals` for a child's sums before, during and through it; an open Tab's `where` reads only what was true at the period's end, never a status the row moves on from | |
|
package/docs/examples.md
CHANGED
|
@@ -1452,99 +1452,6 @@ among them: the `design` reference. Every key: `reference`, at the pages each se
|
|
|
1452
1452
|
}
|
|
1453
1453
|
```
|
|
1454
1454
|
|
|
1455
|
-
## Lines and sources
|
|
1456
|
-
|
|
1457
|
-
**The job.** Fill each line of an order from several suppliers, editing a line and what each supplier sends on one page, as in a spreadsheet.
|
|
1458
|
-
|
|
1459
|
-
**Read.** A child List stating `nested`: each line stands open on the List its own page holds (the sources), written in place; a line's ⋯ duplicates it.
|
|
1460
|
-
|
|
1461
|
-
**Keys.** `reference/list-node`
|
|
1462
|
-
|
|
1463
|
-
**Not when.** Rows whose own children are read one row at a time, or grouped by a link instead (`group`): open them one at a time.
|
|
1464
|
-
|
|
1465
|
-
```json
|
|
1466
|
-
{
|
|
1467
|
-
"tables": [
|
|
1468
|
-
{
|
|
1469
|
-
"ref": "don_hang",
|
|
1470
|
-
"title": "so_don",
|
|
1471
|
-
"fields": {
|
|
1472
|
-
"so_don": {"type": "text"},
|
|
1473
|
-
"khach_hang": {"type": "link", "table": "khach_hang", "multi": false},
|
|
1474
|
-
"ngay_giao": {"type": "date"},
|
|
1475
|
-
"trang_thai": {
|
|
1476
|
-
"type": "select",
|
|
1477
|
-
"options": [
|
|
1478
|
-
{"alias": "moi", "color": "blue"},
|
|
1479
|
-
{"alias": "da_dat", "color": "amber"},
|
|
1480
|
-
{"alias": "da_giao", "color": "green"}
|
|
1481
|
-
]
|
|
1482
|
-
}
|
|
1483
|
-
},
|
|
1484
|
-
"records": {"subtitle": ["khach_hang", "ngay_giao"], "status": {"field": "trang_thai"}}
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"ref": "dong_don",
|
|
1488
|
-
"title": "mat_hang",
|
|
1489
|
-
"fields": {
|
|
1490
|
-
"don_hang": {"type": "link", "table": "don_hang", "multi": false},
|
|
1491
|
-
"mat_hang": {"type": "link", "table": "mat_hang", "multi": false},
|
|
1492
|
-
"so_luong": {"type": "number"},
|
|
1493
|
-
"da_dat": {"type": "rollup"},
|
|
1494
|
-
"nguon": {"type": "link", "table": "nguon", "multi": true}
|
|
1495
|
-
},
|
|
1496
|
-
"records": {"figure": "so_luong"}
|
|
1497
|
-
}
|
|
1498
|
-
],
|
|
1499
|
-
"body": {
|
|
1500
|
-
"type": "App",
|
|
1501
|
-
"key": "don_hang",
|
|
1502
|
-
"name": "Đơn hàng",
|
|
1503
|
-
"icon": "shopping-cart",
|
|
1504
|
-
"color": "green",
|
|
1505
|
-
"children": [
|
|
1506
|
-
{
|
|
1507
|
-
"type": "List",
|
|
1508
|
-
"entity": "don_hang",
|
|
1509
|
-
"columns": ["ngay_giao"],
|
|
1510
|
-
"filters": ["trang_thai"],
|
|
1511
|
-
"search": ["so_don", "khach_hang"],
|
|
1512
|
-
"sort": {"field": "ngay_giao", "desc": true}
|
|
1513
|
-
}
|
|
1514
|
-
],
|
|
1515
|
-
"pages": [
|
|
1516
|
-
{
|
|
1517
|
-
"type": "Record",
|
|
1518
|
-
"entity": "don_hang",
|
|
1519
|
-
"children": [
|
|
1520
|
-
{
|
|
1521
|
-
"type": "Section",
|
|
1522
|
-
"key": "dong_hang",
|
|
1523
|
-
"title": "Dòng hàng",
|
|
1524
|
-
"children": [
|
|
1525
|
-
{
|
|
1526
|
-
"type": "List",
|
|
1527
|
-
"entity": "dong_don",
|
|
1528
|
-
"nested": true,
|
|
1529
|
-
"columns": [{"field": "so_luong", "edit": true}, "da_dat"]
|
|
1530
|
-
}
|
|
1531
|
-
]
|
|
1532
|
-
}
|
|
1533
|
-
]
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
"type": "Record",
|
|
1537
|
-
"entity": "dong_don",
|
|
1538
|
-
"children": ["so_luong", {"type": "List", "entity": "nguon", "columns": [{"field": "so_luong", "edit": true}]}]
|
|
1539
|
-
},
|
|
1540
|
-
{"type": "Record", "entity": "khach_hang", "add": ["ten", "dia_chi", "dien_thoai"]},
|
|
1541
|
-
{"type": "Record", "entity": "mat_hang", "add": ["ten", "don_vi"]},
|
|
1542
|
-
{"type": "Record", "entity": "nha_cung_cap", "add": ["ten", "loai", "dien_thoai"]}
|
|
1543
|
-
]
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
```
|
|
1547
|
-
|
|
1548
1455
|
## Calls
|
|
1549
1456
|
|
|
1550
1457
|
**The job.** Call a lead from their record, and keep what was said as a touch on its timeline.
|