@clickview/online 0.0.21-rc.1 → 0.0.21-rc.3

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/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "@clickview/online",
3
- "version": "0.0.21-rc.1",
4
- "description": "Online",
5
- "main": "dist/online-app.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
9
- "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
10
- "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "https://gitlab.cvinternal.net/front-end/clickview"
15
- },
16
- "cv": {
17
- "publishable": true,
18
- "rebuildable": true
19
- },
20
- "author": "",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@clickview/eslint-config": "1.0.0",
24
- "@clickview/tooling": "0.0.23-rc.1",
25
- "@types/linkifyjs": "2.1.3",
26
- "@types/react-sortable-hoc": "0.7.1",
27
- "@types/react-transition-group": "4.2.3",
28
- "@types/yup": "0.26.24"
29
- },
30
- "dependencies": {
31
- "@clickview/styles": "1.0.16-rc.1",
32
- "yup": "0.27.0"
33
- },
34
- "babel": {
35
- "presets": [
36
- [
37
- "@babel/preset-env",
38
- {
39
- "corejs": 3,
40
- "useBuiltIns": "entry"
41
- }
42
- ]
43
- ]
44
- }
45
- }
1
+ {
2
+ "name": "@clickview/online",
3
+ "version": "0.0.21-rc.3",
4
+ "description": "Online",
5
+ "main": "dist/online-app.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
9
+ "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
10
+ "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://gitlab.cvinternal.net/front-end/clickview"
15
+ },
16
+ "cv": {
17
+ "publishable": true,
18
+ "rebuildable": true
19
+ },
20
+ "author": "",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@clickview/eslint-config": "1.0.0",
24
+ "@clickview/tooling": "0.0.23-rc.3",
25
+ "@types/linkifyjs": "2.1.3",
26
+ "@types/react-sortable-hoc": "0.7.1",
27
+ "@types/react-transition-group": "4.2.3",
28
+ "@types/yup": "0.26.24"
29
+ },
30
+ "dependencies": {
31
+ "@clickview/styles": "1.0.16-rc.3",
32
+ "yup": "0.27.0"
33
+ },
34
+ "babel": {
35
+ "presets": [
36
+ [
37
+ "@babel/preset-env",
38
+ {
39
+ "corejs": 3,
40
+ "useBuiltIns": "entry"
41
+ }
42
+ ]
43
+ ]
44
+ }
45
+ }
@@ -32,7 +32,11 @@ declare namespace currentUser {
32
32
  declare function hasSubjects(): boolean;
33
33
  declare function hasMoviesAndTv(): boolean;
34
34
  declare function get(key: string): any;
35
- declare function getRegion(): string;
35
+
36
+ declare function getInstanceCountryCode(): string;
37
+ declare function getInstanceRegion(): string;
38
+ declare function getContentRegion(): string;
39
+ declare function getCountryCode(): string;
36
40
 
37
41
  declare function isPrimaryCustomer(): boolean;
38
42
 
@@ -45,6 +49,7 @@ declare namespace currentUser {
45
49
  declare function isFreeEduScotCustomer(): boolean;
46
50
  declare function hasWestOSLibrary(): boolean;
47
51
  declare function hasFreeProduct(): boolean;
52
+ declare function hasFeaturedChannelAccess(): boolean;
48
53
 
49
54
  declare function hasCurriculum(): boolean;
50
55
  declare function getDashboardLayout(): DashboardLayout;