summaryrefslogtreecommitdiff
path: root/backend/src/types/user.ts
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/types/user.ts')
-rw-r--r--backend/src/types/user.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/src/types/user.ts b/backend/src/types/user.ts
index b2c7ffc..15b24c3 100644
--- a/backend/src/types/user.ts
+++ b/backend/src/types/user.ts
@@ -16,3 +16,10 @@ export type DatabaseUser = {
password_hash: string;
created_at: string;
};
+
+export type LoginResponse = {
+ message: string;
+ user: AuthorizedUser;
+ token: string;
+};
+