Implement Auth
This commit is contained in:
13
frontend/types/user.ts
Normal file
13
frontend/types/user.ts
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user