Просмотр исходного кода

add editor_uid in ISentenceDiffData

visuddhinanda 2 лет назад
Родитель
Сommit
fe035fcf40
1 измененных файлов с 2 добавлено и 0 удалено
  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;