feat: added current user validation to apis
Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
1 parent
12500c9c6e
commit
28d3deabcd
23 files changed
+586
-92
No files matched your search
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
export interface IUser {
|
||||
id: string;
|
||||
email: string;
|
||||
name: string;
|
||||
profileImagePath: string;
|
||||
avatarColor: string;
|
||||
storageLabel: string;
|
||||
shouldChangePassword: boolean;
|
||||
isAdmin: boolean;
|
||||
createdAt: Date;
|
||||
deletedAt: null;
|
||||
updatedAt: Date;
|
||||
oauthId: string;
|
||||
quotaSizeInBytes: null;
|
||||
quotaUsageInBytes: number;
|
||||
status: string;
|
||||
license: null;
|
||||
}
|
||||
Reference in new issue
Block a user