feat: ✨ DbUserData interface
This commit is contained in:
23
src/interfaces/UserData.ts
Normal file
23
src/interfaces/UserData.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
interface DbUserData {
|
||||||
|
id?: string;
|
||||||
|
username: string;
|
||||||
|
displayName: string;
|
||||||
|
firstName: string;
|
||||||
|
lastName: string;
|
||||||
|
email: string;
|
||||||
|
|
||||||
|
passwordHash: string;
|
||||||
|
|
||||||
|
isAdmin: boolean;
|
||||||
|
isDisabled: boolean;
|
||||||
|
|
||||||
|
resetPasswordToken?: string;
|
||||||
|
resetPasswordExpires?: Date;
|
||||||
|
|
||||||
|
dob: Date;
|
||||||
|
gdpr: Date;
|
||||||
|
iat: Date;
|
||||||
|
uat: Date;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default DbUserData
|
||||||
1
src/interfaces/index.ts
Normal file
1
src/interfaces/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from './UserData'
|
||||||
Reference in New Issue
Block a user