forked from github/plane
feat: added user auth
This commit is contained in:
7
apps/app/types/users.d.ts
vendored
7
apps/app/types/users.d.ts
vendored
@@ -34,3 +34,10 @@ export interface IUserLite {
|
||||
avatar: string;
|
||||
created_at: Date;
|
||||
}
|
||||
|
||||
export type UserAuth = {
|
||||
isMember: boolean;
|
||||
isOwner: boolean;
|
||||
isViewer: boolean;
|
||||
isGuest: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user