Forráskód Böngészése

:fire: IInviteData

visuddhinanda 2 éve
szülő
commit
b0c1da2418
1 módosított fájl, 1 hozzáadás és 22 törlés
  1. 1 22
      dashboard/src/pages/studio/invite/list.tsx

+ 1 - 22
dashboard/src/pages/studio/invite/list.tsx

@@ -10,28 +10,7 @@ import { RoleValueEnum } from "../../../components/studio/table";
 import { useRef, useState } from "react";
 import InviteCreate from "../../../components/invite/InviteCreate";
 import { getSorterUrl } from "../../../utils";
-
-export interface IInviteData {
-  id: string;
-  user_uid: string;
-  email: string;
-  status: string;
-  created_at: string;
-  updated_at: string;
-}
-interface IInviteListResponse {
-  ok: boolean;
-  message: string;
-  data: {
-    rows: IInviteData[];
-    count: number;
-  };
-}
-export interface IInviteResponse {
-  ok: boolean;
-  message: string;
-  data: IInviteData;
-}
+import { IInviteListResponse } from "../../../components/api/Auth";
 
 interface DataItem {
   sn: number;