@stackframe/stack-shared 2.8.35 → 2.8.36
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/CHANGELOG.md +6 -0
- package/dist/config/schema.d.mts +167 -107
- package/dist/config/schema.d.ts +167 -107
- package/dist/config/schema.js +39 -25
- package/dist/config/schema.js.map +1 -1
- package/dist/esm/config/schema.js +39 -25
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/helpers/vault/client-side.js +46 -0
- package/dist/esm/helpers/vault/client-side.js.map +1 -0
- package/dist/esm/helpers/vault/server-side.js +92 -0
- package/dist/esm/helpers/vault/server-side.js.map +1 -0
- package/dist/esm/hooks/use-hover.js +71 -0
- package/dist/esm/hooks/use-hover.js.map +1 -0
- package/dist/esm/interface/admin-interface.js +21 -3
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/server-interface.js +38 -0
- package/dist/esm/interface/server-interface.js.map +1 -1
- package/dist/esm/known-errors.js +38 -1
- package/dist/esm/known-errors.js.map +1 -1
- package/dist/esm/utils/bytes.js +1 -2
- package/dist/esm/utils/bytes.js.map +1 -1
- package/dist/esm/utils/crypto.js +83 -2
- package/dist/esm/utils/crypto.js.map +1 -1
- package/dist/esm/utils/numbers.js.map +1 -1
- package/dist/esm/utils/react.js +7 -3
- package/dist/esm/utils/react.js.map +1 -1
- package/dist/helpers/password.d.mts +4 -4
- package/dist/helpers/password.d.ts +4 -4
- package/dist/helpers/vault/client-side.d.mts +14 -0
- package/dist/helpers/vault/client-side.d.ts +14 -0
- package/dist/helpers/vault/client-side.js +73 -0
- package/dist/helpers/vault/client-side.js.map +1 -0
- package/dist/helpers/vault/server-side.d.mts +7 -0
- package/dist/helpers/vault/server-side.d.ts +7 -0
- package/dist/helpers/vault/server-side.js +111 -0
- package/dist/helpers/vault/server-side.js.map +1 -0
- package/dist/hooks/use-hover.d.mts +6 -0
- package/dist/hooks/use-hover.d.ts +6 -0
- package/dist/hooks/use-hover.js +96 -0
- package/dist/hooks/use-hover.js.map +1 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/interface/admin-interface.d.mts +11 -5
- package/dist/interface/admin-interface.d.ts +11 -5
- package/dist/interface/admin-interface.js +21 -3
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/crud/current-user.d.mts +1 -1
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.mts +4 -4
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/team-member-profiles.d.mts +2 -2
- package/dist/interface/crud/team-member-profiles.d.ts +2 -2
- package/dist/interface/crud/users.d.mts +2 -2
- package/dist/interface/crud/users.d.ts +2 -2
- package/dist/interface/server-interface.d.mts +2 -0
- package/dist/interface/server-interface.d.ts +2 -0
- package/dist/interface/server-interface.js +38 -0
- package/dist/interface/server-interface.js.map +1 -1
- package/dist/known-errors.d.mts +9 -0
- package/dist/known-errors.d.ts +9 -0
- package/dist/known-errors.js +38 -1
- package/dist/known-errors.js.map +1 -1
- package/dist/schema-fields.d.mts +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/utils/bytes.js +1 -2
- package/dist/utils/bytes.js.map +1 -1
- package/dist/utils/crypto.d.mts +31 -1
- package/dist/utils/crypto.d.ts +31 -1
- package/dist/utils/crypto.js +87 -2
- package/dist/utils/crypto.js.map +1 -1
- package/dist/utils/numbers.js.map +1 -1
- package/dist/utils/react.js +7 -3
- package/dist/utils/react.js.map +1 -1
- package/package.json +2 -1
package/dist/config/schema.d.mts
CHANGED
|
@@ -37,17 +37,14 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
|
|
|
37
37
|
displayName?: string | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
offers: Record<string, {
|
|
40
|
-
groupId?: string | undefined;
|
|
41
40
|
displayName?: string | undefined;
|
|
42
|
-
isAddOnTo?: false | Record<string, true> | undefined;
|
|
43
|
-
freeTrial?: DayInterval | undefined;
|
|
44
41
|
serverOnly?: boolean | undefined;
|
|
42
|
+
freeTrial?: DayInterval | undefined;
|
|
43
|
+
groupId?: string | undefined;
|
|
44
|
+
isAddOnTo?: false | Record<string, true> | undefined;
|
|
45
45
|
stackable?: boolean | undefined;
|
|
46
46
|
customerType: "team" | "user" | "custom";
|
|
47
47
|
prices: "include-by-default" | Record<string, {
|
|
48
|
-
interval?: DayInterval | undefined;
|
|
49
|
-
freeTrial?: DayInterval | undefined;
|
|
50
|
-
serverOnly?: boolean | undefined;
|
|
51
48
|
USD?: string | undefined;
|
|
52
49
|
EUR?: string | undefined;
|
|
53
50
|
GBP?: string | undefined;
|
|
@@ -55,6 +52,9 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
|
|
|
55
52
|
INR?: string | undefined;
|
|
56
53
|
AUD?: string | undefined;
|
|
57
54
|
CAD?: string | undefined;
|
|
55
|
+
interval?: DayInterval | undefined;
|
|
56
|
+
serverOnly?: boolean | undefined;
|
|
57
|
+
freeTrial?: DayInterval | undefined;
|
|
58
58
|
}>;
|
|
59
59
|
includedItems: Record<string, {
|
|
60
60
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -84,11 +84,18 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
84
84
|
type: "postgres";
|
|
85
85
|
connectionString: string;
|
|
86
86
|
};
|
|
87
|
-
}, string>, "
|
|
87
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
88
|
+
domains: {
|
|
89
|
+
allowLocalhost?: boolean | undefined;
|
|
90
|
+
};
|
|
91
|
+
teams: {
|
|
92
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
93
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
94
|
+
};
|
|
88
95
|
rbac: {
|
|
89
96
|
permissions: Record<string, {
|
|
90
97
|
description?: string | undefined;
|
|
91
|
-
scope?: "
|
|
98
|
+
scope?: "team" | "project" | undefined;
|
|
92
99
|
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
93
100
|
} | undefined>;
|
|
94
101
|
defaultPermissions: {
|
|
@@ -103,9 +110,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
103
110
|
user?: boolean | undefined;
|
|
104
111
|
};
|
|
105
112
|
};
|
|
106
|
-
domains: {
|
|
107
|
-
allowLocalhost?: boolean | undefined;
|
|
108
|
-
};
|
|
109
113
|
auth: {
|
|
110
114
|
allowSignUp?: boolean | undefined;
|
|
111
115
|
password: {
|
|
@@ -120,7 +124,7 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
120
124
|
oauth: {
|
|
121
125
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
122
126
|
providers: Record<string, {
|
|
123
|
-
type?: "
|
|
127
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
124
128
|
allowSignIn?: boolean | undefined;
|
|
125
129
|
allowConnectedAccounts?: boolean | undefined;
|
|
126
130
|
}>;
|
|
@@ -138,17 +142,14 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
138
142
|
displayName?: string | undefined;
|
|
139
143
|
}>;
|
|
140
144
|
offers: Record<string, {
|
|
141
|
-
groupId?: string | undefined;
|
|
142
145
|
displayName?: string | undefined;
|
|
143
|
-
isAddOnTo?: false | Record<string, true> | undefined;
|
|
144
|
-
freeTrial?: DayInterval | undefined;
|
|
145
146
|
serverOnly?: boolean | undefined;
|
|
147
|
+
freeTrial?: DayInterval | undefined;
|
|
148
|
+
groupId?: string | undefined;
|
|
149
|
+
isAddOnTo?: false | Record<string, true> | undefined;
|
|
146
150
|
stackable?: boolean | undefined;
|
|
147
151
|
customerType: "team" | "user" | "custom";
|
|
148
152
|
prices: "include-by-default" | Record<string, {
|
|
149
|
-
interval?: DayInterval | undefined;
|
|
150
|
-
freeTrial?: DayInterval | undefined;
|
|
151
|
-
serverOnly?: boolean | undefined;
|
|
152
153
|
USD?: string | undefined;
|
|
153
154
|
EUR?: string | undefined;
|
|
154
155
|
GBP?: string | undefined;
|
|
@@ -156,6 +157,9 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
156
157
|
INR?: string | undefined;
|
|
157
158
|
AUD?: string | undefined;
|
|
158
159
|
CAD?: string | undefined;
|
|
160
|
+
interval?: DayInterval | undefined;
|
|
161
|
+
serverOnly?: boolean | undefined;
|
|
162
|
+
freeTrial?: DayInterval | undefined;
|
|
159
163
|
}>;
|
|
160
164
|
includedItems: Record<string, {
|
|
161
165
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -164,10 +168,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
164
168
|
}>;
|
|
165
169
|
}>;
|
|
166
170
|
};
|
|
167
|
-
teams: {
|
|
168
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
169
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
170
|
-
};
|
|
171
171
|
users: {
|
|
172
172
|
allowClientUserDeletion?: boolean | undefined;
|
|
173
173
|
};
|
|
@@ -183,9 +183,14 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
183
183
|
tsxSource: string;
|
|
184
184
|
}>;
|
|
185
185
|
};
|
|
186
|
+
dataVault: {
|
|
187
|
+
stores: Record<string, {
|
|
188
|
+
displayName?: string | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
};
|
|
186
191
|
}, yup.AnyObject, Omit<Omit<{
|
|
187
192
|
sourceOfTruth: undefined;
|
|
188
|
-
}, string>, "
|
|
193
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
189
194
|
rbac: {
|
|
190
195
|
permissions: undefined;
|
|
191
196
|
defaultPermissions: {
|
|
@@ -239,6 +244,9 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
239
244
|
offers: undefined;
|
|
240
245
|
items: undefined;
|
|
241
246
|
};
|
|
247
|
+
dataVault: {
|
|
248
|
+
stores: undefined;
|
|
249
|
+
};
|
|
242
250
|
}, "">;
|
|
243
251
|
declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
244
252
|
sourceOfTruth: {
|
|
@@ -250,11 +258,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
250
258
|
type: "postgres";
|
|
251
259
|
connectionString: string;
|
|
252
260
|
};
|
|
253
|
-
}, string>, "
|
|
261
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
262
|
+
domains: {
|
|
263
|
+
allowLocalhost?: boolean | undefined;
|
|
264
|
+
};
|
|
265
|
+
teams: {
|
|
266
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
267
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
268
|
+
};
|
|
254
269
|
rbac: {
|
|
255
270
|
permissions: Record<string, {
|
|
256
271
|
description?: string | undefined;
|
|
257
|
-
scope?: "
|
|
272
|
+
scope?: "team" | "project" | undefined;
|
|
258
273
|
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
259
274
|
} | undefined>;
|
|
260
275
|
defaultPermissions: {
|
|
@@ -269,9 +284,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
269
284
|
user?: boolean | undefined;
|
|
270
285
|
};
|
|
271
286
|
};
|
|
272
|
-
domains: {
|
|
273
|
-
allowLocalhost?: boolean | undefined;
|
|
274
|
-
};
|
|
275
287
|
auth: {
|
|
276
288
|
allowSignUp?: boolean | undefined;
|
|
277
289
|
password: {
|
|
@@ -286,7 +298,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
286
298
|
oauth: {
|
|
287
299
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
288
300
|
providers: Record<string, {
|
|
289
|
-
type?: "
|
|
301
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
290
302
|
allowSignIn?: boolean | undefined;
|
|
291
303
|
allowConnectedAccounts?: boolean | undefined;
|
|
292
304
|
}>;
|
|
@@ -304,17 +316,14 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
304
316
|
displayName?: string | undefined;
|
|
305
317
|
}>;
|
|
306
318
|
offers: Record<string, {
|
|
307
|
-
groupId?: string | undefined;
|
|
308
319
|
displayName?: string | undefined;
|
|
309
|
-
isAddOnTo?: false | Record<string, true> | undefined;
|
|
310
|
-
freeTrial?: DayInterval | undefined;
|
|
311
320
|
serverOnly?: boolean | undefined;
|
|
321
|
+
freeTrial?: DayInterval | undefined;
|
|
322
|
+
groupId?: string | undefined;
|
|
323
|
+
isAddOnTo?: false | Record<string, true> | undefined;
|
|
312
324
|
stackable?: boolean | undefined;
|
|
313
325
|
customerType: "team" | "user" | "custom";
|
|
314
326
|
prices: "include-by-default" | Record<string, {
|
|
315
|
-
interval?: DayInterval | undefined;
|
|
316
|
-
freeTrial?: DayInterval | undefined;
|
|
317
|
-
serverOnly?: boolean | undefined;
|
|
318
327
|
USD?: string | undefined;
|
|
319
328
|
EUR?: string | undefined;
|
|
320
329
|
GBP?: string | undefined;
|
|
@@ -322,6 +331,9 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
322
331
|
INR?: string | undefined;
|
|
323
332
|
AUD?: string | undefined;
|
|
324
333
|
CAD?: string | undefined;
|
|
334
|
+
interval?: DayInterval | undefined;
|
|
335
|
+
serverOnly?: boolean | undefined;
|
|
336
|
+
freeTrial?: DayInterval | undefined;
|
|
325
337
|
}>;
|
|
326
338
|
includedItems: Record<string, {
|
|
327
339
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -330,10 +342,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
330
342
|
}>;
|
|
331
343
|
}>;
|
|
332
344
|
};
|
|
333
|
-
teams: {
|
|
334
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
335
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
336
|
-
};
|
|
337
345
|
users: {
|
|
338
346
|
allowClientUserDeletion?: boolean | undefined;
|
|
339
347
|
};
|
|
@@ -349,6 +357,11 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
349
357
|
tsxSource: string;
|
|
350
358
|
}>;
|
|
351
359
|
};
|
|
360
|
+
dataVault: {
|
|
361
|
+
stores: Record<string, {
|
|
362
|
+
displayName?: string | undefined;
|
|
363
|
+
}>;
|
|
364
|
+
};
|
|
352
365
|
}>, "domains" | "auth" | "emails"> & {
|
|
353
366
|
domains: Omit<{
|
|
354
367
|
allowLocalhost?: boolean | undefined;
|
|
@@ -372,7 +385,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
372
385
|
oauth: {
|
|
373
386
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
374
387
|
providers: Record<string, {
|
|
375
|
-
type?: "
|
|
388
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
376
389
|
allowSignIn?: boolean | undefined;
|
|
377
390
|
allowConnectedAccounts?: boolean | undefined;
|
|
378
391
|
}>;
|
|
@@ -381,18 +394,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
381
394
|
oauth: Omit<{
|
|
382
395
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
383
396
|
providers: Record<string, {
|
|
384
|
-
type?: "
|
|
397
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
385
398
|
allowSignIn?: boolean | undefined;
|
|
386
399
|
allowConnectedAccounts?: boolean | undefined;
|
|
387
400
|
}>;
|
|
388
401
|
}, "providers"> & {
|
|
389
402
|
providers: Record<string, {
|
|
390
|
-
type?: "
|
|
403
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
404
|
+
clientId?: string | undefined;
|
|
405
|
+
clientSecret?: string | undefined;
|
|
391
406
|
allowSignIn?: boolean | undefined;
|
|
392
407
|
allowConnectedAccounts?: boolean | undefined;
|
|
393
408
|
isShared?: boolean | undefined;
|
|
394
|
-
clientId?: string | undefined;
|
|
395
|
-
clientSecret?: string | undefined;
|
|
396
409
|
facebookConfigId?: string | undefined;
|
|
397
410
|
microsoftTenantId?: string | undefined;
|
|
398
411
|
}>;
|
|
@@ -411,18 +424,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
411
424
|
}>;
|
|
412
425
|
}, "server"> & {
|
|
413
426
|
server: {
|
|
414
|
-
password?: string | undefined;
|
|
415
|
-
isShared?: boolean | undefined;
|
|
416
427
|
host?: string | undefined;
|
|
417
428
|
port?: number | undefined;
|
|
418
429
|
username?: string | undefined;
|
|
430
|
+
password?: string | undefined;
|
|
431
|
+
isShared?: boolean | undefined;
|
|
419
432
|
senderName?: string | undefined;
|
|
420
433
|
senderEmail?: string | undefined;
|
|
421
434
|
};
|
|
422
435
|
};
|
|
423
436
|
}, yup.AnyObject, Omit<NonNullable<Omit<Omit<{
|
|
424
437
|
sourceOfTruth: undefined;
|
|
425
|
-
}, string>, "
|
|
438
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
426
439
|
rbac: {
|
|
427
440
|
permissions: undefined;
|
|
428
441
|
defaultPermissions: {
|
|
@@ -476,10 +489,13 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
476
489
|
offers: undefined;
|
|
477
490
|
items: undefined;
|
|
478
491
|
};
|
|
492
|
+
dataVault: {
|
|
493
|
+
stores: undefined;
|
|
494
|
+
};
|
|
479
495
|
}>, "domains" | "auth" | "emails"> & {
|
|
480
496
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
481
497
|
sourceOfTruth: undefined;
|
|
482
|
-
}, string>, "
|
|
498
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
483
499
|
rbac: {
|
|
484
500
|
permissions: undefined;
|
|
485
501
|
defaultPermissions: {
|
|
@@ -533,10 +549,13 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
533
549
|
offers: undefined;
|
|
534
550
|
items: undefined;
|
|
535
551
|
};
|
|
552
|
+
dataVault: {
|
|
553
|
+
stores: undefined;
|
|
554
|
+
};
|
|
536
555
|
}>, "oauth"> & {
|
|
537
556
|
oauth: Omit<NonNullable<Omit<Omit<{
|
|
538
557
|
sourceOfTruth: undefined;
|
|
539
|
-
}, string>, "
|
|
558
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
540
559
|
rbac: {
|
|
541
560
|
permissions: undefined;
|
|
542
561
|
defaultPermissions: {
|
|
@@ -590,13 +609,16 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
590
609
|
offers: undefined;
|
|
591
610
|
items: undefined;
|
|
592
611
|
};
|
|
612
|
+
dataVault: {
|
|
613
|
+
stores: undefined;
|
|
614
|
+
};
|
|
593
615
|
}>, "providers"> & {
|
|
594
616
|
providers: undefined;
|
|
595
617
|
};
|
|
596
618
|
};
|
|
597
619
|
emails: Omit<NonNullable<Omit<Omit<{
|
|
598
620
|
sourceOfTruth: undefined;
|
|
599
|
-
}, string>, "
|
|
621
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
600
622
|
rbac: {
|
|
601
623
|
permissions: undefined;
|
|
602
624
|
defaultPermissions: {
|
|
@@ -650,6 +672,9 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
650
672
|
offers: undefined;
|
|
651
673
|
items: undefined;
|
|
652
674
|
};
|
|
675
|
+
dataVault: {
|
|
676
|
+
stores: undefined;
|
|
677
|
+
};
|
|
653
678
|
}>, "server"> & {
|
|
654
679
|
server: {
|
|
655
680
|
isShared: undefined;
|
|
@@ -663,7 +688,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
663
688
|
};
|
|
664
689
|
domains: Omit<NonNullable<Omit<Omit<{
|
|
665
690
|
sourceOfTruth: undefined;
|
|
666
|
-
}, string>, "
|
|
691
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
667
692
|
rbac: {
|
|
668
693
|
permissions: undefined;
|
|
669
694
|
defaultPermissions: {
|
|
@@ -717,6 +742,9 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
717
742
|
offers: undefined;
|
|
718
743
|
items: undefined;
|
|
719
744
|
};
|
|
745
|
+
dataVault: {
|
|
746
|
+
stores: undefined;
|
|
747
|
+
};
|
|
720
748
|
}>, "trustedDomains"> & {
|
|
721
749
|
trustedDomains: undefined;
|
|
722
750
|
};
|
|
@@ -731,11 +759,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
731
759
|
type: "postgres";
|
|
732
760
|
connectionString: string;
|
|
733
761
|
};
|
|
734
|
-
}, string>, "
|
|
762
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
763
|
+
domains: {
|
|
764
|
+
allowLocalhost?: boolean | undefined;
|
|
765
|
+
};
|
|
766
|
+
teams: {
|
|
767
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
768
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
769
|
+
};
|
|
735
770
|
rbac: {
|
|
736
771
|
permissions: Record<string, {
|
|
737
772
|
description?: string | undefined;
|
|
738
|
-
scope?: "
|
|
773
|
+
scope?: "team" | "project" | undefined;
|
|
739
774
|
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
740
775
|
} | undefined>;
|
|
741
776
|
defaultPermissions: {
|
|
@@ -750,9 +785,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
750
785
|
user?: boolean | undefined;
|
|
751
786
|
};
|
|
752
787
|
};
|
|
753
|
-
domains: {
|
|
754
|
-
allowLocalhost?: boolean | undefined;
|
|
755
|
-
};
|
|
756
788
|
auth: {
|
|
757
789
|
allowSignUp?: boolean | undefined;
|
|
758
790
|
password: {
|
|
@@ -767,7 +799,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
767
799
|
oauth: {
|
|
768
800
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
769
801
|
providers: Record<string, {
|
|
770
|
-
type?: "
|
|
802
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
771
803
|
allowSignIn?: boolean | undefined;
|
|
772
804
|
allowConnectedAccounts?: boolean | undefined;
|
|
773
805
|
}>;
|
|
@@ -785,17 +817,14 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
785
817
|
displayName?: string | undefined;
|
|
786
818
|
}>;
|
|
787
819
|
offers: Record<string, {
|
|
788
|
-
groupId?: string | undefined;
|
|
789
820
|
displayName?: string | undefined;
|
|
790
|
-
isAddOnTo?: false | Record<string, true> | undefined;
|
|
791
|
-
freeTrial?: DayInterval | undefined;
|
|
792
821
|
serverOnly?: boolean | undefined;
|
|
822
|
+
freeTrial?: DayInterval | undefined;
|
|
823
|
+
groupId?: string | undefined;
|
|
824
|
+
isAddOnTo?: false | Record<string, true> | undefined;
|
|
793
825
|
stackable?: boolean | undefined;
|
|
794
826
|
customerType: "team" | "user" | "custom";
|
|
795
827
|
prices: "include-by-default" | Record<string, {
|
|
796
|
-
interval?: DayInterval | undefined;
|
|
797
|
-
freeTrial?: DayInterval | undefined;
|
|
798
|
-
serverOnly?: boolean | undefined;
|
|
799
828
|
USD?: string | undefined;
|
|
800
829
|
EUR?: string | undefined;
|
|
801
830
|
GBP?: string | undefined;
|
|
@@ -803,6 +832,9 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
803
832
|
INR?: string | undefined;
|
|
804
833
|
AUD?: string | undefined;
|
|
805
834
|
CAD?: string | undefined;
|
|
835
|
+
interval?: DayInterval | undefined;
|
|
836
|
+
serverOnly?: boolean | undefined;
|
|
837
|
+
freeTrial?: DayInterval | undefined;
|
|
806
838
|
}>;
|
|
807
839
|
includedItems: Record<string, {
|
|
808
840
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -811,10 +843,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
811
843
|
}>;
|
|
812
844
|
}>;
|
|
813
845
|
};
|
|
814
|
-
teams: {
|
|
815
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
816
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
817
|
-
};
|
|
818
846
|
users: {
|
|
819
847
|
allowClientUserDeletion?: boolean | undefined;
|
|
820
848
|
};
|
|
@@ -830,6 +858,11 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
830
858
|
tsxSource: string;
|
|
831
859
|
}>;
|
|
832
860
|
};
|
|
861
|
+
dataVault: {
|
|
862
|
+
stores: Record<string, {
|
|
863
|
+
displayName?: string | undefined;
|
|
864
|
+
}>;
|
|
865
|
+
};
|
|
833
866
|
}>, "domains" | "auth" | "emails"> & {
|
|
834
867
|
domains: Omit<{
|
|
835
868
|
allowLocalhost?: boolean | undefined;
|
|
@@ -853,7 +886,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
853
886
|
oauth: {
|
|
854
887
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
855
888
|
providers: Record<string, {
|
|
856
|
-
type?: "
|
|
889
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
857
890
|
allowSignIn?: boolean | undefined;
|
|
858
891
|
allowConnectedAccounts?: boolean | undefined;
|
|
859
892
|
}>;
|
|
@@ -862,18 +895,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
862
895
|
oauth: Omit<{
|
|
863
896
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
864
897
|
providers: Record<string, {
|
|
865
|
-
type?: "
|
|
898
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
866
899
|
allowSignIn?: boolean | undefined;
|
|
867
900
|
allowConnectedAccounts?: boolean | undefined;
|
|
868
901
|
}>;
|
|
869
902
|
}, "providers"> & {
|
|
870
903
|
providers: Record<string, {
|
|
871
|
-
type?: "
|
|
904
|
+
type?: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
905
|
+
clientId?: string | undefined;
|
|
906
|
+
clientSecret?: string | undefined;
|
|
872
907
|
allowSignIn?: boolean | undefined;
|
|
873
908
|
allowConnectedAccounts?: boolean | undefined;
|
|
874
909
|
isShared?: boolean | undefined;
|
|
875
|
-
clientId?: string | undefined;
|
|
876
|
-
clientSecret?: string | undefined;
|
|
877
910
|
facebookConfigId?: string | undefined;
|
|
878
911
|
microsoftTenantId?: string | undefined;
|
|
879
912
|
}>;
|
|
@@ -892,18 +925,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
892
925
|
}>;
|
|
893
926
|
}, "server"> & {
|
|
894
927
|
server: {
|
|
895
|
-
password?: string | undefined;
|
|
896
|
-
isShared?: boolean | undefined;
|
|
897
928
|
host?: string | undefined;
|
|
898
929
|
port?: number | undefined;
|
|
899
930
|
username?: string | undefined;
|
|
931
|
+
password?: string | undefined;
|
|
932
|
+
isShared?: boolean | undefined;
|
|
900
933
|
senderName?: string | undefined;
|
|
901
934
|
senderEmail?: string | undefined;
|
|
902
935
|
};
|
|
903
936
|
};
|
|
904
937
|
}>, never> & {}, yup.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
|
|
905
938
|
sourceOfTruth: undefined;
|
|
906
|
-
}, string>, "
|
|
939
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
907
940
|
rbac: {
|
|
908
941
|
permissions: undefined;
|
|
909
942
|
defaultPermissions: {
|
|
@@ -957,10 +990,13 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
957
990
|
offers: undefined;
|
|
958
991
|
items: undefined;
|
|
959
992
|
};
|
|
993
|
+
dataVault: {
|
|
994
|
+
stores: undefined;
|
|
995
|
+
};
|
|
960
996
|
}>, "domains" | "auth" | "emails"> & {
|
|
961
997
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
962
998
|
sourceOfTruth: undefined;
|
|
963
|
-
}, string>, "
|
|
999
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
964
1000
|
rbac: {
|
|
965
1001
|
permissions: undefined;
|
|
966
1002
|
defaultPermissions: {
|
|
@@ -1014,10 +1050,13 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1014
1050
|
offers: undefined;
|
|
1015
1051
|
items: undefined;
|
|
1016
1052
|
};
|
|
1053
|
+
dataVault: {
|
|
1054
|
+
stores: undefined;
|
|
1055
|
+
};
|
|
1017
1056
|
}>, "oauth"> & {
|
|
1018
1057
|
oauth: Omit<NonNullable<Omit<Omit<{
|
|
1019
1058
|
sourceOfTruth: undefined;
|
|
1020
|
-
}, string>, "
|
|
1059
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
1021
1060
|
rbac: {
|
|
1022
1061
|
permissions: undefined;
|
|
1023
1062
|
defaultPermissions: {
|
|
@@ -1071,13 +1110,16 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1071
1110
|
offers: undefined;
|
|
1072
1111
|
items: undefined;
|
|
1073
1112
|
};
|
|
1113
|
+
dataVault: {
|
|
1114
|
+
stores: undefined;
|
|
1115
|
+
};
|
|
1074
1116
|
}>, "providers"> & {
|
|
1075
1117
|
providers: undefined;
|
|
1076
1118
|
};
|
|
1077
1119
|
};
|
|
1078
1120
|
emails: Omit<NonNullable<Omit<Omit<{
|
|
1079
1121
|
sourceOfTruth: undefined;
|
|
1080
|
-
}, string>, "
|
|
1122
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
1081
1123
|
rbac: {
|
|
1082
1124
|
permissions: undefined;
|
|
1083
1125
|
defaultPermissions: {
|
|
@@ -1131,6 +1173,9 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1131
1173
|
offers: undefined;
|
|
1132
1174
|
items: undefined;
|
|
1133
1175
|
};
|
|
1176
|
+
dataVault: {
|
|
1177
|
+
stores: undefined;
|
|
1178
|
+
};
|
|
1134
1179
|
}>, "server"> & {
|
|
1135
1180
|
server: {
|
|
1136
1181
|
isShared: undefined;
|
|
@@ -1144,7 +1189,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1144
1189
|
};
|
|
1145
1190
|
domains: Omit<NonNullable<Omit<Omit<{
|
|
1146
1191
|
sourceOfTruth: undefined;
|
|
1147
|
-
}, string>, "
|
|
1192
|
+
}, string>, "domains" | "teams" | "rbac" | "apiKeys" | "auth" | "payments" | "users" | "emails" | "dataVault"> & {
|
|
1148
1193
|
rbac: {
|
|
1149
1194
|
permissions: undefined;
|
|
1150
1195
|
defaultPermissions: {
|
|
@@ -1198,6 +1243,9 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1198
1243
|
offers: undefined;
|
|
1199
1244
|
items: undefined;
|
|
1200
1245
|
};
|
|
1246
|
+
dataVault: {
|
|
1247
|
+
stores: undefined;
|
|
1248
|
+
};
|
|
1201
1249
|
}>, "trustedDomains"> & {
|
|
1202
1250
|
trustedDomains: undefined;
|
|
1203
1251
|
};
|
|
@@ -1362,6 +1410,11 @@ declare const organizationConfigDefaults: {
|
|
|
1362
1410
|
readonly customerType: "user";
|
|
1363
1411
|
};
|
|
1364
1412
|
};
|
|
1413
|
+
readonly dataVault: {
|
|
1414
|
+
readonly stores: (key: string) => {
|
|
1415
|
+
displayName: string;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1365
1418
|
};
|
|
1366
1419
|
type ReplaceFunctionsWithObjects<T> = T & (T extends (arg: infer K extends string) => infer R ? Record<K, R> & object : unknown);
|
|
1367
1420
|
type DeepReplaceFunctionsWithObjects<T> = T extends object ? {
|
|
@@ -1452,11 +1505,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1452
1505
|
};
|
|
1453
1506
|
};
|
|
1454
1507
|
server: {
|
|
1455
|
-
password: string | undefined;
|
|
1456
|
-
isShared: boolean;
|
|
1457
1508
|
host: string | undefined;
|
|
1458
1509
|
port: number | undefined;
|
|
1459
1510
|
username: string | undefined;
|
|
1511
|
+
password: string | undefined;
|
|
1512
|
+
isShared: boolean;
|
|
1460
1513
|
senderName: string | undefined;
|
|
1461
1514
|
senderEmail: string | undefined;
|
|
1462
1515
|
};
|
|
@@ -1465,9 +1518,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1465
1518
|
offers: Record<string, {
|
|
1466
1519
|
isAddOnTo: false | Record<string, true>;
|
|
1467
1520
|
prices: "include-by-default" | Record<string, {
|
|
1468
|
-
interval?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1469
|
-
freeTrial?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1470
|
-
serverOnly: boolean;
|
|
1471
1521
|
USD?: string | undefined;
|
|
1472
1522
|
EUR?: string | undefined;
|
|
1473
1523
|
GBP?: string | undefined;
|
|
@@ -1475,16 +1525,19 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1475
1525
|
INR?: string | undefined;
|
|
1476
1526
|
AUD?: string | undefined;
|
|
1477
1527
|
CAD?: string | undefined;
|
|
1528
|
+
interval?: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1529
|
+
serverOnly: boolean;
|
|
1530
|
+
freeTrial?: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1478
1531
|
}>;
|
|
1479
|
-
groupId: string | undefined;
|
|
1480
1532
|
displayName: string;
|
|
1481
|
-
customerType: "team" | "user" | "custom";
|
|
1482
|
-
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1483
1533
|
serverOnly: boolean;
|
|
1534
|
+
freeTrial: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1535
|
+
groupId: string | undefined;
|
|
1536
|
+
customerType: "team" | "user" | "custom";
|
|
1484
1537
|
stackable: boolean | undefined;
|
|
1485
1538
|
includedItems: {
|
|
1486
1539
|
[x: string]: {
|
|
1487
|
-
repeat: "never" | [number, "day" | "week" | "
|
|
1540
|
+
repeat: "never" | [number, "day" | "week" | "year" | "month"];
|
|
1488
1541
|
quantity: number;
|
|
1489
1542
|
expires: "never" | "when-purchase-expires" | "when-repeated";
|
|
1490
1543
|
};
|
|
@@ -1497,7 +1550,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1497
1550
|
};
|
|
1498
1551
|
};
|
|
1499
1552
|
autoPay: {
|
|
1500
|
-
interval?: [number, "day" | "week" | "
|
|
1553
|
+
interval?: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1501
1554
|
} | undefined;
|
|
1502
1555
|
groups: {
|
|
1503
1556
|
[x: string]: {
|
|
@@ -1526,11 +1579,24 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1526
1579
|
readonly connectionStrings?: undefined;
|
|
1527
1580
|
readonly connectionString?: undefined;
|
|
1528
1581
|
});
|
|
1582
|
+
domains: {
|
|
1583
|
+
allowLocalhost: boolean;
|
|
1584
|
+
trustedDomains: {
|
|
1585
|
+
[x: string]: {
|
|
1586
|
+
baseUrl: string | undefined;
|
|
1587
|
+
handlerPath: string;
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
};
|
|
1591
|
+
teams: {
|
|
1592
|
+
createPersonalTeamOnSignUp: boolean;
|
|
1593
|
+
allowClientTeamCreation: boolean;
|
|
1594
|
+
};
|
|
1529
1595
|
rbac: {
|
|
1530
1596
|
permissions: {
|
|
1531
1597
|
[x: string]: {
|
|
1532
1598
|
description: string | undefined;
|
|
1533
|
-
scope: "
|
|
1599
|
+
scope: "team" | "project" | undefined;
|
|
1534
1600
|
containedPermissionIds: {
|
|
1535
1601
|
[x: string]: true | undefined;
|
|
1536
1602
|
};
|
|
@@ -1554,20 +1620,11 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1554
1620
|
user: boolean;
|
|
1555
1621
|
};
|
|
1556
1622
|
};
|
|
1557
|
-
domains: {
|
|
1558
|
-
allowLocalhost: boolean;
|
|
1559
|
-
trustedDomains: {
|
|
1560
|
-
[x: string]: {
|
|
1561
|
-
baseUrl: string | undefined;
|
|
1562
|
-
handlerPath: string;
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
1623
|
auth: {
|
|
1567
|
-
allowSignUp: boolean;
|
|
1568
1624
|
password: {
|
|
1569
1625
|
allowSignIn: boolean;
|
|
1570
1626
|
};
|
|
1627
|
+
allowSignUp: boolean;
|
|
1571
1628
|
otp: {
|
|
1572
1629
|
allowSignIn: boolean;
|
|
1573
1630
|
};
|
|
@@ -1578,25 +1635,28 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1578
1635
|
accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
|
|
1579
1636
|
providers: {
|
|
1580
1637
|
[x: string]: {
|
|
1581
|
-
type: "
|
|
1638
|
+
type: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
1639
|
+
clientId: string | undefined;
|
|
1640
|
+
clientSecret: string | undefined;
|
|
1582
1641
|
allowSignIn: boolean;
|
|
1583
1642
|
allowConnectedAccounts: boolean;
|
|
1584
1643
|
isShared: boolean;
|
|
1585
|
-
clientId: string | undefined;
|
|
1586
|
-
clientSecret: string | undefined;
|
|
1587
1644
|
facebookConfigId: string | undefined;
|
|
1588
1645
|
microsoftTenantId: string | undefined;
|
|
1589
1646
|
};
|
|
1590
1647
|
};
|
|
1591
1648
|
};
|
|
1592
1649
|
};
|
|
1593
|
-
teams: {
|
|
1594
|
-
createPersonalTeamOnSignUp: boolean;
|
|
1595
|
-
allowClientTeamCreation: boolean;
|
|
1596
|
-
};
|
|
1597
1650
|
users: {
|
|
1598
1651
|
allowClientUserDeletion: boolean;
|
|
1599
1652
|
};
|
|
1653
|
+
dataVault: {
|
|
1654
|
+
stores: {
|
|
1655
|
+
[x: string]: {
|
|
1656
|
+
displayName: string;
|
|
1657
|
+
};
|
|
1658
|
+
};
|
|
1659
|
+
};
|
|
1600
1660
|
}>;
|
|
1601
1661
|
/**
|
|
1602
1662
|
* Does not require a base config, and hence solely relies on the override itself to validate the config. If it returns
|