Răsfoiți Sursa

channel -> channels add updated_at

visuddhinanda 2 ani în urmă
părinte
comite
0b005d02ef
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      dashboard/src/components/api/Corpus.ts

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

@@ -123,14 +123,16 @@ export interface IApiResponseChannelList {
 
 export interface ISentenceDiffRequest {
   sentences: string[];
-  channel: string;
+  channels: string[];
 }
 export interface ISentenceDiffData {
   book_id: number;
   paragraph: number;
   word_start: number;
   word_end: number;
+  channel_uid: string;
   content: string;
+  updated_at: string;
 }
 export interface ISentenceDiffResponse {
   ok: boolean;