@protobase/config 0.123.1 → 0.123.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/schema.json +57 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/config",
3
- "version": "0.123.1",
3
+ "version": "0.123.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.123.1"
34
+ "@protobase/server": "0.123.2"
35
35
  }
36
36
  }
package/schema.json CHANGED
@@ -6410,6 +6410,13 @@
6410
6410
  "$ref": "#/definitions/EnvValue"
6411
6411
  }
6412
6412
  ]
6413
+ },
6414
+ "events": {
6415
+ "description": "The events its members may send each other on a channel through the relay, by name, such as `{ ring: ... }`; the\nrelay refuses any other. A conversation page with `typing` declares `typing` itself.",
6416
+ "type": "object",
6417
+ "additionalProperties": {
6418
+ "$ref": "#/definitions/RelayClientEvent"
6419
+ }
6413
6420
  }
6414
6421
  },
6415
6422
  "additionalProperties": false
@@ -6458,6 +6465,56 @@
6458
6465
  ],
6459
6466
  "additionalProperties": false
6460
6467
  },
6468
+ "RelayClientEvent": {
6469
+ "type": "object",
6470
+ "properties": {
6471
+ "schema": {
6472
+ "description": "The payload's JSON schema, draft 2020-12 unless it names another; it may load no other document.",
6473
+ "type": "object",
6474
+ "additionalProperties": {}
6475
+ },
6476
+ "maxBytes": {
6477
+ "description": "The payload's largest size in bytes, 1 to 65536.",
6478
+ "anyOf": [
6479
+ {
6480
+ "type": "number"
6481
+ },
6482
+ {
6483
+ "$ref": "#/definitions/EnvValue"
6484
+ }
6485
+ ]
6486
+ },
6487
+ "perSecond": {
6488
+ "description": "How often one person may send it, a second, over all their sockets.",
6489
+ "anyOf": [
6490
+ {
6491
+ "type": "number"
6492
+ },
6493
+ {
6494
+ "$ref": "#/definitions/EnvValue"
6495
+ }
6496
+ ]
6497
+ },
6498
+ "burst": {
6499
+ "description": "How many one person may send at once before `perSecond` holds them back.",
6500
+ "anyOf": [
6501
+ {
6502
+ "type": "number"
6503
+ },
6504
+ {
6505
+ "$ref": "#/definitions/EnvValue"
6506
+ }
6507
+ ]
6508
+ }
6509
+ },
6510
+ "required": [
6511
+ "schema",
6512
+ "maxBytes",
6513
+ "perSecond",
6514
+ "burst"
6515
+ ],
6516
+ "additionalProperties": false
6517
+ },
6461
6518
  "RelayPresence": {
6462
6519
  "type": "object",
6463
6520
  "properties": {