Browse Source

add IUserRequest

visuddhinanda 3 years ago
parent
commit
de6e4ea353
1 changed files with 6 additions and 0 deletions
  1. 6 0
      dashboard/src/components/api/Auth.ts

+ 6 - 0
dashboard/src/components/api/Auth.ts

@@ -1,5 +1,11 @@
 export type Role = "owner" | "manager" | "editor" | "member";
 
+export interface IUserRequest {
+  id?: string;
+  userName?: string;
+  nickName?: string;
+  avatar?: string;
+}
 export interface IUserApiResponse {
   id: string;
   userName: string;