Explorar o código

channel -> channels add updated_at

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