visuddhinanda 2 лет назад
Родитель
Сommit
4e138c53cf
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      dashboard/src/components/api/Dict.ts

+ 6 - 1
dashboard/src/components/api/Dict.ts

@@ -90,11 +90,16 @@ export interface IUserDictDeleteRequest {
   id: string;
 }
 
+export interface ICaseItem {
+  word: string;
+  case: ICaseListData[];
+  count: number;
+}
 export interface ICaseListResponse {
   ok: boolean;
   message: string;
   data: {
-    rows: ICaseListData[];
+    rows: ICaseItem[];
     count: number;
   };
 }