diff --git a/src/interfaces/UserData.ts b/src/interfaces/UserData.ts new file mode 100644 index 0000000..e23a55f --- /dev/null +++ b/src/interfaces/UserData.ts @@ -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 \ No newline at end of file diff --git a/src/interfaces/index.ts b/src/interfaces/index.ts new file mode 100644 index 0000000..cd28ab2 --- /dev/null +++ b/src/interfaces/index.ts @@ -0,0 +1 @@ +export * from './UserData' \ No newline at end of file