order page and user page update
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
export interface UserData {
|
||||
id: string;
|
||||
id: 3;
|
||||
username: string;
|
||||
last_login: null | string;
|
||||
date_joined: string;
|
||||
is_superuser: boolean;
|
||||
role: "admin" | "user" | "moderator";
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
middle_name: null | string;
|
||||
gender: "M" | "F" | null;
|
||||
region: null | string;
|
||||
address: null | string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface UserListRes {
|
||||
@@ -18,7 +21,13 @@ export interface UserListRes {
|
||||
}
|
||||
|
||||
export interface UserCreateReq {
|
||||
id: 3;
|
||||
username: string;
|
||||
password: string;
|
||||
is_superuser: boolean;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
middle_name: null | string;
|
||||
gender: "M" | "F" | null;
|
||||
region: null | string;
|
||||
address: null | string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user