actions |
Type : object
|
Default value : {
PROJECT_ACTIONS: [
{
title: "DOWNLOAD",
icon: "cloud-download",
action: "download",
color: 'primary',
id:'download'
},
{
title: "SHARE",
icon: "share",
action: "share",
color: 'primary',
id:'share'
},
{
title: "EDIT",
icon: "create",
action: "edit",
color: 'primary',
id:'edit'
},
{
title: "FRMELEMNTS_LBL_FILES",
icon: "folder-open",
action: "files",
color: 'primary',
id:'files'
},
{
title: "FRMELEMNTS_LBL_SYNCED",
icon: "sync-circle",
action: "synced",
color: 'success',
id:'synced'
}
],
SYNC_ACTION: {
title: "FRMELEMNTS_LBL_SYNC",
icon: "sync-circle",
action: "sync",
color: 'primary',
id:'sync'
},
SYNCED_ACTION: {
title: "FRMELEMNTS_LBL_SYNCED",
icon: "sync-circle",
action: "synced",
color: 'success',
id:'sync'
},
DOWNLOADED_ACTION: {
title: "FRMELEMNTS_LBL_DOWNLOADED",
icon: "checkmark-circle",
action: "downloaded",
color: 'success',
id:'downloaded'
},
NOT_DOWNLOADED: {
title: "DOWNLOAD",
icon: "cloud-download",
action: "download",
color: 'primary',
id:'download'
},
SUBMITTED_PROJECT_ACTIONS: [
{
title: "SHARE",
icon: "share",
action: "share",
color: 'primary',
id:'share'
},
{
title: "FRMELEMNTS_LBL_FILES",
icon: "folder-open",
action: "files",
color: 'primary',
id:'files'
}
],
CERTIFICATE_ACTION:{
title: "CERTIFICATE",
icon: "ribbon",
action: "certificate",
color: 'success',
id:'certificate'
},
TASK_FILE_DESCRIPTION:{
label:'FRMELEMNTS_LBL_TASK_ATTACHMENTS_DESCRIPTION'
},
PROJECT_FILE_DESCRIPTION:{
label:'FRMELEMNTS_LBL_PROJECT_ATTACHMENTS_DESCRIPTION'
},
FILE_UPLOAD_OPTIONS:[
{
title: "CAMERA",
icon: "camera",
action: "openCamera",
color: 'primary',
id:'camera'
},
{
title: "FRMELEMNTS_LBL_GALLERY",
icon: "images",
action: "openGallery",
color: 'primary',
id:'images'
},
{
title: "FRMELEMNTS_LBL_FILES",
icon: "document",
action: "openFiles",
color: 'primary',
id:'document'
},
{
title: "FRMELEMNTS_LBL_LINKS",
icon: "link-outline",
action: "openLink",
color: 'primary',
id:'openLink'
}
]
}
|
apiService |
Default value : () => {
return SunbirdSdk.instance.apiService;
}
|
authService |
Default value : () => {
return SunbirdSdk.instance.authService;
}
|
certificateService |
Default value : () => {
return SunbirdSdk.instance.certificateService;
}
|
contentFeedbackService |
Default value : () => {
return SunbirdSdk.instance.contentFeedbackService;
}
|
contentService |
Default value : () => {
return SunbirdSdk.instance.contentService;
}
|
courseService |
Default value : () => {
return SunbirdSdk.instance.courseService;
}
|
dbService |
Default value : () => {
return SunbirdSdk.instance.dbService;
}
|
debuggingService |
Default value : () => {
return SunbirdSdk.instance.debuggingService;
}
|
deviceInfo |
Default value : () => {
return SunbirdSdk.instance.deviceInfo;
}
|
deviceRegisterService |
Default value : () => {
return SunbirdSdk.instance.deviceRegisterService;
}
|
discussionService |
Default value : () => {
return SunbirdSdk.instance.discussionService;
}
|
downloadService |
Default value : () => {
return SunbirdSdk.instance.downloadService;
}
|
eventsBusService |
Default value : () => {
return SunbirdSdk.instance.eventsBusService;
}
|
formService |
Default value : () => {
return SunbirdSdk.instance.formService;
}
|
frameworkService |
Default value : () => {
return SunbirdSdk.instance.frameworkService;
}
|
frameworkUtilService |
Default value : () => {
return SunbirdSdk.instance.frameworkUtilService;
}
|
groupService |
Default value : () => {
return SunbirdSdk.instance.groupService;
}
|
notificationServiceV2 |
Default value : () => {
return SunbirdSdk.instance.notificationServiceV2;
}
|
pageAssembleService |
Default value : () => {
return SunbirdSdk.instance.pageAssembleService;
}
|
playerService |
Default value : () => {
return SunbirdSdk.instance.playerService;
}
|
profileService |
Default value : () => {
return SunbirdSdk.instance.profileService;
}
|
sbutility |
segmentationService |
Default value : () => {
return SunbirdSdk.instance.segmentationService;
}
|
sharedPreferences |
Default value : () => {
return SunbirdSdk.instance.sharedPreferences;
}
|
sunbirdSdkServicesProvidersFactory |
Type : Provider[]
|
Default value : sdkDriverFactory
|
systemSettingsService |
Default value : () => {
return SunbirdSdk.instance.systemSettingsService;
}
|
telemetryService |
Default value : () => {
return SunbirdSdk.instance.telemetryService;
}
|
PrimaryCaregoryMapping |
Type : object
|
Default value : {
"digital textbooks": {
icon: 'assets/imgs/textbook.svg'
},
"courses": {
icon: 'assets/imgs/course.svg'
},
"tv programs": {
icon: 'assets/imgs/tv.svg'
},
"documents": {
icon: 'assets/imgs/documents.svg'
},
"videos": {
icon: 'assets/imgs/videos.svg'
},
"default": {
icon: 'assets/imgs/all_content.svg'
}
}
|
SubjectMapping |
Type : object
|
Default value : {
english: {
icon: 'assets/imgs/book_english.svg',
theme: {
iconBgColor: ColorMapping[0].primary,
pillBgColor: ColorMapping[0].secondary
}
},
mathematics: {
icon: 'assets/imgs/calculator.svg',
theme: {
iconBgColor: ColorMapping[1].primary,
pillBgColor: ColorMapping[1].secondary
}
},
science: {
icon: 'assets/imgs/globe.svg',
theme: {
iconBgColor: ColorMapping[2].primary,
pillBgColor: ColorMapping[2].secondary
}
},
default: {
icon: 'assets/imgs/book_default.svg',
theme: null
}
}
|
bootstrap |
Default value : () => platformBrowserDynamic().bootstrapModule(AppModule)
|
checkedStatusFalse |
Type : object
|
Default value : {
hasPermission: false
}
|
content |
Type : object
|
Default value : {
identifier: '123456',
name: 'content name',
contentData: {},
mimeType: 'application/pdf',
basePath: './app',
contentType: 'content',
referenceCount: '12',
lastUpdatedTime: '45-8-2020',
isAvailableLocally: true,
isUpdateAvailable: true,
children: [],
hierarchyInfo: [],
sizeOnDevice: 123456,
lastUsedTime: 12345,
rollup: '',
contentFeedback: [],
contentAccess: [],
contentMarker: [],
primaryCategory: 'abcd'
}
|
downloadrequested |
Type : object
|
Default value : {
uri: 'https://downloadContent',
title: '',
description: 'content description',
mimeType: 'application/pdf',
visibleInDownloadsUi: true,
notificationVisibility: 1,
destinationInExternalPublicDir: {
dirType: 'Download',
subPath: 'download/subpath'
},
headers: []
}
|
requestedStatusTrue |
Type : object
|
Default value : {
hasPermission: true
}
|
configuration |
Type : object
|
Default value : {
production: false,
hmr: false,
debug: true
}
|
configuration |
Type : object
|
Default value : {
production: false,
hmr: true,
debug: false
}
|
configuration |
Type : object
|
Default value : {
production: true,
hmr: false,
debug: false
}
|
configuration |
Type : object
|
Default value : {
production: false,
hmr: false,
debug: false
}
|
contentDetailsMcokResponse1 |
Type : any
|
Default value : {
identifier: 'do_21281258639073280011490',
contentData: {
ownershipType: [
'createdBy'
],
copyright: 'Odisha',
me_totalDownloads: '1234.1234',
keywords: [
'test'
],
subject: 'Physics',
downloadUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
channel: '01269936129926758441',
organisation: [
'Odisha'
],
language: [
'English',
'Kannada'
],
variants: {
online: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681998_do_21281258639073280011490_2.0_online.ecar',
size: 14437
},
spine: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
size: 136688
}
},
mimeType: 'application/vnd.ekstep.content-collection',
leafNodes: [
'do_212686708394631168156',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21266836993792409612969',
'do_212686673493696512119',
'do_2127319848127283201364',
'do_21265698034243174413049'
],
appIcon: ' ',
gradeLevel: [
'Class 2', 'Class 3'
],
attributions: ['gd_1', 'gd_2'],
me_averageRating: 1,
contentFeedback: [{ rating: 'SAMPLE_RATING' }],
appId: 'staging.sunbird.app',
contentEncoding: 'gzip',
c_Sunbird_Stage_open_batch_count: 1,
lockKey: '2e55369b-53e3-4e96-8ef1-25bd6da0642a',
mimeTypesCount: '{\'application/vnd.ekstep.h5p-archive\:1,\'application/vnd.ekstep.html-archive\:1,\'video/webm\:1,\'application/pdf\:1,\'application/epub\:1,\'application/vnd.ekstep.content-collection\:7,\'video/x-youtube\:1,\'video/mp4\:1}',
totalCompressedSize: 9617867,
contentCredits: [
{
id: '0125683555607347207',
name: 'Sachin 2808',
type: 'user'
}
],
contentType: 'Course',
lastUpdatedBy: 'ab467e6e-1f32-453c-b1d8-c6b5fa6c7b9e',
identifier: 'do_21281258639073280011490',
audience: [
'Learner'
],
visibility: 'Default',
toc_url: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21281258639073280011490/artifact/do_21281258639073280011490_toc.json',
contentTypesCount: '{\'CourseUnit\:7,\'Resource\:7}',
childNodes: [
'do_21281258639128166411497',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21281258639126528011492',
'do_21281258639126528011493',
'do_21266836993792409612969',
'do_21281258639127347211494',
'do_21281258639127347211495',
'do_21281258639127347211496',
'do_21265698034243174413049',
'do_21281258639125708811491',
'do_212686708394631168156',
'do_212686673493696512119',
'do_2127319848127283201364'
],
consumerId: 'a9cb3a83-a164-4bf0-aa49-b834cebf1c07',
mediaType: 'content',
osId: 'org.ekstep.quiz.app',
ageGroup: [
'5-6'
],
languageCode: [
'en',
'ka'
],
lastPublishedBy: 'dca7518d-5886-4251-94aa-360c762b1182',
version: 2,
c_sunbird_stage_open_batch_count: 1,
tags: [
'test'
],
prevState: 'Review',
license: 'Creative Commons Attribution (CC BY)',
lastPublishedOn: '2019-07-25T06:54:41.549+0000',
size: '136688',
domain: [
'Artificial_Intelligence'
],
name: 'SB-13081-2',
topic: [
'Teaching and Classroom Management'
],
status: '',
code: 'org.sunbird.64hCxM.copy',
purpose: 'Teaching Techniques',
origin: 'do_21281254676783104011480',
description: 'Enter description for Course',
medium: 'English',
idealScreenSize: 'normal',
posterImage: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_2127857103817932801565/artifact/1500_1560755661944.jpg',
createdOn: '2019-07 - 25T06: 33: 44.651+0000',
c_Sunbird_Stage_private_batch_count: 0,
contentDisposition: 'inline',
lastUpdatedOn: '2019-07 - 25T06: 54: 40.288+0000',
originData: {
license: 'Creative Commons Attribution(CC BY)',
name: 'SB- 13081',
},
SYS_INTERNAL_LAST_UPDATED_ON: '2019 - 08 - 09T18: 33: 01.908 + 0000',
dialcodeRequired: 'No',
creator: 'Qualitrix Content Creator Cr',
createdFor: [
'0124784842112040965'
],
lastStatusChangedOn: '2019 - 07 - 25T06: 54: 40.275 + 0000',
os: [
'All'
],
pkgVersion: '2',
versionKey: '1564037680856',
idealScreenDensity: 'hdpi',
s3Key: 'ecar_files / do_21281258639073280011490 / sb - 13081 -2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
depth: 0,
dialcodes: [
'H7L1Q1'
],
framework: 'TPD',
lastSubmittedOn: '2019 - 07 - 25T06: 53: 44.465 + 0000',
createdBy: 'ab467e6e - 1f32 - 453c - b1d8 - c6b5fa6c7b9e',
leafNodesCount: 7,
compatibilityLevel: 4,
resourceType: 'Course',
licenseDetails: { description: '', name: '', url: '' },
// isAvailableLocally: false
},
contentFeedback: [{
contentId: 'd0_123456',
rating: 1,
comments: 'string',
createdAt: 1,
stageId: 'string',
contentVersion: 'string',
}],
isUpdateAvailable: true,
mimeType: 'application / vnd.ekstep.content - collection',
basePath: '../android/path/',
contentType: 'course',
isAvailableLocally: true,
referenceCount: 0,
sizeOnDevice: 0,
lastUsedTime: 0,
lastUpdatedTime: 0,
contentAccess: [],
}
|
contentDetailsMcokResponse2 |
Type : any
|
Default value : {
identifier: 'do_21281258639073280011490',
contentData: {
ownershipType: [
'createdBy'
],
copyright: 'Odisha',
me_totalDownloads: '1234.1234',
keywords: [
'test'
],
subject: 'Physics',
downloadUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
channel: '01269936129926758441',
organisation: [
'Odisha'
],
language: [
'English',
'Kannada'
],
variants: {
online: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681998_do_21281258639073280011490_2.0_online.ecar',
size: 14437
},
spine: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
size: 136688
}
},
mimeType: 'application/vnd.ekstep.content-collection',
leafNodes: [
'do_212686708394631168156',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21266836993792409612969',
'do_212686673493696512119',
'do_2127319848127283201364',
'do_21265698034243174413049'
],
appIcon: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21281254676783104011480/artifact/1500_1560755661944.thumb.jpg',
gradeLevel: [
'Class 2', 'Class 3'
],
attributions: ['gd_1', 'gd_2'],
me_averageRating: 1,
contentFeedback: [{ rating: 'SAMPLE_RATING' }],
appId: 'staging.sunbird.app',
contentEncoding: 'gzip',
c_Sunbird_Stage_open_batch_count: 1,
lockKey: '2e55369b-53e3-4e96-8ef1-25bd6da0642a',
mimeTypesCount: '{\'application/vnd.ekstep.h5p-archive\:1,\'application/vnd.ekstep.html-archive\:1,\'video/webm\:1,\'application/pdf\:1,\'application/epub\:1,\'application/vnd.ekstep.content-collection\:7,\'video/x-youtube\:1,\'video/mp4\:1}',
totalCompressedSize: 9617867,
contentCredits: [
{
id: '0125683555607347207',
name: 'Sachin 2808',
type: 'user'
}
],
contentType: 'Course',
lastUpdatedBy: 'ab467e6e-1f32-453c-b1d8-c6b5fa6c7b9e',
identifier: 'do_21281258639073280011490',
audience: [
'Learner'
],
visibility: 'Default',
toc_url: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21281258639073280011490/artifact/do_21281258639073280011490_toc.json',
contentTypesCount: '{\'CourseUnit\:7,\'Resource\:7}',
childNodes: [
'do_21281258639128166411497',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21281258639126528011492',
'do_21281258639126528011493',
'do_21266836993792409612969',
'do_21281258639127347211494',
'do_21281258639127347211495',
'do_21281258639127347211496',
'do_21265698034243174413049',
'do_21281258639125708811491',
'do_212686708394631168156',
'do_212686673493696512119',
'do_2127319848127283201364'
],
consumerId: 'a9cb3a83-a164-4bf0-aa49-b834cebf1c07',
mediaType: 'content',
osId: 'org.ekstep.quiz.app',
ageGroup: [
'5-6'
],
languageCode: [
'en',
'ka'
],
lastPublishedBy: 'dca7518d-5886-4251-94aa-360c762b1182',
version: 2,
c_sunbird_stage_open_batch_count: 1,
tags: [
'test'
],
prevState: 'Review',
license: 'Creative Commons Attribution (CC BY)',
lastPublishedOn: '2019-07-25T06:54:41.549+0000',
size: '136688',
domain: [
'Artificial_Intelligence'
],
name: 'SB-13081-2',
topic: [
'Teaching and Classroom Management'
],
status: '',
code: 'org.sunbird.64hCxM.copy',
purpose: 'Teaching Techniques',
origin: 'do_21281254676783104011480',
description: 'Enter description for Course',
medium: 'English',
idealScreenSize: 'normal',
posterImage: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_2127857103817932801565/artifact/1500_1560755661944.jpg',
createdOn: '2019-07 - 25T06: 33: 44.651+0000',
c_Sunbird_Stage_private_batch_count: 0,
contentDisposition: 'inline',
lastUpdatedOn: '2019-07 - 25T06: 54: 40.288+0000',
originData: {
license: 'Creative Commons Attribution(CC BY)',
name: 'SB- 13081',
},
SYS_INTERNAL_LAST_UPDATED_ON: '2019 - 08 - 09T18: 33: 01.908 + 0000',
dialcodeRequired: 'No',
creator: 'Qualitrix Content Creator Cr',
createdFor: [
'0124784842112040965'
],
lastStatusChangedOn: '2019 - 07 - 25T06: 54: 40.275 + 0000',
os: [
'All'
],
pkgVersion: '2',
versionKey: '1564037680856',
idealScreenDensity: 'hdpi',
s3Key: 'ecar_files / do_21281258639073280011490 / sb - 13081 -2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
depth: 0,
dialcodes: [
'H7L1Q1'
],
framework: 'TPD',
lastSubmittedOn: '2019 - 07 - 25T06: 53: 44.465 + 0000',
createdBy: 'ab467e6e - 1f32 - 453c - b1d8 - c6b5fa6c7b9e',
leafNodesCount: 7,
compatibilityLevel: 4,
resourceType: 'Course',
licenseDetails: { description: '', name: '', url: '' },
// isAvailableLocally: false
},
contentFeedback: [{
contentId: 'd0_123456',
rating: 1,
comments: 'string',
createdAt: 1,
stageId: 'string',
contentVersion: 'string',
}],
isUpdateAvailable: false,
mimeType: 'application / vnd.ekstep.content - collection',
basePath: '../android/path/',
contentType: 'course',
isAvailableLocally: true,
referenceCount: 0,
sizeOnDevice: 0,
lastUsedTime: 0,
lastUpdatedTime: 0,
contentAccess: [],
}
|
contentDetailsMcokResponse3 |
Type : any
|
Default value : {
identifier: 'do_21281258639073280011490',
contentData: {
ownershipType: [
'createdBy'
],
copyright: 'Odisha',
me_totalDownloads: '1234.1234',
keywords: [
'test'
],
subject: 'Physics',
downloadUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
channel: '01269936129926758441',
organisation: [
'Odisha'
],
language: [
'English',
'Kannada'
],
variants: {
online: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681998_do_21281258639073280011490_2.0_online.ecar',
size: 14437
},
spine: {
ecarUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/ecar_files/do_21281258639073280011490/sb-13081-2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
size: 136688
}
},
mimeType: 'application/vnd.ekstep.content-collection',
leafNodes: [
'do_212686708394631168156',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21266836993792409612969',
'do_212686673493696512119',
'do_2127319848127283201364',
'do_21265698034243174413049'
],
appIcon: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21281254676783104011480/artifact/1500_1560755661944.thumb.jpg',
gradeLevel: [
'Class 2', 'Class 3'
],
attributions: ['gd_1', 'gd_2'],
me_averageRating: 1,
contentFeedback: [{ rating: 'SAMPLE_RATING' }],
appId: 'staging.sunbird.app',
contentEncoding: 'gzip',
c_Sunbird_Stage_open_batch_count: 1,
lockKey: '2e55369b-53e3-4e96-8ef1-25bd6da0642a',
mimeTypesCount: '{\'application/vnd.ekstep.h5p-archive\:1,\'application/vnd.ekstep.html-archive\:1,\'video/webm\:1,\'application/pdf\:1,\'application/epub\:1,\'application/vnd.ekstep.content-collection\:7,\'video/x-youtube\:1,\'video/mp4\:1}',
totalCompressedSize: 9617867,
contentCredits: [
{
id: '0125683555607347207',
name: 'Sachin 2808',
type: 'user'
}
],
contentType: 'Course',
lastUpdatedBy: 'ab467e6e-1f32-453c-b1d8-c6b5fa6c7b9e',
identifier: 'do_21281258639073280011490',
audience: [
'Learner'
],
visibility: 'Default',
toc_url: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_21281258639073280011490/artifact/do_21281258639073280011490_toc.json',
contentTypesCount: '{\'CourseUnit\:7,\'Resource\:7}',
childNodes: [
'do_21281258639128166411497',
'do_212686715674877952160',
'do_212608790640934912148',
'do_21281258639126528011492',
'do_21281258639126528011493',
'do_21266836993792409612969',
'do_21281258639127347211494',
'do_21281258639127347211495',
'do_21281258639127347211496',
'do_21265698034243174413049',
'do_21281258639125708811491',
'do_212686708394631168156',
'do_212686673493696512119',
'do_2127319848127283201364'
],
consumerId: 'a9cb3a83-a164-4bf0-aa49-b834cebf1c07',
mediaType: 'content',
osId: 'org.ekstep.quiz.app',
ageGroup: [
'5-6'
],
languageCode: [
'en',
'ka'
],
lastPublishedBy: 'dca7518d-5886-4251-94aa-360c762b1182',
version: 2,
c_sunbird_stage_open_batch_count: 1,
tags: [
'test'
],
prevState: 'Review',
license: 'Creative Commons Attribution (CC BY)',
lastPublishedOn: '2019-07-25T06:54:41.549+0000',
size: '136688',
domain: [
'Artificial_Intelligence'
],
name: 'SB-13081-2',
topic: [
'Teaching and Classroom Management'
],
status: '',
code: 'org.sunbird.64hCxM.copy',
purpose: 'Teaching Techniques',
origin: 'do_21281254676783104011480',
description: 'Enter description for Course',
medium: 'English',
idealScreenSize: 'normal',
posterImage: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/do_2127857103817932801565/artifact/1500_1560755661944.jpg',
createdOn: '2019-07 - 25T06: 33: 44.651+0000',
c_Sunbird_Stage_private_batch_count: 0,
contentDisposition: 'inline',
lastUpdatedOn: '2019-07 - 25T06: 54: 40.288+0000',
originData: {
license: 'Creative Commons Attribution(CC BY)',
name: 'SB- 13081',
},
SYS_INTERNAL_LAST_UPDATED_ON: '2019 - 08 - 09T18: 33: 01.908 + 0000',
dialcodeRequired: 'No',
creator: 'Qualitrix Content Creator Cr',
createdFor: [
'0124784842112040965'
],
lastStatusChangedOn: '2019 - 07 - 25T06: 54: 40.275 + 0000',
os: [
'All'
],
pkgVersion: '2',
versionKey: '1564037680856',
idealScreenDensity: 'hdpi',
s3Key: 'ecar_files / do_21281258639073280011490 / sb - 13081 -2_1564037681733_do_21281258639073280011490_2.0_spine.ecar',
depth: 0,
dialcodes: [
'H7L1Q1'
],
framework: 'TPD',
lastSubmittedOn: '2019 - 07 - 25T06: 53: 44.465 + 0000',
createdBy: 'ab467e6e - 1f32 - 453c - b1d8 - c6b5fa6c7b9e',
leafNodesCount: 7,
compatibilityLevel: 4,
resourceType: 'Course',
licenseDetails: { description: '', name: '', url: '' },
},
contentFeedback: [{
contentId: 'd0_123456',
rating: 1,
comments: 'string',
createdAt: 1,
stageId: 'string',
contentVersion: 'string',
}],
isUpdateAvailable: true,
mimeType: 'application / vnd.ekstep.content - collection',
basePath: '../android/path/',
contentType: 'course',
isAvailableLocally: false,
referenceCount: 0,
sizeOnDevice: 0,
lastUsedTime: 0,
lastUpdatedTime: 0,
contentAccess: [],
}
|
mockContentData |
Type : object
|
Default value : {
content: {
identifier: 'do_21280756435836108811838',
contentData: {
mimeType: 'application/vnd.ekstep.ecml-archive',
contentType: 'Resource',
identifier: 'do_21280756435836108811838',
version: 2,
size: 6194293,
streamingUrl: 'https://ntpstagingall.blob.core.windows.net/ntp-content-staging/content/ecml/do_21280756435836108811838-latest',
totalScore: 1,
pkgVersion: 8,
},
isUpdateAvailable: false,
mimeType: 'application/vnd.ekstep.ecml-archive',
contentType: 'resource',
isAvailableLocally: false,
hierarchyInfo: [
{
identifier: 'do_212810592322265088178',
contentType: 'textbook'
},
{
identifier: 'do_212810592541261824179',
contentType: 'textbookunit'
},
{
identifier: 'do_2128084096298352641378',
contentType: 'lessonplan'
},
{
identifier: 'do_2128084109778042881381',
contentType: 'lessonplanunit'
}
]
}
}
|
mockContentInfo |
Type : object
|
Default value : {
telemetryObject: {
id: 'do_21280756435836108811838',
type: 'Resource',
version: 8
},
rollUp: {
l1: 'do_212810592322265088178',
l2: 'do_212810592541261824179',
l3: 'do_2128084096298352641378',
l4: 'do_2128084109778042881381'
},
hierachyInfo: [
{
identifier: 'do_212810592322265088178',
contentType: 'textbook'
},
{
identifier: 'do_212810592541261824179',
contentType: 'textbookunit'
},
{
identifier: 'do_2128084096298352641378',
contentType: 'lessonplan'
},
{
identifier: 'do_2128084109778042881381',
contentType: 'lessonplanunit'
}
]
}
|
mockcontentHirerachyResponse |
Type : object
|
Default value : {
children: mockChildrenData
}
|
mockContentStatusData |
Type : object
|
Default value : {
contentList: [
{
contentId: 'do_135241341148'
},
{
contentId: 'do_135241345727'
}
]
}
|
mockCourseCardData |
Type : object
|
Default value : {
mimeTypesCount: '{\'video/webm\':1,\'application/vnd.ekstep.content-collection\':2,\'video/mp4\':1}',
identifier: 'do_2127509908237926401406',
size: 73058,
name: 'Today today 29',
status: 'Live',
pkgVersion: 1,
compatibilityLevel: 4,
ownedBy: '0124784842112040965',
resourceType: 'Course',
node_id: 526456,
batch: {
identifier: '0127580528849387521',
endDate: null,
createdBy: 'ab467e6e-1f32-453c-b1d8-c6b5fa6c7b9e',
name: '9may open batch',
enrollmentType: 'open',
startDate: '2019-05-09',
status: 1
}
}
|
mockCourseCardData_2 |
Type : object
|
Default value : {
mimeTypesCount: '{\'video/webm\':1,\'application/vnd.ekstep.content-collection\':2,\'video/mp4\':1}',
identifier: 'do_2127509908237926401406',
size: 73058,
name: 'Today today 29',
status: 'Live',
contentId: 'do_091231312312',
pkgVersion: 1,
compatibilityLevel: 4,
ownedBy: '0124784842112040965',
resourceType: 'Course',
node_id: 526456,
batchId: '0127580528849387521'
}
|
mockImportContentResponse |
Type : []
|
Default value : [
{
identifier: 'do_21274246255366963214046',
status: 0
},
{
identifier: 'do_21274246302428364814048',
status: 0
}
]
|
contentTypeList |
Type : Array<string>
|
Default value : [
'Story',
'Worksheet',
'Collection',
'LessonPlan',
'TextBook'
]
|
domainList |
Type : Array<string>
|
Default value : [
'numeracy',
'literacy',
'science'
]
|
languageList |
Type : Array<string>
|
Default value : [
'Assamese',
'Bengali',
'English',
'Gujarati',
'Hindi',
'Kannada',
'Marathi',
'Punjabi',
'Tamil',
'Telugu',
'Urdu'
]
|
cordova |
window |
cordova |
cordova |
cordova |
cordova |
cordova |
window |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
cordova |
Type : any
|
COURSE_TAB |
Type : object
|
Default value : {
root: 'courses',
icon: 'courses',
label: 'TAB_3',
index: 2
}
|
COURSE_TAB_DISABLED |
Type : object
|
Default value : {
root: '',
icon: 'courses',
label: 'TAB_3',
index: 2,
disabled: true
}
|
DOWNLOADS_TAB |
Type : object
|
Default value : {
root: 'download-manager',
icon: 'downloads',
label: 'TAB_5',
index: 4
}
|
GUEST_HOME_SEARCH_TABS |
Type : []
|
Default value : [
HOME_TAB,
SEARCH_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
GUEST_PROFILE_TAB
]
|
GUEST_PROFILE_SWITCH_TAB |
Type : object
|
Default value : {
root: 'guest-profile',
icon: 'profile',
label: 'TAB_6',
index: 5,
isSelected: true
}
|
GUEST_PROFILE_TAB |
Type : object
|
Default value : {
root: 'guest-profile',
icon: 'profile',
label: 'TAB_6',
index: 5
}
|
GUEST_STUDENT_TABS |
Type : []
|
Default value : [
LIBRARY_TAB,
COURSE_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
GUEST_PROFILE_TAB
]
|
GUEST_TEACHER_TABS |
Type : []
|
Default value : [
LIBRARY_TAB,
COURSE_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
GUEST_PROFILE_TAB
]
|
HOME_TAB |
Type : object
|
Default value : {
root: 'home',
icon: 'home',
label: 'TAB_2',
index: 1,
isSelected: true
}
|
LIBRARY_TAB |
Type : object
|
Default value : {
root: 'resources',
icon: 'resources',
label: 'TAB_1',
index: 1,
isSelected: true
}
|
LOGGEDIN_HOME_SEARCH_TABS |
Type : []
|
Default value : [
HOME_TAB,
SEARCH_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
PROFILE_TAB
]
|
LOGIN_ADMIN_TABS |
Type : []
|
Default value : [
HOME_TAB,
COURSE_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
PROFILE_TAB
]
|
LOGIN_TEACHER_TABS |
Type : []
|
Default value : [
LIBRARY_TAB,
COURSE_TAB,
SCANNER_TAB,
DOWNLOADS_TAB,
PROFILE_TAB
]
|
PROFILE_TAB |
Type : object
|
Default value : {
root: 'profile',
icon: 'profile',
label: 'TAB_6',
index: 5
}
|
SCANNER_TAB |
Type : object
|
Default value : {
root: '',
icon: 'qrscanner',
label: '',
index: 3
}
|
SEARCH_TAB |
Type : object
|
Default value : {
root: 'search',
icon: 'discover',
label: 'TAB_4',
index: 2
}
|
environment |
Type : object
|
Default value : {
db: {
projects: "project.db",
categories: "categories.db",
}
}
|
environment |
Type : object
|
Default value : {
db: {
projects: 'project.db',
categories: 'categories.db'
},
deepLinkAppsUrl: ''
}
|
environment |
Type : object
|
Default value : {
db: {
projects: "project.db",
categories: "categories.db",
},
deepLinkAppsUrl: ''
}
|
environment |
Type : object
|
Default value : {
db: {
projects: "project.db",
categories: "categories.db",
},
deepLinkAppsUrl: ''
}
|
expectedFaqs |
Type : []
|
Default value : [
{
topic: 'AppName',
description: 'AppName',
},{
topic: 'AppName',
description: 'AppName',
}
]
|
mockFaqData |
Type : object
|
Default value : {
constants: {},
faqs: [
{
topic: '{{APP_NAME}}',
description: '{{APP_NAME}}',
},{
topic: 'AppName',
description: 'AppName',
}
]
}
|
FCMPlugin |
featureIdMap |
Type : object
|
Default value : {
downloadManager: {
DOWNLOADS_DELETE: [
{
id: 'download_manager:downloads:delete',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
DOWNLOADS_SORT: [
{
id: 'download_manager:downloads:sort',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
ACTIVE_DOWNLOADS_CANCEL: [
{
id: 'download_manager:active_downloads:cancel',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
STORAGE_SETTINGS_TRANSFER: [
{
id: 'download_manager:storage_settings:transfer',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
},
searchHistory: {
SEARCH_HISTORY_QUERY_FROM_HISTORY: [
{
id: 'search_history:query_from_history',
type: 'Feature'
},
{
id: 'SB-13533',
type: 'Task'
}
],
},
location: {
LOCATION_CAPTURE: [
{
id: 'user:location_capture',
type: 'Feature'
},
{
id: 'SB-14682',
type: 'Task'
}
],
},
userVerification: {
EXTERNAL_USER_VERIFICATION: [
{
id: 'user:state:externalId',
type: 'Feature'
},
{
id: 'SC-1362',
type: 'Task'
}
],
}
}
|
featureIdMap |
Type : object
|
Default value : {
downloadManager: {
DOWNLOADS_DELETE: [
{
id: 'download_manager:downloads:delete',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
DOWNLOADS_SORT: [
{
id: 'download_manager:downloads:sort',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
ACTIVE_DOWNLOADS_CANCEL: [
{
id: 'download_manager:active_downloads:cancel',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
STORAGE_SETTINGS_TRANSFER: [
{
id: 'download_manager:storage_settings:transfer',
type: 'Feature'
},
{
id: 'SB-3800',
type: 'Task'
}
],
},
searchHistory: {
SEARCH_HISTORY_QUERY_FROM_HISTORY: [
{
id: 'search_history:query_from_history',
type: 'Feature'
},
{
id: 'SB-13533',
type: 'Task'
}
],
}
}
|
FILE_EXTENSION_HEADERS |
Type : object
|
Default value : {
aac: "audio/aac",
abw: "application/x-abiword",
arc: "application/x-freearc",
avi: "video/mp4",
azw: "application/vnd.amazon.ebook",
bin: "application/octet-stream",
bmp: "image/bmp",
bz: "application/x-bzip",
bz2: "application/x-bzip2",
csh: "application/x-csh",
css: "text/css",
csv: "text/csv",
doc: "application/msword",
docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
eot: "application/vnd.ms-fontobject",
epub: "application/epub+zip",
gif: "image/gif",
htm: "text/html",
html: "text/html",
ico: "image/vnd.microsoft.icon",
ics: "text/calendar",
jar: "application/java-archive",
jpeg: "image/jpeg",
JPEG: "image/jpeg",
jpg: "image/jpeg",
JPG: "image/jpeg",
js: "text/javascript",
json: "application/json",
jsonld: "application/ld+json",
mid: "audio/midi",
midi: "audio/midi",
mjs: "text/javascript",
mp3: "audio/mpeg",
mpeg: "video/mp4",
mpkg: "application/vnd.apple.installer+xml",
odp: "application/vnd.oasis.opendocument.presentation",
ods: "application/vnd.oasis.opendocument.spreadsheet",
odt: "application/vnd.oasis.opendocument.text",
oga: "audio/ogg",
ogv: "video/mp4",
ogx: "application/ogg",
otf: "font/otf",
png: "image/jpeg",
pdf: "application/pdf",
ppt: "application/vnd.ms-powerpoint",
pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
rar: "application/x-rar-compressed",
rtf: "application/rtf",
sh: "application/x-sh",
svg: "image/svg+xml",
swf: "application/x-shockwave-flash",
tar: "application/x-tar",
tif: "image/tiff",
tiff: "image/tiff",
ttf: "font/ttf",
txt: "text/plain",
vsd: "application/vnd.visio",
wav: "audio/wav",
weba: "audio/webm",
webm: "video/mp4",
webp: "image/webp",
woff: "font/woff",
woff2: "font/woff2",
xhtml: "application/xhtml+xml",
xls: "application/vnd.ms-excel",
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
xml: "application/xml ",
xul: "application/vnd.mozilla.xul+xml",
zip: "application/zip",
"3gp": "video/mp4",
"3g2": "video/mp4",
"7z": "application/x-7z-compressed",
mp4: "video/mp4",
mov: "video/mp4",
mkv:"video/mp4",
wmv: "video/mp4",
ogg: "video/mp4",
m4v:"video/mp4",
flv:"video/mp4",
MOV: "video/mp4",
}
|
FileExtension |
Type : object
|
Default value : {
videoFormats: ["mp4", "WMV", "WEBM", "flv", "avi", "3GP", "OGG", "m4v", "mov", "mkv","mpeg","ogg","webm", "3gpp", "wmv", "avi","flv", "MOV"],
audioFormats: ["AIF", "cda", "mpa", "ogg", "wav", "wma", "mp3"],
pptFormats: ["ppt", "pptx", "pps", "ppsx"],
wordFormats: ["docx", "doc", "docm", "dotx"],
imageFormats: ["jpg", "png", "jpeg"],
pdfFormats: ["pdf"],
spreadSheetFormats: ["xls", "xlsx"],
}
|
FilterCriteriaData |
Type : object
|
Default value : {
facetFilters: [
{
name: 'board',
values: [ { name: 'sample_board_1', apply: true }, { name: 'sample_board_2', apply: false } ]
},
{
name: 'medium',
values: [ { name: 'sample_medium_1', apply: true }, { name: 'sample_medium_2', apply: false } ]
},
{
name: 'gradeLevel',
values: [ { name: 'sample_gradeLevel_1', apply: true }, { name: 'sample_gradeLevel_2', apply: false } ]
},
{
name: 'subject',
values: [ { name: 'sample_subject_1', apply: true }, { name: 'sample_subject_2', apply: false } ]
},
{
name: 'mimeType',
values: [ { name: 'sample_mimeType_1', apply: true }, { name: 'sample_mimeType_2', apply: false } ]
},
{
name: 'primaryCategory',
values: [ { name: 'sample_primaryCategory_1', apply: true }, { name: 'sample_primaryCategory_2', apply: false } ]
},
{
name: 'audience',
values: [ { name: 'sample_audience_1', apply: true }, { name: 'sample_audience_2', apply: false } ]
}
]
}
|
KEY_SUNBIRD_CONFIG_FILE_PATH |
Type : string
|
Default value : 'sunbird_config_file_path'
|
SUBJECT_NAME |
Type : string
|
Default value : 'support request'
|
KEY_SUNBIRD_CONFIG_FILE_PATH |
Type : string
|
Default value : 'sunbird_config_file_path'
|
localStorageConstants |
Type : object
|
Default value : {
PROJECT_META_FORM: "projectForm",
TASK_META_FORM: "taskForm",
PROFILE_DATA:"profileData",
DYNAMIC_LINKS: "dynamicLinks",
SYNC_VARIABLE: "syncSettings",
FIRST_TIME: "FirstTime",
USER_DETAILS:"usersInfo",
SELECTED_LANGUAGE: "selectedLanguage",
LIBRARY_CATEGORIES:"libraryCategories",
FILE_LIMIT:50000000
}
|
menuConstants |
Type : object
|
Default value : {
TASK: [
{
TITLE: 'EDIT',
VALUE: 'editTask',
ICON: 'create'
},
{
TITLE: 'FRMELEMNTS_LBL_SHARE',
VALUE: 'shareTask',
ICON: 'share'
}
],
PROJECT: [
{
TITLE: 'EDIT',
VALUE: 'editProject',
ICON: 'create'
},
// {
// TITLE: 'DELETE',
// VALUE: 'deleteProject',
// ICON: 'trash'
// },
{
TITLE: 'FRMELEMNTS_LBL_FILES',
VALUE: 'fileProject',
ICON: 'document'
},
{
TITLE: 'FRMELEMNTS_LBL_SHARE',
VALUE: 'shareProject',
ICON: 'share'
}],
}
|
mockBoardCategory |
Type : []
|
Default value : [
{
name: 'Board',
translations: '{\"en\":\"Board\"}',
code: 'board',
frameworkCategory: true,
index: 1,
values: []
}
]
|
mockComingSoonMessageSystemSettingsResponse |
Type : object
|
Default value : {
id: 'contentComingSoonMsg',
field: 'contentComingSoonMsg',
value: '[{\"rootOrgId\":\"rootOrgId\",\"value\":\"Org specific coming soon message\",\"translations\":\"{\\\"en\\\":\\\"Coming soon message\\\"}\"}]'
}
|
mockCustodianOrIdResponse |
Type : object
|
Default value : {
id: 'custodianOrgId',
field: 'custodianOrgId',
value: 'sample_custodianOrgId'
}
|
mockFAQSystemSettingsResponse |
Type : object
|
Default value : {
id: 'faqURL',
field: 'faqURL',
value: 'sample_url'
}
|
mockTPDFrameworkIdResponse |
Type : object
|
Default value : {
id: 'courseFrameworkId',
field: 'courseFrameworkId',
value: 'sample_courseFrameworkId'
}
|
mockWebviewFormResponse |
Default value : {
form: {
type: 'config',
subtype: 'webview_version',
action: 'get',
data: {
action: 'get',
fields: [
{
version: '54'
}
]
}
}
} as any
|
mockCompletedContentStatusData |
Type : ContentStateResponse
|
Default value : {
contentList: [{
contentId: 'do_21274246255366963214046',
status: 2
}]
}
|
mockInCompleteContentStatusData |
Type : ContentStateResponse
|
Default value : {
contentList: [{
contentId: 'do_21274246255366963214046',
status: 1
}]
}
|
mockOnboardingConfigData |
Type : object
|
Default value : {
overriddenDefaultChannelId : "SAMPLE_CHANNEL_ID",
theme: {
name: "aqua"
},
"onboarding": [
{
"name": "language-setting",
"skip": false,
"default": {
"code": "en",
"label": "English"
},
"data": [
{
"label": "हिंदी",
"code": "hi",
"isApplied": false,
"name": "Hindi"
},
{
"label": "English",
"code": "en",
"isApplied": false,
"name": "English"
}
]
}
]
}
|
mockFacets |
Type : object
|
Default value : {
name: 'Topic',
translations: '{\"en\":\"Topic\"}',
code: 'topic',
frameworkCategory: true,
index: 1,
selected: ['topic1'],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockFacetsBoard |
Type : object
|
Default value : {
name: 'Board',
translations: '{\"en\":\"Topic\"}',
code: 'board',
frameworkCategory: true,
index: 1,
selectedValuesIndices: [0],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockFacetsBoardNew |
Type : object
|
Default value : {
name: 'Board',
translations: '{\"en\":\"Topic\"}',
code: 'board',
frameworkCategory: true,
index: 1,
selected: ['AP'],
selectedValuesIndices: [0],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockFacetsContentTypeWith |
Type : object
|
Default value : {
name: 'ContentType',
translations: '{\"en\":\"Topic\"}',
code: 'contentType',
frameworkCategory: true,
index: 1,
selectedValuesIndices: [0],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockFacetsContetType |
Type : object
|
Default value : {
name: 'ContnetType',
translations: '{\"en\":\"Topic\"}',
code: 'contentType',
frameworkCategory: true,
index: 1,
selected: ['WorkSheet'],
selectedValuesIndices: [0],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockFacetsMedium |
Type : object
|
Default value : {
name: 'Medium',
translations: '{\"en\":\"Topic\"}',
code: 'medium',
frameworkCategory: true,
index: 1,
selected: ['English'],
selectedValuesIndices: [0],
values: [{
identifier: 'tpd_medium_assamese',
code: 'assamese',
translations: null,
name: 'Assamese',
description: 'Assamese',
index: 0,
category: 'topic',
status: 'Live'
}]
}
|
mockRootOrgData |
Type : []
|
Default value : [{
orgName: 'QWL64',
hashTagId: '012547858902196224199',
slug: '173'
}]
|
mockFilterCriteria |
Type : object
|
Default value : {
query: 'hindi',
limit: 100,
offset: 0,
facets: [
'board',
'gradeLevel',
'subject',
'medium',
'primaryCategory',
'publisher',
'mimeType',
'audience'
],
primaryCategorie: [
'Course',
'Learning Resource',
'Explanation Content',
'Teacher Resource',
'Content Playlist',
'Digital Textbook',
'Practice Question Set',
'eTextBook',
'Course Assessment'
],
sortCriteria: [],
mode: 'hard',
facetFilters: [
{
name: 'gradeLevel',
values: [
{
name: 'other',
count: 147,
apply: false,
index: 0
},
{
name: 'class 10',
count: 2860,
apply: false,
index: 2
}
],
translatedName: 'Class'
},
{
name: 'audience',
values: [
{
name: 'instructor',
count: 40,
apply: false
},
{
name: 'student',
count: 13457,
apply: true
},
{
name: 'learner',
count: 1833,
apply: true
}
]
},
{
name: 'primaryCategory',
values: [
{
name: 'template',
count: 3,
apply: false
},
{
name: 'course assessment',
count: 1,
apply: false
}
]
},
{
name: 'subject',
values: [
{
name: 'physical education',
count: 1,
apply: false
}
]
},
{
name: 'se_mediums',
values: [
{
name: 'gujarati',
count: 12,
apply: false
}
],
translatedName: 'Medium'
},
{
name: 'mimeType',
values: [
{
name: 'INTERACTION',
count: 3567,
values: [
{
name: 'application/vnd.ekstep.h5p-archive',
count: 85,
apply: false
},
{
name: 'application/vnd.ekstep.html-archive',
count: 54,
apply: false
},
{
name: 'application/vnd.ekstep.ecml-archive',
count: 3428,
apply: false
}
],
apply: false
},
{
name: 'VIDEO',
count: 3815,
values: [
{
name: 'video/webm',
count: 94,
apply: false
},
{
name: 'video/x-youtube',
count: 803,
apply: false
},
{
name: 'video/mp4',
count: 2918,
apply: false
}
],
apply: false
},
{
name: 'DOC',
count: 1690,
values: [
{
name: 'application/pdf',
count: 1610,
apply: false
},
{
name: 'application/epub',
count: 80,
apply: false
}
],
apply: false
},
{
name: 'AUDIO',
count: 4221,
values: [
{
name: 'audio/ogg',
count: 4,
apply: false
},
{
name: 'audio/mp3',
count: 3236,
apply: false
},
{
name: 'audio/wav',
count: 981,
apply: false
}
],
apply: false
}
]
},
{
name: 'board',
values: [
{
name: 'other',
count: 38,
apply: false
},
{
name: 'state (kerala)',
count: 37,
apply: false
}
],
translatedName: 'Board/Syllabus'
}
],
impliedFiltersMap: [
{
compatibilityLevel: {
min: 1,
max: 4
}
},
{
contentType: []
},
{
language: []
},
{
topic: []
},
{
purpose: []
},
{
channel: []
}
],
impliedFilters: [
{
name: 'objectType',
values: [
{
name: 'Content',
apply: true
}
]
}
]
}
|
mockFormValue |
Type : object
|
Default value : {
'category': 'content',
'subcategory': 'contentnotplaying',
'children': {
'subcategory': {
'board': {
'name': 'State(Karnataka)',
'code': 'ka_k-12_1'
},
'medium': {
'name': 'English',
'code': 'english',
'frameworkCode': 'ka_k-12_1'
},
'grade': {
'name': 'Class10',
'code': 'class10',
'frameworkCode': 'ka_k-12_1'
},
'subject': {
'name': 'Science',
'code': 'science',
'frameworkCode': 'ka_k-12_1'
},
'contentname': 'Content',
'details': ''
}
}
}
|
mockHeaderEvent |
Type : object
|
Default value : {
name: 'back',
identifier: '89712312'
}
|
mockNavigationResp |
Type : object
|
Default value : {
extras: {
state: {
data: {},
showHeader: true,
formCnotext: {}
}
}
}
|
mockProfile |
Type : object
|
Default value : {
}
|
mockUserProfile |
Type : object
|
Default value : {
board: ['statekarnataka'],
createdAt: 1594741466334,
grade: ['class10'],
gradeValue: '',
handle: 'Guest1',
medium: ['english'],
profileType: 'teacher',
source: 'local',
subject: [],
syllabus: ['ka_k-12_1'],
uid: 'ca20b97e-9c88-456c-ad1e-4418c65f6dee'
}
|
mockProfileData |
Type : object
|
Default value : {
uid: '123',
userId: 'sample_user_id',
handle: 'sample_name',
medium: ['English', 'Bengali'],
board: ['CBSE'],
profileType: ProfileType.TEACHER,
source: ProfileSource.SERVER,
rootOrgId: 'sample_1',
rootOrg: {
rootOrgId: 'sample_org_id',
hashTagId: 'sample_hashTagId'
},
roleList: [{id: 'teacher', name: 'private'}, {id: 'state_teacher', name: 'public'}],
organisations: [{
organisationId: 'xyz',
roles: ['teacher', 'state_teacher'],
locations: {
state: 'tripura',
district: 'west_tripura',
block: 'dhaleshwar'
}
},
{
organisationId: 'abc',
roles: ['teacher', 'state_teacher'],
locations: {
state: 'west-bengal',
district: 'kolkata',
block: 'howrah'
}
}],
badgeAssertions: [
'sample_badge1', 'sampleBadge 2'
],
mappedTrainingCertificates: [1, 2, 3],
phone: '99999999',
email: 'xyz@gmail.com',
recoveryEmail: 'abc@gmail.com',
recoveryPhone: '987654',
profileUserType: {
type: 'teacher'
},
profileUserTypes: [{type: 'teacher'}, {type: 'student'}],
declarations: [{
orgId: 'sample_org_id',
persona: 'sample_persona',
status: 'sample_status',
info: [{
data: 'sample_data'
}],
errorType: 'sample_,error_type',
}, {
orgId: 'sample_org_id2'
}],
userLocations: [ 'State', 'District', 'Block', 'Cluster' ],
framework: {
medium: ['English', 'Bengali'],
board: ['CBSE'],
},
serverProfile: {
roles: [
'teacher',
'headmaster'
]
}
}
|
paylod |
Type : object
|
Default value : {
code:'name',
children:[]
}
|
profile |
Type : object
|
Default value : {
"maskedPhone": null,
"tcStatus": null,
"channel": "sunbirdpreprodcustodian",
"profileUserTypes": [
{
"type": "parent"
}
],
"updatedDate": "2022-04-14 06:21:59:749+0000",
"managedBy": null,
"flagsValue": 0,
"id": "9d17a8b4-925b-41ac-a9f6-2d536ebeb34c",
"recoveryEmail": "",
"identifier": "9d17a8b4-925b-41ac-a9f6-2d536ebeb34c",
"updatedBy": "9d17a8b4-925b-41ac-a9f6-2d536ebeb34c",
"externalIds": [],
"roleList": [
{
"name": "Book Creator",
"id": "BOOK_CREATOR"
},
{
"name": "Membership Management",
"id": "MEMBERSHIP_MANAGEMENT"
},
{
"name": "Flag Reviewer",
"id": "FLAG_REVIEWER"
},
{
"name": "Report Viewer",
"id": "REPORT_VIEWER"
},
{
"name": "Program Manager",
"id": "PROGRAM_MANAGER"
},
{
"name": "Program Designer",
"id": "PROGRAM_DESIGNER"
},
{
"name": "System Administration",
"id": "SYSTEM_ADMINISTRATION"
},
{
"name": "Content Curation",
"id": "CONTENT_CURATION"
},
{
"name": "Book Reviewer",
"id": "BOOK_REVIEWER"
},
{
"name": "Content Creator",
"id": "CONTENT_CREATOR"
},
{
"name": "Org Management",
"id": "ORG_MANAGEMENT"
},
{
"name": "Course Admin",
"id": "COURSE_ADMIN"
},
{
"name": "Org Moderator",
"id": "ORG_MODERATOR"
},
{
"name": "Public",
"id": "PUBLIC"
},
{
"name": "Admin",
"id": "ADMIN"
},
{
"name": "Course Mentor",
"id": "COURSE_MENTOR"
},
{
"name": "Content Reviewer",
"id": "CONTENT_REVIEWER"
},
{
"name": "Report Admin",
"id": "REPORT_ADMIN"
},
{
"name": "Org Admin",
"id": "ORG_ADMIN"
}
],
"rootOrgId": "0126796199493140480",
"prevUsedEmail": "",
"firstName": "Ssunbird",
"isMinor": false,
"tncAcceptedOn": 1644811598091,
"allTncAccepted": {
"groupsTnc": {
"tncAcceptedOn": "2022-03-16 07:13:46:695+0000",
"version": "3.5.0"
}
},
"phone": "",
"dob": "1981-12-31",
"status": 1,
"lastName": "",
"tncLatestVersion": "v12",
"roles": [],
"prevUsedPhone": "",
"stateValidated": false,
"isDeleted": false,
"organisations": [
{
"organisationId": "0126796199493140480",
"approvedBy": null,
"channel": "sunbirdpreprodcustodian",
"updatedDate": null,
"approvaldate": null,
"isSystemUpload": false,
"isDeleted": false,
"id": "01347430331917926412",
"isApproved": null,
"orgjoindate": "2022-02-14 04:06:34:382+0000",
"isSelfDeclaration": true,
"updatedBy": null,
"orgName": "Staging Custodian Organization",
"addedByName": null,
"addedBy": null,
"associationType": 2,
"locationIds": [
"027f81d8-0a2c-4fc6-96ac-59fe4cea3abf",
"8250d58d-f1a2-4397-bfd3-b2e688ba7141"
],
"orgLocation": [
{
"type": "state",
"id": "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf"
},
{
"type": "district",
"id": "8250d58d-f1a2-4397-bfd3-b2e688ba7141"
}
],
"externalId": "101010",
"userId": "9d17a8b4-925b-41ac-a9f6-2d536ebeb34c",
"isSchool": false,
"hashTagId": "0126796199493140480",
"isSSO": false,
"isRejected": null,
"locations": [
{
"code": "29",
"name": "Karnataka",
"id": "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf",
"type": "state",
"parentId": null
},
{
"code": "2901",
"name": "BELAGAVI",
"id": "8250d58d-f1a2-4397-bfd3-b2e688ba7141",
"type": "district",
"parentId": "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf"
}
],
"position": null,
"orgLeftDate": null
}
],
"provider": null,
"countryCode": null,
"tncLatestVersionUrl": "https://sunbirdstagingpublic.blob.core.windows.net/termsandcondtions/terms-and-conditions-v12.html",
"maskedEmail": "sd*****@yopmail.com",
"email": "sd*****@yopmail.com",
"rootOrg": {
"keys": {},
"channel": "sunbirdpreprodcustodian",
"description": "Pre-prod Custodian Organization",
"updatedDate": "2022-02-18 09:50:42:752+0000",
"organisationType": 5,
"isTenant": true,
"provider": null,
"id": "0126796199493140480",
"email": null,
"slug": "sunbirdpreprodcustodian",
"isSSOEnabled": null,
"orgName": "Staging Custodian Organization",
"updatedBy": null,
"locationIds": [
"027f81d8-0a2c-4fc6-96ac-59fe4cea3abf",
"8250d58d-f1a2-4397-bfd3-b2e688ba7141"
],
"externalId": "101010",
"orgLocation": [
{
"type": "state",
"id": "027f81d8-0a2c-4fc6-96ac-59fe4cea3abf"
},
{
"type": "district",
"id": "8250d58d-f1a2-4397-bfd3-b2e688ba7141"
}
],
"isRootOrg": true,
"rootOrgId": "0126796199493140480",
"createdDate": "2019-01-18 09:48:13:428+0000",
"createdBy": "system",
"hashTagId": "0126796199493140480",
"status": 1
},
"topics": [],
"tcUpdatedDate": null,
"userLocations": [
{
"code": "3207",
"name": "THRISSUR",
"id": "2bb88fec-873e-45a2-ba6e-facb63bbbf65",
"type": "district",
"parentId": "e73e5a54-3e8b-43a8-81a4-878f59130d1e"
},
{
"code": "32",
"name": "Kerala",
"id": "e73e5a54-3e8b-43a8-81a4-878f59130d1e",
"type": "state",
"parentId": null
}
],
"recoveryPhone": "",
"userName": "ssunbird_meeg",
"userId": "9d17a8b4-925b-41ac-a9f6-2d536ebeb34c",
"declarations": [
{
"persona": "default",
"errorType": null,
"orgId": "0127236218321879040",
"status": "SUBMITTED",
"info": {
"declared-email": "ssunbird@yopmail.com"
}
}
],
"promptTnC": false,
"lastLoginTime": 0,
"createdDate": "2022-02-14 04:06:34:342+0000",
"framework": {
"board": [
"State (Assam)"
],
"gradeLevel": [
"Class 7",
"Class 8"
],
"id": [
"as_k-12"
],
"medium": [
"English"
],
"subject": [
"English",
"Mathemaics"
]
},
"createdBy": null,
"profileUserType": {
"subType": 'subType',
"type": "parent"
},
"tncAcceptedVersion": "v12",
"persona": {
"code": "parent",
"name": "Parent",
"formConfig": {
"request": {
"type": "profileConfig",
"subType": "default",
"action": "get"
},
"url": "/api/data/v1/form"
},
"translations": "{\"en\":\"Parent\"}",
"image": "ic_parent.svg",
"ambiguousFilters": [],
"searchFilter": [],
"attributes": {
"mandatory": [
"board",
"medium",
"gradeLevel"
],
"optional": [
"subject"
]
}
}
}
|
subPersonaConfig |
Type : object
|
Default value : {
"code": "subPersona",
"type": "select",
"default": null,
"templateOptions": {
"labelHtml": {
"contents": "<span>$0 <span class=\"required-asterisk\">*</span></span>",
"values": {
"$0": "Subrole"
}
},
"placeHolder": "Select Subrole",
"multiple": true,
"dataSrc": {
"marker": "SUBPERSONA_LIST",
"params": {
"useCase": "SIGNEDIN"
}
},
"options": [
{
"value": "hm",
"label": "HM"
},
{
"value": "crp",
"label": "CRP"
},
{
"value": "chm",
"label": "Complex HM"
},
{
"value": "meo",
"label": "MEO"
},
{
"value": "dyeo",
"label": "DyEO"
},
{
"value": "atwo",
"label": "ATWO"
},
{
"value": "dtwo",
"label": "DTWO"
},
{
"value": "gcdo_pmrc",
"label": "GCDO PMRC"
},
{
"value": "cmo_pmrc",
"label": "CMO PMRC"
},
{
"value": "amo_pmrc",
"label": "AMO PMRC"
},
{
"value": "ddtw",
"label": "DDTW"
},
{
"value": "aso_dpo",
"label": "ASO DPO"
},
{
"value": "asst_als_coordinator",
"label": "Asst ALS Coordinator"
},
{
"value": "asst_ie_coordinator",
"label": "Asst IE Coordinator"
},
{
"value": "als_coordinator",
"label": "ALS Coordinator"
},
{
"value": "ie_coordinator",
"label": "IE Coordinator"
},
{
"value": "cmo",
"label": "CMO"
},
{
"value": "aamo",
"label": "AAMO"
},
{
"value": "amo",
"label": "AMO"
},
{
"value": "apc",
"label": "APC"
},
{
"value": "diet_lecturer",
"label": "DIET Lecturer"
},
{
"value": "diet_pricipal",
"label": "DIET Principal"
},
{
"value": "deo",
"label": "DEO"
},
{
"value": "rjd",
"label": "RJD"
},
{
"value": "slcc",
"label": "SLCC"
},
{
"value": "slmo",
"label": "SLMO"
},
{
"value": "spd",
"label": "SPD"
},
{
"value": "dir_ad_ed",
"label": "Director Adult Education"
},
{
"value": "dir_pub_lib",
"label": "Director Public Libraries"
},
{
"value": "dir_scert",
"label": "Director SCERT"
},
{
"value": "sec_kgbv",
"label": "Secretary KGBV"
},
{
"value": "sec_pub_lib",
"label": "Secretary Public Libraries"
},
{
"value": "dep_dir_ad_ed",
"label": "Deputy director Adult Education"
},
{
"value": "lib_pub_lib",
"label": "Librarian Public Libraries"
},
{
"value": "sup_ad_ed",
"label": "Supervisor Adult Education"
},
{
"value": "lib_bdc",
"label": "Librarian Public Libraries/ Book deposit center"
},
{
"value": "ins_ad_ed",
"label": "Instructor/ Volunteer Adult Education"
},
{
"value": "bdc_inch",
"label": "BDC Incharge"
}
]
},
"validations": [
{
"type": "required"
}
]
}
|
userLocation |
Type : object
|
Default value : {
"district": {
"code": "3207",
"name": "THRISSUR",
"id": "2bb88fec-873e-45a2-ba6e-facb63bbbf65",
"type": "district",
"parentId": "e73e5a54-3e8b-43a8-81a4-878f59130d1e"
},
"state": {
"code": "32",
"name": "Kerala",
"id": "e73e5a54-3e8b-43a8-81a4-878f59130d1e",
"type": "state",
"parentId": null
}
}
|
mockFrameworkData |
Type : object
|
Default value : {
identifier : 'ap_k-12_1' ,
code : 'ap_k-12_1' ,
name : 'State (Andhra Pradesh)' ,
description : 'Andhra Pradesh k-12' ,
categories : [
{
identifier : 'ap_k-12_1_board' ,
code : 'board' ,
terms : [
{
associations : [
{
identifier : 'ap_k-12_1_medium_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'medium' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_board_stateandhrapradesh' ,
code : 'stateandhrapradesh' ,
translations : null,
name : 'State (Andhra Pradesh)' ,
description : 'State (Andhra Pradesh)' ,
index : 1,
category : 'board' ,
status : 'Live'
}
],
translations : null,
name : 'Board' ,
description : 'Board' ,
index : 1,
status : 'Live'
},
{
identifier : 'ap_k-12_1_medium' ,
code : 'medium' ,
terms : [
{
associations : [
{
identifier : 'ap_k-12_1_gradelevel_class2' ,
code : 'class2' ,
translations : null,
name : 'Class 2' ,
description : 'Class 2' ,
category : 'gradeLevel' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_medium_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
index : 1,
category : 'medium' ,
status : 'Live'
},
{
associations : [
{
identifier : ' ap_k-12_1_gradelevel_class9' ,
code : 'class9' ,
translations : null,
name : 'Class 9' ,
description : 'Class 9' ,
category : 'gradeLevel' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_medium_hindi' ,
code : 'hindi' ,
translations : null,
name : 'Hindi' ,
description : 'Hindi' ,
index : 2,
category : 'medium' ,
status : 'Live'
}
],
translations : null,
name : 'Medium' ,
description : 'Medium' ,
index : 2,
status : 'Live'
},
{
identifier : 'ap_k-12_1_gradelevel' ,
code : 'gradeLevel' ,
terms : [
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class1' ,
code : 'class1' ,
translations : null,
name : 'Class 1' ,
description : 'Class 1' ,
index : 1,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class2' ,
code : 'class2' ,
translations : null,
name : 'Class 2' ,
description : 'Class 2' ,
index : 2,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class3' ,
code : 'class3' ,
translations : null,
name : 'Class 3' ,
description : 'Class 3' ,
index : 3,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class4' ,
code : 'class4' ,
translations : null,
name : 'Class 4' ,
description : 'Class 4' ,
index : 4,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class5' ,
code : 'class5' ,
translations : null,
name : 'Class 5' ,
description : 'Class 5' ,
index : 5,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class6' ,
code : 'class6' ,
translations : null,
name : 'Class 6' ,
description : 'Class 6' ,
index : 6,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class7' ,
code : 'class7' ,
translations : null,
name : 'Class 7' ,
description : 'Class 7' ,
index : 7,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class8' ,
code : 'class8' ,
translations : null,
name : 'Class 8' ,
description : 'Class 8' ,
index : 8,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class9' ,
code : 'class9' ,
translations : null,
name : 'Class 9' ,
description : 'Class 9' ,
index : 9,
category : 'gradeLevel' ,
status : 'Live'
},
{
associations : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
category : 'subject' ,
status : 'Live'
}
],
identifier : 'ap_k-12_1_gradelevel_class10' ,
code : 'class10' ,
translations : null,
name : 'Class 10' ,
description : 'Class 10' ,
index : 10,
category : 'gradeLevel' ,
status : 'Live'
}
],
translations : null,
name : 'Grade' ,
description : 'Grade' ,
index : 3,
status : 'Live'
},
{
identifier : 'ap_k-12_1_subject' ,
code : 'subject' ,
terms : [
{
identifier : 'ap_k-12_1_subject_english' ,
code : 'english' ,
translations : null,
name : 'English' ,
description : 'English' ,
index : 2,
category : 'subject' ,
status : 'Live'
}
],
translations : null,
name : 'Subject' ,
description : 'Subject' ,
index : 4,
status : 'Live'
}
],
type : 'K-12' ,
objectType : 'Framework'
}
|
projectStatus |
Type : object
|
Default value : {
started: {
label: "Started",
value: "started"
},
inProgress: {
label: "In Progress",
value: "inProgress"
},
submitted: {
label: "Submitted",
value: "submitted"
}
}
|
statuses |
Type : any
|
Default value : [
{ title: statusType.notStarted },
{ title: statusType.inProgress },
{ title: statusType.completed }
]
|
statusType |
Type : object
|
Default value : {
notStarted: 'notStarted',
inProgress: 'inProgress',
completed: 'completed',
started: 'started',
submitted: 'submitted'
}
|
taskStatus |
Type : object
|
Default value : {
notStarted: {
label: "Not started",
value: "notStarted"
},
inProgress: {
label: "In Progress",
value: "inProgress"
},
completed: {
label: "Completed",
value: "completed"
}
}
|
sbutility |
storageKeys |
Type : object
|
Default value : {
staticLinks: "staticLinks",
observableEntities: "observableEntities", // list of entities logged in user can observe
programList: "programList", // stores all programs list with solution and entities nested inside
institutionalList: "institutionalList", // list of intitutional assessment // old flow
individualList: "individualList", // list of individual assessment // old flow
institutionFlowList: "instituionFlowList ", //new institution flow data
submissionIdArray: "submissionIdArray", //to store all downloaded submissionIds
createdObservationList: "createdObservationList", // list of observational assessment // old flow
profileRole: "profileRole", //give all roles of current user
libraryDraft: "libraryDraft", //draft(library) in localStorage
libraryCategories: "libraryCategories",
pollDraft: "pollDraft",
observations:'observations',
downloadedObservations:'downloadedObservations',
mandatoryFields:'mandatoryFields',
solutions:'solutions',
entities:'entities',
submissionsList:'submissionsList',
solutionData:'solutionData'
}
|
urlConstants |
Type : object
|
Default value : {
SERVICES: {
UNNATI: '/improvement-project/api/',
KENDRA: '/kendra/api/',
SAMIKSHA: '/assessment/api/',
DHITI: '/dhiti/api/',
SUNBIRD: '/sunbird/api/',
},
API_URLS: {
PROGRAM_LISTING: '/api/users/mlcore/v1/programs?',
GET_TARGETED_SOLUTIONS: '/api/solutions/mlcore/v1/targetedSolutions',
SOLUTIONS_LISTING: '/api/users/mlcore/v1/solutions/',
GET_PROJECT: '/api/userProjects/mlprojects/v1/details',
PRIVATE_PROGRAMS: '/v1/users/privatePrograms',
GET_SUB_ENITIES_FOR_ROLES: '/api/entities/mlcore/v1/subEntityListBasedOnRoleAndLocation/',
GET_ENTITY_LIST: '/api/entities/mlcore/v1/subEntityList/',
GET_REPORT: '/api/reports/mlprojects/v1/entity/',
GET_FULL_REPORT: '/api/reports/mlprojects/v1/detailView/',
GET_PROGRAM_BY_ENTITY: '/api/reports/mlprojects/v1/getProgramsByEntity',
SYNC_PROJECT: '/api/userProjects/mlprojects/v1/sync/',
CREATE_PROJECT: '/api/userProjects/mlprojects/v1/add',
START_ASSESSMENT: '/api/userProjects/mlprojects/v1/solutionDetails/',
PROJCET_TASK_STATUS: '/api/userProjects/mlprojects/v1/tasksStatus/',
GET_SHARABLE_PDF: '/api/userProjects/mlprojects/v1/share/',
GET_OBSERVATION_ENTITIES: '/api/observations/mlsurvey/v1/entities',
GET_OBSERVATION_SUBMISSIONS: '/api/observationSubmissions/mlsurvey/v1/list/',
GET_OBSERVATION_DETAILS: '/api/observations/mlsurvey/v1/assessment/',
MANDATORY_ENTITY_TYPES_FOR_ROLES: '/api/entities/mlcore/v1/entityTypesByLocationAndRole/',
GET_OBSERVATION_SUBMISSION_COUNT: '/api/observations/mlreports/v1/submissionsCount',
OBSERVATION_SUBMISSION_UPDATE: '/api/observationSubmissions/mlsurvey/v1/update/',
OBSERVATION_SUBMISSION_CREATE: '/api/observationSubmissions/mlsurvey/v1/create/',
SEARCH_ENTITY: '/api/observations/mlsurvey/v1/searchEntities',
OBSERVATION_UPDATE_ENTITES: '/api/observations/mlsurvey/v1/updateEntities/',
SUBMISSION: 'v1/submissions/make/', //TODO its assessment submissionAPI
TARGETTED_ENTITY_TYPES: '/api/users/mlcore/v1/targetedEntity/',
OBSERVATION_REPORT_SOLUTION_LIST: '/api/observationSubmissions/mlsurvey/v1/solutionList?',
GENERIC_REPORTS: '/api/reports/mlreports/v1/fetch',
PROJECT_TEMPLATE_DETAILS: '/api/project/mlprojects/v1/templates/details/',
ALL_EVIDENCE: '/api/observations/mlreports/v1/listAllEvidences',
TEMPLATE_DETAILS:'/api/solutions/mlcore/v1/details/',//+SOL ID
SURVEY_FEEDBACK: {
GET_DETAILS_BY_ID: '/api/surveys/mlsurvey/v1/details',
MAKE_SUBMISSION: '/api/surveySubmissions/mlsurvey/v1/update/',
LIST_ALL_EVIDENCES: '/api/surveys/mlreports/v1/listAllEvidences',
GET_ALL_ANSWERS: '/api/surveys/mlreports/v1/getAllResponsesOfQuestion/',
},
DEEPLINK: {
// VERIFY_OBSERVATION_LINK: '/api/solutions/mlsurvey/v1/verifyLink/',
VERIFY_LINK: '/api/solutions/mlcore/v1/verifyLink/', //LINK
},
PRESIGNED_URLS: '/api/cloud-services/mlcore/v1/files/preSignedUrls',
IMPORT_LIBRARY_PROJECT:'/api/userProjects/mlprojects/v1/importFromLibrary/', //tempID?isATargetedSolution=false
PROJECT_CERTIFICATES:'/api/userProjects/mlprojects/v1/certificates',
GET_PROJECT_CERTIFICATE:'/api/v1/ProjectCertificate/',
PROJECT_CERTIFICATE_DOWNLOAD:'/api/rc/projectCertificate/v1/download/',
CERTIFICATE_VERIFY:'/api/rc/certificate/v1/key/'
},
}
|
VideoConfig |
Type : object
|
Default value : {
"context": {
"mode": "play",
"authToken": "",
"sid": "",
"did": "",
"uid": "",
"channel": "",
"pdata": { "id": "", "ver": "", "pid": "" },
"contextRollup": { "l1": "" },
"tags": [""],
"cdata": [],
"timeDiff": 0,
"objectRollup": {},
"host": "",
"endpoint": "",
"userData": {
"firstName": "",
"lastName": ""
}
},
"config": {
"traceId": ""
},
"metadata": {
"compatibilityLevel": 0,
"copyright": "",
"subject": [
""
],
"channel": "",
"language": [
""
],
"mimeType": "video/mp4",
"objectType": "Content",
"gradeLevel": [
""
],
"appIcon": "",
"primaryCategory": "",
"artifactUrl": "",
"contentType": "",
"identifier": "",
"audience": [
""
],
"visibility": "Default",
"mediaType": "content",
"osId": "",
"languageCode": [
""
],
"license": "",
"name": "",
"status": "Live",
"code": "",
"streamingUrl": "",
"medium": [
""
],
"createdOn": "2020-08-24T17:58:32.911+0000",
"copyrightYear": 2020,
"lastUpdatedOn": "2020-08-25T04:36:47.587+0000",
"creator": "",
"pkgVersion": 1,
"versionKey": "",
"framework": "",
"createdBy": "",
"resourceType": "Learn",
"orgDetails": {
"email": "",
"orgName": ""
},
"licenseDetails": {
"name": "",
"url": "",
"description": ""
}
},
"data": {}
}
|
window |