visuddhinanda 3 лет назад
Родитель
Сommit
c14623ec6a
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      dashboard/src/components/api/Corpus.ts

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

@@ -169,6 +169,11 @@ export interface ISentenceResponse {
   message: string;
   data: ISentenceData;
 }
+export interface ISentenceListResponse {
+  ok: boolean;
+  message: string;
+  data: { rows: ISentenceData[]; count: number };
+}
 export interface ISentenceNewRequest {
   sentences: ISentenceDiffData[];
   channel?: string;