Преглед на файлове

channel -> channels add updated_at

visuddhinanda преди 3 години
родител
ревизия
0b005d02ef
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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;