summaryrefslogtreecommitdiff
path: root/backend/src/types/user.ts
blob: b2c7ffc0af2a684a5cf68b6f21721f0a4d457944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export type AdminCreationResult = {
    id: string;
    email: string;
    created_at: string;
};

export type AuthorizedUser = {
    id: string;
    email: string;
    createdAt: string;
};

export type DatabaseUser = {
    id: string;
    email: string;
    password_hash: string;
    created_at: string;
};