@clickview/curator 1.0.16 → 1.0.17-rc.0

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.
@@ -0,0 +1,6 @@
1
+ declare const BootstrapKeys: {
2
+ LOCALE: string;
3
+ PHRASES: string;
4
+ VERSION: string;
5
+ };
6
+ export { BootstrapKeys };
@@ -0,0 +1,12 @@
1
+ export declare const SharedDataPrefixes: {
2
+ SUBJECT_PLAYLISTS: string;
3
+ CURRENT_USER: string;
4
+ WORKSPACE: string;
5
+ CONFIG: string;
6
+ LOCALE: string;
7
+ PHRASES: string;
8
+ SEARCH_FILTERS: string;
9
+ SERIES: string;
10
+ NOTIFICATIONS: string;
11
+ SUGGEST_EDIT: string;
12
+ };
@@ -0,0 +1,20 @@
1
+ export declare const SharedDataChannels: {
2
+ CONFIG: string;
3
+ USER: string;
4
+ LANGUAGE: string;
5
+ LIBRARY: string;
6
+ SEARCH: string;
7
+ SERIES: string;
8
+ NOTIFICATIONS: string;
9
+ NOTIFICATIONS_SOCKET: string;
10
+ };
11
+ export declare const SharedServiceChannels: {
12
+ PENDING_ITEMS: string;
13
+ VIDEO_UPLOAD: string;
14
+ SUBTITLE_UPLOAD: string;
15
+ RESOURCE_UPLOAD: string;
16
+ CONTEXTUAL_SEARCH: string;
17
+ };
18
+ export declare const SharedAppChannels: {
19
+ NOTIFICATIONS: string;
20
+ };
@@ -0,0 +1,25 @@
1
+ export declare const SharedDataServices: {
2
+ Config: string;
3
+ User: string;
4
+ Language: string;
5
+ Video: string;
6
+ VideoUpload: string;
7
+ Library: string;
8
+ Search: string;
9
+ Series: string;
10
+ Notification: string;
11
+ NotificationSocket: string;
12
+ };
13
+ export declare const SharedServices: {
14
+ ImageUrl: string;
15
+ PendingItems: string;
16
+ Alerts: string;
17
+ VideoUpload: string;
18
+ ResourceUpload: string;
19
+ SubtitleUpload: string;
20
+ VideoMixin: string;
21
+ ContextualSearch: string;
22
+ Context: string;
23
+ Notification: string;
24
+ AppOptions: string;
25
+ };
@@ -1,11 +1,7 @@
1
- import { BaseDataService } from "../../../../../libs/common/src/backbone/services/BaseDataService";
2
- interface LanguageConfig {
3
- locale: string;
4
- phrases: any;
5
- }
1
+ import { BaseDataService } from "../../../common/src/backbone/services/BaseDataService";
2
+ import { LanguageConfig } from "../interfaces";
6
3
  export declare class LanguageDataService extends BaseDataService {
7
4
  get name(): string;
8
5
  get channelName(): string;
9
6
  getLanguageConfig(callback?: (languageConfig: LanguageConfig) => void): void;
10
7
  }
11
- export {};
@@ -51,5 +51,6 @@ import { LanguageService } from "../../../libs/common/src/backbone/services/Lang
51
51
  import { Flight } from "../../../libs/common/src/react";
52
52
  import { Core } from "../../../libs/common/src/backbone";
53
53
  import { CacheDurations } from "../../../libs/shared/src/constants/CacheDurations";
54
+ import { LanguageDataService } from "../../../libs/shared/src/services/LanguageDataService";
54
55
  import { AlertList } from "../../../libs/shared/src/components/alert/AlertList";
55
- export { Core, InstanceManager, FifoMemoryCache, AjaxDataProvider, AlertList, AlertType, BaseAlertService, LanguageService, Flight, CacheDurations };
56
+ export { Core, InstanceManager, FifoMemoryCache, AjaxDataProvider, AlertList, AlertType, BaseAlertService, LanguageService, Flight, CacheDurations, LanguageDataService };
@@ -1,3 +1,2 @@
1
1
  export * from './CuratorAppNavService';
2
2
  export * from './ImageUploadDataService';
3
- export * from './LanguageDataService';
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "name": "@clickview/curator",
3
- "version": "1.0.16",
4
- "description": "curator",
5
- "main": "dist/curator-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": "http://gitlab.cvinternal.net/front-end/curator.git"
15
- },
16
- "cv": {
17
- "publishable": true,
18
- "rebuildable": true
19
- },
20
- "author": "Matt Trengrove",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@clickview/tooling": "0.0.17",
24
- "@types/cropperjs": "1.3.0",
25
- "@types/react-transition-group": "4.2.3",
26
- "@types/yup": "0.26.24"
27
- },
28
- "dependencies": {
29
- "@clickview/styles": "1.0.7",
30
- "cropperjs": "1.5.6",
31
- "marked": "0.8.0",
32
- "yup": "0.27.0"
33
- },
34
- "babel": {
35
- "presets": [
36
- [
37
- "@babel/preset-env",
38
- {
39
- "corejs": 2,
40
- "useBuiltIns": "entry"
41
- }
42
- ]
43
- ]
44
- }
45
- }
1
+ {
2
+ "name": "@clickview/curator",
3
+ "version": "1.0.17-rc.0",
4
+ "description": "curator",
5
+ "main": "dist/curator-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": "http://gitlab.cvinternal.net/front-end/curator.git"
15
+ },
16
+ "cv": {
17
+ "publishable": true,
18
+ "rebuildable": true
19
+ },
20
+ "author": "Matt Trengrove",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@clickview/tooling": "0.0.17",
24
+ "@types/cropperjs": "1.3.0",
25
+ "@types/react-transition-group": "4.2.3",
26
+ "@types/yup": "0.26.24"
27
+ },
28
+ "dependencies": {
29
+ "@clickview/styles": "1.0.7",
30
+ "cropperjs": "1.5.6",
31
+ "marked": "0.8.0",
32
+ "yup": "0.27.0"
33
+ },
34
+ "babel": {
35
+ "presets": [
36
+ [
37
+ "@babel/preset-env",
38
+ {
39
+ "corejs": 2,
40
+ "useBuiltIns": "entry"
41
+ }
42
+ ]
43
+ ]
44
+ }
45
+ }
@@ -1,13 +0,0 @@
1
- /**
2
- * Not really for concurrency 😂
3
- * But useful in circumstances where we need to manually wait for
4
- * a sequence of callbacks or other resources to execute and don't
5
- * want the overhead of promises.
6
- */
7
- export declare class ConcurrencyHelper {
8
- private value;
9
- constructor(initialValue: number);
10
- increment(): void;
11
- decrement(): void;
12
- getValue(): number;
13
- }