File

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

Index

Properties

Properties

completedCount
completedCount: number
Type : number
content
content: Array<ContentList>
Type : Array<ContentList>
progress
progress: number
Type : number
totalCount
totalCount: 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 ""