feat: added user auth

This commit is contained in:
Aaryan Khandelwal
2023-01-27 12:55:20 +05:30
parent 9075f9441c
commit cedc884d92
26 changed files with 356 additions and 299 deletions

View File

@@ -34,3 +34,10 @@ export interface IUserLite {
avatar: string;
created_at: Date;
}
export type UserAuth = {
isMember: boolean;
isOwner: boolean;
isViewer: boolean;
isGuest: boolean;
};