@lightdash/common 0.1340.7 → 0.1341.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,7 @@ export type OrganizationMemberProfile = {
|
|
29
29
|
*/
|
30
30
|
role: OrganizationMemberRole;
|
31
31
|
/**
|
32
|
-
* Whether the user
|
32
|
+
* Whether the user can login
|
33
33
|
*/
|
34
34
|
isActive: boolean;
|
35
35
|
/**
|
@@ -37,7 +37,7 @@ export type OrganizationMemberProfile = {
|
|
37
37
|
*/
|
38
38
|
isInviteExpired?: boolean;
|
39
39
|
/**
|
40
|
-
* Whether the user
|
40
|
+
* Whether the user doesn't have an authentication method (password or openId)
|
41
41
|
*/
|
42
42
|
isPending?: boolean;
|
43
43
|
};
|
package/dist/types/user.d.ts
CHANGED
@@ -14,7 +14,14 @@ export interface LightdashUser {
|
|
14
14
|
isMarketingOptedIn: boolean;
|
15
15
|
isSetupComplete: boolean;
|
16
16
|
role?: OrganizationMemberRole;
|
17
|
+
/**
|
18
|
+
* Whether the user can login
|
19
|
+
*/
|
17
20
|
isActive: boolean;
|
21
|
+
/**
|
22
|
+
* Whether the user doesn't have an authentication method (password or openId)
|
23
|
+
*/
|
24
|
+
isPending?: boolean;
|
18
25
|
}
|
19
26
|
export type LightdashUserWithOrg = Required<LightdashUser>;
|
20
27
|
export declare const isUserWithOrg: (user: LightdashUser) => user is Required<LightdashUser>;
|