-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from gouravmore/mandatory-pdf
Issue #KN-63 feat: Mandatory & optional configuration
- Loading branch information
Showing
12 changed files
with
345 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
export const mockData = { | ||
playerConfig: { | ||
// tslint:disable-next-line:max-line-length | ||
metadata: {copyright: 'Tamilnadu', keywords: ['B515EPDF', 'B516EPDF', 'B517EPDF', 'EPDF', '3EPDFT3'], subject: ['Mathematics', 'Science', 'Social Science'], channel: '01235953109336064029450', language: ['English'], mimeType: 'application/pdf', gradeLevel: ['Class 3'], appIcon: 'https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31290118719492096012070/artifact/3_1535000262441.thumb.png', artifactUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/assets/do_2129420726199091201242/owncloud-manual.pdf', contentType: 'Resource', identifier: 'do_31290118719492096012070', audience: ['Learner'], visibility: 'Default', mediaType: 'content', osId: 'org.ekstep.quiz.app', languageCode: ['en'], license: 'CC BY 4.0', name: 'B515,B516,B517_STD_3_MATHS,SCIENCE,SOCIAL_TM_TERM 3_IOPT', status: 'Live', code: '51c5b565-4d3c-45d2-99cd-48a1a330a7c1', description: '3T3PDF', streamingUrl: 'https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/assets/do_31290118719492096012070/b515b516b517_std_3_mathssciencesocial_tm_term-3_iopt.pdf', medium: ['Tamil'], createdOn: '2019-11-27T10:52:32.504+0000', copyrightYear: 2019, lastUpdatedOn: '2019-12-16T11:50:37.503+0000', creator: 'SCERT 2 ECONTENTS', pkgVersion: 2, versionKey: '1576497038092', framework: 'tn_k-12_5', createdBy: 'f4f80b17-8609-44b9-b781-b79df5cf7e8d', board: 'State (Tamil Nadu)', resourceType: 'Read', orgDetails: {email: '[email protected]', orgName: 'Tamilnadu'}, licenseDetails: {name: 'CC BY 4.0', url: 'https://creativecommons.org/licenses/by/4.0/legalcode', description: 'For details see below:'}, body: {}} | ||
}, | ||
optionalPlayerConfig: { | ||
context: { | ||
mode: 'play', | ||
authToken: '', | ||
|
@@ -26,6 +30,6 @@ export const mockData = { | |
}, | ||
// eslint-disable-next-line max-len | ||
metadata: {copyright: 'Tamilnadu', keywords: ['B515EPDF', 'B516EPDF', 'B517EPDF', 'EPDF', '3EPDFT3'], subject: ['Mathematics', 'Science', 'Social Science'], channel: '01235953109336064029450', language: ['English'], mimeType: 'application/pdf', gradeLevel: ['Class 3'], appIcon: 'https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/do_31290118719492096012070/artifact/3_1535000262441.thumb.png', artifactUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/assets/do_2129420726199091201242/owncloud-manual.pdf', contentType: 'Resource', identifier: 'do_31290118719492096012070', audience: ['Learner'], visibility: 'Default', mediaType: 'content', osId: 'org.ekstep.quiz.app', languageCode: ['en'], license: 'CC BY 4.0', name: 'B515,B516,B517_STD_3_MATHS,SCIENCE,SOCIAL_TM_TERM 3_IOPT', status: 'Live', code: '51c5b565-4d3c-45d2-99cd-48a1a330a7c1', description: '3T3PDF', streamingUrl: 'https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/assets/do_31290118719492096012070/b515b516b517_std_3_mathssciencesocial_tm_term-3_iopt.pdf', medium: ['Tamil'], createdOn: '2019-11-27T10:52:32.504+0000', copyrightYear: 2019, lastUpdatedOn: '2019-12-16T11:50:37.503+0000', creator: 'SCERT 2 ECONTENTS', pkgVersion: 2, versionKey: '1576497038092', framework: 'tn_k-12_5', createdBy: 'f4f80b17-8609-44b9-b781-b79df5cf7e8d', board: 'State (Tamil Nadu)', resourceType: 'Read', orgDetails: {email: '[email protected]', orgName: 'Tamilnadu'}, licenseDetails: {name: 'CC BY 4.0', url: 'https://creativecommons.org/licenses/by/4.0/legalcode', description: 'For details see below:'}, body: {}}, | ||
data: {} | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.