src/app/modules/shared/interfaces/contentDetails.ts
Properties |
|
additionalCategories |
additionalCategories:
|
Type : Array<string>
|
Optional |
appIcon |
appIcon:
|
Type : string
|
Optional |
artifactUrl |
artifactUrl:
|
Type : string
|
Optional |
attributions |
attributions:
|
Type : Array<string>
|
Optional |
audience |
audience:
|
Type : any
|
Optional |
body |
body:
|
Type : any
|
code |
code:
|
Type : string
|
collections |
collections:
|
Type : any
|
Optional |
concepts |
concepts:
|
Type : any
|
Optional |
contentType |
contentType:
|
Type : string
|
contributors |
contributors:
|
Type : string
|
Optional |
copyright |
copyright:
|
Type : string
|
Optional |
createdBy |
createdBy:
|
Type : string
|
Optional |
createdOn |
createdOn:
|
Type : string
|
Optional |
creator |
creator:
|
Type : string
|
Optional |
creators |
creators:
|
Type : string
|
Optional |
description |
description:
|
Type : string
|
framework |
framework:
|
Type : string
|
gradeLevel |
gradeLevel:
|
Type : Array<string>
|
Optional |
identifier |
identifier:
|
Type : string
|
language |
language:
|
Type : Array<string>
|
Optional |
languageCode |
languageCode:
|
Type : string
|
Optional |
lastUpdatedOn |
lastUpdatedOn:
|
Type : string
|
Optional |
me_averageRating |
me_averageRating:
|
Type : string | number
|
mediaType |
mediaType:
|
Type : string
|
Optional |
medium |
medium:
|
Type : string
|
Optional |
mimeType |
mimeType:
|
Type : string
|
name |
name:
|
Type : string
|
organisationIds |
organisationIds:
|
Type : Array<string>
|
Optional |
originData |
originData:
|
Type : any
|
Optional |
osId |
osId:
|
Type : string
|
Optional |
owner |
owner:
|
Type : string
|
Optional |
pkgVersion |
pkgVersion:
|
Type : string
|
Optional |
primaryCategory |
primaryCategory:
|
Type : string
|
Optional |
publisher |
publisher:
|
Type : string
|
Optional |
status |
status:
|
Type : string
|
usedByContent |
usedByContent:
|
Type : any
|
Optional |
userId |
userId:
|
Type : string
|
userName |
userName:
|
Type : string
|
versionKey |
versionKey:
|
Type : string
|
visibility |
visibility:
|
Type : string
|
Optional |
export interface ContentDetails {
contentId: string;
contentData: ContentData;
courseId?: string;
batchId?: string;
}
export interface ContentData {
body: any;
mimeType: string;
contentType: string;
identifier: string;
versionKey: string;
name: string;
me_averageRating: string | number;
description: string;
appIcon?: string;
artifactUrl?: string;
audience?: any;
code: string;
collections?: any;
concepts?: any;
createdBy?: string;
createdOn?: string;
creator?: string;
contributors?: string;
attributions?: Array<string>;
creators?: string;
owner?: string;
framework: string;
gradeLevel?: Array<string>;
language?: Array<string>;
languageCode?: string;
lastUpdatedOn?: string;
mediaType?: string;
medium?: string;
organisationIds?: Array<string>;
osId?: string;
publisher?: string;
status: string;
usedByContent?: any;
userId: string;
userName: string;
pkgVersion?: string;
visibility?: string;
copyright?: string;
originData?: any;
primaryCategory?: string;
additionalCategories?: Array<string>;
}
export interface ContentCreditsData {
contributors: string;
creators: string;
attributions: string;
copyright?: string;
}