15 lines
239 B
TypeScript
15 lines
239 B
TypeScript
|
export interface LoginForm {
|
||
|
username: string;
|
||
|
password: string;
|
||
|
}
|
||
|
export interface RegisterForm {
|
||
|
username: string;
|
||
|
email?: string;
|
||
|
password: string;
|
||
|
password_verify: string;
|
||
|
}
|
||
|
|
||
|
export enum UserOperation {
|
||
|
Login, Register
|
||
|
}
|