mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 14:29:27 +08:00
42 lines
617 B
TypeScript
42 lines
617 B
TypeScript
|
export interface IconProps {
|
||
|
size: number;
|
||
|
color: string;
|
||
|
}
|
||
|
|
||
|
export interface RootDrawerParamList {
|
||
|
navigate: any;
|
||
|
}
|
||
|
|
||
|
// Redux Interfaces
|
||
|
export interface LoginState {
|
||
|
Login: { logged_in: boolean };
|
||
|
}
|
||
|
|
||
|
export interface LoggedInUserState {
|
||
|
LoggedInUser: {
|
||
|
value: {
|
||
|
email: string;
|
||
|
id: number;
|
||
|
username: string;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|
||
|
// API Interfaces
|
||
|
|
||
|
export interface RegistrationParams {
|
||
|
email: string;
|
||
|
username: string;
|
||
|
password: string;
|
||
|
}
|
||
|
|
||
|
export interface LoginParams {
|
||
|
username: string;
|
||
|
password: string;
|
||
|
}
|
||
|
|
||
|
export interface ActivationParams {
|
||
|
uid: string;
|
||
|
token: string;
|
||
|
}
|