浏览代码

IVocabularyData

visuddhinanda 3 年之前
父节点
当前提交
557be9e278
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      dashboard/src/components/api/Dict.ts

+ 14 - 0
dashboard/src/components/api/Dict.ts

@@ -44,3 +44,17 @@ export interface IApiResponseDictList {
     count: number;
     count: number;
   };
   };
 }
 }
+
+export interface IVocabularyData {
+  word: string;
+  count: number;
+  meaning?: string;
+}
+export interface IVocabularyListResponse {
+  ok: boolean;
+  message: string;
+  data: {
+    rows: IVocabularyData[];
+    count: number;
+  };
+}