From 655ec610fcce8dd7748f10772d520bdff4f7c78e Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 19 Dec 2025 20:03:03 +0100 Subject: Basic setup & login --- backend/src/types/user.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 backend/src/types/user.ts (limited to 'backend/src/types/user.ts') 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; +}; -- cgit v1.2.3