diff --git a/projects/quml-demo-app/src/app/quml-library-data.ts b/projects/quml-demo-app/src/app/quml-library-data.ts index 5482bd65..de4c9695 100644 --- a/projects/quml-demo-app/src/app/quml-library-data.ts +++ b/projects/quml-demo-app/src/app/quml-library-data.ts @@ -26,7 +26,7 @@ const content = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -107,7 +107,7 @@ const content = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -188,7 +188,7 @@ const content = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -265,7 +265,7 @@ const content = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -396,7 +396,7 @@ const content = { "allowSkip": "Yes", "compatibilityLevel": 5, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -502,9 +502,9 @@ export const samplePlayerConfig = { 'uid': '', 'channel': '01268904781886259221', 'pdata': { - 'id': 'preprod.diksha.portal', + 'id': 'dev.sunbird.portal', 'ver': '3.3.0', - 'pid': 'sunbird-portal.contentplayer' + 'pid': 'sunbird-portal.qumlplayer' }, 'contextRollup': { 'l1': 'string', diff --git a/projects/quml-library/src/lib/main-player/main-player.component.spec.data.ts b/projects/quml-library/src/lib/main-player/main-player.component.spec.data.ts index feb3a163..a79520c3 100644 --- a/projects/quml-library/src/lib/main-player/main-player.component.spec.data.ts +++ b/projects/quml-library/src/lib/main-player/main-player.component.spec.data.ts @@ -36,7 +36,7 @@ const content1 = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -114,7 +114,7 @@ const content1 = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -239,7 +239,7 @@ const content1 = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -313,7 +313,7 @@ const content1 = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -441,7 +441,7 @@ const content1 = { "allowSkip": "Yes", "compatibilityLevel": 5, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -533,9 +533,9 @@ export const playerConfig = { 'uid': '', 'channel': '01268904781886259221', 'pdata': { - 'id': 'preprod.diksha.portal', + 'id': 'dev.sunbird.portal', 'ver': '3.3.0', - 'pid': 'sunbird-portal.contentplayer' + 'pid': 'sunbird-portal.qumlplayer' }, 'contextRollup': { 'l1': 'string', @@ -637,9 +637,9 @@ export const fakeSections = [ "uid": "", "channel": "01268904781886259221", "pdata": { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, "contextRollup": { "l1": "string", @@ -694,7 +694,7 @@ export const fakeSections = [ ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -772,7 +772,7 @@ export const fakeSections = [ ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -909,9 +909,9 @@ export const fakeSections = [ "uid": "", "channel": "01268904781886259221", "pdata": { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, "contextRollup": { "l1": "string", @@ -966,7 +966,7 @@ export const fakeSections = [ ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -1040,7 +1040,7 @@ export const fakeSections = [ ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -1201,7 +1201,7 @@ export const singleContent = { ], 'compatibilityLevel': 4, 'audience': [ - 'Student' + 'Audience1' ], 'primaryCategory': 'Multiple Choice Question', 'medium': [ @@ -1257,7 +1257,7 @@ export const singleContent = { 'contentEncoding': 'gzip', 'showSolutions': true, 'identifier': 'do_213257772024733696115', - 'audience': ['Student'], + 'audience': ['Audience1'], 'visibility': 'Default', 'showTimer': true, 'author': 'Adarsh', diff --git a/projects/quml-library/src/lib/mcq/mcq.component.spec.ts b/projects/quml-library/src/lib/mcq/mcq.component.spec.ts index 26518b3d..27fe026b 100644 --- a/projects/quml-library/src/lib/mcq/mcq.component.spec.ts +++ b/projects/quml-library/src/lib/mcq/mcq.component.spec.ts @@ -81,7 +81,7 @@ describe('McqComponent', () => { ], "identifier": "do_21348431640099225615", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", diff --git a/projects/quml-library/src/lib/quml-library.service.spec.data.ts b/projects/quml-library/src/lib/quml-library.service.spec.data.ts index 672eb664..55a0e9b9 100644 --- a/projects/quml-library/src/lib/quml-library.service.spec.data.ts +++ b/projects/quml-library/src/lib/quml-library.service.spec.data.ts @@ -22,7 +22,7 @@ export const mockQumlLibraryServiceData = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -100,7 +100,7 @@ export const mockQumlLibraryServiceData = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -264,9 +264,9 @@ export const mockQumlLibraryServiceData = { }, channel: "01268904781886259221", pdata: { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, sid: "913b3c6c-2874-26dd-ed0c-c23ddc00b718", uid: "", @@ -289,9 +289,9 @@ export const telemetryContext = { "uid": "", "channel": "01268904781886259221", "pdata": { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, "contextRollup": { "l1": "string", diff --git a/projects/quml-library/src/lib/sa/sa.component.spec.ts b/projects/quml-library/src/lib/sa/sa.component.spec.ts index e8f108f8..b1ad553a 100644 --- a/projects/quml-library/src/lib/sa/sa.component.spec.ts +++ b/projects/quml-library/src/lib/sa/sa.component.spec.ts @@ -49,7 +49,7 @@ describe('SaComponent', () => { ], "identifier": "do_21348431719053721619", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", diff --git a/projects/quml-library/src/lib/section-player/section-player.component.spec.data.ts b/projects/quml-library/src/lib/section-player/section-player.component.spec.data.ts index 0e8f78dc..0e550a56 100644 --- a/projects/quml-library/src/lib/section-player/section-player.component.spec.data.ts +++ b/projects/quml-library/src/lib/section-player/section-player.component.spec.data.ts @@ -93,7 +93,7 @@ export const mockSectionPlayerConfig = { ], "identifier": "do_21348431640099225615", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -240,7 +240,7 @@ export const mockSectionPlayerConfig = { ], "identifier": "do_21348431559137689613", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -315,9 +315,9 @@ export const mockSectionPlayerConfig = { "uid": "", "channel": "01268904781886259221", "pdata": { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, "contextRollup": { "l1": "string", @@ -373,7 +373,7 @@ export const mockSectionPlayerConfig = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -451,7 +451,7 @@ export const mockSectionPlayerConfig = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -747,7 +747,7 @@ export const mockSectionPlayerConfig = { ], "identifier": "do_21348431640099225615", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", diff --git a/projects/quml-library/src/lib/services/viewer-service/viewer-service.spec.data.ts b/projects/quml-library/src/lib/services/viewer-service/viewer-service.spec.data.ts index 701a8fe5..efbc5c5d 100644 --- a/projects/quml-library/src/lib/services/viewer-service/viewer-service.spec.data.ts +++ b/projects/quml-library/src/lib/services/viewer-service/viewer-service.spec.data.ts @@ -9,9 +9,9 @@ export const mockData = { "uid": "", "channel": "01268904781886259221", "pdata": { - "id": "preprod.diksha.portal", + "id": "dev.sunbird.portal", "ver": "3.3.0", - "pid": "sunbird-portal.contentplayer" + "pid": "sunbird-portal.qumlplayer" }, "contextRollup": { "l1": "string", @@ -66,7 +66,7 @@ export const mockData = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -144,7 +144,7 @@ export const mockData = { ], "compatibilityLevel": 4, "audience": [ - "Teacher" + "Audience2" ], "se_boards": [ "State (Tamil Nadu)" @@ -415,7 +415,7 @@ export const mockData = { ], "identifier": "do_21348431640099225615", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -551,7 +551,7 @@ export const mockData = { ], "identifier": "do_21348431559137689613", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -768,7 +768,7 @@ export const mockData = { ], "identifier": "do_21348431640099225615", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -906,7 +906,7 @@ export const mockData = { ], "identifier": "do_21348431559137689613", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -1016,7 +1016,7 @@ export const mockData = { ], "identifier": "do_21348431719053721619", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", @@ -1137,7 +1137,7 @@ export const mockData = { ], "identifier": "do_213484318131216384111", "audience": [ - "Teacher" + "Audience2" ], "visibility": "Parent", "author": "Vivek", diff --git a/web-component-examples/react-app/src/data.js b/web-component-examples/react-app/src/data.js index a96420de..11fbf5f8 100644 --- a/web-component-examples/react-app/src/data.js +++ b/web-component-examples/react-app/src/data.js @@ -28,7 +28,7 @@ const sectionContent = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -110,7 +110,7 @@ const sectionContent = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -243,7 +243,7 @@ const sectionContent = { ], "compatibilityLevel": 4, "audience": [ - "Student" + "Audience1" ], "se_boards": [ "CBSE" @@ -376,7 +376,7 @@ const sectionContent = { "allowSkip": "Yes", "compatibilityLevel": 5, "audience": [ - "Student" + "Audience1" ], "trackable": "{\"enabled\":\"No\",\"autoBatch\":\"No\"}", "se_boards": [ @@ -473,9 +473,9 @@ export const playerConfig = { uid: "", channel: "01268904781886259221", pdata: { - id: "preprod.diksha.portal", + id: "dev.sunbird.portal", ver: "3.3.0", - pid: "sunbird-portal.contentplayer", + pid: "sunbird-portal.qumlplayer", }, contextRollup: { l1: "string", diff --git a/web-component-examples/vanilla-js/index.html b/web-component-examples/vanilla-js/index.html index 7f7c15f7..af2998f0 100644 --- a/web-component-examples/vanilla-js/index.html +++ b/web-component-examples/vanilla-js/index.html @@ -32,8 +32,8 @@