src/app/modules/core/interfaces/enrolledCourses.ts
Properties |
|
action |
action:
|
Type : IAction
|
Optional |
object type of IAction |
batch |
batch:
|
Type : any
|
Optional |
batchId |
batchId:
|
Type : string
|
Optional |
course batch id |
courseId |
courseId:
|
Type : string
|
course id |
courseLogoUrl |
courseLogoUrl:
|
Type : string
|
Optional |
course image |
courseName |
courseName:
|
Type : string
|
course name |
description |
description:
|
Type : string
|
course description |
identifier |
identifier:
|
Type : string
|
Optional |
course identifier |
leafNodesCount |
leafNodesCount:
|
Type : number
|
number of nodes |
me_averageRating |
me_averageRating:
|
Type : number
|
Optional |
course rating |
progress |
progress:
|
Type : number
|
Optional |
course progress |
userId |
userId:
|
Type : string
|
user id |
import { ServerResponse, IAction } from '@sunbird/shared';
export interface IEnrolledCourses {
err: ServerResponse;
enrolledCourses: ICourses[];
}
export interface ICourses {
/**
* course name
*/
courseName: string;
/**
* course description
*/
description: string;
/**
* course batch id
*/
batchId?: string;
/**
* number of nodes
*/
leafNodesCount: number;
/**
* course progress
*/
progress?: number;
/**
* course image
*/
courseLogoUrl?: string;
/**
* course id
*/
courseId: string;
/**
* course identifier
*/
identifier?: string;
/**
* course rating
*/
me_averageRating?: number;
/**
* user id
*/
userId: string;
/**
* object type of IAction
*/
action?: IAction;
batch?: any;
}