Procházet zdrojové kódy

channel -> channels add updated_at

visuddhinanda před 2 roky
rodič
revize
0b005d02ef
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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;