visuddhinanda 2 лет назад
Родитель
Сommit
433f9e869d
1 измененных файлов с 5 добавлено и 1 удалено
  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 };
 }