@scrypted/core 0.0.183 → 0.0.189
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/plugin.zip +0 -0
- package/package.json +1 -1
- package/client/index.ts +0 -72
- package/client/package-lock.json +0 -342
- package/client/package.json +0 -36
- package/client/tsconfig.json +0 -11
- package/ui/README.md +0 -34
- package/ui/babel.config.js +0 -12
- package/ui/package-lock.json +0 -35168
- package/ui/package.json +0 -107
- package/ui/public/favicon.ico +0 -0
- package/ui/public/images/cameraloading.jpg +0 -0
- package/ui/public/img/icons/apple-touch-icon-152x152.png +0 -0
- package/ui/public/img/icons/favicon-128x128.png +0 -0
- package/ui/public/img/icons/favicon-144x144.png +0 -0
- package/ui/public/img/icons/favicon-152x152.png +0 -0
- package/ui/public/img/icons/favicon-16x16.png +0 -0
- package/ui/public/img/icons/favicon-192x192.png +0 -0
- package/ui/public/img/icons/favicon-32x32.png +0 -0
- package/ui/public/img/icons/favicon-384x384.png +0 -0
- package/ui/public/img/icons/favicon-512x512.png +0 -0
- package/ui/public/img/icons/favicon-72x72.png +0 -0
- package/ui/public/img/icons/favicon-96x96.png +0 -0
- package/ui/public/img/icons/icon-128x128.png +0 -0
- package/ui/public/img/icons/icon-144x144.png +0 -0
- package/ui/public/img/icons/icon-152x152.png +0 -0
- package/ui/public/img/icons/icon-192x192.png +0 -0
- package/ui/public/img/icons/icon-384x384.png +0 -0
- package/ui/public/img/icons/icon-512x512.png +0 -0
- package/ui/public/img/icons/icon-72x72.png +0 -0
- package/ui/public/img/icons/icon-96x96.png +0 -0
- package/ui/public/img/icons/msapplication-icon-144x144.png +0 -0
- package/ui/public/img/icons/safari-pinned-tab.svg +0 -1
- package/ui/public/index.html +0 -19
- package/ui/public/manifest.json +0 -45
- package/ui/public/robots.txt +0 -2
- package/ui/shims-vue.d.ts +0 -4
- package/ui/tsconfig.json +0 -34
- package/ui/tslint.json.foo +0 -35
- package/ui/vue.config.js +0 -106
package/dist/plugin.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/client/index.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { ScryptedStatic } from "@scrypted/sdk/types";
|
|
2
|
-
import { SocketOptions } from 'engine.io-client';
|
|
3
|
-
import eio from 'engine.io-client';
|
|
4
|
-
import { attachPluginRemote } from '../../../server/src/plugin/plugin-remote';
|
|
5
|
-
import { RpcPeer } from '../../../server/src/rpc';
|
|
6
|
-
|
|
7
|
-
export interface ScryptedClientStatic extends ScryptedStatic {
|
|
8
|
-
disconnect(): void;
|
|
9
|
-
onClose?: Function;
|
|
10
|
-
userStorage: Storage,
|
|
11
|
-
version: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
connect(baseUrl: string, pluginId: string): Promise<ScryptedClientStatic> {
|
|
16
|
-
const rootLocation = baseUrl || `${window.location.protocol}//${window.location.host}`;
|
|
17
|
-
const endpointPath = `/endpoint/${pluginId}`;
|
|
18
|
-
|
|
19
|
-
return new Promise((resolve, reject) => {
|
|
20
|
-
|
|
21
|
-
const options: SocketOptions = {
|
|
22
|
-
path: `${endpointPath}/engine.io/api/`,
|
|
23
|
-
};
|
|
24
|
-
const socket = eio(rootLocation, options);
|
|
25
|
-
|
|
26
|
-
socket.on('open', async function () {
|
|
27
|
-
try {
|
|
28
|
-
const rpcPeer = new RpcPeer("web", "core", message => socket.send(JSON.stringify(message)));
|
|
29
|
-
socket.on('message', data => rpcPeer.handleMessage(JSON.parse(data as string)));
|
|
30
|
-
|
|
31
|
-
const scrypted = await attachPluginRemote(rpcPeer, undefined);
|
|
32
|
-
const {
|
|
33
|
-
systemManager,
|
|
34
|
-
deviceManager,
|
|
35
|
-
endpointManager,
|
|
36
|
-
mediaManager,
|
|
37
|
-
} = scrypted;
|
|
38
|
-
|
|
39
|
-
const userStorage = await rpcPeer.getParam('userStorage');
|
|
40
|
-
|
|
41
|
-
const info = await systemManager.getComponent('info');
|
|
42
|
-
let version = 'unknown';
|
|
43
|
-
try {
|
|
44
|
-
version = await info.getVersion();
|
|
45
|
-
}
|
|
46
|
-
catch (e) {
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const ret: ScryptedClientStatic = {
|
|
50
|
-
version,
|
|
51
|
-
systemManager,
|
|
52
|
-
deviceManager,
|
|
53
|
-
endpointManager,
|
|
54
|
-
mediaManager,
|
|
55
|
-
userStorage,
|
|
56
|
-
disconnect() {
|
|
57
|
-
socket.close();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
socket.on('close', () => ret.onClose?.());
|
|
62
|
-
|
|
63
|
-
resolve(ret);
|
|
64
|
-
}
|
|
65
|
-
catch (e) {
|
|
66
|
-
socket.close();
|
|
67
|
-
reject(e);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
}
|
package/client/package-lock.json
DELETED
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@scrypted/client",
|
|
3
|
-
"version": "0.0.7",
|
|
4
|
-
"lockfileVersion": 2,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"": {
|
|
8
|
-
"name": "@scrypted/client",
|
|
9
|
-
"version": "0.0.7",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@scrypted/sdk": "file:../../../sdk",
|
|
13
|
-
"@types/lodash.clonedeep": "^4.5.6",
|
|
14
|
-
"engine.io-client": "^5.2.0",
|
|
15
|
-
"lodash.clonedeep": "^4.5.0"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@types/engine.io-client": "^3.1.5"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"../../../sdk": {
|
|
22
|
-
"name": "@scrypted/sdk",
|
|
23
|
-
"version": "0.0.92",
|
|
24
|
-
"license": "ISC",
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
27
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
|
|
28
|
-
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
|
|
29
|
-
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
30
|
-
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
|
|
31
|
-
"@babel/plugin-transform-typescript": "^7.15.8",
|
|
32
|
-
"@babel/preset-typescript": "^7.15.0",
|
|
33
|
-
"@types/node": "^16.11.1",
|
|
34
|
-
"adm-zip": "^0.4.13",
|
|
35
|
-
"axios": "^0.21.4",
|
|
36
|
-
"babel-loader": "^8.2.3",
|
|
37
|
-
"babel-plugin-const-enum": "^1.1.0",
|
|
38
|
-
"esbuild": "^0.13.8",
|
|
39
|
-
"raw-loader": "^4.0.2",
|
|
40
|
-
"rimraf": "^3.0.2",
|
|
41
|
-
"ts-loader": "^9.2.6",
|
|
42
|
-
"typescript-json-schema": "^0.50.1",
|
|
43
|
-
"webpack": "^5.59.0"
|
|
44
|
-
},
|
|
45
|
-
"bin": {
|
|
46
|
-
"scrypted-debug": "bin/scrypted-debug.js",
|
|
47
|
-
"scrypted-deploy": "bin/scrypted-deploy.js",
|
|
48
|
-
"scrypted-deploy-debug": "bin/scrypted-deploy-debug.js",
|
|
49
|
-
"scrypted-package-json": "bin/scrypted-package-json.js",
|
|
50
|
-
"scrypted-readme": "bin/scrypted-readme.js",
|
|
51
|
-
"scrypted-webpack": "bin/scrypted-webpack.js"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"../../sdk": {
|
|
55
|
-
"extraneous": true
|
|
56
|
-
},
|
|
57
|
-
"node_modules/@scrypted/sdk": {
|
|
58
|
-
"resolved": "../../../sdk",
|
|
59
|
-
"link": true
|
|
60
|
-
},
|
|
61
|
-
"node_modules/@types/engine.io-client": {
|
|
62
|
-
"version": "3.1.5",
|
|
63
|
-
"resolved": "https://registry.npmjs.org/@types/engine.io-client/-/engine.io-client-3.1.5.tgz",
|
|
64
|
-
"integrity": "sha512-h2BKMLNVMQGQ0Q7WaQCJ/63LooRQhItnoFNXhbNVnjhNheWEO+sdpTFjZpzWP7TDl4M5lI3fsEAk3PFZfV67Yg==",
|
|
65
|
-
"dev": true,
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"@types/node": "*"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"node_modules/@types/lodash": {
|
|
71
|
-
"version": "4.14.134",
|
|
72
|
-
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.134.tgz",
|
|
73
|
-
"integrity": "sha512-2/O0khFUCFeDlbi7sZ7ZFRCcT812fAeOLm7Ev4KbwASkZ575TDrDcY7YyaoHdTOzKcNbfiwLYZqPmoC4wadrsw=="
|
|
74
|
-
},
|
|
75
|
-
"node_modules/@types/lodash.clonedeep": {
|
|
76
|
-
"version": "4.5.6",
|
|
77
|
-
"resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.6.tgz",
|
|
78
|
-
"integrity": "sha512-cE1jYr2dEg1wBImvXlNtp0xDoS79rfEdGozQVgliDZj1uERH4k+rmEMTudP9b4VQ8O6nRb5gPqft0QzEQGMQgA==",
|
|
79
|
-
"dependencies": {
|
|
80
|
-
"@types/lodash": "*"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"node_modules/@types/node": {
|
|
84
|
-
"version": "12.0.10",
|
|
85
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.10.tgz",
|
|
86
|
-
"integrity": "sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==",
|
|
87
|
-
"dev": true
|
|
88
|
-
},
|
|
89
|
-
"node_modules/base64-arraybuffer": {
|
|
90
|
-
"version": "0.1.4",
|
|
91
|
-
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz",
|
|
92
|
-
"integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=",
|
|
93
|
-
"engines": {
|
|
94
|
-
"node": ">= 0.6.0"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"node_modules/component-emitter": {
|
|
98
|
-
"version": "1.3.0",
|
|
99
|
-
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
|
|
100
|
-
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
|
|
101
|
-
},
|
|
102
|
-
"node_modules/debug": {
|
|
103
|
-
"version": "4.3.2",
|
|
104
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
|
105
|
-
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"ms": "2.1.2"
|
|
108
|
-
},
|
|
109
|
-
"engines": {
|
|
110
|
-
"node": ">=6.0"
|
|
111
|
-
},
|
|
112
|
-
"peerDependenciesMeta": {
|
|
113
|
-
"supports-color": {
|
|
114
|
-
"optional": true
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"node_modules/engine.io-client": {
|
|
119
|
-
"version": "5.2.0",
|
|
120
|
-
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-5.2.0.tgz",
|
|
121
|
-
"integrity": "sha512-BcIBXGBkT7wKecwnfrSV79G2X5lSUSgeAGgoo60plXf8UsQEvCQww/KMwXSMhVjb98fFYNq20CC5eo8IOAPqsg==",
|
|
122
|
-
"dependencies": {
|
|
123
|
-
"base64-arraybuffer": "0.1.4",
|
|
124
|
-
"component-emitter": "~1.3.0",
|
|
125
|
-
"debug": "~4.3.1",
|
|
126
|
-
"engine.io-parser": "~4.0.1",
|
|
127
|
-
"has-cors": "1.1.0",
|
|
128
|
-
"parseqs": "0.0.6",
|
|
129
|
-
"parseuri": "0.0.6",
|
|
130
|
-
"ws": "~7.4.2",
|
|
131
|
-
"xmlhttprequest-ssl": "~2.0.0",
|
|
132
|
-
"yeast": "0.1.2"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"node_modules/engine.io-parser": {
|
|
136
|
-
"version": "4.0.3",
|
|
137
|
-
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-4.0.3.tgz",
|
|
138
|
-
"integrity": "sha512-xEAAY0msNnESNPc00e19y5heTPX4y/TJ36gr8t1voOaNmTojP9b3oK3BbJLFufW2XFPQaaijpFewm2g2Um3uqA==",
|
|
139
|
-
"dependencies": {
|
|
140
|
-
"base64-arraybuffer": "0.1.4"
|
|
141
|
-
},
|
|
142
|
-
"engines": {
|
|
143
|
-
"node": ">=8.0.0"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"node_modules/has-cors": {
|
|
147
|
-
"version": "1.1.0",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
|
|
149
|
-
"integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk="
|
|
150
|
-
},
|
|
151
|
-
"node_modules/lodash.clonedeep": {
|
|
152
|
-
"version": "4.5.0",
|
|
153
|
-
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
|
|
154
|
-
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8="
|
|
155
|
-
},
|
|
156
|
-
"node_modules/ms": {
|
|
157
|
-
"version": "2.1.2",
|
|
158
|
-
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
159
|
-
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
160
|
-
},
|
|
161
|
-
"node_modules/parseqs": {
|
|
162
|
-
"version": "0.0.6",
|
|
163
|
-
"resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz",
|
|
164
|
-
"integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w=="
|
|
165
|
-
},
|
|
166
|
-
"node_modules/parseuri": {
|
|
167
|
-
"version": "0.0.6",
|
|
168
|
-
"resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz",
|
|
169
|
-
"integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow=="
|
|
170
|
-
},
|
|
171
|
-
"node_modules/ws": {
|
|
172
|
-
"version": "7.4.6",
|
|
173
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
|
|
174
|
-
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
|
|
175
|
-
"engines": {
|
|
176
|
-
"node": ">=8.3.0"
|
|
177
|
-
},
|
|
178
|
-
"peerDependencies": {
|
|
179
|
-
"bufferutil": "^4.0.1",
|
|
180
|
-
"utf-8-validate": "^5.0.2"
|
|
181
|
-
},
|
|
182
|
-
"peerDependenciesMeta": {
|
|
183
|
-
"bufferutil": {
|
|
184
|
-
"optional": true
|
|
185
|
-
},
|
|
186
|
-
"utf-8-validate": {
|
|
187
|
-
"optional": true
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"node_modules/xmlhttprequest-ssl": {
|
|
192
|
-
"version": "2.0.0",
|
|
193
|
-
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz",
|
|
194
|
-
"integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==",
|
|
195
|
-
"engines": {
|
|
196
|
-
"node": ">=0.4.0"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"node_modules/yeast": {
|
|
200
|
-
"version": "0.1.2",
|
|
201
|
-
"resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz",
|
|
202
|
-
"integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk="
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"dependencies": {
|
|
206
|
-
"@scrypted/sdk": {
|
|
207
|
-
"version": "file:../../../sdk",
|
|
208
|
-
"requires": {
|
|
209
|
-
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
210
|
-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
|
|
211
|
-
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
|
|
212
|
-
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
213
|
-
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
|
|
214
|
-
"@babel/plugin-transform-typescript": "^7.15.8",
|
|
215
|
-
"@babel/preset-typescript": "^7.15.0",
|
|
216
|
-
"@types/node": "^16.11.1",
|
|
217
|
-
"adm-zip": "^0.4.13",
|
|
218
|
-
"axios": "^0.21.4",
|
|
219
|
-
"babel-loader": "^8.2.3",
|
|
220
|
-
"babel-plugin-const-enum": "^1.1.0",
|
|
221
|
-
"esbuild": "^0.13.8",
|
|
222
|
-
"raw-loader": "^4.0.2",
|
|
223
|
-
"rimraf": "^3.0.2",
|
|
224
|
-
"ts-loader": "^9.2.6",
|
|
225
|
-
"typescript-json-schema": "^0.50.1",
|
|
226
|
-
"webpack": "^5.59.0"
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
"@types/engine.io-client": {
|
|
230
|
-
"version": "3.1.5",
|
|
231
|
-
"resolved": "https://registry.npmjs.org/@types/engine.io-client/-/engine.io-client-3.1.5.tgz",
|
|
232
|
-
"integrity": "sha512-h2BKMLNVMQGQ0Q7WaQCJ/63LooRQhItnoFNXhbNVnjhNheWEO+sdpTFjZpzWP7TDl4M5lI3fsEAk3PFZfV67Yg==",
|
|
233
|
-
"dev": true,
|
|
234
|
-
"requires": {
|
|
235
|
-
"@types/node": "*"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"@types/lodash": {
|
|
239
|
-
"version": "4.14.134",
|
|
240
|
-
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.134.tgz",
|
|
241
|
-
"integrity": "sha512-2/O0khFUCFeDlbi7sZ7ZFRCcT812fAeOLm7Ev4KbwASkZ575TDrDcY7YyaoHdTOzKcNbfiwLYZqPmoC4wadrsw=="
|
|
242
|
-
},
|
|
243
|
-
"@types/lodash.clonedeep": {
|
|
244
|
-
"version": "4.5.6",
|
|
245
|
-
"resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.6.tgz",
|
|
246
|
-
"integrity": "sha512-cE1jYr2dEg1wBImvXlNtp0xDoS79rfEdGozQVgliDZj1uERH4k+rmEMTudP9b4VQ8O6nRb5gPqft0QzEQGMQgA==",
|
|
247
|
-
"requires": {
|
|
248
|
-
"@types/lodash": "*"
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"@types/node": {
|
|
252
|
-
"version": "12.0.10",
|
|
253
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.10.tgz",
|
|
254
|
-
"integrity": "sha512-LcsGbPomWsad6wmMNv7nBLw7YYYyfdYcz6xryKYQhx89c3XXan+8Q6AJ43G5XDIaklaVkK3mE4fCb0SBvMiPSQ==",
|
|
255
|
-
"dev": true
|
|
256
|
-
},
|
|
257
|
-
"base64-arraybuffer": {
|
|
258
|
-
"version": "0.1.4",
|
|
259
|
-
"resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz",
|
|
260
|
-
"integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI="
|
|
261
|
-
},
|
|
262
|
-
"component-emitter": {
|
|
263
|
-
"version": "1.3.0",
|
|
264
|
-
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
|
|
265
|
-
"integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
|
|
266
|
-
},
|
|
267
|
-
"debug": {
|
|
268
|
-
"version": "4.3.2",
|
|
269
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
|
270
|
-
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
|
|
271
|
-
"requires": {
|
|
272
|
-
"ms": "2.1.2"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"engine.io-client": {
|
|
276
|
-
"version": "5.2.0",
|
|
277
|
-
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-5.2.0.tgz",
|
|
278
|
-
"integrity": "sha512-BcIBXGBkT7wKecwnfrSV79G2X5lSUSgeAGgoo60plXf8UsQEvCQww/KMwXSMhVjb98fFYNq20CC5eo8IOAPqsg==",
|
|
279
|
-
"requires": {
|
|
280
|
-
"base64-arraybuffer": "0.1.4",
|
|
281
|
-
"component-emitter": "~1.3.0",
|
|
282
|
-
"debug": "~4.3.1",
|
|
283
|
-
"engine.io-parser": "~4.0.1",
|
|
284
|
-
"has-cors": "1.1.0",
|
|
285
|
-
"parseqs": "0.0.6",
|
|
286
|
-
"parseuri": "0.0.6",
|
|
287
|
-
"ws": "~7.4.2",
|
|
288
|
-
"xmlhttprequest-ssl": "~2.0.0",
|
|
289
|
-
"yeast": "0.1.2"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
"engine.io-parser": {
|
|
293
|
-
"version": "4.0.3",
|
|
294
|
-
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-4.0.3.tgz",
|
|
295
|
-
"integrity": "sha512-xEAAY0msNnESNPc00e19y5heTPX4y/TJ36gr8t1voOaNmTojP9b3oK3BbJLFufW2XFPQaaijpFewm2g2Um3uqA==",
|
|
296
|
-
"requires": {
|
|
297
|
-
"base64-arraybuffer": "0.1.4"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
"has-cors": {
|
|
301
|
-
"version": "1.1.0",
|
|
302
|
-
"resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz",
|
|
303
|
-
"integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk="
|
|
304
|
-
},
|
|
305
|
-
"lodash.clonedeep": {
|
|
306
|
-
"version": "4.5.0",
|
|
307
|
-
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
|
|
308
|
-
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8="
|
|
309
|
-
},
|
|
310
|
-
"ms": {
|
|
311
|
-
"version": "2.1.2",
|
|
312
|
-
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
313
|
-
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
314
|
-
},
|
|
315
|
-
"parseqs": {
|
|
316
|
-
"version": "0.0.6",
|
|
317
|
-
"resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz",
|
|
318
|
-
"integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w=="
|
|
319
|
-
},
|
|
320
|
-
"parseuri": {
|
|
321
|
-
"version": "0.0.6",
|
|
322
|
-
"resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz",
|
|
323
|
-
"integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow=="
|
|
324
|
-
},
|
|
325
|
-
"ws": {
|
|
326
|
-
"version": "7.4.6",
|
|
327
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
|
|
328
|
-
"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
|
|
329
|
-
"requires": {}
|
|
330
|
-
},
|
|
331
|
-
"xmlhttprequest-ssl": {
|
|
332
|
-
"version": "2.0.0",
|
|
333
|
-
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz",
|
|
334
|
-
"integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A=="
|
|
335
|
-
},
|
|
336
|
-
"yeast": {
|
|
337
|
-
"version": "0.1.2",
|
|
338
|
-
"resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz",
|
|
339
|
-
"integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk="
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
package/client/package.json
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@scrypted/client",
|
|
3
|
-
"version": "0.0.7",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"prepublishOnly": "npm run build",
|
|
9
|
-
"build": "tsc",
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
-
},
|
|
12
|
-
"eslintConfig": {
|
|
13
|
-
"root": true,
|
|
14
|
-
"env": {
|
|
15
|
-
"node": true
|
|
16
|
-
},
|
|
17
|
-
"extends": [
|
|
18
|
-
"eslint:recommended"
|
|
19
|
-
],
|
|
20
|
-
"rules": {},
|
|
21
|
-
"parserOptions": {
|
|
22
|
-
"parser": "babel-eslint"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"author": "",
|
|
26
|
-
"license": "ISC",
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@scrypted/sdk": "file:../../../sdk",
|
|
29
|
-
"@types/lodash.clonedeep": "^4.5.6",
|
|
30
|
-
"engine.io-client": "^5.2.0",
|
|
31
|
-
"lodash.clonedeep": "^4.5.0"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/engine.io-client": "^3.1.5"
|
|
35
|
-
}
|
|
36
|
-
}
|
package/client/tsconfig.json
DELETED
package/ui/README.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# web
|
|
2
|
-
|
|
3
|
-
## Project setup
|
|
4
|
-
```
|
|
5
|
-
npm install
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
### Compiles and hot-reloads UI for development
|
|
9
|
-
```
|
|
10
|
-
npm run serve
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Compiles and hot-reloads UI for development (starts backend server)
|
|
14
|
-
```
|
|
15
|
-
npm run dev
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Compiles and minifies for production
|
|
19
|
-
```
|
|
20
|
-
npm run build
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### Run your tests
|
|
24
|
-
```
|
|
25
|
-
npm run test
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Lints and fixes files
|
|
29
|
-
```
|
|
30
|
-
npm run lint
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Customize configuration
|
|
34
|
-
See [Configuration Reference](https://cli.vuejs.org/config/).
|
package/ui/babel.config.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
['@babel/preset-env', {
|
|
4
|
-
"targets": "last 1 chrome versions"
|
|
5
|
-
}]
|
|
6
|
-
],
|
|
7
|
-
plugins: [
|
|
8
|
-
"@babel/plugin-proposal-optional-chaining",
|
|
9
|
-
"@babel/plugin-proposal-object-rest-spread",
|
|
10
|
-
"@babel/plugin-proposal-optional-catch-binding",
|
|
11
|
-
]
|
|
12
|
-
}
|