Browse Source

add IChannel

visuddhinanda 2 years ago
parent
commit
eb5bb4e4ae
1 changed files with 2 additions and 0 deletions
  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 { IStudio } from "../auth/Studio";
 import { IUser } from "../auth/User";
 import { IUser } from "../auth/User";
+import { IChannel } from "../channel/Channel";
 import { TRole } from "./Auth";
 import { TRole } from "./Auth";
 
 
 export interface ICourseListApiResponse {
 export interface ICourseListApiResponse {
@@ -147,6 +148,7 @@ export interface ICourseMemberData {
   user_id: string;
   user_id: string;
   course_id: string;
   course_id: string;
   channel_id?: string;
   channel_id?: string;
+  channel?: IChannel;
   role?: string;
   role?: string;
   operating?: "invite" | "sign_up";
   operating?: "invite" | "sign_up";
   user?: IUser;
   user?: IUser;