This commit is contained in:
JakkrapartXD 2026-01-14 17:01:40 +07:00
parent ebdf63421a
commit fc76f086c7

View file

@ -0,0 +1,30 @@
import { ProfileUpdate, UserResponse } from "./user.types";
/**
* User management types
*/
export interface ListUsersResponse {
code: number;
message: string;
data: UserResponse[];
}
export interface GetUserResponse {
code: number;
message: string;
data: UserResponse;
}
export interface UpdateUser{
id: number;
username?: string;
email?: string;
role?: string;
profile?: ProfileUpdate;
}
export interface UpdateRoleResponse {
code: number;
message: string;
data: UserResponse;
}