@protobase/cli 0.119.0 → 0.119.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.
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.119.0";
2
+ var version = "0.119.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.119.0",
3
+ "version": "0.119.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": {
@@ -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.119.0",
47
- "@protobase/layout": "0.119.0",
48
- "@protobase/query": "0.119.0",
49
- "@protobase/schema": "0.119.0",
50
- "@protobase/server": "0.119.0",
51
- "@protobase/ui": "0.119.0",
52
- "@protobase/workflows": "0.119.0",
46
+ "@protobase/config": "0.119.1",
47
+ "@protobase/layout": "0.119.1",
48
+ "@protobase/query": "0.119.1",
49
+ "@protobase/schema": "0.119.1",
50
+ "@protobase/server": "0.119.1",
51
+ "@protobase/ui": "0.119.1",
52
+ "@protobase/workflows": "0.119.1",
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",
@@ -38,7 +38,7 @@ Sign-in methods, users, roles, organizations and tokens.
38
38
  - [Staff sign-in](../reference/auth.md#staff-sign-in): The team that runs an app signs in as a person to help them, with a reason and a log entry.
39
39
  - [Roles](../reference/auth.md#roles): A user holds one or more roles and switches between them without signing in again.
40
40
  - [Organizations](../reference/auth.md#organizations): People work in one organization at a time, see only its records, and are invited with their own roles.
41
- - [First organization](../reference/auth.md#first-organization-and-start-address) (beta): People outside any organization name their first one in one step, or join one they are invited to, and land on the start address your app sets. You choose the word your app uses for an organization, such as workspace.
41
+ - [First organization](../reference/auth.md#first-organization-and-start-address) (beta): People outside any organization name their first one, called by your app's word such as workspace, in one step, or join one they are invited to, and land on the start address your app sets. The screen says what it is doing while it creates or joins, and lets them try again after a network failure.
42
42
  - [Status](../reference/status.md) (beta): People set themselves busy or do not disturb, with a text of their own such as "Having lunch" and a time it clears, from the user menu; the people they share an organization with see it beside their name, with your app's online or away mark on the members page and in the sidebar.
43
43
  - [API tokens](../reference/auth.md#tokens-and-roles): A signed-in session gets short-lived tokens for the API.
44
44
  - [Immediate revocation](../reference/auth.md#when-a-token-stops-working): A ban, removed role or ended session takes effect on the next request.
@@ -259,7 +259,7 @@ export default { send: async ({ to, subject, text }) => { /* deliver it */ retur
259
259
 
260
260
  ## Name, password and devices
261
261
 
262
- The signed-in person changes their own name and password, and signs out their other devices, with Better Auth's own endpoints. The client has them in `session.account`, each rejecting with `AuthError`:
262
+ The signed-in person changes their own name and password, and signs out their other devices, with Better Auth's own endpoints. The client has them in `session.account`, each rejecting with `AuthError`, or with `NetworkError` when the server cannot be reached:
263
263
 
264
264
  | Client | Endpoint |
265
265
  | --- | --- |
@@ -761,7 +761,7 @@ The app's own pages are under the profile menu: the switcher, "Manage organizati
761
761
  The start address is the same for everyone in an app; it does not yet remember where each person was last.
762
762
  :::
763
763
 
764
- Someone signed in who works in no organization, such as the first person in a new app, sees one screen before anything else, whatever address they opened: at `/-/first-organization`, with the app's mark and no sidebar entries, they name their first organization in one field and press Create. With invitations waiting for their address, the screen lists those first, each with Join, and "Create a new organization instead" leads to the form at `/-/first-organization/new`. Someone who may not create one (`create: 'admins'`) and has no invitation is told to ask for one. The screen names who is signed in, with Sign out, and for someone with a global role links to every organization. Creating or joining opens the app at its start address. Until they work in one, the shell shows none of the app's resources, on the account pages and the organizations page too.
764
+ Someone signed in who works in no organization, such as the first person in a new app, sees one screen before anything else, whatever address they opened: at `/-/first-organization`, with the app's mark and no sidebar entries, they name their first organization in one field and press Create. With invitations waiting for their address, the screen lists those first, each with Join, and "Create a new organization instead" leads to the form at `/-/first-organization/new`. Someone who may not create one (`create: 'admins'`) and has no invitation is told to ask for one. The screen names who is signed in, with Sign out, and for someone with a global role links to every organization. While it creates or joins, the button says so, such as "Creating workspace…" or "Joining Acme…"; when the server cannot be reached, the screen says so and the button works again. <gap>A request the server takes but never answers keeps the button busy until the browser gives up because a time limit on sign-in and organization calls is not implemented.</gap> Creating or joining opens the app at its start address. Until they work in one, the shell shows none of the app's resources, on the account pages and the organizations page too.
765
765
 
766
766
  The word the screens use for an organization is yours: `names` takes it as a view's names are written, and `createDescription` adds a line under the screen's title. The built-in texts around the word come in English and Dutch, on this screen, the organization pages and the profile menu:
767
767
 
@@ -360,7 +360,7 @@ A component that asks for input looks like the app's own forms when it is built
360
360
  | `Choices` | One of a few options, each a card in a row of its own with a `description`: `name`, `label`, `options`, `value`, `onChange`. A `disabled` option shows and cannot be chosen. |
361
361
  | `RecordPicker` | Records of another resource, picked as the create form picks a relation: type to narrow them by their search fields or title, scroll for more, or use the keyboard. `resource` names the resource, whose model it reads from the app; `value` is the chosen record's key as text and `onChange` gets the new one. With `multiple`, `value` and `onChange` hold several keys, such as the objectives a task serves through a join resource: each shows as a token that can be taken off. |
362
362
  | `Segmented`, `MenuSelect` | A switch between a few short options in a row (`size`, `iconOnly`), and the same options in a menu. |
363
- | `Button`, `buttonClass` | A button (`variant` `primary`, `secondary`, `ghost` or `danger`, `size` `sm`, `md` or `icon`, a square for an icon alone, and `loading`), and its classes for a link that looks like one. |
363
+ | `Button`, `buttonClass` | A button (`variant` `primary`, `secondary`, `ghost` or `danger`, `size` `sm`, `md` or `icon`, a square for an icon alone, `loading`, and `busyLabel`, what it says while loading, as a status a screen reader announces), and its classes for a link that looks like one. |
364
364
  | `Dialog`, `ResponsiveDialog` | A modal with a `title`, `description`, `actions` and a body, which Escape and a click outside close with `onClose`; the responsive one becomes a sheet from the bottom of a phone, which follows a finger dragging it down by its header, or by its content once that is scrolled to its top, and closes when flung or let go past a third of its height. |
365
365
 
366
366
  ```tsx