@stackframe/stack-shared 2.8.46 → 2.8.47
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 +235 -235
- package/dist/config/schema.d.ts +235 -235
- package/package.json +1 -1
package/dist/config/schema.d.mts
CHANGED
|
@@ -39,13 +39,16 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
|
|
|
39
39
|
}>;
|
|
40
40
|
products: Record<string, {
|
|
41
41
|
displayName?: string | undefined;
|
|
42
|
-
serverOnly?: boolean | undefined;
|
|
43
|
-
freeTrial?: DayInterval | undefined;
|
|
44
42
|
catalogId?: string | undefined;
|
|
45
43
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
44
|
+
freeTrial?: DayInterval | undefined;
|
|
45
|
+
serverOnly?: boolean | undefined;
|
|
46
46
|
stackable?: boolean | undefined;
|
|
47
47
|
customerType: "team" | "user" | "custom";
|
|
48
48
|
prices: "include-by-default" | Record<string, {
|
|
49
|
+
interval?: DayInterval | undefined;
|
|
50
|
+
freeTrial?: DayInterval | undefined;
|
|
51
|
+
serverOnly?: boolean | undefined;
|
|
49
52
|
USD?: string | undefined;
|
|
50
53
|
EUR?: string | undefined;
|
|
51
54
|
GBP?: string | undefined;
|
|
@@ -53,9 +56,6 @@ declare const branchPaymentsSchema: yup.ObjectSchema<{
|
|
|
53
56
|
INR?: string | undefined;
|
|
54
57
|
AUD?: string | undefined;
|
|
55
58
|
CAD?: string | undefined;
|
|
56
|
-
interval?: DayInterval | undefined;
|
|
57
|
-
serverOnly?: boolean | undefined;
|
|
58
|
-
freeTrial?: DayInterval | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
includedItems: Record<string, {
|
|
61
61
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -86,14 +86,33 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
86
86
|
type: "postgres";
|
|
87
87
|
connectionString: string;
|
|
88
88
|
};
|
|
89
|
-
}, string>, "
|
|
89
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
90
|
+
rbac: {
|
|
91
|
+
permissions: Record<string, {
|
|
92
|
+
description?: string | undefined;
|
|
93
|
+
scope?: "team" | "project" | undefined;
|
|
94
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
95
|
+
} | undefined>;
|
|
96
|
+
defaultPermissions: {
|
|
97
|
+
teamCreator: Record<string, true | undefined>;
|
|
98
|
+
teamMember: Record<string, true | undefined>;
|
|
99
|
+
signUp: Record<string, true | undefined>;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
apiKeys: {
|
|
103
|
+
enabled: {
|
|
104
|
+
team?: boolean | undefined;
|
|
105
|
+
user?: boolean | undefined;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
apps: {
|
|
109
|
+
installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
|
|
110
|
+
enabled?: boolean | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
};
|
|
90
113
|
domains: {
|
|
91
114
|
allowLocalhost?: boolean | undefined;
|
|
92
115
|
};
|
|
93
|
-
teams: {
|
|
94
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
95
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
96
|
-
};
|
|
97
116
|
auth: {
|
|
98
117
|
allowSignUp?: boolean | undefined;
|
|
99
118
|
password: {
|
|
@@ -108,24 +127,12 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
108
127
|
oauth: {
|
|
109
128
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
110
129
|
providers: Record<string, {
|
|
111
|
-
type?: "
|
|
130
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
112
131
|
allowSignIn?: boolean | undefined;
|
|
113
132
|
allowConnectedAccounts?: boolean | undefined;
|
|
114
133
|
}>;
|
|
115
134
|
};
|
|
116
135
|
};
|
|
117
|
-
rbac: {
|
|
118
|
-
permissions: Record<string, {
|
|
119
|
-
description?: string | undefined;
|
|
120
|
-
scope?: "team" | "project" | undefined;
|
|
121
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
122
|
-
} | undefined>;
|
|
123
|
-
defaultPermissions: {
|
|
124
|
-
teamCreator: Record<string, true | undefined>;
|
|
125
|
-
teamMember: Record<string, true | undefined>;
|
|
126
|
-
signUp: Record<string, true | undefined>;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
136
|
payments: {
|
|
130
137
|
autoPay?: {
|
|
131
138
|
interval?: DayInterval | undefined;
|
|
@@ -140,13 +147,16 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
140
147
|
}>;
|
|
141
148
|
products: Record<string, {
|
|
142
149
|
displayName?: string | undefined;
|
|
143
|
-
serverOnly?: boolean | undefined;
|
|
144
|
-
freeTrial?: DayInterval | undefined;
|
|
145
150
|
catalogId?: string | undefined;
|
|
146
151
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
152
|
+
freeTrial?: DayInterval | undefined;
|
|
153
|
+
serverOnly?: boolean | undefined;
|
|
147
154
|
stackable?: boolean | undefined;
|
|
148
155
|
customerType: "team" | "user" | "custom";
|
|
149
156
|
prices: "include-by-default" | Record<string, {
|
|
157
|
+
interval?: DayInterval | undefined;
|
|
158
|
+
freeTrial?: DayInterval | undefined;
|
|
159
|
+
serverOnly?: boolean | undefined;
|
|
150
160
|
USD?: string | undefined;
|
|
151
161
|
EUR?: string | undefined;
|
|
152
162
|
GBP?: string | undefined;
|
|
@@ -154,9 +164,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
154
164
|
INR?: string | undefined;
|
|
155
165
|
AUD?: string | undefined;
|
|
156
166
|
CAD?: string | undefined;
|
|
157
|
-
interval?: DayInterval | undefined;
|
|
158
|
-
serverOnly?: boolean | undefined;
|
|
159
|
-
freeTrial?: DayInterval | undefined;
|
|
160
167
|
}>;
|
|
161
168
|
includedItems: Record<string, {
|
|
162
169
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -165,6 +172,20 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
165
172
|
}>;
|
|
166
173
|
}>;
|
|
167
174
|
};
|
|
175
|
+
workflows: {
|
|
176
|
+
availableWorkflows: Record<string, {
|
|
177
|
+
enabled?: boolean | undefined;
|
|
178
|
+
displayName?: string | undefined;
|
|
179
|
+
tsSource?: string | undefined;
|
|
180
|
+
}>;
|
|
181
|
+
};
|
|
182
|
+
teams: {
|
|
183
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
184
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
185
|
+
};
|
|
186
|
+
users: {
|
|
187
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
188
|
+
};
|
|
168
189
|
emails: {
|
|
169
190
|
selectedThemeId?: string | undefined;
|
|
170
191
|
themes: Record<string, {
|
|
@@ -177,27 +198,6 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
177
198
|
tsxSource: string;
|
|
178
199
|
}>;
|
|
179
200
|
};
|
|
180
|
-
workflows: {
|
|
181
|
-
availableWorkflows: Record<string, {
|
|
182
|
-
displayName?: string | undefined;
|
|
183
|
-
enabled?: boolean | undefined;
|
|
184
|
-
tsSource?: string | undefined;
|
|
185
|
-
}>;
|
|
186
|
-
};
|
|
187
|
-
apiKeys: {
|
|
188
|
-
enabled: {
|
|
189
|
-
team?: boolean | undefined;
|
|
190
|
-
user?: boolean | undefined;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
apps: {
|
|
194
|
-
installed: Record<"teams" | "authentication" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex", {
|
|
195
|
-
enabled?: boolean | undefined;
|
|
196
|
-
}>;
|
|
197
|
-
};
|
|
198
|
-
users: {
|
|
199
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
200
|
-
};
|
|
201
201
|
dataVault: {
|
|
202
202
|
stores: Record<string, {
|
|
203
203
|
displayName?: string | undefined;
|
|
@@ -205,7 +205,7 @@ declare const branchConfigSchema: yup.Schema<Omit<Omit<{
|
|
|
205
205
|
};
|
|
206
206
|
}, yup.AnyObject, Omit<Omit<{
|
|
207
207
|
sourceOfTruth: undefined;
|
|
208
|
-
}, string>, "
|
|
208
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
209
209
|
rbac: {
|
|
210
210
|
permissions: undefined;
|
|
211
211
|
defaultPermissions: {
|
|
@@ -280,14 +280,33 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
280
280
|
type: "postgres";
|
|
281
281
|
connectionString: string;
|
|
282
282
|
};
|
|
283
|
-
}, string>, "
|
|
283
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
284
|
+
rbac: {
|
|
285
|
+
permissions: Record<string, {
|
|
286
|
+
description?: string | undefined;
|
|
287
|
+
scope?: "team" | "project" | undefined;
|
|
288
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
289
|
+
} | undefined>;
|
|
290
|
+
defaultPermissions: {
|
|
291
|
+
teamCreator: Record<string, true | undefined>;
|
|
292
|
+
teamMember: Record<string, true | undefined>;
|
|
293
|
+
signUp: Record<string, true | undefined>;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
apiKeys: {
|
|
297
|
+
enabled: {
|
|
298
|
+
team?: boolean | undefined;
|
|
299
|
+
user?: boolean | undefined;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
apps: {
|
|
303
|
+
installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
|
|
304
|
+
enabled?: boolean | undefined;
|
|
305
|
+
}>;
|
|
306
|
+
};
|
|
284
307
|
domains: {
|
|
285
308
|
allowLocalhost?: boolean | undefined;
|
|
286
309
|
};
|
|
287
|
-
teams: {
|
|
288
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
289
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
290
|
-
};
|
|
291
310
|
auth: {
|
|
292
311
|
allowSignUp?: boolean | undefined;
|
|
293
312
|
password: {
|
|
@@ -302,24 +321,12 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
302
321
|
oauth: {
|
|
303
322
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
304
323
|
providers: Record<string, {
|
|
305
|
-
type?: "
|
|
324
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
306
325
|
allowSignIn?: boolean | undefined;
|
|
307
326
|
allowConnectedAccounts?: boolean | undefined;
|
|
308
327
|
}>;
|
|
309
328
|
};
|
|
310
329
|
};
|
|
311
|
-
rbac: {
|
|
312
|
-
permissions: Record<string, {
|
|
313
|
-
description?: string | undefined;
|
|
314
|
-
scope?: "team" | "project" | undefined;
|
|
315
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
316
|
-
} | undefined>;
|
|
317
|
-
defaultPermissions: {
|
|
318
|
-
teamCreator: Record<string, true | undefined>;
|
|
319
|
-
teamMember: Record<string, true | undefined>;
|
|
320
|
-
signUp: Record<string, true | undefined>;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
330
|
payments: {
|
|
324
331
|
autoPay?: {
|
|
325
332
|
interval?: DayInterval | undefined;
|
|
@@ -334,13 +341,16 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
334
341
|
}>;
|
|
335
342
|
products: Record<string, {
|
|
336
343
|
displayName?: string | undefined;
|
|
337
|
-
serverOnly?: boolean | undefined;
|
|
338
|
-
freeTrial?: DayInterval | undefined;
|
|
339
344
|
catalogId?: string | undefined;
|
|
340
345
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
346
|
+
freeTrial?: DayInterval | undefined;
|
|
347
|
+
serverOnly?: boolean | undefined;
|
|
341
348
|
stackable?: boolean | undefined;
|
|
342
349
|
customerType: "team" | "user" | "custom";
|
|
343
350
|
prices: "include-by-default" | Record<string, {
|
|
351
|
+
interval?: DayInterval | undefined;
|
|
352
|
+
freeTrial?: DayInterval | undefined;
|
|
353
|
+
serverOnly?: boolean | undefined;
|
|
344
354
|
USD?: string | undefined;
|
|
345
355
|
EUR?: string | undefined;
|
|
346
356
|
GBP?: string | undefined;
|
|
@@ -348,9 +358,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
348
358
|
INR?: string | undefined;
|
|
349
359
|
AUD?: string | undefined;
|
|
350
360
|
CAD?: string | undefined;
|
|
351
|
-
interval?: DayInterval | undefined;
|
|
352
|
-
serverOnly?: boolean | undefined;
|
|
353
|
-
freeTrial?: DayInterval | undefined;
|
|
354
361
|
}>;
|
|
355
362
|
includedItems: Record<string, {
|
|
356
363
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -359,6 +366,20 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
359
366
|
}>;
|
|
360
367
|
}>;
|
|
361
368
|
};
|
|
369
|
+
workflows: {
|
|
370
|
+
availableWorkflows: Record<string, {
|
|
371
|
+
enabled?: boolean | undefined;
|
|
372
|
+
displayName?: string | undefined;
|
|
373
|
+
tsSource?: string | undefined;
|
|
374
|
+
}>;
|
|
375
|
+
};
|
|
376
|
+
teams: {
|
|
377
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
378
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
379
|
+
};
|
|
380
|
+
users: {
|
|
381
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
382
|
+
};
|
|
362
383
|
emails: {
|
|
363
384
|
selectedThemeId?: string | undefined;
|
|
364
385
|
themes: Record<string, {
|
|
@@ -371,27 +392,6 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
371
392
|
tsxSource: string;
|
|
372
393
|
}>;
|
|
373
394
|
};
|
|
374
|
-
workflows: {
|
|
375
|
-
availableWorkflows: Record<string, {
|
|
376
|
-
displayName?: string | undefined;
|
|
377
|
-
enabled?: boolean | undefined;
|
|
378
|
-
tsSource?: string | undefined;
|
|
379
|
-
}>;
|
|
380
|
-
};
|
|
381
|
-
apiKeys: {
|
|
382
|
-
enabled: {
|
|
383
|
-
team?: boolean | undefined;
|
|
384
|
-
user?: boolean | undefined;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
apps: {
|
|
388
|
-
installed: Record<"teams" | "authentication" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex", {
|
|
389
|
-
enabled?: boolean | undefined;
|
|
390
|
-
}>;
|
|
391
|
-
};
|
|
392
|
-
users: {
|
|
393
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
394
|
-
};
|
|
395
395
|
dataVault: {
|
|
396
396
|
stores: Record<string, {
|
|
397
397
|
displayName?: string | undefined;
|
|
@@ -420,7 +420,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
420
420
|
oauth: {
|
|
421
421
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
422
422
|
providers: Record<string, {
|
|
423
|
-
type?: "
|
|
423
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
424
424
|
allowSignIn?: boolean | undefined;
|
|
425
425
|
allowConnectedAccounts?: boolean | undefined;
|
|
426
426
|
}>;
|
|
@@ -429,18 +429,18 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
429
429
|
oauth: Omit<{
|
|
430
430
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
431
431
|
providers: Record<string, {
|
|
432
|
-
type?: "
|
|
432
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
433
433
|
allowSignIn?: boolean | undefined;
|
|
434
434
|
allowConnectedAccounts?: boolean | undefined;
|
|
435
435
|
}>;
|
|
436
436
|
}, "providers"> & {
|
|
437
437
|
providers: Record<string, {
|
|
438
|
-
type?: "
|
|
439
|
-
clientId?: string | undefined;
|
|
440
|
-
clientSecret?: string | undefined;
|
|
438
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
441
439
|
allowSignIn?: boolean | undefined;
|
|
442
440
|
allowConnectedAccounts?: boolean | undefined;
|
|
443
441
|
isShared?: boolean | undefined;
|
|
442
|
+
clientId?: string | undefined;
|
|
443
|
+
clientSecret?: string | undefined;
|
|
444
444
|
facebookConfigId?: string | undefined;
|
|
445
445
|
microsoftTenantId?: string | undefined;
|
|
446
446
|
}>;
|
|
@@ -459,19 +459,19 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
459
459
|
}>;
|
|
460
460
|
}, "server"> & {
|
|
461
461
|
server: {
|
|
462
|
-
host?: string | undefined;
|
|
463
|
-
port?: number | undefined;
|
|
464
|
-
username?: string | undefined;
|
|
465
462
|
password?: string | undefined;
|
|
466
463
|
isShared?: boolean | undefined;
|
|
467
464
|
provider?: "resend" | "smtp" | undefined;
|
|
465
|
+
host?: string | undefined;
|
|
466
|
+
port?: number | undefined;
|
|
467
|
+
username?: string | undefined;
|
|
468
468
|
senderName?: string | undefined;
|
|
469
469
|
senderEmail?: string | undefined;
|
|
470
470
|
};
|
|
471
471
|
};
|
|
472
472
|
}, yup.AnyObject, Omit<NonNullable<Omit<Omit<{
|
|
473
473
|
sourceOfTruth: undefined;
|
|
474
|
-
}, string>, "
|
|
474
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
475
475
|
rbac: {
|
|
476
476
|
permissions: undefined;
|
|
477
477
|
defaultPermissions: {
|
|
@@ -538,7 +538,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
538
538
|
}>, "domains" | "auth" | "emails"> & {
|
|
539
539
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
540
540
|
sourceOfTruth: undefined;
|
|
541
|
-
}, string>, "
|
|
541
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
542
542
|
rbac: {
|
|
543
543
|
permissions: undefined;
|
|
544
544
|
defaultPermissions: {
|
|
@@ -605,7 +605,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
605
605
|
}>, "oauth"> & {
|
|
606
606
|
oauth: Omit<NonNullable<Omit<Omit<{
|
|
607
607
|
sourceOfTruth: undefined;
|
|
608
|
-
}, string>, "
|
|
608
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
609
609
|
rbac: {
|
|
610
610
|
permissions: undefined;
|
|
611
611
|
defaultPermissions: {
|
|
@@ -675,7 +675,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
675
675
|
};
|
|
676
676
|
emails: Omit<NonNullable<Omit<Omit<{
|
|
677
677
|
sourceOfTruth: undefined;
|
|
678
|
-
}, string>, "
|
|
678
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
679
679
|
rbac: {
|
|
680
680
|
permissions: undefined;
|
|
681
681
|
defaultPermissions: {
|
|
@@ -753,7 +753,7 @@ declare const environmentConfigSchema: yup.Schema<Omit<NonNullable<Omit<Omit<{
|
|
|
753
753
|
};
|
|
754
754
|
domains: Omit<NonNullable<Omit<Omit<{
|
|
755
755
|
sourceOfTruth: undefined;
|
|
756
|
-
}, string>, "
|
|
756
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
757
757
|
rbac: {
|
|
758
758
|
permissions: undefined;
|
|
759
759
|
defaultPermissions: {
|
|
@@ -831,14 +831,33 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
831
831
|
type: "postgres";
|
|
832
832
|
connectionString: string;
|
|
833
833
|
};
|
|
834
|
-
}, string>, "
|
|
834
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
835
|
+
rbac: {
|
|
836
|
+
permissions: Record<string, {
|
|
837
|
+
description?: string | undefined;
|
|
838
|
+
scope?: "team" | "project" | undefined;
|
|
839
|
+
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
840
|
+
} | undefined>;
|
|
841
|
+
defaultPermissions: {
|
|
842
|
+
teamCreator: Record<string, true | undefined>;
|
|
843
|
+
teamMember: Record<string, true | undefined>;
|
|
844
|
+
signUp: Record<string, true | undefined>;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
apiKeys: {
|
|
848
|
+
enabled: {
|
|
849
|
+
team?: boolean | undefined;
|
|
850
|
+
user?: boolean | undefined;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
apps: {
|
|
854
|
+
installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
|
|
855
|
+
enabled?: boolean | undefined;
|
|
856
|
+
}>;
|
|
857
|
+
};
|
|
835
858
|
domains: {
|
|
836
859
|
allowLocalhost?: boolean | undefined;
|
|
837
860
|
};
|
|
838
|
-
teams: {
|
|
839
|
-
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
840
|
-
allowClientTeamCreation?: boolean | undefined;
|
|
841
|
-
};
|
|
842
861
|
auth: {
|
|
843
862
|
allowSignUp?: boolean | undefined;
|
|
844
863
|
password: {
|
|
@@ -853,24 +872,12 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
853
872
|
oauth: {
|
|
854
873
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
855
874
|
providers: Record<string, {
|
|
856
|
-
type?: "
|
|
875
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
857
876
|
allowSignIn?: boolean | undefined;
|
|
858
877
|
allowConnectedAccounts?: boolean | undefined;
|
|
859
878
|
}>;
|
|
860
879
|
};
|
|
861
880
|
};
|
|
862
|
-
rbac: {
|
|
863
|
-
permissions: Record<string, {
|
|
864
|
-
description?: string | undefined;
|
|
865
|
-
scope?: "team" | "project" | undefined;
|
|
866
|
-
containedPermissionIds?: Record<string, true | undefined> | undefined;
|
|
867
|
-
} | undefined>;
|
|
868
|
-
defaultPermissions: {
|
|
869
|
-
teamCreator: Record<string, true | undefined>;
|
|
870
|
-
teamMember: Record<string, true | undefined>;
|
|
871
|
-
signUp: Record<string, true | undefined>;
|
|
872
|
-
};
|
|
873
|
-
};
|
|
874
881
|
payments: {
|
|
875
882
|
autoPay?: {
|
|
876
883
|
interval?: DayInterval | undefined;
|
|
@@ -885,13 +892,16 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
885
892
|
}>;
|
|
886
893
|
products: Record<string, {
|
|
887
894
|
displayName?: string | undefined;
|
|
888
|
-
serverOnly?: boolean | undefined;
|
|
889
|
-
freeTrial?: DayInterval | undefined;
|
|
890
895
|
catalogId?: string | undefined;
|
|
891
896
|
isAddOnTo?: false | Record<string, true> | undefined;
|
|
897
|
+
freeTrial?: DayInterval | undefined;
|
|
898
|
+
serverOnly?: boolean | undefined;
|
|
892
899
|
stackable?: boolean | undefined;
|
|
893
900
|
customerType: "team" | "user" | "custom";
|
|
894
901
|
prices: "include-by-default" | Record<string, {
|
|
902
|
+
interval?: DayInterval | undefined;
|
|
903
|
+
freeTrial?: DayInterval | undefined;
|
|
904
|
+
serverOnly?: boolean | undefined;
|
|
895
905
|
USD?: string | undefined;
|
|
896
906
|
EUR?: string | undefined;
|
|
897
907
|
GBP?: string | undefined;
|
|
@@ -899,9 +909,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
899
909
|
INR?: string | undefined;
|
|
900
910
|
AUD?: string | undefined;
|
|
901
911
|
CAD?: string | undefined;
|
|
902
|
-
interval?: DayInterval | undefined;
|
|
903
|
-
serverOnly?: boolean | undefined;
|
|
904
|
-
freeTrial?: DayInterval | undefined;
|
|
905
912
|
}>;
|
|
906
913
|
includedItems: Record<string, {
|
|
907
914
|
repeat?: "never" | DayInterval | undefined;
|
|
@@ -910,6 +917,20 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
910
917
|
}>;
|
|
911
918
|
}>;
|
|
912
919
|
};
|
|
920
|
+
workflows: {
|
|
921
|
+
availableWorkflows: Record<string, {
|
|
922
|
+
enabled?: boolean | undefined;
|
|
923
|
+
displayName?: string | undefined;
|
|
924
|
+
tsSource?: string | undefined;
|
|
925
|
+
}>;
|
|
926
|
+
};
|
|
927
|
+
teams: {
|
|
928
|
+
createPersonalTeamOnSignUp?: boolean | undefined;
|
|
929
|
+
allowClientTeamCreation?: boolean | undefined;
|
|
930
|
+
};
|
|
931
|
+
users: {
|
|
932
|
+
allowClientUserDeletion?: boolean | undefined;
|
|
933
|
+
};
|
|
913
934
|
emails: {
|
|
914
935
|
selectedThemeId?: string | undefined;
|
|
915
936
|
themes: Record<string, {
|
|
@@ -922,27 +943,6 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
922
943
|
tsxSource: string;
|
|
923
944
|
}>;
|
|
924
945
|
};
|
|
925
|
-
workflows: {
|
|
926
|
-
availableWorkflows: Record<string, {
|
|
927
|
-
displayName?: string | undefined;
|
|
928
|
-
enabled?: boolean | undefined;
|
|
929
|
-
tsSource?: string | undefined;
|
|
930
|
-
}>;
|
|
931
|
-
};
|
|
932
|
-
apiKeys: {
|
|
933
|
-
enabled: {
|
|
934
|
-
team?: boolean | undefined;
|
|
935
|
-
user?: boolean | undefined;
|
|
936
|
-
};
|
|
937
|
-
};
|
|
938
|
-
apps: {
|
|
939
|
-
installed: Record<"teams" | "authentication" | "rbac" | "api-keys" | "payments" | "emails" | "email-api" | "data-vault" | "workflows" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "neon" | "convex", {
|
|
940
|
-
enabled?: boolean | undefined;
|
|
941
|
-
}>;
|
|
942
|
-
};
|
|
943
|
-
users: {
|
|
944
|
-
allowClientUserDeletion?: boolean | undefined;
|
|
945
|
-
};
|
|
946
946
|
dataVault: {
|
|
947
947
|
stores: Record<string, {
|
|
948
948
|
displayName?: string | undefined;
|
|
@@ -971,7 +971,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
971
971
|
oauth: {
|
|
972
972
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
973
973
|
providers: Record<string, {
|
|
974
|
-
type?: "
|
|
974
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
975
975
|
allowSignIn?: boolean | undefined;
|
|
976
976
|
allowConnectedAccounts?: boolean | undefined;
|
|
977
977
|
}>;
|
|
@@ -980,18 +980,18 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
980
980
|
oauth: Omit<{
|
|
981
981
|
accountMergeStrategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined;
|
|
982
982
|
providers: Record<string, {
|
|
983
|
-
type?: "
|
|
983
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
984
984
|
allowSignIn?: boolean | undefined;
|
|
985
985
|
allowConnectedAccounts?: boolean | undefined;
|
|
986
986
|
}>;
|
|
987
987
|
}, "providers"> & {
|
|
988
988
|
providers: Record<string, {
|
|
989
|
-
type?: "
|
|
990
|
-
clientId?: string | undefined;
|
|
991
|
-
clientSecret?: string | undefined;
|
|
989
|
+
type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
992
990
|
allowSignIn?: boolean | undefined;
|
|
993
991
|
allowConnectedAccounts?: boolean | undefined;
|
|
994
992
|
isShared?: boolean | undefined;
|
|
993
|
+
clientId?: string | undefined;
|
|
994
|
+
clientSecret?: string | undefined;
|
|
995
995
|
facebookConfigId?: string | undefined;
|
|
996
996
|
microsoftTenantId?: string | undefined;
|
|
997
997
|
}>;
|
|
@@ -1010,19 +1010,19 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1010
1010
|
}>;
|
|
1011
1011
|
}, "server"> & {
|
|
1012
1012
|
server: {
|
|
1013
|
-
host?: string | undefined;
|
|
1014
|
-
port?: number | undefined;
|
|
1015
|
-
username?: string | undefined;
|
|
1016
1013
|
password?: string | undefined;
|
|
1017
1014
|
isShared?: boolean | undefined;
|
|
1018
1015
|
provider?: "resend" | "smtp" | undefined;
|
|
1016
|
+
host?: string | undefined;
|
|
1017
|
+
port?: number | undefined;
|
|
1018
|
+
username?: string | undefined;
|
|
1019
1019
|
senderName?: string | undefined;
|
|
1020
1020
|
senderEmail?: string | undefined;
|
|
1021
1021
|
};
|
|
1022
1022
|
};
|
|
1023
1023
|
}>, never> & {}, yup.AnyObject, Omit<NonNullable<Omit<NonNullable<Omit<Omit<{
|
|
1024
1024
|
sourceOfTruth: undefined;
|
|
1025
|
-
}, string>, "
|
|
1025
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
1026
1026
|
rbac: {
|
|
1027
1027
|
permissions: undefined;
|
|
1028
1028
|
defaultPermissions: {
|
|
@@ -1089,7 +1089,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1089
1089
|
}>, "domains" | "auth" | "emails"> & {
|
|
1090
1090
|
auth: Omit<NonNullable<Omit<Omit<{
|
|
1091
1091
|
sourceOfTruth: undefined;
|
|
1092
|
-
}, string>, "
|
|
1092
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
1093
1093
|
rbac: {
|
|
1094
1094
|
permissions: undefined;
|
|
1095
1095
|
defaultPermissions: {
|
|
@@ -1156,7 +1156,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1156
1156
|
}>, "oauth"> & {
|
|
1157
1157
|
oauth: Omit<NonNullable<Omit<Omit<{
|
|
1158
1158
|
sourceOfTruth: undefined;
|
|
1159
|
-
}, string>, "
|
|
1159
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
1160
1160
|
rbac: {
|
|
1161
1161
|
permissions: undefined;
|
|
1162
1162
|
defaultPermissions: {
|
|
@@ -1226,7 +1226,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1226
1226
|
};
|
|
1227
1227
|
emails: Omit<NonNullable<Omit<Omit<{
|
|
1228
1228
|
sourceOfTruth: undefined;
|
|
1229
|
-
}, string>, "
|
|
1229
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
1230
1230
|
rbac: {
|
|
1231
1231
|
permissions: undefined;
|
|
1232
1232
|
defaultPermissions: {
|
|
@@ -1304,7 +1304,7 @@ declare const organizationConfigSchema: yup.Schema<Omit<NonNullable<Omit<NonNull
|
|
|
1304
1304
|
};
|
|
1305
1305
|
domains: Omit<NonNullable<Omit<Omit<{
|
|
1306
1306
|
sourceOfTruth: undefined;
|
|
1307
|
-
}, string>, "
|
|
1307
|
+
}, string>, "rbac" | "apiKeys" | "apps" | "domains" | "auth" | "payments" | "workflows" | "teams" | "users" | "emails" | "dataVault"> & {
|
|
1308
1308
|
rbac: {
|
|
1309
1309
|
permissions: undefined;
|
|
1310
1310
|
defaultPermissions: {
|
|
@@ -1402,7 +1402,7 @@ declare const organizationConfigDefaults: {
|
|
|
1402
1402
|
};
|
|
1403
1403
|
};
|
|
1404
1404
|
readonly apps: {
|
|
1405
|
-
readonly installed: Record<"
|
|
1405
|
+
readonly installed: Record<"neon" | "rbac" | "payments" | "workflows" | "teams" | "authentication" | "api-keys" | "emails" | "email-api" | "data-vault" | "webhooks" | "tv-mode" | "launch-checklist" | "catalyst" | "convex", {
|
|
1406
1406
|
enabled: false;
|
|
1407
1407
|
}>;
|
|
1408
1408
|
};
|
|
@@ -1641,12 +1641,12 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1641
1641
|
};
|
|
1642
1642
|
};
|
|
1643
1643
|
server: {
|
|
1644
|
-
host: string | undefined;
|
|
1645
|
-
port: number | undefined;
|
|
1646
|
-
username: string | undefined;
|
|
1647
1644
|
password: string | undefined;
|
|
1648
1645
|
isShared: boolean;
|
|
1649
1646
|
provider: "resend" | "smtp";
|
|
1647
|
+
host: string | undefined;
|
|
1648
|
+
port: number | undefined;
|
|
1649
|
+
username: string | undefined;
|
|
1650
1650
|
senderName: string | undefined;
|
|
1651
1651
|
senderEmail: string | undefined;
|
|
1652
1652
|
};
|
|
@@ -1655,6 +1655,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1655
1655
|
products: Record<string, {
|
|
1656
1656
|
isAddOnTo: false | Record<string, true>;
|
|
1657
1657
|
prices: "include-by-default" | Record<string, {
|
|
1658
|
+
interval?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1659
|
+
freeTrial?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1660
|
+
serverOnly: boolean;
|
|
1658
1661
|
USD?: string | undefined;
|
|
1659
1662
|
EUR?: string | undefined;
|
|
1660
1663
|
GBP?: string | undefined;
|
|
@@ -1662,19 +1665,16 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1662
1665
|
INR?: string | undefined;
|
|
1663
1666
|
AUD?: string | undefined;
|
|
1664
1667
|
CAD?: string | undefined;
|
|
1665
|
-
interval?: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1666
|
-
serverOnly: boolean;
|
|
1667
|
-
freeTrial?: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1668
1668
|
}>;
|
|
1669
1669
|
displayName: string;
|
|
1670
|
-
serverOnly: boolean;
|
|
1671
|
-
freeTrial: [number, "day" | "week" | "year" | "month"] | undefined;
|
|
1672
1670
|
catalogId: string | undefined;
|
|
1673
1671
|
customerType: "team" | "user" | "custom";
|
|
1672
|
+
freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1673
|
+
serverOnly: boolean;
|
|
1674
1674
|
stackable: boolean | undefined;
|
|
1675
1675
|
includedItems: {
|
|
1676
1676
|
[x: string]: {
|
|
1677
|
-
repeat: "never" | [number, "day" | "week" | "
|
|
1677
|
+
repeat: "never" | [number, "day" | "week" | "month" | "year"];
|
|
1678
1678
|
quantity: number;
|
|
1679
1679
|
expires: "never" | "when-purchase-expires" | "when-repeated";
|
|
1680
1680
|
};
|
|
@@ -1687,7 +1687,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1687
1687
|
};
|
|
1688
1688
|
};
|
|
1689
1689
|
autoPay: {
|
|
1690
|
-
interval?: [number, "day" | "week" | "
|
|
1690
|
+
interval?: [number, "day" | "week" | "month" | "year"] | undefined;
|
|
1691
1691
|
} | undefined;
|
|
1692
1692
|
testMode: boolean;
|
|
1693
1693
|
catalogs: {
|
|
@@ -1697,7 +1697,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1697
1697
|
};
|
|
1698
1698
|
};
|
|
1699
1699
|
sourceOfTruth: {
|
|
1700
|
-
type: "
|
|
1700
|
+
type: "hosted" | "neon" | "postgres";
|
|
1701
1701
|
connectionString: string | undefined;
|
|
1702
1702
|
connectionStrings: {
|
|
1703
1703
|
[x: string]: string | undefined;
|
|
@@ -1717,46 +1717,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1717
1717
|
readonly connectionStrings?: undefined;
|
|
1718
1718
|
readonly connectionString?: undefined;
|
|
1719
1719
|
});
|
|
1720
|
-
domains: {
|
|
1721
|
-
allowLocalhost: boolean;
|
|
1722
|
-
trustedDomains: {
|
|
1723
|
-
[x: string]: {
|
|
1724
|
-
baseUrl: string | undefined;
|
|
1725
|
-
handlerPath: string;
|
|
1726
|
-
};
|
|
1727
|
-
};
|
|
1728
|
-
};
|
|
1729
|
-
teams: {
|
|
1730
|
-
createPersonalTeamOnSignUp: boolean;
|
|
1731
|
-
allowClientTeamCreation: boolean;
|
|
1732
|
-
};
|
|
1733
|
-
auth: {
|
|
1734
|
-
password: {
|
|
1735
|
-
allowSignIn: boolean;
|
|
1736
|
-
};
|
|
1737
|
-
allowSignUp: boolean;
|
|
1738
|
-
otp: {
|
|
1739
|
-
allowSignIn: boolean;
|
|
1740
|
-
};
|
|
1741
|
-
passkey: {
|
|
1742
|
-
allowSignIn: boolean;
|
|
1743
|
-
};
|
|
1744
|
-
oauth: {
|
|
1745
|
-
accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
|
|
1746
|
-
providers: {
|
|
1747
|
-
[x: string]: {
|
|
1748
|
-
type: "apple" | "x" | "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "twitch" | undefined;
|
|
1749
|
-
clientId: string | undefined;
|
|
1750
|
-
clientSecret: string | undefined;
|
|
1751
|
-
allowSignIn: boolean;
|
|
1752
|
-
allowConnectedAccounts: boolean;
|
|
1753
|
-
isShared: boolean;
|
|
1754
|
-
facebookConfigId: string | undefined;
|
|
1755
|
-
microsoftTenantId: string | undefined;
|
|
1756
|
-
};
|
|
1757
|
-
};
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
1720
|
rbac: {
|
|
1761
1721
|
permissions: {
|
|
1762
1722
|
[x: string]: {
|
|
@@ -1779,15 +1739,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1779
1739
|
};
|
|
1780
1740
|
};
|
|
1781
1741
|
};
|
|
1782
|
-
workflows: {
|
|
1783
|
-
availableWorkflows: {
|
|
1784
|
-
[x: string]: {
|
|
1785
|
-
displayName: string;
|
|
1786
|
-
enabled: boolean;
|
|
1787
|
-
tsSource: string;
|
|
1788
|
-
};
|
|
1789
|
-
};
|
|
1790
|
-
};
|
|
1791
1742
|
apiKeys: {
|
|
1792
1743
|
enabled: {
|
|
1793
1744
|
team: boolean;
|
|
@@ -1796,19 +1747,25 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1796
1747
|
};
|
|
1797
1748
|
apps: {
|
|
1798
1749
|
installed: {
|
|
1799
|
-
|
|
1750
|
+
neon: {
|
|
1800
1751
|
enabled: boolean;
|
|
1801
1752
|
};
|
|
1802
|
-
|
|
1753
|
+
rbac: {
|
|
1803
1754
|
enabled: boolean;
|
|
1804
1755
|
};
|
|
1805
|
-
|
|
1756
|
+
payments: {
|
|
1806
1757
|
enabled: boolean;
|
|
1807
1758
|
};
|
|
1808
|
-
|
|
1759
|
+
workflows: {
|
|
1809
1760
|
enabled: boolean;
|
|
1810
1761
|
};
|
|
1811
|
-
|
|
1762
|
+
teams: {
|
|
1763
|
+
enabled: boolean;
|
|
1764
|
+
};
|
|
1765
|
+
authentication: {
|
|
1766
|
+
enabled: boolean;
|
|
1767
|
+
};
|
|
1768
|
+
"api-keys": {
|
|
1812
1769
|
enabled: boolean;
|
|
1813
1770
|
};
|
|
1814
1771
|
emails: {
|
|
@@ -1820,9 +1777,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1820
1777
|
"data-vault": {
|
|
1821
1778
|
enabled: boolean;
|
|
1822
1779
|
};
|
|
1823
|
-
workflows: {
|
|
1824
|
-
enabled: boolean;
|
|
1825
|
-
};
|
|
1826
1780
|
webhooks: {
|
|
1827
1781
|
enabled: boolean;
|
|
1828
1782
|
};
|
|
@@ -1835,14 +1789,60 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
|
|
|
1835
1789
|
catalyst: {
|
|
1836
1790
|
enabled: boolean;
|
|
1837
1791
|
};
|
|
1838
|
-
|
|
1792
|
+
convex: {
|
|
1839
1793
|
enabled: boolean;
|
|
1840
1794
|
};
|
|
1841
|
-
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
domains: {
|
|
1798
|
+
allowLocalhost: boolean;
|
|
1799
|
+
trustedDomains: {
|
|
1800
|
+
[x: string]: {
|
|
1801
|
+
baseUrl: string | undefined;
|
|
1802
|
+
handlerPath: string;
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
auth: {
|
|
1807
|
+
allowSignUp: boolean;
|
|
1808
|
+
password: {
|
|
1809
|
+
allowSignIn: boolean;
|
|
1810
|
+
};
|
|
1811
|
+
otp: {
|
|
1812
|
+
allowSignIn: boolean;
|
|
1813
|
+
};
|
|
1814
|
+
passkey: {
|
|
1815
|
+
allowSignIn: boolean;
|
|
1816
|
+
};
|
|
1817
|
+
oauth: {
|
|
1818
|
+
accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
|
|
1819
|
+
providers: {
|
|
1820
|
+
[x: string]: {
|
|
1821
|
+
type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | undefined;
|
|
1822
|
+
allowSignIn: boolean;
|
|
1823
|
+
allowConnectedAccounts: boolean;
|
|
1824
|
+
isShared: boolean;
|
|
1825
|
+
clientId: string | undefined;
|
|
1826
|
+
clientSecret: string | undefined;
|
|
1827
|
+
facebookConfigId: string | undefined;
|
|
1828
|
+
microsoftTenantId: string | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
};
|
|
1833
|
+
workflows: {
|
|
1834
|
+
availableWorkflows: {
|
|
1835
|
+
[x: string]: {
|
|
1842
1836
|
enabled: boolean;
|
|
1837
|
+
displayName: string;
|
|
1838
|
+
tsSource: string;
|
|
1843
1839
|
};
|
|
1844
1840
|
};
|
|
1845
1841
|
};
|
|
1842
|
+
teams: {
|
|
1843
|
+
createPersonalTeamOnSignUp: boolean;
|
|
1844
|
+
allowClientTeamCreation: boolean;
|
|
1845
|
+
};
|
|
1846
1846
|
users: {
|
|
1847
1847
|
allowClientUserDeletion: boolean;
|
|
1848
1848
|
};
|