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

+ 16 - 0
dashboard/src/components/api/Comment.ts

@@ -62,3 +62,19 @@ export interface ICommentAnchorResponse {
   message: string;
   data: string;
 }
+
+export interface IDiscussionCountRequest {
+  course_id?: string | null;
+  sentences: string[][];
+}
+export interface IDiscussionCountData {
+  id: string;
+  res_id: string;
+  type: string;
+  editor_uid: string;
+}
+export interface IDiscussionCountResponse {
+  ok: boolean;
+  message: string;
+  data: IDiscussionCountData[];
+}