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