visuddhinanda 2 lat temu
rodzic
commit
433f9e869d
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      dashboard/src/components/api/Corpus.ts

+ 5 - 1
dashboard/src/components/api/Corpus.ts

@@ -273,8 +273,12 @@ export interface ISentencePrResponse {
   };
 }
 
+export interface ISimSent {
+  sent: string;
+  sim: number;
+}
 export interface ISentenceSimListResponse {
   ok: boolean;
   message: string;
-  data: { rows: string[]; count: number };
+  data: { rows: ISimSent[]; count: number };
 }