diff options
Diffstat (limited to 'backend/src/types/user.ts')
| -rw-r--r-- | backend/src/types/user.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backend/src/types/user.ts b/backend/src/types/user.ts new file mode 100644 index 0000000..875072c --- /dev/null +++ b/backend/src/types/user.ts @@ -0,0 +1,18 @@ +export type AdminCreationResult = { + id: string; + email: string; + created_at: Date; +}; + +export type AuthorizedUser = { + id: string; + email: string; + createdAt: Date; +}; + +export type DatabaseUser = { + id: string; + email: string; + password_hash: string; + created_at: Date; +}; |
