Răsfoiți Sursa

add editor_uid in ISentenceDiffData

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

+ 2 - 0
dashboard/src/components/api/Corpus.ts

@@ -132,6 +132,7 @@ export interface ISentenceDiffData {
   word_end: number;
   channel_uid: string;
   content: string;
+  editor_uid: string;
   updated_at: string;
 }
 export interface ISentenceDiffResponse {
@@ -185,6 +186,7 @@ export interface ISentenceListResponse {
 export interface ISentenceNewRequest {
   sentences: ISentenceDiffData[];
   channel?: string;
+  copy?: boolean;
 }
 export interface ISentenceNewMultiResponse {
   ok: boolean;