push de la fleme
This commit is contained in:
11
types/responses/IResLoginData.ts
Normal file
11
types/responses/IResLoginData.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
interface IResLoginData {
|
||||
error: string;
|
||||
jwt: string;
|
||||
user: User;
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: string;
|
||||
username: string;
|
||||
displayName: string;
|
||||
}
|
||||
13
types/responses/IResRegisterData.ts
Normal file
13
types/responses/IResRegisterData.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
interface IResRegisterData {
|
||||
error: string;
|
||||
jwt: string;
|
||||
user: User;
|
||||
}
|
||||
|
||||
interface User {
|
||||
id: string;
|
||||
username: string;
|
||||
displayName: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
Reference in New Issue
Block a user