src/app/modules/shared/interfaces/courseStates.ts
Properties |
batchId |
batchId:
|
Type : string
|
completedCount |
completedCount:
|
Type : number
|
contentId |
contentId:
|
Type : string
|
courseId |
courseId:
|
Type : string
|
lastAccessTime |
lastAccessTime:
|
Type : string
|
lastCompletedTime |
lastCompletedTime:
|
Type : string
|
status |
status:
|
Type : number
|
viewCount |
viewCount:
|
Type : number
|
import { ServerResponse } from './serverResponse';
export interface CourseStates {
err: ServerResponse;
courseProgressData: CourseProgress;
}
export interface CourseProgress {
[key: string]: CourseProgressData;
}
export interface CourseProgressData {
progress: number;
totalCount: number;
completedCount: number;
content: Array<ContentList>;
}
export interface ContentList {
lastAccessTime: string;
contentId: string;
batchId: string;
completedCount: number;
viewCount: number;
courseId: string;
lastCompletedTime: string;
status: number;
}