@sunbird-cb/utils-v2 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sunbird-cb-utils-v2.umd.js +6701 -6677
- package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -1
- package/esm2015/lib/components/image-crop/image-crop.component.js +194 -194
- package/esm2015/lib/components/image-crop/image-crop.module.js +26 -26
- package/esm2015/lib/constants/features.enum.js +554 -554
- package/esm2015/lib/constants/instances.enum.js +4 -4
- package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +86 -86
- package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +14 -14
- package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +37 -37
- package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +14 -14
- package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +91 -91
- package/esm2015/lib/directives/image-responsive/image-responsive.module.js +14 -14
- package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +67 -67
- package/esm2015/lib/directives/in-view-port/in-view-port.module.js +14 -14
- package/esm2015/lib/directives/navigation/navigation.directive.js +38 -38
- package/esm2015/lib/directives/navigation/navigation.module.js +14 -14
- package/esm2015/lib/directives/permission/permission.directive.js +10 -10
- package/esm2015/lib/directives/permission/permission.module.js +14 -14
- package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +98 -98
- package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +18 -18
- package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +194 -194
- package/esm2015/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +19 -19
- package/esm2015/lib/helpers/logout/logout.component.js +89 -89
- package/esm2015/lib/helpers/logout/logout.module.js +19 -19
- package/esm2015/lib/models/profile-v3.models.js +104 -104
- package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +15 -15
- package/esm2015/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +116 -94
- package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +12 -12
- package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +58 -58
- package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +14 -14
- package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +32 -32
- package/esm2015/lib/pipes/pipe-coursename/PipeCourseNameModule.js +15 -15
- package/esm2015/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +13 -13
- package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +14 -14
- package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +42 -42
- package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +14 -14
- package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +81 -81
- package/esm2015/lib/pipes/pipe-email/pipe-email.module.js +15 -15
- package/esm2015/lib/pipes/pipe-email/pipe-email.pipe.js +12 -12
- package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +14 -14
- package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +15 -15
- package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +14 -14
- package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +37 -37
- package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +14 -14
- package/esm2015/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +20 -20
- package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +15 -15
- package/esm2015/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +23 -23
- package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +14 -14
- package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +11 -11
- package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +14 -14
- package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +24 -24
- package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +14 -14
- package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +16 -16
- package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +14 -14
- package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +26 -26
- package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +15 -15
- package/esm2015/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +39 -39
- package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +14 -14
- package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +15 -15
- package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +15 -15
- package/esm2015/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +17 -17
- package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +14 -14
- package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +17 -17
- package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +15 -15
- package/esm2015/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +26 -26
- package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +14 -14
- package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +15 -15
- package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +14 -14
- package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +34 -34
- package/esm2015/lib/resolvers/explore-detail.resolver.js +88 -88
- package/esm2015/lib/resolvers/marketing-offering.resolve.js +39 -39
- package/esm2015/lib/resolvers/module-name.resolver.js +38 -38
- package/esm2015/lib/resolvers/page-name.resolver.js +32 -32
- package/esm2015/lib/resolvers/page.constant.js +3 -3
- package/esm2015/lib/resolvers/page.model.js +47 -47
- package/esm2015/lib/resolvers/page.resolver.js +89 -89
- package/esm2015/lib/resolvers/resolver.model.js +5 -5
- package/esm2015/lib/services/auth-keycloak.service.js +267 -267
- package/esm2015/lib/services/auth-microsoft.service.js +195 -195
- package/esm2015/lib/services/card-content.model.js +30 -30
- package/esm2015/lib/services/configurations.model.js +550 -550
- package/esm2015/lib/services/configurations.service.js +142 -140
- package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
- package/esm2015/lib/services/event.model.js +257 -257
- package/esm2015/lib/services/event.service.js +210 -210
- package/esm2015/lib/services/logger.service.js +54 -54
- package/esm2015/lib/services/ms-office.model.js +7 -7
- package/esm2015/lib/services/multilingual-translations.service.js +136 -136
- package/esm2015/lib/services/nps-grid.service.js +45 -45
- package/esm2015/lib/services/subapplication-respond.service.js +213 -213
- package/esm2015/lib/services/telemetry.service.js +620 -620
- package/esm2015/lib/services/user-preference.model.js +37 -37
- package/esm2015/lib/services/user-preference.service.js +89 -89
- package/esm2015/lib/services/utility.service.js +144 -144
- package/esm2015/lib/services/value.service.js +30 -30
- package/esm2015/lib/services/widget-content.model.js +372 -372
- package/esm2015/lib/services/widget-content.service.js +203 -203
- package/esm2015/lib/services/widget-resolver.model.js +56 -56
- package/esm2015/lib/services/widget-search.model.js +125 -125
- package/esm2015/public-api.js +87 -87
- package/esm2015/sunbird-cb-utils-v2.js +9 -9
- package/esm5/lib/components/image-crop/image-crop.component.js +199 -199
- package/esm5/lib/components/image-crop/image-crop.module.js +30 -30
- package/esm5/lib/constants/features.enum.js +554 -554
- package/esm5/lib/constants/instances.enum.js +4 -4
- package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +104 -104
- package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +18 -18
- package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +39 -39
- package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +18 -18
- package/esm5/lib/directives/image-responsive/image-responsive.directive.js +94 -94
- package/esm5/lib/directives/image-responsive/image-responsive.module.js +18 -18
- package/esm5/lib/directives/in-view-port/in-view-port.directive.js +72 -72
- package/esm5/lib/directives/in-view-port/in-view-port.module.js +18 -18
- package/esm5/lib/directives/navigation/navigation.directive.js +40 -40
- package/esm5/lib/directives/navigation/navigation.module.js +18 -18
- package/esm5/lib/directives/permission/permission.directive.js +13 -13
- package/esm5/lib/directives/permission/permission.module.js +18 -18
- package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
- package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +102 -102
- package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +22 -22
- package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.js +199 -199
- package/esm5/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
- package/esm5/lib/helpers/logout/logout.component.js +95 -95
- package/esm5/lib/helpers/logout/logout.module.js +23 -23
- package/esm5/lib/models/profile-v3.models.js +104 -104
- package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.js +19 -19
- package/esm5/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.js +118 -96
- package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +16 -16
- package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +62 -62
- package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +18 -18
- package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +36 -36
- package/esm5/lib/pipes/pipe-coursename/PipeCourseNameModule.js +19 -19
- package/esm5/lib/pipes/pipe-coursename/pipe-coursename.pipe.js +17 -17
- package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +18 -18
- package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +44 -44
- package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
- package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +85 -85
- package/esm5/lib/pipes/pipe-email/pipe-email.module.js +19 -19
- package/esm5/lib/pipes/pipe-email/pipe-email.pipe.js +16 -16
- package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +18 -18
- package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +19 -19
- package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +18 -18
- package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +45 -45
- package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.js +18 -18
- package/esm5/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.js +24 -24
- package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.js +19 -19
- package/esm5/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.js +31 -31
- package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +18 -18
- package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +15 -15
- package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +18 -18
- package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +29 -29
- package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +18 -18
- package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +20 -20
- package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +18 -18
- package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +30 -30
- package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.js +19 -19
- package/esm5/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.js +41 -41
- package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +18 -18
- package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +17 -17
- package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.module.js +19 -19
- package/esm5/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.js +21 -21
- package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +18 -18
- package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +33 -33
- package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
- package/esm5/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.js +28 -28
- package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +18 -18
- package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +19 -19
- package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +18 -18
- package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +37 -37
- package/esm5/lib/resolvers/explore-detail.resolver.js +92 -92
- package/esm5/lib/resolvers/marketing-offering.resolve.js +42 -42
- package/esm5/lib/resolvers/module-name.resolver.js +40 -40
- package/esm5/lib/resolvers/page-name.resolver.js +35 -35
- package/esm5/lib/resolvers/page.constant.js +3 -3
- package/esm5/lib/resolvers/page.model.js +47 -47
- package/esm5/lib/resolvers/page.resolver.js +97 -97
- package/esm5/lib/resolvers/resolver.model.js +5 -5
- package/esm5/lib/services/auth-keycloak.service.js +352 -352
- package/esm5/lib/services/auth-microsoft.service.js +250 -250
- package/esm5/lib/services/card-content.model.js +30 -30
- package/esm5/lib/services/configurations.model.js +550 -550
- package/esm5/lib/services/configurations.service.js +144 -142
- package/esm5/lib/services/content-strip-multiple.model.js +74 -74
- package/esm5/lib/services/event.model.js +257 -257
- package/esm5/lib/services/event.service.js +214 -214
- package/esm5/lib/services/logger.service.js +72 -72
- package/esm5/lib/services/ms-office.model.js +7 -7
- package/esm5/lib/services/multilingual-translations.service.js +138 -138
- package/esm5/lib/services/nps-grid.service.js +47 -47
- package/esm5/lib/services/subapplication-respond.service.js +218 -218
- package/esm5/lib/services/telemetry.service.js +669 -669
- package/esm5/lib/services/user-preference.model.js +37 -37
- package/esm5/lib/services/user-preference.service.js +108 -108
- package/esm5/lib/services/utility.service.js +177 -177
- package/esm5/lib/services/value.service.js +32 -32
- package/esm5/lib/services/widget-content.model.js +372 -372
- package/esm5/lib/services/widget-content.service.js +225 -225
- package/esm5/lib/services/widget-resolver.model.js +56 -56
- package/esm5/lib/services/widget-search.model.js +125 -125
- package/esm5/public-api.js +87 -87
- package/esm5/sunbird-cb-utils-v2.js +9 -9
- package/fesm2015/sunbird-cb-utils-v2.js +6192 -6168
- package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
- package/fesm5/sunbird-cb-utils-v2.js +6701 -6677
- package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
- package/lib/components/image-crop/image-crop.component.d.ts +56 -56
- package/lib/components/image-crop/image-crop.module.d.ts +2 -2
- package/lib/constants/features.enum.d.ts +553 -553
- package/lib/constants/instances.enum.d.ts +3 -3
- package/lib/constants/misc.constants.d.ts +2 -2
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -18
- package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -2
- package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
- package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
- package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -17
- package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -2
- package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -11
- package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -2
- package/lib/directives/navigation/navigation.directive.d.ts +9 -9
- package/lib/directives/navigation/navigation.module.d.ts +2 -2
- package/lib/directives/permission/permission.directive.d.ts +3 -3
- package/lib/directives/permission/permission.module.d.ts +2 -2
- package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -3
- package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -18
- package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -2
- package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +36 -36
- package/lib/helpers/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
- package/lib/helpers/logout/logout.component.d.ts +20 -20
- package/lib/helpers/logout/logout.module.d.ts +2 -2
- package/lib/models/profile-v3.models.d.ts +91 -91
- package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.module.d.ts +2 -2
- package/lib/pipes/pipe-certificate-image-URL/pipe-certimage-URL.pipe.d.ts +6 -6
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -2
- package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -10
- package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -2
- package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -4
- package/lib/pipes/pipe-coursename/PipeCourseNameModule.d.ts +2 -2
- package/lib/pipes/pipe-coursename/pipe-coursename.pipe.d.ts +4 -4
- package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -2
- package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -13
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
- package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
- package/lib/pipes/pipe-email/pipe-email.module.d.ts +2 -2
- package/lib/pipes/pipe-email/pipe-email.pipe.d.ts +4 -4
- package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -2
- package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -4
- package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -2
- package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -4
- package/lib/pipes/pipe-filter-v2/pipe-filter-v2.module.d.ts +2 -2
- package/lib/pipes/pipe-filter-v2/pipe-filter-v2.pipe.d.ts +4 -4
- package/lib/pipes/pipe-filter-v3/pipe-filter-v3.module.d.ts +2 -2
- package/lib/pipes/pipe-filter-v3/pipe-filter-v3.pipe.d.ts +4 -4
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -2
- package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -4
- package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -2
- package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -4
- package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -2
- package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -4
- package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -2
- package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +9 -9
- package/lib/pipes/pipe-nic-relative/pipe-nic-relative.module.d.ts +2 -2
- package/lib/pipes/pipe-nic-relative/pipe-nic-relative.pipe.d.ts +7 -7
- package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -2
- package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -9
- package/lib/pipes/pipe-ordinal/pipe-ordinal.module.d.ts +2 -2
- package/lib/pipes/pipe-ordinal/pipe-ordinal.pipe.d.ts +4 -4
- package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -2
- package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -4
- package/lib/pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
- package/lib/pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
- package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -2
- package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -4
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -2
- package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -7
- package/lib/resolvers/explore-detail.resolver.d.ts +16 -16
- package/lib/resolvers/marketing-offering.resolve.d.ts +10 -10
- package/lib/resolvers/module-name.resolver.d.ts +6 -6
- package/lib/resolvers/page-name.resolver.d.ts +5 -5
- package/lib/resolvers/page.constant.d.ts +1 -1
- package/lib/resolvers/page.model.d.ts +41 -41
- package/lib/resolvers/page.resolver.d.ts +17 -17
- package/lib/resolvers/resolver.model.d.ts +4 -4
- package/lib/services/auth-keycloak.service.d.ts +31 -31
- package/lib/services/auth-microsoft.service.d.ts +30 -30
- package/lib/services/card-content.model.d.ts +29 -29
- package/lib/services/configurations.model.d.ts +523 -523
- package/lib/services/configurations.service.d.ts +74 -73
- package/lib/services/content-strip-multiple.model.d.ts +79 -79
- package/lib/services/event.model.d.ts +221 -221
- package/lib/services/event.service.d.ts +30 -30
- package/lib/services/logger.service.d.ts +15 -15
- package/lib/services/ms-office.model.d.ts +6 -6
- package/lib/services/multilingual-translations.service.d.ts +20 -20
- package/lib/services/nps-grid.service.d.ts +12 -12
- package/lib/services/subapplication-respond.service.d.ts +23 -23
- package/lib/services/telemetry.service.d.ts +56 -56
- package/lib/services/user-preference.model.d.ts +34 -34
- package/lib/services/user-preference.service.d.ts +11 -11
- package/lib/services/utility.service.d.ts +31 -31
- package/lib/services/value.service.d.ts +8 -8
- package/lib/services/widget-content.model.d.ts +344 -344
- package/lib/services/widget-content.service.d.ts +50 -50
- package/lib/services/widget-resolver.model.d.ts +48 -48
- package/lib/services/widget-search.model.d.ts +114 -114
- package/package.json +1 -1
- package/public-api.d.ts +87 -87
- package/sunbird-cb-utils-v2.d.ts +9 -9
- package/sunbird-cb-utils-v2.metadata.json +1 -1
|
@@ -1,344 +1,344 @@
|
|
|
1
|
-
export declare namespace NsContent {
|
|
2
|
-
interface IContinueLearningData extends IContent {
|
|
3
|
-
continueData: any;
|
|
4
|
-
}
|
|
5
|
-
interface IContent {
|
|
6
|
-
platform?: any;
|
|
7
|
-
addedOn: string;
|
|
8
|
-
appIcon: string;
|
|
9
|
-
artifactUrl: string;
|
|
10
|
-
averageRating?: any;
|
|
11
|
-
body?: string;
|
|
12
|
-
certificationList?: IRelatedContentMeta[];
|
|
13
|
-
certificationStatus?: TCertificationStatus;
|
|
14
|
-
certificationSubmissionDate?: string;
|
|
15
|
-
certificationUrl: string;
|
|
16
|
-
children: IContent[];
|
|
17
|
-
childrenClassifiers?: string[];
|
|
18
|
-
clients?: IClient[];
|
|
19
|
-
collections?: IContent[];
|
|
20
|
-
complexityLevel: string;
|
|
21
|
-
contentId: string;
|
|
22
|
-
contentType: EContentTypes;
|
|
23
|
-
difficultyLevel: string;
|
|
24
|
-
primaryCategory: EPrimaryCategory;
|
|
25
|
-
contentUrlAtSource: string;
|
|
26
|
-
creatorContacts: ICreator[];
|
|
27
|
-
creatorDetails: ICreator[];
|
|
28
|
-
creatorLogo: string;
|
|
29
|
-
creatorPosterImage: string;
|
|
30
|
-
creatorThumbnail: string;
|
|
31
|
-
curatedTags: string[];
|
|
32
|
-
description: string;
|
|
33
|
-
displayContentType: EDisplayContentTypes;
|
|
34
|
-
downloadUrl?: string;
|
|
35
|
-
duration: number;
|
|
36
|
-
exclusiveContent?: boolean;
|
|
37
|
-
expiryDate?: string;
|
|
38
|
-
equivalentCertifications?: IRelatedContentMeta[];
|
|
39
|
-
hasAccess: boolean;
|
|
40
|
-
hasAssessment?: string;
|
|
41
|
-
idealScreenSize?: string;
|
|
42
|
-
identifier: string;
|
|
43
|
-
introductoryVideo?: string;
|
|
44
|
-
introductoryVideoIcon?: string;
|
|
45
|
-
learningTrack?: string;
|
|
46
|
-
isExternal: boolean;
|
|
47
|
-
isIframeSupported: 'Yes' | 'No' | 'Maybe';
|
|
48
|
-
isInIntranet?: boolean;
|
|
49
|
-
keywords?: string[];
|
|
50
|
-
kArtifacts?: IRelatedContentMeta[];
|
|
51
|
-
lastUpdatedOn: string;
|
|
52
|
-
learningMode?: TLearningMode;
|
|
53
|
-
learningObjective: string;
|
|
54
|
-
labels?: string[];
|
|
55
|
-
locale?: string;
|
|
56
|
-
hasTranslations?: {
|
|
57
|
-
identifier: string;
|
|
58
|
-
locale: string;
|
|
59
|
-
}[];
|
|
60
|
-
isTranslationOf?: {
|
|
61
|
-
identifier: string;
|
|
62
|
-
locale: string;
|
|
63
|
-
}[];
|
|
64
|
-
me_totalSessionsCount: number;
|
|
65
|
-
mediaType: string;
|
|
66
|
-
mimeType: EMimeTypes;
|
|
67
|
-
miniGOTVersion?: string;
|
|
68
|
-
msArtifactDetails?: IMSArtifactDetails;
|
|
69
|
-
mode?: ETagType;
|
|
70
|
-
name: string;
|
|
71
|
-
nextCertificationAttemptDate?: string;
|
|
72
|
-
playgroundInstructions?: string;
|
|
73
|
-
playgroundResources?: IResourcePlayground[];
|
|
74
|
-
postContents?: IPrePostContent[];
|
|
75
|
-
posterImage?: string;
|
|
76
|
-
preContents?: IPrePostContent[];
|
|
77
|
-
preRequisites: string;
|
|
78
|
-
price?: {
|
|
79
|
-
currency: string;
|
|
80
|
-
value: number;
|
|
81
|
-
};
|
|
82
|
-
proctorUrl?: string;
|
|
83
|
-
progress?: IMarkAsCompleteProgress;
|
|
84
|
-
programDuration?: any;
|
|
85
|
-
publishedOn: string;
|
|
86
|
-
recentCertificationAttemptScore?: number;
|
|
87
|
-
recommendationReasons?: string[];
|
|
88
|
-
region?: string[];
|
|
89
|
-
registrationUrl?: string;
|
|
90
|
-
registrationInstructions?: string;
|
|
91
|
-
resourceCategory?: string[];
|
|
92
|
-
resourceType: string;
|
|
93
|
-
size?: number;
|
|
94
|
-
skills: ISkill[];
|
|
95
|
-
softwareRequirements?: IResourceDetail[];
|
|
96
|
-
sourceName: string;
|
|
97
|
-
sourceShortName: string;
|
|
98
|
-
sourceIconUrl?: string;
|
|
99
|
-
sourceUrl?: string;
|
|
100
|
-
ssoEnabled?: boolean;
|
|
101
|
-
status: 'Draft' | 'InReview' | 'QualityReview' | 'Reviewed' | 'Processing' | 'Live' | 'Deleted' | 'MarkedForDeletion' | 'Expired';
|
|
102
|
-
subTitle?: string;
|
|
103
|
-
subTitles?: ISubtitle[];
|
|
104
|
-
studyMaterials?: IRelatedContentMeta[];
|
|
105
|
-
systemRequirements?: string[];
|
|
106
|
-
tags: ITag[];
|
|
107
|
-
topics: IContentTopic[];
|
|
108
|
-
totalLikes?: {
|
|
109
|
-
[key: string]: number;
|
|
110
|
-
};
|
|
111
|
-
totalRating?: number;
|
|
112
|
-
track: ITrack[];
|
|
113
|
-
uniqueLearners?: number;
|
|
114
|
-
viewCount?: {
|
|
115
|
-
[key: string]: number;
|
|
116
|
-
};
|
|
117
|
-
reason?: string;
|
|
118
|
-
trainingLHubCount?: number;
|
|
119
|
-
verifiers?: {
|
|
120
|
-
name: string;
|
|
121
|
-
email: string;
|
|
122
|
-
id: string;
|
|
123
|
-
}[];
|
|
124
|
-
references?: {
|
|
125
|
-
url: string;
|
|
126
|
-
title: string;
|
|
127
|
-
}[];
|
|
128
|
-
resumePage?: number;
|
|
129
|
-
[key: string]: any;
|
|
130
|
-
optionalReading: boolean;
|
|
131
|
-
additionalTags?: string[];
|
|
132
|
-
}
|
|
133
|
-
enum EPrimaryCategory {
|
|
134
|
-
PROGRAM = "Program",
|
|
135
|
-
COURSE = "Course",
|
|
136
|
-
MODULE = "Course Unit",
|
|
137
|
-
RESOURCE = "Learning Resource",
|
|
138
|
-
GOALS = "GOALS",
|
|
139
|
-
PRACTICE_RESOURCE = "Practice Question Set",
|
|
140
|
-
FINAL_ASSESSMENT = "Course Assessment",
|
|
141
|
-
COMP_ASSESSMENT = "Competency Assessment",
|
|
142
|
-
FTB_QUESTION = "FTB Question",
|
|
143
|
-
MTF_QUESTION = "MTF Question",
|
|
144
|
-
MULTIPLE_CHOICE_QUESTION = "Multiple Choice Question",
|
|
145
|
-
SINGLE_CHOICE_QUESTION = "Single Choice Question",
|
|
146
|
-
MANDATORY_COURSE_GOAL = "Mandatory Course Goal",
|
|
147
|
-
BLENDED_PROGRAM = "Blended Program",
|
|
148
|
-
OFFLINE_SESSION = "Offline Session",
|
|
149
|
-
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
150
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
151
|
-
LEARNING_JOURNEY = "Learning Journeys",
|
|
152
|
-
CHANNEL = "Channel"
|
|
153
|
-
}
|
|
154
|
-
interface IContentMinimal {
|
|
155
|
-
appIcon: string;
|
|
156
|
-
artifactUrl: string;
|
|
157
|
-
complexityLevel: string;
|
|
158
|
-
contentType: EContentTypes;
|
|
159
|
-
primaryCategory: EPrimaryCategory;
|
|
160
|
-
description: string;
|
|
161
|
-
displayContentType?: EDisplayContentTypes;
|
|
162
|
-
duration: number;
|
|
163
|
-
identifier: string;
|
|
164
|
-
hasAccess?: boolean;
|
|
165
|
-
isInIntranet?: boolean;
|
|
166
|
-
learningMode?: TLearningMode;
|
|
167
|
-
mimeType: EMimeTypes;
|
|
168
|
-
name: string;
|
|
169
|
-
creatorDetails: ICreator[];
|
|
170
|
-
creatorContacts: ICreator[];
|
|
171
|
-
PosterImage?: string;
|
|
172
|
-
resourceType?: string;
|
|
173
|
-
totalRating?: number;
|
|
174
|
-
}
|
|
175
|
-
interface ICollectionHierarchyResponse {
|
|
176
|
-
data: IContent;
|
|
177
|
-
hasMore: boolean;
|
|
178
|
-
totalContents: number;
|
|
179
|
-
}
|
|
180
|
-
interface IRelatedContentMeta {
|
|
181
|
-
identifier: string;
|
|
182
|
-
name: string;
|
|
183
|
-
}
|
|
184
|
-
type TCertificationStatus = 'ongoing' | 'passed' | 'canAttempt' | 'cannotAttempt';
|
|
185
|
-
type TLearningMode = 'Self-Paced' | 'Instructor-Led' | 'Open' | 'Closed';
|
|
186
|
-
interface IMarkAsCompleteProgress {
|
|
187
|
-
progressStatus: 'open' | 'started' | 'completed';
|
|
188
|
-
showMarkAsComplete: boolean;
|
|
189
|
-
markAsCompleteReason: string;
|
|
190
|
-
progressSupported: boolean;
|
|
191
|
-
progress: number | null;
|
|
192
|
-
}
|
|
193
|
-
interface ITag {
|
|
194
|
-
id: string;
|
|
195
|
-
type: string;
|
|
196
|
-
value: string;
|
|
197
|
-
}
|
|
198
|
-
interface IMSArtifactDetails {
|
|
199
|
-
channelId: string;
|
|
200
|
-
videoId: string;
|
|
201
|
-
}
|
|
202
|
-
interface IClient {
|
|
203
|
-
displayName: string;
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
|
-
}
|
|
207
|
-
interface ISubtitle {
|
|
208
|
-
srclang: string;
|
|
209
|
-
label: string;
|
|
210
|
-
url: string;
|
|
211
|
-
}
|
|
212
|
-
interface IPrePostContent {
|
|
213
|
-
identifier: string;
|
|
214
|
-
name: string;
|
|
215
|
-
}
|
|
216
|
-
interface IResourceDetail {
|
|
217
|
-
title?: string;
|
|
218
|
-
url?: string;
|
|
219
|
-
}
|
|
220
|
-
interface IResourcePlayground {
|
|
221
|
-
appIcon: string;
|
|
222
|
-
artifactUrl: string;
|
|
223
|
-
identifier: string;
|
|
224
|
-
name: string;
|
|
225
|
-
}
|
|
226
|
-
interface ITrack {
|
|
227
|
-
id: string;
|
|
228
|
-
name: string;
|
|
229
|
-
status: string;
|
|
230
|
-
visibility: string;
|
|
231
|
-
}
|
|
232
|
-
interface ISkill {
|
|
233
|
-
id: string;
|
|
234
|
-
category: string;
|
|
235
|
-
skill: string;
|
|
236
|
-
name: string;
|
|
237
|
-
}
|
|
238
|
-
interface ICreator {
|
|
239
|
-
id: string;
|
|
240
|
-
name: string;
|
|
241
|
-
email: string;
|
|
242
|
-
}
|
|
243
|
-
interface IContentTopic {
|
|
244
|
-
identifier: string;
|
|
245
|
-
name: string;
|
|
246
|
-
}
|
|
247
|
-
interface IContact {
|
|
248
|
-
id: string;
|
|
249
|
-
name: string;
|
|
250
|
-
email: string;
|
|
251
|
-
}
|
|
252
|
-
interface IViewerContinueLearningRequest {
|
|
253
|
-
resourceId: string;
|
|
254
|
-
contextPathId: string;
|
|
255
|
-
data: string;
|
|
256
|
-
dateAccessed: number;
|
|
257
|
-
contextType?: string;
|
|
258
|
-
}
|
|
259
|
-
enum EContentTypes {
|
|
260
|
-
PROGRAM = "Learning Path",
|
|
261
|
-
CHANNEL = "Channel",
|
|
262
|
-
COURSE = "Course",
|
|
263
|
-
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
264
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
265
|
-
LEARNING_JOURNEY = "Learning Journeys",
|
|
266
|
-
MODULE = "Collection",
|
|
267
|
-
RESOURCE = "Resource"
|
|
268
|
-
}
|
|
269
|
-
enum EMiscPlayerSupportedCollectionTypes {
|
|
270
|
-
PLAYLIST = "Playlist"
|
|
271
|
-
}
|
|
272
|
-
const PLAYER_SUPPORTED_COLLECTION_TYPES: string[];
|
|
273
|
-
const KB_SUPPORTED_CONTENT_TYPES: EContentTypes[];
|
|
274
|
-
const PLAYLIST_SUPPORTED_CONTENT_TYPES: EContentTypes[];
|
|
275
|
-
enum EMimeTypes {
|
|
276
|
-
COLLECTION = "application/vnd.ekstep.content-collection",
|
|
277
|
-
HTML = "application/html",
|
|
278
|
-
ILP_FP = "application/ilpfp",
|
|
279
|
-
IAP = "application/iap-assessment",
|
|
280
|
-
M4A = "audio/m4a",
|
|
281
|
-
MP3 = "audio/mpeg",
|
|
282
|
-
MP4 = "video/mp4",
|
|
283
|
-
M3U8 = "application/x-mpegURL",
|
|
284
|
-
INTERACTION = "video/interactive",
|
|
285
|
-
PDF = "application/pdf",
|
|
286
|
-
QUIZ = "application/quiz",
|
|
287
|
-
DRAG_DROP = "application/drag-drop",
|
|
288
|
-
HTML_PICKER = "application/htmlpicker",
|
|
289
|
-
WEB_MODULE = "application/web-module",
|
|
290
|
-
WEB_MODULE_EXERCISE = "application/web-module-exercise",
|
|
291
|
-
YOUTUBE = "video/x-youtube",
|
|
292
|
-
HANDS_ON = "application/integrated-hands-on",
|
|
293
|
-
RDBMS_HANDS_ON = "application/rdbms",
|
|
294
|
-
CLASS_DIAGRAM = "application/class-diagram",
|
|
295
|
-
CHANNEL = "application/channel",
|
|
296
|
-
COLLECTION_RESOURCE = "resource/collection",
|
|
297
|
-
CERTIFICATION = "application/certification",
|
|
298
|
-
PLAYLIST = "application/playlist",
|
|
299
|
-
QUESTION_SET = "application/vnd.sunbird.questionset",
|
|
300
|
-
QUESTION = "application/vnd.sunbird.question",
|
|
301
|
-
UNKNOWN = "application/unknown",
|
|
302
|
-
OFFLINE_SESSION = "application/offline"
|
|
303
|
-
}
|
|
304
|
-
enum EDisplayContentTypes {
|
|
305
|
-
ASSESSMENT = "ASSESSMENT",
|
|
306
|
-
AUDIO = "AUDIO",
|
|
307
|
-
CERTIFICATION = "CERTIFICATION",
|
|
308
|
-
CHANNEL = "Channel",
|
|
309
|
-
CLASS_DIAGRAM = "CLASS_DIAGRAM",
|
|
310
|
-
COURSE = "COURSE",
|
|
311
|
-
DEFAULT = "DEFAULT",
|
|
312
|
-
DRAG_DROP = "DRAG_DROP",
|
|
313
|
-
EXTERNAL_CERTIFICATION = "EXTERNAL_CERTIFICATION",
|
|
314
|
-
EXTERNAL_COURSE = "EXTERNAL_COURSE",
|
|
315
|
-
GOALS = "GOALS",
|
|
316
|
-
HANDS_ON = "HANDS_ON",
|
|
317
|
-
IAP = "IAP",
|
|
318
|
-
INSTRUCTOR_LED = "INSTRUCTOR_LED",
|
|
319
|
-
INTERACTIVE_VIDEO = "INTERACTIVE_VIDEO",
|
|
320
|
-
KNOWLEDGE_ARTIFACT = "KNOWLEDGE_ARTIFACT",
|
|
321
|
-
MODULE = "MODULE",
|
|
322
|
-
PDF = "PDF",
|
|
323
|
-
PLAYLIST = "PLAYLIST",
|
|
324
|
-
PROGRAM = "PROGRAM",
|
|
325
|
-
QUIZ = "QUIZ",
|
|
326
|
-
RESOURCE = "RESOURCE",
|
|
327
|
-
RDBMS_HANDS_ON = "RDBMS_HANDS_ON",
|
|
328
|
-
VIDEO = "VIDEO",
|
|
329
|
-
WEB_MODULE = "WEB_MODULE",
|
|
330
|
-
WEB_PAGE = "WEB_PAGE",
|
|
331
|
-
YOUTUBE = "YOUTUBE",
|
|
332
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
333
|
-
LEARNING_JOURNEY = "Learning Journeys"
|
|
334
|
-
}
|
|
335
|
-
enum EFilterCategory {
|
|
336
|
-
ALL = "ALL",
|
|
337
|
-
LEARN = "LEARN",
|
|
338
|
-
PRACTICE = "PRACTICE",
|
|
339
|
-
ASSESS = "ASSESS"
|
|
340
|
-
}
|
|
341
|
-
enum ETagType {
|
|
342
|
-
NEWLY_ADDED = "NEWLY ADDED"
|
|
343
|
-
}
|
|
344
|
-
}
|
|
1
|
+
export declare namespace NsContent {
|
|
2
|
+
interface IContinueLearningData extends IContent {
|
|
3
|
+
continueData: any;
|
|
4
|
+
}
|
|
5
|
+
interface IContent {
|
|
6
|
+
platform?: any;
|
|
7
|
+
addedOn: string;
|
|
8
|
+
appIcon: string;
|
|
9
|
+
artifactUrl: string;
|
|
10
|
+
averageRating?: any;
|
|
11
|
+
body?: string;
|
|
12
|
+
certificationList?: IRelatedContentMeta[];
|
|
13
|
+
certificationStatus?: TCertificationStatus;
|
|
14
|
+
certificationSubmissionDate?: string;
|
|
15
|
+
certificationUrl: string;
|
|
16
|
+
children: IContent[];
|
|
17
|
+
childrenClassifiers?: string[];
|
|
18
|
+
clients?: IClient[];
|
|
19
|
+
collections?: IContent[];
|
|
20
|
+
complexityLevel: string;
|
|
21
|
+
contentId: string;
|
|
22
|
+
contentType: EContentTypes;
|
|
23
|
+
difficultyLevel: string;
|
|
24
|
+
primaryCategory: EPrimaryCategory;
|
|
25
|
+
contentUrlAtSource: string;
|
|
26
|
+
creatorContacts: ICreator[];
|
|
27
|
+
creatorDetails: ICreator[];
|
|
28
|
+
creatorLogo: string;
|
|
29
|
+
creatorPosterImage: string;
|
|
30
|
+
creatorThumbnail: string;
|
|
31
|
+
curatedTags: string[];
|
|
32
|
+
description: string;
|
|
33
|
+
displayContentType: EDisplayContentTypes;
|
|
34
|
+
downloadUrl?: string;
|
|
35
|
+
duration: number;
|
|
36
|
+
exclusiveContent?: boolean;
|
|
37
|
+
expiryDate?: string;
|
|
38
|
+
equivalentCertifications?: IRelatedContentMeta[];
|
|
39
|
+
hasAccess: boolean;
|
|
40
|
+
hasAssessment?: string;
|
|
41
|
+
idealScreenSize?: string;
|
|
42
|
+
identifier: string;
|
|
43
|
+
introductoryVideo?: string;
|
|
44
|
+
introductoryVideoIcon?: string;
|
|
45
|
+
learningTrack?: string;
|
|
46
|
+
isExternal: boolean;
|
|
47
|
+
isIframeSupported: 'Yes' | 'No' | 'Maybe';
|
|
48
|
+
isInIntranet?: boolean;
|
|
49
|
+
keywords?: string[];
|
|
50
|
+
kArtifacts?: IRelatedContentMeta[];
|
|
51
|
+
lastUpdatedOn: string;
|
|
52
|
+
learningMode?: TLearningMode;
|
|
53
|
+
learningObjective: string;
|
|
54
|
+
labels?: string[];
|
|
55
|
+
locale?: string;
|
|
56
|
+
hasTranslations?: {
|
|
57
|
+
identifier: string;
|
|
58
|
+
locale: string;
|
|
59
|
+
}[];
|
|
60
|
+
isTranslationOf?: {
|
|
61
|
+
identifier: string;
|
|
62
|
+
locale: string;
|
|
63
|
+
}[];
|
|
64
|
+
me_totalSessionsCount: number;
|
|
65
|
+
mediaType: string;
|
|
66
|
+
mimeType: EMimeTypes;
|
|
67
|
+
miniGOTVersion?: string;
|
|
68
|
+
msArtifactDetails?: IMSArtifactDetails;
|
|
69
|
+
mode?: ETagType;
|
|
70
|
+
name: string;
|
|
71
|
+
nextCertificationAttemptDate?: string;
|
|
72
|
+
playgroundInstructions?: string;
|
|
73
|
+
playgroundResources?: IResourcePlayground[];
|
|
74
|
+
postContents?: IPrePostContent[];
|
|
75
|
+
posterImage?: string;
|
|
76
|
+
preContents?: IPrePostContent[];
|
|
77
|
+
preRequisites: string;
|
|
78
|
+
price?: {
|
|
79
|
+
currency: string;
|
|
80
|
+
value: number;
|
|
81
|
+
};
|
|
82
|
+
proctorUrl?: string;
|
|
83
|
+
progress?: IMarkAsCompleteProgress;
|
|
84
|
+
programDuration?: any;
|
|
85
|
+
publishedOn: string;
|
|
86
|
+
recentCertificationAttemptScore?: number;
|
|
87
|
+
recommendationReasons?: string[];
|
|
88
|
+
region?: string[];
|
|
89
|
+
registrationUrl?: string;
|
|
90
|
+
registrationInstructions?: string;
|
|
91
|
+
resourceCategory?: string[];
|
|
92
|
+
resourceType: string;
|
|
93
|
+
size?: number;
|
|
94
|
+
skills: ISkill[];
|
|
95
|
+
softwareRequirements?: IResourceDetail[];
|
|
96
|
+
sourceName: string;
|
|
97
|
+
sourceShortName: string;
|
|
98
|
+
sourceIconUrl?: string;
|
|
99
|
+
sourceUrl?: string;
|
|
100
|
+
ssoEnabled?: boolean;
|
|
101
|
+
status: 'Draft' | 'InReview' | 'QualityReview' | 'Reviewed' | 'Processing' | 'Live' | 'Deleted' | 'MarkedForDeletion' | 'Expired';
|
|
102
|
+
subTitle?: string;
|
|
103
|
+
subTitles?: ISubtitle[];
|
|
104
|
+
studyMaterials?: IRelatedContentMeta[];
|
|
105
|
+
systemRequirements?: string[];
|
|
106
|
+
tags: ITag[];
|
|
107
|
+
topics: IContentTopic[];
|
|
108
|
+
totalLikes?: {
|
|
109
|
+
[key: string]: number;
|
|
110
|
+
};
|
|
111
|
+
totalRating?: number;
|
|
112
|
+
track: ITrack[];
|
|
113
|
+
uniqueLearners?: number;
|
|
114
|
+
viewCount?: {
|
|
115
|
+
[key: string]: number;
|
|
116
|
+
};
|
|
117
|
+
reason?: string;
|
|
118
|
+
trainingLHubCount?: number;
|
|
119
|
+
verifiers?: {
|
|
120
|
+
name: string;
|
|
121
|
+
email: string;
|
|
122
|
+
id: string;
|
|
123
|
+
}[];
|
|
124
|
+
references?: {
|
|
125
|
+
url: string;
|
|
126
|
+
title: string;
|
|
127
|
+
}[];
|
|
128
|
+
resumePage?: number;
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
optionalReading: boolean;
|
|
131
|
+
additionalTags?: string[];
|
|
132
|
+
}
|
|
133
|
+
enum EPrimaryCategory {
|
|
134
|
+
PROGRAM = "Program",
|
|
135
|
+
COURSE = "Course",
|
|
136
|
+
MODULE = "Course Unit",
|
|
137
|
+
RESOURCE = "Learning Resource",
|
|
138
|
+
GOALS = "GOALS",
|
|
139
|
+
PRACTICE_RESOURCE = "Practice Question Set",
|
|
140
|
+
FINAL_ASSESSMENT = "Course Assessment",
|
|
141
|
+
COMP_ASSESSMENT = "Competency Assessment",
|
|
142
|
+
FTB_QUESTION = "FTB Question",
|
|
143
|
+
MTF_QUESTION = "MTF Question",
|
|
144
|
+
MULTIPLE_CHOICE_QUESTION = "Multiple Choice Question",
|
|
145
|
+
SINGLE_CHOICE_QUESTION = "Single Choice Question",
|
|
146
|
+
MANDATORY_COURSE_GOAL = "Mandatory Course Goal",
|
|
147
|
+
BLENDED_PROGRAM = "Blended Program",
|
|
148
|
+
OFFLINE_SESSION = "Offline Session",
|
|
149
|
+
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
150
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
151
|
+
LEARNING_JOURNEY = "Learning Journeys",
|
|
152
|
+
CHANNEL = "Channel"
|
|
153
|
+
}
|
|
154
|
+
interface IContentMinimal {
|
|
155
|
+
appIcon: string;
|
|
156
|
+
artifactUrl: string;
|
|
157
|
+
complexityLevel: string;
|
|
158
|
+
contentType: EContentTypes;
|
|
159
|
+
primaryCategory: EPrimaryCategory;
|
|
160
|
+
description: string;
|
|
161
|
+
displayContentType?: EDisplayContentTypes;
|
|
162
|
+
duration: number;
|
|
163
|
+
identifier: string;
|
|
164
|
+
hasAccess?: boolean;
|
|
165
|
+
isInIntranet?: boolean;
|
|
166
|
+
learningMode?: TLearningMode;
|
|
167
|
+
mimeType: EMimeTypes;
|
|
168
|
+
name: string;
|
|
169
|
+
creatorDetails: ICreator[];
|
|
170
|
+
creatorContacts: ICreator[];
|
|
171
|
+
PosterImage?: string;
|
|
172
|
+
resourceType?: string;
|
|
173
|
+
totalRating?: number;
|
|
174
|
+
}
|
|
175
|
+
interface ICollectionHierarchyResponse {
|
|
176
|
+
data: IContent;
|
|
177
|
+
hasMore: boolean;
|
|
178
|
+
totalContents: number;
|
|
179
|
+
}
|
|
180
|
+
interface IRelatedContentMeta {
|
|
181
|
+
identifier: string;
|
|
182
|
+
name: string;
|
|
183
|
+
}
|
|
184
|
+
type TCertificationStatus = 'ongoing' | 'passed' | 'canAttempt' | 'cannotAttempt';
|
|
185
|
+
type TLearningMode = 'Self-Paced' | 'Instructor-Led' | 'Open' | 'Closed';
|
|
186
|
+
interface IMarkAsCompleteProgress {
|
|
187
|
+
progressStatus: 'open' | 'started' | 'completed';
|
|
188
|
+
showMarkAsComplete: boolean;
|
|
189
|
+
markAsCompleteReason: string;
|
|
190
|
+
progressSupported: boolean;
|
|
191
|
+
progress: number | null;
|
|
192
|
+
}
|
|
193
|
+
interface ITag {
|
|
194
|
+
id: string;
|
|
195
|
+
type: string;
|
|
196
|
+
value: string;
|
|
197
|
+
}
|
|
198
|
+
interface IMSArtifactDetails {
|
|
199
|
+
channelId: string;
|
|
200
|
+
videoId: string;
|
|
201
|
+
}
|
|
202
|
+
interface IClient {
|
|
203
|
+
displayName: string;
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
}
|
|
207
|
+
interface ISubtitle {
|
|
208
|
+
srclang: string;
|
|
209
|
+
label: string;
|
|
210
|
+
url: string;
|
|
211
|
+
}
|
|
212
|
+
interface IPrePostContent {
|
|
213
|
+
identifier: string;
|
|
214
|
+
name: string;
|
|
215
|
+
}
|
|
216
|
+
interface IResourceDetail {
|
|
217
|
+
title?: string;
|
|
218
|
+
url?: string;
|
|
219
|
+
}
|
|
220
|
+
interface IResourcePlayground {
|
|
221
|
+
appIcon: string;
|
|
222
|
+
artifactUrl: string;
|
|
223
|
+
identifier: string;
|
|
224
|
+
name: string;
|
|
225
|
+
}
|
|
226
|
+
interface ITrack {
|
|
227
|
+
id: string;
|
|
228
|
+
name: string;
|
|
229
|
+
status: string;
|
|
230
|
+
visibility: string;
|
|
231
|
+
}
|
|
232
|
+
interface ISkill {
|
|
233
|
+
id: string;
|
|
234
|
+
category: string;
|
|
235
|
+
skill: string;
|
|
236
|
+
name: string;
|
|
237
|
+
}
|
|
238
|
+
interface ICreator {
|
|
239
|
+
id: string;
|
|
240
|
+
name: string;
|
|
241
|
+
email: string;
|
|
242
|
+
}
|
|
243
|
+
interface IContentTopic {
|
|
244
|
+
identifier: string;
|
|
245
|
+
name: string;
|
|
246
|
+
}
|
|
247
|
+
interface IContact {
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
email: string;
|
|
251
|
+
}
|
|
252
|
+
interface IViewerContinueLearningRequest {
|
|
253
|
+
resourceId: string;
|
|
254
|
+
contextPathId: string;
|
|
255
|
+
data: string;
|
|
256
|
+
dateAccessed: number;
|
|
257
|
+
contextType?: string;
|
|
258
|
+
}
|
|
259
|
+
enum EContentTypes {
|
|
260
|
+
PROGRAM = "Learning Path",
|
|
261
|
+
CHANNEL = "Channel",
|
|
262
|
+
COURSE = "Course",
|
|
263
|
+
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
264
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
265
|
+
LEARNING_JOURNEY = "Learning Journeys",
|
|
266
|
+
MODULE = "Collection",
|
|
267
|
+
RESOURCE = "Resource"
|
|
268
|
+
}
|
|
269
|
+
enum EMiscPlayerSupportedCollectionTypes {
|
|
270
|
+
PLAYLIST = "Playlist"
|
|
271
|
+
}
|
|
272
|
+
const PLAYER_SUPPORTED_COLLECTION_TYPES: string[];
|
|
273
|
+
const KB_SUPPORTED_CONTENT_TYPES: EContentTypes[];
|
|
274
|
+
const PLAYLIST_SUPPORTED_CONTENT_TYPES: EContentTypes[];
|
|
275
|
+
enum EMimeTypes {
|
|
276
|
+
COLLECTION = "application/vnd.ekstep.content-collection",
|
|
277
|
+
HTML = "application/html",
|
|
278
|
+
ILP_FP = "application/ilpfp",
|
|
279
|
+
IAP = "application/iap-assessment",
|
|
280
|
+
M4A = "audio/m4a",
|
|
281
|
+
MP3 = "audio/mpeg",
|
|
282
|
+
MP4 = "video/mp4",
|
|
283
|
+
M3U8 = "application/x-mpegURL",
|
|
284
|
+
INTERACTION = "video/interactive",
|
|
285
|
+
PDF = "application/pdf",
|
|
286
|
+
QUIZ = "application/quiz",
|
|
287
|
+
DRAG_DROP = "application/drag-drop",
|
|
288
|
+
HTML_PICKER = "application/htmlpicker",
|
|
289
|
+
WEB_MODULE = "application/web-module",
|
|
290
|
+
WEB_MODULE_EXERCISE = "application/web-module-exercise",
|
|
291
|
+
YOUTUBE = "video/x-youtube",
|
|
292
|
+
HANDS_ON = "application/integrated-hands-on",
|
|
293
|
+
RDBMS_HANDS_ON = "application/rdbms",
|
|
294
|
+
CLASS_DIAGRAM = "application/class-diagram",
|
|
295
|
+
CHANNEL = "application/channel",
|
|
296
|
+
COLLECTION_RESOURCE = "resource/collection",
|
|
297
|
+
CERTIFICATION = "application/certification",
|
|
298
|
+
PLAYLIST = "application/playlist",
|
|
299
|
+
QUESTION_SET = "application/vnd.sunbird.questionset",
|
|
300
|
+
QUESTION = "application/vnd.sunbird.question",
|
|
301
|
+
UNKNOWN = "application/unknown",
|
|
302
|
+
OFFLINE_SESSION = "application/offline"
|
|
303
|
+
}
|
|
304
|
+
enum EDisplayContentTypes {
|
|
305
|
+
ASSESSMENT = "ASSESSMENT",
|
|
306
|
+
AUDIO = "AUDIO",
|
|
307
|
+
CERTIFICATION = "CERTIFICATION",
|
|
308
|
+
CHANNEL = "Channel",
|
|
309
|
+
CLASS_DIAGRAM = "CLASS_DIAGRAM",
|
|
310
|
+
COURSE = "COURSE",
|
|
311
|
+
DEFAULT = "DEFAULT",
|
|
312
|
+
DRAG_DROP = "DRAG_DROP",
|
|
313
|
+
EXTERNAL_CERTIFICATION = "EXTERNAL_CERTIFICATION",
|
|
314
|
+
EXTERNAL_COURSE = "EXTERNAL_COURSE",
|
|
315
|
+
GOALS = "GOALS",
|
|
316
|
+
HANDS_ON = "HANDS_ON",
|
|
317
|
+
IAP = "IAP",
|
|
318
|
+
INSTRUCTOR_LED = "INSTRUCTOR_LED",
|
|
319
|
+
INTERACTIVE_VIDEO = "INTERACTIVE_VIDEO",
|
|
320
|
+
KNOWLEDGE_ARTIFACT = "KNOWLEDGE_ARTIFACT",
|
|
321
|
+
MODULE = "MODULE",
|
|
322
|
+
PDF = "PDF",
|
|
323
|
+
PLAYLIST = "PLAYLIST",
|
|
324
|
+
PROGRAM = "PROGRAM",
|
|
325
|
+
QUIZ = "QUIZ",
|
|
326
|
+
RESOURCE = "RESOURCE",
|
|
327
|
+
RDBMS_HANDS_ON = "RDBMS_HANDS_ON",
|
|
328
|
+
VIDEO = "VIDEO",
|
|
329
|
+
WEB_MODULE = "WEB_MODULE",
|
|
330
|
+
WEB_PAGE = "WEB_PAGE",
|
|
331
|
+
YOUTUBE = "YOUTUBE",
|
|
332
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
333
|
+
LEARNING_JOURNEY = "Learning Journeys"
|
|
334
|
+
}
|
|
335
|
+
enum EFilterCategory {
|
|
336
|
+
ALL = "ALL",
|
|
337
|
+
LEARN = "LEARN",
|
|
338
|
+
PRACTICE = "PRACTICE",
|
|
339
|
+
ASSESS = "ASSESS"
|
|
340
|
+
}
|
|
341
|
+
enum ETagType {
|
|
342
|
+
NEWLY_ADDED = "NEWLY ADDED"
|
|
343
|
+
}
|
|
344
|
+
}
|