cmd-control-client-lib 3.0.1 → 3.0.5
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/dist/{cmd-control-lib.d.ts → cmd-control-client-lib.d.ts} +0 -0
- package/dist/cmd-control-client-lib.js +1 -1
- package/dist/cmd-control-client-lib.js.map +1 -1
- package/dist/cmd-protocol.d.ts +1 -0
- package/dist/protocol/live/products-config.d.ts +5 -7
- package/dist/protocol/live/streamstate.d.ts +1 -1
- package/dist/protocol/live/supdate.d.ts +1 -1
- package/package.json +4 -4
- package/.arcconfig +0 -4
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -65
- package/.husky/pre-commit +0 -5
- package/test/.eslintrc.js +0 -12
- package/workspace.code-workspace +0 -13
package/dist/cmd-protocol.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from "./protocol/systemmessagekey";
|
|
|
28
28
|
export * from "./protocol/live/login";
|
|
29
29
|
export * from "./protocol/live/devicestatus";
|
|
30
30
|
export * from "./protocol/live/supdate";
|
|
31
|
+
export * from "./protocol/live/products-config";
|
|
31
32
|
export * from "./protocol/live/streamstate";
|
|
32
33
|
export * from "./protocol/live/onlinesummary";
|
|
33
34
|
export * from "./protocol/live/usersettings";
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export declare enum EnumProductLinks {
|
|
2
|
-
CHAT_MOTTO = "
|
|
3
|
-
CHAT_SETTINGS = "
|
|
2
|
+
CHAT_MOTTO = "chatMotto",
|
|
3
|
+
CHAT_SETTINGS = "chatSettings",
|
|
4
4
|
HELP = "help",
|
|
5
|
-
HELP_TOY = "
|
|
5
|
+
HELP_TOY = "helpToy",
|
|
6
6
|
MESSAGING = "messaging",
|
|
7
|
-
PICTURE_TOOL = "
|
|
7
|
+
PICTURE_TOOL = "picturePool",
|
|
8
8
|
PROFILE = "profile",
|
|
9
|
-
|
|
10
|
-
PASSWORDRESET = "passwordReset",
|
|
11
|
-
PASSWORD_RESET = "passwordreset",
|
|
9
|
+
PASSWORD_RESET = "passwordReset",
|
|
12
10
|
SERVICE0900 = "service0900"
|
|
13
11
|
}
|
|
14
12
|
export interface IProductConfig {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EnumBooleanStringifiedExtended } from "../../@types";
|
|
1
2
|
import { ACTION } from "../command/action";
|
|
2
3
|
import { ICOMMAND } from "../command/icommand";
|
|
3
|
-
import { EnumBooleanStringifiedExtended } from "../../cmd-control-lib";
|
|
4
4
|
export declare enum EnumStreamQuality {
|
|
5
5
|
NONE = "NONE",
|
|
6
6
|
EXCELLENT = "EXCELLENT",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { EnumBooleanStringified } from "../../@types";
|
|
1
2
|
import { ACTION } from "../command/action";
|
|
2
3
|
import { baseParamsType, SupportedLanguage } from "../command/baseparams";
|
|
3
4
|
import { ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../command/icommand";
|
|
4
|
-
import { EnumBooleanStringified } from "../../cmd-control-lib";
|
|
5
5
|
export declare enum EnumService0900State {
|
|
6
6
|
ACTIVE = "active",
|
|
7
7
|
INACTIVE = "inactive"
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmd-control-client-lib",
|
|
3
3
|
"description": "Cmd-Client-Library",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"directories": {
|
|
6
6
|
"lib": "./dist"
|
|
7
7
|
},
|
|
8
|
-
"main": "./dist/cmd-control-lib.js",
|
|
9
|
-
"types": "./dist/cmd-control-lib.d.ts",
|
|
8
|
+
"main": "./dist/cmd-control-client-lib.js",
|
|
9
|
+
"types": "./dist/cmd-control-client-lib.d.ts",
|
|
10
10
|
"private": false,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "Vladimir Lidberg, camPoint AG",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"lint:teamcity": "yarn lint --format ./node_modules/eslint-teamcity/index.js",
|
|
69
69
|
"style": "prettier --write \"{src,test}/**/*.ts\"",
|
|
70
70
|
"test": "jest",
|
|
71
|
-
"generate:docs": "typedoc --out doc/ src/cmd-control-lib.ts --theme markdown",
|
|
71
|
+
"generate:docs": "typedoc --out doc/ src/cmd-control-client-lib.ts --theme markdown",
|
|
72
72
|
"_postinstall": "husky install",
|
|
73
73
|
"prepack": "yarn run prepublishOnly",
|
|
74
74
|
"postpack": "yarn run postpublish",
|
package/.arcconfig
DELETED
package/.eslintignore
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line unicorn/prefer-module
|
|
2
|
-
module.exports = {
|
|
3
|
-
env: {
|
|
4
|
-
browser: true,
|
|
5
|
-
es6: true,
|
|
6
|
-
},
|
|
7
|
-
globals: {
|
|
8
|
-
Atomics: "readonly",
|
|
9
|
-
SharedArrayBuffer: "readonly",
|
|
10
|
-
},
|
|
11
|
-
parser: "@typescript-eslint/parser",
|
|
12
|
-
extends: [
|
|
13
|
-
"eslint:recommended",
|
|
14
|
-
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
|
|
15
|
-
"plugin:sonarjs/recommended",
|
|
16
|
-
"plugin:unicorn/recommended",
|
|
17
|
-
"plugin:prettier/recommended",
|
|
18
|
-
],
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2018,
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
},
|
|
23
|
-
plugins: ["@typescript-eslint", "sonarjs", "eslint-plugin-tsdoc", "unicorn", "prettier", "deprecation"],
|
|
24
|
-
rules: {
|
|
25
|
-
// "linebreak-style": ["warn", process.platform === "win32" ? "windows" : "unix"],
|
|
26
|
-
"sonarjs/cognitive-complexity": "warn",
|
|
27
|
-
"tsdoc/syntax": "warn",
|
|
28
|
-
"unicorn/prevent-abbreviations": "off",
|
|
29
|
-
"unicorn/prefer-add-event-listener": "off",
|
|
30
|
-
"unicorn/no-null": "warn",
|
|
31
|
-
"unicorn/no-useless-undefined": "off",
|
|
32
|
-
"unicorn/prefer-ternary": "warn",
|
|
33
|
-
"unicorn/no-array-for-each": "off",
|
|
34
|
-
"unicorn/no-array-reduce": "off",
|
|
35
|
-
"unicorn/numeric-separators-style": "warn",
|
|
36
|
-
"prettier/prettier": ["warn", { endOfLine: "auto" }],
|
|
37
|
-
"@typescript-eslint/no-use-before-define": "off",
|
|
38
|
-
"@typescript-eslint/explicit-function-return-type": "error",
|
|
39
|
-
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
40
|
-
"@typescript-eslint/consistent-type-assertions": "error",
|
|
41
|
-
"@typescript-eslint/naming-convention": [
|
|
42
|
-
"error",
|
|
43
|
-
{
|
|
44
|
-
selector: "default",
|
|
45
|
-
modifiers: ["private"],
|
|
46
|
-
format: ["camelCase"],
|
|
47
|
-
leadingUnderscore: "require",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
"@typescript-eslint/no-parameter-properties": "error",
|
|
51
|
-
"@typescript-eslint/no-require-imports": "error",
|
|
52
|
-
"@typescript-eslint/prefer-function-type": "warn",
|
|
53
|
-
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
54
|
-
"@typescript-eslint/prefer-optional-chain": "warn",
|
|
55
|
-
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
56
|
-
"@typescript-eslint/type-annotation-spacing": "warn",
|
|
57
|
-
// '@typescript-eslint/promise-function-async': 'warn',
|
|
58
|
-
// '@typescript-eslint/prefer-readonly-parameter-types': 'warn',
|
|
59
|
-
// '@typescript-eslint/prefer-readonly': 'warn',
|
|
60
|
-
// '@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
|
61
|
-
// '@typescript-eslint/prefer-includes': 'warn',
|
|
62
|
-
// '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'warn',
|
|
63
|
-
// '@typescript-eslint/no-unnecessary-condition': 'warn'
|
|
64
|
-
},
|
|
65
|
-
};
|
package/.husky/pre-commit
DELETED
package/test/.eslintrc.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ["../.eslintrc.js", "plugin:jest/recommended", "plugin:jest-formatting/recommended"],
|
|
3
|
-
plugins: ["jest", "jest-formatting"],
|
|
4
|
-
env: {
|
|
5
|
-
"jest/globals": true,
|
|
6
|
-
},
|
|
7
|
-
rules: {
|
|
8
|
-
"sonarjs/no-duplicate-string": "off",
|
|
9
|
-
"unicorn/consistent-function-scoping": "off",
|
|
10
|
-
"jest/expect-expect": "off",
|
|
11
|
-
},
|
|
12
|
-
};
|