feat: added current user validation to apis

Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
Varun Raj committed 2024-08-22 10:08:42 +05:30
1 parent 12500c9c6e
commit 28d3deabcd
23 files changed
+586 -92

No files matched your search

+18
View File
@@ -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;
}