@protobase/config 0.59.2 → 0.59.3
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 +3 -1
- package/package.json +2 -2
- package/schema.json +28 -0
package/dist/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdminOptions, AppIdentity, AssistantOptions, AuthSettings, AuthenticateSettings, CallsOptions, EventsOptions, FileProviderSettings, FilesOptions, HistoryOptions, JobDeclaration, MobileConfig, NotificationsOptions, RealtimeOptions, WebhooksOptions } from "@protobase/server";
|
|
1
|
+
import { AdminOptions, AppIdentity, AssistantOptions, AuthSettings, AuthenticateSettings, CallsOptions, EventsOptions, FileProviderSettings, FilesOptions, HistoryOptions, JobDeclaration, MobileConfig, NotificationsOptions, RealtimeOptions, StatusOptions, WebhooksOptions } from "@protobase/server";
|
|
2
2
|
//#region src/config.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* `auth`: sign-in (see `AuthSettings`). Its URL, secrets and name are the app's (`url`, `secret`, `previousSecrets`,
|
|
@@ -90,6 +90,8 @@ export type ProtobaseConfig = AppKeys & ApiOptionKeys & {
|
|
|
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'>;
|
|
93
|
+
/** People set their own status and see those they share an organization with (see `StatusOptions`); `{}` turns it on, and it needs organizations. */
|
|
94
|
+
status?: StatusOptions;
|
|
93
95
|
/** The media server behind the calls functions admit members to with `calls.join` (see `CallsOptions`). */
|
|
94
96
|
calls?: CallsOptions;
|
|
95
97
|
/** The app's iOS and Android build (see `MobileConfig`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/config",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.3",
|
|
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.
|
|
34
|
+
"@protobase/server": "0.59.3"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/schema.json
CHANGED
|
@@ -979,6 +979,17 @@
|
|
|
979
979
|
}
|
|
980
980
|
]
|
|
981
981
|
},
|
|
982
|
+
"status": {
|
|
983
|
+
"description": "People set their own status and see those they share an organization with (see `StatusOptions`); `{}` turns it on, and it needs organizations.",
|
|
984
|
+
"anyOf": [
|
|
985
|
+
{
|
|
986
|
+
"$ref": "#/definitions/StatusOptions"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"$ref": "#/definitions/EnvValue"
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
},
|
|
982
993
|
"calls": {
|
|
983
994
|
"description": "The media server behind the calls functions admit members to with `calls.join` (see `CallsOptions`).",
|
|
984
995
|
"anyOf": [
|
|
@@ -3538,6 +3549,23 @@
|
|
|
3538
3549
|
},
|
|
3539
3550
|
"additionalProperties": false
|
|
3540
3551
|
},
|
|
3552
|
+
"StatusOptions": {
|
|
3553
|
+
"type": "object",
|
|
3554
|
+
"properties": {
|
|
3555
|
+
"schema": {
|
|
3556
|
+
"description": "The schema of the statuses table; default `status`.",
|
|
3557
|
+
"anyOf": [
|
|
3558
|
+
{
|
|
3559
|
+
"type": "string"
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
"$ref": "#/definitions/EnvValue"
|
|
3563
|
+
}
|
|
3564
|
+
]
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3567
|
+
"additionalProperties": false
|
|
3568
|
+
},
|
|
3541
3569
|
"CallsOptions": {
|
|
3542
3570
|
"type": "object",
|
|
3543
3571
|
"properties": {
|