@protobase/cli 0.62.0 → 0.62.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/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.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": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@better-auth/core": "^1.7.12",
|
|
44
44
|
"@hono/node-server": "^2.1.3",
|
|
45
|
-
"@protobase/config": "0.62.
|
|
46
|
-
"@protobase/layout": "0.62.
|
|
47
|
-
"@protobase/query": "0.62.
|
|
48
|
-
"@protobase/schema": "0.62.
|
|
49
|
-
"@protobase/server": "0.62.
|
|
50
|
-
"@protobase/ui": "0.62.
|
|
45
|
+
"@protobase/config": "0.62.1",
|
|
46
|
+
"@protobase/layout": "0.62.1",
|
|
47
|
+
"@protobase/query": "0.62.1",
|
|
48
|
+
"@protobase/schema": "0.62.1",
|
|
49
|
+
"@protobase/server": "0.62.1",
|
|
50
|
+
"@protobase/ui": "0.62.1",
|
|
51
51
|
"@react-email/render": "^2.1.0",
|
|
52
52
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
53
53
|
"@tailwindcss/vite": "^4.3.3",
|
|
@@ -55,7 +55,7 @@ export const rushOrders = subscription('rushOrders', {
|
|
|
55
55
|
| `events` | Event names (`orders.created`), every event of a resource (`orders.*`), or all of them (`*`). Each must match a declared event. |
|
|
56
56
|
| `when` | A filter on the record after the change, or before it for a delete, in the language of access rules. |
|
|
57
57
|
| `as: { roles }` | Delivers as these roles: only records they may read, and only fields they may read. Without it, every record and every field but the sensitive ones. Their access rules cannot read a sensitive field, which a captured change does not hold: a change they would need one for is kept as failed. Check the role before such a field, as in `ctx.user.roles.includes('admin') \|\| record.api_secret == null`, or decide on a field that is not sensitive (see [Sensitive fields](data-config.md#sensitive-fields)). |
|
|
58
|
-
| `tenant` | Only events of this tenant's records. |
|
|
58
|
+
| `tenant` | Only events of this tenant's records, on resources with `.tenant()`; a resource without one is not tenant-scoped, so its events reach every tenant's subscriptions that may read them. |
|
|
59
59
|
| `payload` | `thin` leaves `after` and `before` out, for a receiver that reads the record through the API. Default `full`. |
|
|
60
60
|
| `ordered` | One delivery at a time per record, in commit order. Default false. |
|
|
61
61
|
| `enabled` | Default true; `false` keeps the subscription in the config without delivering. |
|