@protobase/cli 0.100.8 → 0.100.10

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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.100.8";
2
+ var version = "0.100.10";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/cli",
3
- "version": "0.100.8",
3
+ "version": "0.100.10",
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.8",
47
- "@protobase/layout": "0.100.8",
48
- "@protobase/query": "0.100.8",
49
- "@protobase/schema": "0.100.8",
50
- "@protobase/server": "0.100.8",
51
- "@protobase/ui": "0.100.8",
52
- "@protobase/workflows": "0.100.8",
46
+ "@protobase/config": "0.100.10",
47
+ "@protobase/layout": "0.100.10",
48
+ "@protobase/query": "0.100.10",
49
+ "@protobase/schema": "0.100.10",
50
+ "@protobase/server": "0.100.10",
51
+ "@protobase/ui": "0.100.10",
52
+ "@protobase/workflows": "0.100.10",
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
- - [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, tables, threads, charts, counts, related lists and the custom components that declare their reads starts at once when it opens, and a data block's [text form](../reference/layouts.md#a-pages-text-with-its-records) lists its records; record rows, tables, threads and record cards inside the records of another block, and custom components that fetch their own data, still load on their own.
22
+ - [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, 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, and tables, threads, record cards and record rows inside the records of another block, and custom components that fetch their own data, still load on their own.
23
23
  - [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.
24
24
  - [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.
25
25
  - [Record rows](../reference/blocks.md#recordrow): A sideways row of cards for a filter, favorites or saved searches, with a count and new-record marks.
@@ -161,7 +161,7 @@ Each entry is a record of the stack while its children draw, so `Field`, `Show`,
161
161
  ## How a page reads its data
162
162
 
163
163
  :::caution[Beta]
164
- On the web, a `RecordRow`, and a `Table`, `Thread` or `RecordCards` inside the records of another block, still read once they draw, as the marked limits below say.
164
+ On the web, a `RecordRow` of a view with `listOf` or `searchesOf`, and a `Table`, `Thread`, `RecordCards` or `RecordRow` inside the records of another block, still read once they draw, as the marked limits below say.
165
165
  :::
166
166
 
167
167
  The build compiles each page into a read plan: one ordinary API read per data block, each known before any record is read, so all of them start together when the page opens and none waits for another's rows. There is no combined page query: each read is a request of its own. `/api/meta` sends each user the plan of the page as they see it, so it holds no read of a resource they cannot read and no field they cannot read.
@@ -179,7 +179,7 @@ Each read in the plan (`page.reads.reads`) names its block by a JSON Pointer int
179
179
 
180
180
  A [custom component](custom-components.md#reads) is planned when it declares its reads: the page starts them with the others, each of several a part of its own named by its resource prop (`/children/0#edges`), and the component draws from them. One that declares none is outside the plan (`page.reads.outside`): whatever it reads, it reads by itself once it draws, and `protobase doctor` lists it.
181
181
 
182
- <gap>A `RecordRow` cannot start its read when the page opens because starting its paged rows ahead of it is not implemented, so it reads once it draws, under a `Show` or `Match` once its condition holds.</gap> <gap>A `Table`, `Thread` or `RecordCards` inside the records of another block cannot start its read when the page opens because a planned read with per-record labels, photos and totals is not implemented, so it reads once it draws.</gap> <gap>A `Chart` cannot sit inside a repeated record because grouping a chart per record is not implemented.</gap>
182
+ <gap>A `RecordRow` of a view with `listOf` or `searchesOf` cannot start its read when the page opens because starting the user's saved records or searches ahead of it is not implemented, so it reads once it draws, under a `Show` or `Match` once its condition holds.</gap> <gap>A `Table`, `Thread`, `RecordCards` or `RecordRow` inside the records of another block cannot start its read when the page opens because a planned read with per-record labels, photos and totals is not implemented, so it reads once it draws.</gap> <gap>A `Chart` cannot sit inside a repeated record because grouping a chart per record is not implemented.</gap>
183
183
 
184
184
  ## Field values
185
185