improve typing and responses

This commit is contained in:
João Geonizeli
2022-07-10 15:13:40 -03:00
parent e3729ae4c0
commit acaba0f9ca
10 changed files with 289 additions and 248 deletions

View File

@@ -1,4 +1,3 @@
export type UserDto = {
id: number
email: string
}

View File

@@ -1,3 +1,3 @@
type SessionDto = {
userEmail: string;
}
token: string | null;
};