Browse Source

add IChannel

visuddhinanda 2 năm trước cách đây
mục cha
commit
eb5bb4e4ae
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      dashboard/src/components/api/Course.ts

+ 2 - 0
dashboard/src/components/api/Course.ts

@@ -1,5 +1,6 @@
 import { IStudio } from "../auth/Studio";
 import { IUser } from "../auth/User";
+import { IChannel } from "../channel/Channel";
 import { TRole } from "./Auth";
 
 export interface ICourseListApiResponse {
@@ -147,6 +148,7 @@ export interface ICourseMemberData {
   user_id: string;
   course_id: string;
   channel_id?: string;
+  channel?: IChannel;
   role?: string;
   operating?: "invite" | "sign_up";
   user?: IUser;