Implement Auth

This commit is contained in:
Takeshi Kimata
2024-05-17 23:30:13 +09:00
parent bda47864f9
commit 8103297dae
16 changed files with 902 additions and 72 deletions

13
frontend/types/user.ts Normal file
View File

@@ -0,0 +1,13 @@
export type UserType = {
id: number | null;
email: string;
password: string;
username: string;
role: number;
avatarPath: string;
};
export type AuthMessages = {
signup: string;
signin: string;
};