Răsfoiți Sursa

add ISimSent

visuddhinanda 2 ani în urmă
părinte
comite
433f9e869d
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  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 };
 }