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

:fire: ISentenceNewMultiResponse

visuddhinanda 2 лет назад
Родитель
Сommit
873b17450b
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      dashboard/src/components/api/Corpus.ts

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

@@ -131,7 +131,7 @@ export interface ISentenceDiffData {
   word_start: number;
   word_end: number;
   channel_uid: string;
-  content: string;
+  content: string | null;
   editor_uid: string;
   updated_at: string;
 }
@@ -190,11 +190,7 @@ export interface ISentenceNewRequest {
   copy?: boolean;
   fork_from?: string;
 }
-export interface ISentenceNewMultiResponse {
-  ok: boolean;
-  message: string;
-  data: number;
-}
+
 export interface IPaliToc {
   book: number;
   paragraph: number;