@protobase/cli 0.100.15 → 0.100.16
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/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.16",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.100.
|
|
47
|
-
"@protobase/layout": "0.100.
|
|
48
|
-
"@protobase/query": "0.100.
|
|
49
|
-
"@protobase/schema": "0.100.
|
|
50
|
-
"@protobase/server": "0.100.
|
|
51
|
-
"@protobase/ui": "0.100.
|
|
52
|
-
"@protobase/workflows": "0.100.
|
|
46
|
+
"@protobase/config": "0.100.16",
|
|
47
|
+
"@protobase/layout": "0.100.16",
|
|
48
|
+
"@protobase/query": "0.100.16",
|
|
49
|
+
"@protobase/schema": "0.100.16",
|
|
50
|
+
"@protobase/server": "0.100.16",
|
|
51
|
+
"@protobase/ui": "0.100.16",
|
|
52
|
+
"@protobase/workflows": "0.100.16",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -19,7 +19,7 @@ Pages of your own, built from blocks in a JSX layout.
|
|
|
19
19
|
- [Full-width pages](../reference/blocks.md#page): A page fills the whole area beside the sidebar instead of a centred column, for a dashboard with many blocks.
|
|
20
20
|
- [Data blocks](../reference/blocks.md#data): Counts, tables, single records, rows of cards, field values and progress bars.
|
|
21
21
|
- [Related records](../reference/layouts.md#related-records) (beta): Layouts repeat over a record's related records, the records a JSON list of keys points at and the items of a JSON list with `ReferenceManyField`, `ReferenceArrayField`, `ArrayField`, `RecordsIterator` and `ReferenceField`, nested as deep as needed, and a table draws such a list.
|
|
22
|
-
- [Actions in a list](../reference/layouts.md#actions-in-a-list) (beta): An action placed in a list of related records runs on every record of that list, with one confirmation that counts them.
|
|
22
|
+
- [Actions in a list](../reference/layouts.md#actions-in-a-list) (beta): An action placed in a list of related records runs on every loaded record of that list, with one confirmation that counts them.
|
|
23
23
|
- [Read plans](../reference/layouts.md#how-a-page-reads-its-data) (beta): The build plans one read per data block ahead of time, derives the fields each read needs, and checks every nested read's indexes. Every read of a page's records, card rows, record rows, tables, threads, charts, counts, related lists and the custom components that declare their reads starts at once when it opens, those inside the records of another block included, and a data block's [text form](../reference/layouts.md#a-pages-text-with-its-records) lists its records; record rows of favorites or saved searches, record rows inside the records of another block, and custom components that fetch their own data, still load on their own.
|
|
24
24
|
- [Table columns on a phone](../reference/blocks.md#columns-on-a-phone): Table blocks choose which columns show at mobile width by priority, with a sensible default, and fall back to a Markdown table.
|
|
25
25
|
- [Row buttons](../reference/blocks.md#row-buttons) (experimental): A table's rows carry a button labelled by a field of the row, such as its next step; the row decides where it goes: a record tab a field names, a list with a filter built from its fields, a list whose resource and filter its fields hold, or an outside https link a field holds. On mobile width the button sits under the row's first cell.
|
|
@@ -344,7 +344,7 @@ Record pages take the same conditions in the `when` of `l.section`, `l.related`
|
|
|
344
344
|
It runs only on the records the list has loaded, up to its `perPage` and any pages read with `pagination="more"`, and its dialog shows no progress, as for [signing several records off](blocks.md#signing-several-records-off).
|
|
345
345
|
:::
|
|
346
346
|
|
|
347
|
-
Where an `Action` sits decides what it runs on. Directly in a `ReferenceManyField` or `ReferenceArrayField`, outside its `RecordsIterator`, it runs on every record of that list; inside the `RecordsIterator`, it runs on the one record of its entry:
|
|
347
|
+
Where an `Action` sits decides what it runs on. Directly in a `ReferenceManyField` or `ReferenceArrayField`, outside its `RecordsIterator`, it runs on every loaded record of that list; inside the `RecordsIterator`, it runs on the one record of its entry:
|
|
348
348
|
|
|
349
349
|
```tsx
|
|
350
350
|
<ReferenceManyField reference="approvals" target="release_id">
|
|
@@ -355,7 +355,7 @@ Where an `Action` sits decides what it runs on. Directly in a `ReferenceManyFiel
|
|
|
355
355
|
</ReferenceManyField>
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
The list's button counts the records the action applies to, such as **Approve (3)**, and runs as a [selection in a list](blocks.md#signing-several-records-off) does, whether or not the action has `bulk`: it asks its question or inputs once, a checklist shows each box once however many records hold it, and a record the person may not change is refused and named while the others run. It is not offered when the list holds no record the action applies to, and an `a.link` is not offered there. An `Action` with `resource` naming another resource keeps working as outside the list. In the [text form](#text-form), the list's action reads as its label
|
|
358
|
+
The list's button counts the records the action applies to, such as **Approve (3)**, and runs as a [selection in a list](blocks.md#signing-several-records-off) does, whether or not the action has `bulk`: it asks its question or inputs once, a checklist shows each box once however many records hold it, and a record the person may not change is refused and named while the others run. It is not offered when the list holds no record the action applies to, and an `a.link` is not offered there. An `Action` with `resource` naming another resource keeps working as outside the list. In the [text form](#text-form), the list's action reads as its label alone, `Approve`. <gap>The text form cannot count the records a list's action applies to because the layout package has no resolver for whether an action applies to a record.</gap>
|
|
359
359
|
|
|
360
360
|
<gap>An `Action` in a list cannot run on records past the pages the list has loaded because reading the rest of a list for an action is not implemented.</gap>
|
|
361
361
|
|