@protobase/config 0.59.0 → 0.59.2

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/config.d.ts CHANGED
@@ -86,7 +86,7 @@ export type ProtobaseConfig = AppKeys & ApiOptionKeys & {
86
86
  history?: HistoryOptions;
87
87
  /** Webhook subscriptions made in the admin app (see `WebhooksOptions`); `{}` turns them on. */
88
88
  webhooks?: Omit<WebhooksOptions, 'ownerRoles'>;
89
- /** How supabase-js's Realtime is served: `{ processes: 'many' }` when several processes serve the app (see `RealtimeOptions`). */
89
+ /** How the record channels and supabase-js's Realtime are served: `{ processes: 'many' }` when several processes serve the app, `{ sqlSends: true }` to broadcast to channels from SQL (see `RealtimeOptions`). */
90
90
  realtime?: RealtimeOptions;
91
91
  /** Each user's devices and inbox (see `NotificationsOptions`); `{}` turns them on. */
92
92
  notifications?: Omit<NotificationsOptions, 'store' | 'historyStore' | 'senders'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/config",
3
- "version": "0.59.0",
3
+ "version": "0.59.2",
4
4
  "description": "defineConfig and the types of a Protobase project's protobase.config.ts, and the JSON Schema of protobase.config.json.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,6 +31,6 @@
31
31
  "access": "public"
32
32
  },
33
33
  "peerDependencies": {
34
- "@protobase/server": "0.59.0"
34
+ "@protobase/server": "0.59.2"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -659,7 +659,7 @@
659
659
  ]
660
660
  },
661
661
  "realtime": {
662
- "description": "How supabase-js's Realtime is served: `{ processes: 'many' }` when several processes serve the app (see `RealtimeOptions`).",
662
+ "description": "How the record channels and supabase-js's Realtime are served: `{ processes: 'many' }` when several processes serve the app, `{ sqlSends: true }` to broadcast to channels from SQL (see `RealtimeOptions`).",
663
663
  "anyOf": [
664
664
  {
665
665
  "$ref": "#/definitions/RealtimeOptions"
@@ -3523,6 +3523,17 @@
3523
3523
  "$ref": "#/definitions/EnvValue"
3524
3524
  }
3525
3525
  ]
3526
+ },
3527
+ "sqlSends": {
3528
+ "description": "`true` lets SQL in the app's database broadcast to the record channels with `channels.send()`, from the `channels`\nschema `protobase migration` writes.",
3529
+ "anyOf": [
3530
+ {
3531
+ "type": "boolean"
3532
+ },
3533
+ {
3534
+ "$ref": "#/definitions/EnvValue"
3535
+ }
3536
+ ]
3526
3537
  }
3527
3538
  },
3528
3539
  "additionalProperties": false