Boilerplate added for register, non functional
This commit is contained in:
parent
3a7663124d
commit
a4b19e32eb
4 changed files with 98 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
|||
// This is how the API responds
|
||||
export interface User {
|
||||
id: number;
|
||||
name: string;
|
||||
userName: string;
|
||||
}
|
||||
|
||||
// Used to create a new user
|
||||
export interface NewUser {
|
||||
name: string;
|
||||
userName: string;
|
||||
password: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue