@protobase/cli 0.94.33 → 0.94.35
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.94.
|
|
3
|
+
"version": "0.94.35",
|
|
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.94.
|
|
47
|
-
"@protobase/layout": "0.94.
|
|
48
|
-
"@protobase/query": "0.94.
|
|
49
|
-
"@protobase/schema": "0.94.
|
|
50
|
-
"@protobase/server": "0.94.
|
|
51
|
-
"@protobase/ui": "0.94.
|
|
52
|
-
"@protobase/workflows": "0.94.
|
|
46
|
+
"@protobase/config": "0.94.35",
|
|
47
|
+
"@protobase/layout": "0.94.35",
|
|
48
|
+
"@protobase/query": "0.94.35",
|
|
49
|
+
"@protobase/schema": "0.94.35",
|
|
50
|
+
"@protobase/server": "0.94.35",
|
|
51
|
+
"@protobase/ui": "0.94.35",
|
|
52
|
+
"@protobase/workflows": "0.94.35",
|
|
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",
|
|
@@ -30,7 +30,7 @@ The page of one record, with its sections, related records, galleries, charts an
|
|
|
30
30
|
- [Compact related cards](../reference/ui-config.md#compact-related-cards) (experimental): Related records can show as compact cards, coloured by a field.
|
|
31
31
|
- [Counts in headings](../reference/ui-config.md#counts-in-headings) (experimental): Related lists can show their count in the heading.
|
|
32
32
|
- [Group help lines](../reference/ui-config.md#groups) (experimental): A group can show a short line under its heading, also while it is closed.
|
|
33
|
-
- [A related record in full](../reference/ui-config.md#a-related-record-in-full): A related record can show its fields in full, without a card, for reading tabs such as notes.
|
|
33
|
+
- [A related record in full](../reference/ui-config.md#a-related-record-in-full): A related record can show its fields in full, without a card, for reading tabs such as notes, and offers to add it while there is none.
|
|
34
34
|
- [Record lines](../reference/ui-config.md#record-lines): The related table a record's view marks as its lines, such as an invoice's, shows all of them on its page, where you edit, add, remove and reorder them, and Save writes the record and its lines together.
|
|
35
35
|
- [Custom section fallbacks](../reference/custom-components.md#record-section-fallbacks) (experimental): Where your own component on a record page cannot be drawn, such as on a watch, what you declare shows in its place: any main-column item in the main column, conversations included, and sidebar maps and sidebar custom components in the sidebar.
|
|
36
36
|
- [Conversations](../reference/ui-config.md#conversations): A record page holds a chat about the record, such as a task's, with its messages in markdown and a box that sends one, declared in its layout with no component of the app's own.
|
|
@@ -999,7 +999,7 @@ Without any configuration, the record page's rail has a **Related records** card
|
|
|
999
999
|
| `filter`, `sort` | AIP-160 and AIP-132 on `resource`, as in the list API. `filter` narrows the listed records, `through.filter` the join records. |
|
|
1000
1000
|
| `columns` | Fields of `resource`, through relations too (`unit_id.property_id`); default the view's list columns without `field`. The first links to the record a row opens. With `presentation: 'cards'` or `'compact'`, the fields each card shows; with `presentation: 'record'`, the fields of the record it shows. |
|
|
1001
1001
|
| `presentation` | `'cards'` shows the records as [cards](#related-records-as-cards) instead of the table or display; `'compact'` as [compact cards](#compact-related-cards) of a line or two; `'record'` shows [one record in full](#a-related-record-in-full). |
|
|
1002
|
-
| `actions` | Named actions of `resource`'s view, by name, as buttons on each card; only with `presentation: 'cards'` or `'compact'`. |
|
|
1002
|
+
| `actions` | Named actions of `resource`'s view, by name, as buttons on each card; only with `presentation: 'cards'` or `'compact'`. A screen reader names each button by its label and the card's title, such as *Mark clear: Lists lose their place*. |
|
|
1003
1003
|
| `time` | A date or timestamp field of `resource` each compact card shows beside its title, as its view formats it; only with `presentation: 'compact'`. |
|
|
1004
1004
|
| `tone` | An enum field of `resource` whose value colours each card's left edge, by its view's [`valueColors`](#value-tones-and-currencies); only with `presentation: 'cards'` or `'compact'`. |
|
|
1005
1005
|
| `button` | `{ label, to }` or `{ label, href }`, or a list of them of which each row shows the first whose fields it holds: a [button on each row](blocks.md#row-buttons), or each card, to an address the row's fields name, its tab or list filter too, or to the outside page a field holds, such as `{ label: '{verb}', to: { kind: 'record', resource: 'tasks', key: '{task_id}', tab: 'Review' } }`; a row without a value for a field it names shows none. Not with `lines`. |
|
|
@@ -1120,7 +1120,7 @@ l.group('Open tasks', [
|
|
|
1120
1120
|
|
|
1121
1121
|
#### A related record in full
|
|
1122
1122
|
|
|
1123
|
-
With `presentation: 'record'` the section shows one related record as part of the page, for a tab meant for reading, such as an objective's notes kept in a record of their own: no card, no title of the record, nothing cut short with **Show more**, and no View all while there is only the one record. It shows the first record in `sort` order, each of `columns` in full as the record page shows it (a markdown field rendered), leaving out a field the record has no value for. On the heading's line, a link **Open** and the singular name of `resource`'s view, such as **Open note**, goes to the record's own page, with `button` before it. When more records match, View all under the record opens them all in the list, so a section such as the latest review does not hide the older ones. With one column the value stands alone, without its label; with several each is under its label. Without a record it shows `empty`, or with `hideEmpty` nothing. A change to the record shows as soon as the page hears of it, as in every related section of a [live](live.md) resource.
|
|
1123
|
+
With `presentation: 'record'` the section shows one related record as part of the page, for a tab meant for reading, such as an objective's notes kept in a record of their own: no card, no title of the record, nothing cut short with **Show more**, and no View all while there is only the one record. It shows the first record in `sort` order, each of `columns` in full as the record page shows it (a markdown field rendered), leaving out a field the record has no value for. On the heading's line, a link **Open** and the singular name of `resource`'s view, such as **Open note**, goes to the record's own page, with `button` before it. When more records match, View all under the record opens them all in the list, so a section such as the latest review does not hide the older ones. With one column the value stands alone, without its label; with several each is under its label. Without a record it shows `empty`, or with `hideEmpty` nothing; to whoever may create a record of `resource`, as the list offers New, its heading then has **Add** and the singular name, such as **Add note**, a link to the create form with `field` filled in with the value it matches, this record's key or its `from` field's (none with `through`). A change to the record shows as soon as the page hears of it, as in every related section of a [live](live.md) resource.
|
|
1124
1124
|
|
|
1125
1125
|
```ts
|
|
1126
1126
|
l.tab('Notes', [
|