visuddhinanda пре 2 година
родитељ
комит
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[];
+}