userinfo.ts 349 B

12345678910111213
  1. export type Role = 'normal' | 'admin';
  2. export type PostUserAddParams = {
  3. user_channel: string;
  4. user_no: string;
  5. avatar_url?: string;
  6. role?: Role;
  7. nick_name?: string;
  8. email?: string;
  9. user_id?: string;
  10. };
  11. // eslint-disable-next-line @typescript-eslint/no-empty-object-type
  12. export interface UserInfoResponse extends PostUserAddParams {}