src/app/modules/shared/interfaces/content.ts
Content interface
action |
action: |
Type : IAction
|
Content action |
appIcon |
appIcon: |
Type : string
|
Content image |
badgeAssertions |
badgeAssertions: |
Type : IbadgeAssertions[]
|
Content badgeAssertions name |
contentType |
contentType: |
Type : string
|
Content contentType |
contnetShare |
contnetShare: |
Type : any
|
Content action |
courseId |
courseId: |
Type : string
|
Content courseId |
courseLogoUrl |
courseLogoUrl: |
Type : string
|
Content courseImage |
courseName |
courseName: |
Type : string
|
Content courseName |
description |
description: |
Type : string
|
Content description |
identifier |
identifier: |
Type : string
|
Content identifier |
leafNodesCount |
leafNodesCount: |
Type : number
|
Content leafNodes |
me_averageRating |
me_averageRating: |
Type : number
|
Content rating |
mimeType |
mimeType: |
Type : string
|
Content mimeType |
name |
name: |
Type : string
|
Content name |
progress |
progress: |
Type : number
|
Content progress |
resourceType |
resourceType: |
Type : string
|
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;
}