src/app/modules/shared/interfaces/content.ts
Content interface
Properties |
|
| action |
action:
|
Type : IAction
|
| Optional |
|
Content action |
| appIcon |
appIcon:
|
Type : string
|
| Optional |
|
Content image |
| badgeAssertions |
badgeAssertions:
|
Type : Array<IbadgeAssertions>
|
| Optional |
|
Content badgeAssertions name |
| contentType |
contentType:
|
Type : string
|
| Optional |
|
Content contentType |
| contnetShare |
contnetShare:
|
Type : any
|
| Optional |
|
Content action |
| courseId |
courseId:
|
Type : string
|
| Optional |
|
Content courseId |
| courseLogoUrl |
courseLogoUrl:
|
Type : string
|
| Optional |
|
Content courseImage |
| courseName |
courseName:
|
Type : string
|
| Optional |
|
Content courseName |
| description |
description:
|
Type : string
|
| Optional |
|
Content description |
| identifier |
identifier:
|
Type : string
|
| Optional |
|
Content identifier |
| leafNodesCount |
leafNodesCount:
|
Type : number
|
| Optional |
|
Content leafNodes |
| me_averageRating |
me_averageRating:
|
Type : number
|
| Optional |
|
Content rating |
| mimeType |
mimeType:
|
Type : string
|
| Optional |
|
Content mimeType |
| name |
name:
|
Type : string
|
| Optional |
|
Content name |
| progress |
progress:
|
Type : number
|
| Optional |
|
Content progress |
| resourceType |
resourceType:
|
Type : string
|
| Optional |
|
Content resourceType |
import { IAction } from './action';
/**
* Content interface
*/
export interface IContents {
/**
* Content name
*/
name?: string;
/**
* Content courseName
*/
courseName?: string;
/**
* Content description
*/
description?: string;
/**
* Content rating
*/
me_averageRating?: number;
/**
* Content leafNodes
*/
leafNodesCount?: number;
/**
* Content progress
*/
progress?: number;
/**
* Content image
*/
appIcon?: string;
/**
* Content courseImage
*/
courseLogoUrl?: string;
/**
* Content resourceType
*/
resourceType?: string;
/**
* Content contentType
*/
contentType?: string;
/**
* Content mimeType
*/
mimeType?: string;
/**
* Content identifier
*/
identifier?: string;
/**
* Content courseId
*/
courseId?: string;
/**
* Content badgeAssertions name
*/
badgeAssertions?: Array<IbadgeAssertions> ;
/**
* Content action
*/
action?: IAction;
/**
* Content action
*/
contnetShare?: any;
}
export interface IbadgeAssertions {
badgeClassName?: string;
}