Browse Source

IVocabularyData

visuddhinanda 3 years ago
parent
commit
557be9e278
1 changed files with 14 additions and 0 deletions
  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;
+  };
+}