소스 검색

add course in ITextbook

visuddhinanda 2 년 전
부모
커밋
6e0d44ed9c
1개의 변경된 파일과 5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      dashboard/src/reducers/current-course.ts

+ 5 - 1
dashboard/src/reducers/current-course.ts

@@ -1,9 +1,13 @@
 import { createSlice, PayloadAction } from "@reduxjs/toolkit";
 import { createSlice, PayloadAction } from "@reduxjs/toolkit";
 
 
 import type { RootState } from "../store";
 import type { RootState } from "../store";
-import { ICourseMemberData } from "../components/api/Course";
+import {
+  ICourseDataResponse,
+  ICourseMemberData,
+} from "../components/api/Course";
 
 
 export interface ITextbook {
 export interface ITextbook {
+  course?: ICourseDataResponse;
   courseId: string;
   courseId: string;
   articleId: string;
   articleId: string;
   channelId: string;
   channelId: string;