File

src/app/modules/shared/interfaces/courseStates.ts

Index

Properties

Properties

batchId
batchId: string
Type : string
completedCount
completedCount: number
Type : number
contentId
contentId: string
Type : string
courseId
courseId: string
Type : string
lastAccessTime
lastAccessTime: string
Type : string
lastCompletedTime
lastCompletedTime: string
Type : string
status
status: number
Type : number
viewCount
viewCount: number
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;
}

results matching ""

    No results matching ""