Browse Source

add IEditableSentence

visuddhinanda 1 year ago
parent
commit
378d79a04b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      dashboard/src/components/api/Corpus.ts

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

@@ -289,3 +289,9 @@ export interface ISentenceWbwListResponse {
   message: string;
   data: { rows: IWidgetSentEditInner[]; count: number };
 }
+
+export interface IEditableSentence {
+  ok: boolean;
+  message: string;
+  data: IWidgetSentEditInner;
+}