Explorar o código

add ISentenceListResponse

visuddhinanda %!s(int64=3) %!d(string=hai) anos
pai
achega
c14623ec6a
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;