فهرست منبع

add ISentenceSimListResponse

visuddhinanda 3 سال پیش
والد
کامیت
2d47e756ff
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      dashboard/src/components/api/Corpus.ts

+ 7 - 1
dashboard/src/components/api/Corpus.ts

@@ -1,7 +1,7 @@
 import { IStudio } from "../auth/StudioName";
 import { IUser } from "../auth/User";
 import { IChannel } from "../channel/Channel";
-import { ISuggestionCount } from "../template/SentEdit";
+import { ISuggestionCount, IWidgetSentEditInner } from "../template/SentEdit";
 import { TChannelType } from "./Channel";
 import { TagNode } from "./Tag";
 
@@ -261,3 +261,9 @@ export interface ISentencePrResponse {
     webhook: { message: string; ok: boolean };
   };
 }
+
+export interface ISentenceSimListResponse {
+  ok: boolean;
+  message: string;
+  data: { rows: IWidgetSentEditInner[]; count: number };
+}