Skip to content

Commit 23081c3

Browse files
feature: this commit introduces authentication and profile schemes for user management
1 parent 8b04d56 commit 23081c3

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export type AuthenticationCredentials = {
2+
email: string;
3+
password: string;
4+
};
5+
6+
export type AuthenticationResult = {
7+
accessToken: string;
8+
refreshToken: string;
9+
}
10+
11+
export type UserScheme = {
12+
id: string;
13+
username: string;
14+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export type ProfileCreationScheme = {
2+
firstName: string;
3+
lastName: string;
4+
phoneNumber: string;
5+
email: string;
6+
userId: string;
7+
username: string;
8+
};
9+
10+
export type OwnerScheme = {
11+
identifier: string;
12+
firstName: string;
13+
lastName: string;
14+
phoneNumber: string;
15+
email: string;
16+
userId: string;
17+
username: string;
18+
}

0 commit comments

Comments
 (0)