@protobase/cli 0.117.3 → 0.117.4

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.117.3";
2
+ var version = "0.117.4";
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.117.3",
3
+ "version": "0.117.4",
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.117.3",
47
- "@protobase/layout": "0.117.3",
48
- "@protobase/query": "0.117.3",
49
- "@protobase/schema": "0.117.3",
50
- "@protobase/server": "0.117.3",
51
- "@protobase/ui": "0.117.3",
52
- "@protobase/workflows": "0.117.3",
46
+ "@protobase/config": "0.117.4",
47
+ "@protobase/layout": "0.117.4",
48
+ "@protobase/query": "0.117.4",
49
+ "@protobase/schema": "0.117.4",
50
+ "@protobase/server": "0.117.4",
51
+ "@protobase/ui": "0.117.4",
52
+ "@protobase/workflows": "0.117.4",
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",
@@ -10,7 +10,7 @@ The sidebar, the user menu, the bottom bar on phones and the global search.
10
10
  - [Create link](../reference/sidebar.md#create-link): A sidebar entry links to its create form, such as "New message" under Direct messages, for whoever may create.
11
11
  - [Entries for creators](../reference/sidebar.md#entries-for-creators): A sidebar entry shows only to those who may create its records, such as the tables list to those who may add tables.
12
12
  - [The current organization](../reference/sidebar.md#the-current-organization): A sidebar entry opens its list on the organization you work in, which you can clear to see every organization you are a member of.
13
- - [User menu](../reference/user-menu.md): Account pages, help links, security settings, setting a status, the theme switch and Sign out.
13
+ - [User menu](../reference/user-menu.md): Account pages, help links, security settings, setting a status, the theme switch and Sign out, which asks first and tells a host app around the page.
14
14
  - [Bottom bar](../reference/bottom-bar.md): On phones, tabs along the bottom for each role's main screens.
15
15
  - [Phone app layout](../reference/bottom-bar.md#search-and-more): With a bottom bar, More opens the sidebar as a page of its own with search at its top, the top bar takes the app's brand color, and pages that are no tab lead back to More; search can join the bar with `m.search()`.
16
16
  - [System tab bar](../reference/bottom-bar.md#in-the-phone-apps): In the iOS and Android apps the bottom bar is the system's own tab bar.
@@ -6,6 +6,8 @@ The user menu at the bottom of the sidebar, with the app's own account pages and
6
6
 
7
7
  The signed-in user sits at the bottom of the sidebar, and on a phone at the top right of the top bar, where the menu opens as a sheet from the bottom. Clicking them opens a menu with their name and email, which link to their account, "Set a status" in an app with [status](status.md), the app's own pages, the theme switch, and "Sign out". Account pages (organization, billing, users) and help links belong here rather than among the working resources.
8
8
 
9
+ "Sign out" asks first, in the app's dialog, in a browser and in an app alike. Once the person has signed out, the shell dispatches a `protobase:signed-out` event on `window` (`signedOutEvent` of `@protobase/ui`), and posts `{ type: 'protobase:signed-out' }` to a page that frames it, for a host app around the page, such as one that keeps its own copy of the person's session and ends it too.
10
+
9
11
  Export one [`userMenu(...)`](https://docs.protobase.net/api/schema/functions/usermenu/) from `config/index.ts`:
10
12
 
11
13
  ```ts