@protobase/cli 0.23.0 → 0.23.1

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/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.23.0";
2
+ var version = "0.23.1";
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.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -35,11 +35,11 @@
35
35
  "dependencies": {
36
36
  "@hono/node-server": "^2.1.3",
37
37
  "@hono/vite-dev-server": "^0.26.1",
38
- "@protobase/layout": "0.23.0",
39
- "@protobase/query": "0.23.0",
40
- "@protobase/schema": "0.23.0",
41
- "@protobase/server": "0.23.0",
42
- "@protobase/ui": "0.23.0",
38
+ "@protobase/layout": "0.23.1",
39
+ "@protobase/query": "0.23.1",
40
+ "@protobase/schema": "0.23.1",
41
+ "@protobase/server": "0.23.1",
42
+ "@protobase/ui": "0.23.1",
43
43
  "@react-email/render": "^2.1.0",
44
44
  "@scalar/hono-api-reference": "^0.12.10",
45
45
  "@tailwindcss/vite": "^4.3.3",
@@ -135,6 +135,8 @@ export const CustomerRepairs = ({ limit }: { limit: number }) => {
135
135
  }
136
136
  ```
137
137
 
138
+ A list that should stay live polls: `useList('repairs', { refetchInterval: 5000 })` refetches every 5 seconds. It is TanStack Query's `refetchInterval`, so it also takes `false` to stop, or a function of the query, and pauses while the tab is in the background.
139
+
138
140
  ## Record cards
139
141
 
140
142
  A cards display can draw each card's content with a component, declared in the view with `d.cards(fields, { card })`. The card stays a link to the record, with the display's frame; the component draws what is inside it from `row`, the record with the fields the display names, so name every field the card shows: