@databutton/firebase-types 1.140.0 → 1.141.1
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.
|
@@ -63,6 +63,7 @@ export interface Notification {
|
|
|
63
63
|
displayId?: string | null;
|
|
64
64
|
reason?: string | null;
|
|
65
65
|
taskTitle?: string | null;
|
|
66
|
+
environment?: "dev" | "prod" | null;
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
69
|
export interface PublicUsername {
|
|
@@ -183,6 +184,15 @@ export interface SSOConfig extends AccountConfigBase {
|
|
|
183
184
|
* in with an email domain that is allowed by the SSO config
|
|
184
185
|
*/
|
|
185
186
|
autoAddNewUsers: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Which workos roles should imply a riff role.
|
|
189
|
+
*
|
|
190
|
+
* E.g. riffToWorkosRoleMapping = {
|
|
191
|
+
* "admin": ["company-admin"],
|
|
192
|
+
* "viewer": ["buyer", "accountant"],
|
|
193
|
+
* }
|
|
194
|
+
*/
|
|
195
|
+
riffToWorkosRoleMapping?: Record<string, string[]>;
|
|
186
196
|
}
|
|
187
197
|
export interface PostHogConfig extends AccountConfigBase {
|
|
188
198
|
type: ConfigTypes.POSTHOG;
|
|
@@ -985,11 +995,18 @@ export interface NeonDatabaseExtensionConfigV2 {
|
|
|
985
995
|
connectionUrlEnvVar: string | null;
|
|
986
996
|
}
|
|
987
997
|
export type NeonDatabaseExtensionConfig = NeonDatabaseExtensionConfigV1 | NeonDatabaseExtensionConfigV2;
|
|
998
|
+
export type OidcAttributeCheckOp = "eq" | "in" | "contains_any" | "contains_all" | "exists";
|
|
999
|
+
export interface OidcAttributeCheck {
|
|
1000
|
+
name: string;
|
|
1001
|
+
op: OidcAttributeCheckOp;
|
|
1002
|
+
values?: string[];
|
|
1003
|
+
}
|
|
988
1004
|
export interface OidcAuthExtensionConfig {
|
|
989
1005
|
jwksUrl: string;
|
|
990
1006
|
iss: string;
|
|
991
1007
|
aud?: string;
|
|
992
1008
|
requiredAttributes?: Record<string, string>;
|
|
1009
|
+
checkAttributes?: OidcAttributeCheck[];
|
|
993
1010
|
}
|
|
994
1011
|
export interface OidcAuthExtensionAttributesForWorkos {
|
|
995
1012
|
client_id: string;
|
|
@@ -578,6 +578,7 @@ export type CreateApprovalNotificationRequest = {
|
|
|
578
578
|
displayId?: string | null;
|
|
579
579
|
reason?: string | null;
|
|
580
580
|
taskTitle?: string | null;
|
|
581
|
+
environment?: "dev" | "prod" | null;
|
|
581
582
|
};
|
|
582
583
|
export type CreateApprovalNotificationResponse = {
|
|
583
584
|
notificationId: string;
|