Sfoglia il codice sorgente

add IDictFirstMeaningResponse

visuddhinanda 3 anni fa
parent
commit
e54c3fd80d
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      dashboard/src/components/api/Dict.ts

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

@@ -73,3 +73,13 @@ export interface ICaseListResponse {
     count: number;
   };
 }
+
+export interface IFirstMeaning {
+  word?: string;
+  meaning?: string;
+}
+export interface IDictFirstMeaningResponse {
+  ok: boolean;
+  message: string;
+  data: IFirstMeaning[];
+}