@signageos/front-applet 8.0.2 → 8.1.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.
- package/dist/bundle.js +5 -5
- package/dist/bundle.js.map +1 -1
- package/docs/fpath/index.md +1 -1
- package/docs/sos/browser.md +27 -17
- package/docs/sos/command.md +21 -9
- package/docs/sos/debug.md +17 -0
- package/docs/sos/deviceInfo.md +26 -0
- package/docs/sos/display.md +17 -0
- package/docs/sos/fileSystem.md +62 -1
- package/docs/sos/hardware/index.md +36 -1
- package/docs/sos/hardware/led.md +11 -0
- package/docs/sos/index.md +14 -12
- package/docs/sos/input.md +13 -0
- package/docs/sos/monitors.md +16 -1
- package/docs/sos/native/mdc.md +0 -9
- package/docs/sos/offline/index.md +0 -14
- package/docs/sos/osd.md +15 -0
- package/docs/sos/proofOfPlay.md +14 -21
- package/docs/sos/sync.md +3 -17
- package/docs/sos_management/audio.md +14 -1
- package/docs/sos_management/firmware.md +26 -0
- package/docs/sos_management/index.md +1 -1
- package/docs/sos_management/network.md +3 -3
- package/docs/sos_management/package.md +7 -16
- package/docs/sos_management/power.md +154 -1
- package/docs/sos_management/proxy.md +25 -0
- package/docs/sos_management/remoteControl.md +36 -0
- package/docs/sos_management/screen.md +35 -20
- package/docs/sos_management/time.md +45 -5
- package/docs/sos_management/wifi.md +82 -18
- package/es6/FrontApplet/DeviceInfo/IDeviceInfo.d.ts +1 -0
- package/es6/FrontApplet/FileSystem/FileSystem.d.ts +9 -0
- package/es6/FrontApplet/FileSystem/FileSystem.js +13 -0
- package/es6/FrontApplet/FileSystem/FileSystem.js.map +1 -1
- package/es6/FrontApplet/FileSystem/IFileSystem.d.ts +1 -0
- package/es6/FrontApplet/FrontApplet.d.ts +8 -2
- package/es6/FrontApplet/FrontApplet.js +8 -2
- package/es6/FrontApplet/FrontApplet.js.map +1 -1
- package/es6/FrontApplet/Management/Firmware/Firmware.d.ts +14 -0
- package/es6/FrontApplet/Management/Firmware/Firmware.js +8 -0
- package/es6/FrontApplet/Management/Firmware/Firmware.js.map +1 -1
- package/es6/FrontApplet/Management/Package/Package.d.ts +0 -8
- package/es6/FrontApplet/Management/Package/Package.js +0 -8
- package/es6/FrontApplet/Management/Package/Package.js.map +1 -1
- package/es6/FrontApplet/Management/Power/IPower.d.ts +35 -0
- package/es6/FrontApplet/Management/Power/IPower.js +25 -0
- package/es6/FrontApplet/Management/Power/IPower.js.map +1 -1
- package/es6/FrontApplet/Management/Power/Power.d.ts +80 -2
- package/es6/FrontApplet/Management/Power/Power.js +125 -1
- package/es6/FrontApplet/Management/Power/Power.js.map +1 -1
- package/es6/FrontApplet/Management/Power/PowerHelper.d.ts +3 -0
- package/es6/FrontApplet/Management/Power/PowerHelper.js +12 -0
- package/es6/FrontApplet/Management/Power/PowerHelper.js.map +1 -0
- package/es6/FrontApplet/Management/Proxy/Proxy.d.ts +13 -0
- package/es6/FrontApplet/Management/Proxy/Proxy.js +13 -0
- package/es6/FrontApplet/Management/Proxy/Proxy.js.map +1 -1
- package/es6/FrontApplet/Management/RemoteControl/RemoteControl.d.ts +18 -0
- package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js +18 -0
- package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js.map +1 -1
- package/es6/FrontApplet/Management/Screen/IScreen.d.ts +5 -0
- package/es6/FrontApplet/Management/Screen/Screen.d.ts +18 -2
- package/es6/FrontApplet/Management/Screen/Screen.js +32 -23
- package/es6/FrontApplet/Management/Screen/Screen.js.map +1 -1
- package/es6/FrontApplet/Management/Time/Time.d.ts +15 -3
- package/es6/FrontApplet/Management/Time/Time.js +9 -0
- package/es6/FrontApplet/Management/Time/Time.js.map +1 -1
- package/es6/FrontApplet/Management/Wifi/IWifi.d.ts +3 -0
- package/es6/FrontApplet/Management/Wifi/IWifi.js +1 -0
- package/es6/FrontApplet/Management/Wifi/IWifi.js.map +1 -1
- package/es6/FrontApplet/Management/Wifi/Wifi.d.ts +56 -19
- package/es6/FrontApplet/Management/Wifi/Wifi.js +59 -20
- package/es6/FrontApplet/Management/Wifi/Wifi.js.map +1 -1
- package/es6/FrontApplet/Monitors/Monitors.d.ts +1 -1
- package/es6/FrontApplet/Monitors/Monitors.js +1 -1
- package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.d.ts +0 -10
- package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.js +0 -10
- package/es6/FrontApplet/ProofOfPlay/ProofOfPlay.js.map +1 -1
- package/es6/Monitoring/DeviceInfo/deviceInfoCommands.d.ts +29 -0
- package/es6/Monitoring/DeviceInfo/deviceInfoCommands.js +10 -0
- package/es6/Monitoring/DeviceInfo/deviceInfoCommands.js.map +1 -0
- package/es6/Monitoring/DeviceInfo/handleDeviceInfoRequests.d.ts +5 -0
- package/es6/Monitoring/DeviceInfo/handleDeviceInfoRequests.js +30 -0
- package/es6/Monitoring/DeviceInfo/handleDeviceInfoRequests.js.map +1 -0
- package/es6/Monitoring/FileSystem/fileSystemCommands.d.ts +21 -1
- package/es6/Monitoring/FileSystem/fileSystemCommands.js +5 -1
- package/es6/Monitoring/FileSystem/fileSystemCommands.js.map +1 -1
- package/es6/Monitoring/FileSystem/handleFileSystemRequests.js +14 -0
- package/es6/Monitoring/FileSystem/handleFileSystemRequests.js.map +1 -1
- package/es6/Monitoring/Management/Power/handlePowerRequests.js +27 -0
- package/es6/Monitoring/Management/Power/handlePowerRequests.js.map +1 -1
- package/es6/Monitoring/Management/Power/powerCommands.d.ts +41 -1
- package/es6/Monitoring/Management/Power/powerCommands.js +9 -1
- package/es6/Monitoring/Management/Power/powerCommands.js.map +1 -1
- package/es6/Monitoring/Management/Screen/handleScreenRequests.js +3 -1
- package/es6/Monitoring/Management/Screen/handleScreenRequests.js.map +1 -1
- package/es6/Monitoring/Management/Screen/screenCommands.d.ts +2 -0
- package/es6/Monitoring/Management/Screen/screenCommands.js.map +1 -1
- package/es6/Monitoring/Monitoring.js +2 -0
- package/es6/Monitoring/Monitoring.js.map +1 -1
- package/es6/fpath.d.ts +1 -1
- package/es6/fpath.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ITypedCommandEvent } from '../../FrontApplet/Command/ICommandEvent';
|
|
2
|
+
import ICommand from '../../FrontApplet/Command/ICommand';
|
|
3
|
+
import FrontApplet from '../../FrontApplet/FrontApplet';
|
|
4
|
+
import { DeviceInfoRequests } from './deviceInfoCommands';
|
|
5
|
+
export declare function handleDeviceInfoRequests(onCommand: (callback: (commandEvent: ITypedCommandEvent<DeviceInfoRequests>) => Promise<void>) => void, dispatch: <TCommand extends ICommand>(command: TCommand) => Promise<void>, frontApplet: FrontApplet): void;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.handleDeviceInfoRequests = handleDeviceInfoRequests;
|
|
4
|
+
const deviceInfoCommands_1 = require("./deviceInfoCommands");
|
|
5
|
+
function handleDeviceInfoRequests(onCommand, dispatch, frontApplet) {
|
|
6
|
+
onCommand(async (commandEvent) => {
|
|
7
|
+
switch (commandEvent.command.type) {
|
|
8
|
+
case deviceInfoCommands_1.DeviceInfoGetLocationRequest:
|
|
9
|
+
await dispatch({
|
|
10
|
+
type: deviceInfoCommands_1.DeviceInfoGetLocationResult,
|
|
11
|
+
result: await frontApplet.deviceInfo.getLocation(),
|
|
12
|
+
});
|
|
13
|
+
break;
|
|
14
|
+
case deviceInfoCommands_1.DeviceInfoGetOrganizationTagsRequest:
|
|
15
|
+
await dispatch({
|
|
16
|
+
type: deviceInfoCommands_1.DeviceInfoGetOrganizationTagsResult,
|
|
17
|
+
result: await frontApplet.deviceInfo.getOrganizationTags(),
|
|
18
|
+
});
|
|
19
|
+
break;
|
|
20
|
+
case deviceInfoCommands_1.DeviceInfoGetDeviceNameRequest:
|
|
21
|
+
await dispatch({
|
|
22
|
+
type: deviceInfoCommands_1.DeviceInfoGetDeviceNameResult,
|
|
23
|
+
result: await frontApplet.deviceInfo.getDeviceName(),
|
|
24
|
+
});
|
|
25
|
+
break;
|
|
26
|
+
default:
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=handleDeviceInfoRequests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleDeviceInfoRequests.js","sourceRoot":"","sources":["../../../src/Monitoring/DeviceInfo/handleDeviceInfoRequests.ts"],"names":[],"mappings":";;AAaA,4DA4BC;AAtCD,6DAQ8B;AAE9B,SAAgB,wBAAwB,CACvC,SAAsG,EACtG,QAAyE,EACzE,WAAwB;IAExB,SAAS,CAAC,KAAK,EAAE,YAAoD,EAAE,EAAE;QACxE,QAAQ,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACnC,KAAK,iDAA4B;gBAChC,MAAM,QAAQ,CAA8B;oBAC3C,IAAI,EAAE,gDAA2B;oBACjC,MAAM,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE;iBAClD,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,yDAAoC;gBACxC,MAAM,QAAQ,CAAsC;oBACnD,IAAI,EAAE,wDAAmC;oBACzC,MAAM,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,mBAAmB,EAAE;iBAC1D,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,mDAA8B;gBAClC,MAAM,QAAQ,CAAgC;oBAC7C,IAAI,EAAE,kDAA6B;oBACnC,MAAM,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,aAAa,EAAE;iBACpD,CAAC,CAAC;gBACH,MAAM;YACP,QAAQ;QACT,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ICopyFileOptions, IFile, IFilePath, IHeaders, IMoveFileOptions, IStorageUnit } from '../../FrontApplet/FileSystem/types';
|
|
2
2
|
import { EmptyObject } from '../EmptyObject';
|
|
3
|
-
export declare type FileSystemRequests = FileSystemListOfStorageUnitsRequest | FileSystemListOfInternalStorageUnitsRequest | FileSystemListFilesRequest | FileSystemIsDirectoryRequest | FileSystemExistsRequest | FileSystemDeleteFileRequest | FileSystemCreateDirectoryRequest | FileSystemDownloadFileRequest | FileSystemWriteFileRequest | FileSystemReadFileRequest | FileSystemMoveFileRequest | FileSystemCopyFileRequest | FileSystemGetFileChecksumRequest | FileSystemExtractFileRequest | FileSystemGetFileRequest | FileSystemAppendFileRequest | FileSystemCreateArchiveFileRequest;
|
|
3
|
+
export declare type FileSystemRequests = FileSystemListOfStorageUnitsRequest | FileSystemListOfInternalStorageUnitsRequest | FileSystemListFilesRequest | FileSystemIsDirectoryRequest | FileSystemExistsRequest | FileSystemDeleteFileRequest | FileSystemCreateDirectoryRequest | FileSystemDownloadFileRequest | FileSystemWriteFileRequest | FileSystemReadFileRequest | FileSystemMoveFileRequest | FileSystemCopyFileRequest | FileSystemGetFileChecksumRequest | FileSystemExtractFileRequest | FileSystemGetFileRequest | FileSystemAppendFileRequest | FileSystemCreateArchiveFileRequest | FileSystemWipeoutRequest | FileSystemLinkRequest;
|
|
4
4
|
export declare const FileSystemListOfStorageUnitsRequest = "sos.Monitoring.FileSystem.FileSystemListOfStorageUnitsRequest";
|
|
5
5
|
export interface FileSystemListOfStorageUnitsRequest {
|
|
6
6
|
type: typeof FileSystemListOfStorageUnitsRequest;
|
|
@@ -182,3 +182,23 @@ export interface FileSystemAppendFileResult {
|
|
|
182
182
|
type: typeof FileSystemAppendFileResult;
|
|
183
183
|
result: EmptyObject;
|
|
184
184
|
}
|
|
185
|
+
export declare const FileSystemWipeoutRequest = "sos.Monitoring.FileSystem.FileSystemWipeoutRequest";
|
|
186
|
+
export interface FileSystemWipeoutRequest {
|
|
187
|
+
type: typeof FileSystemWipeoutRequest;
|
|
188
|
+
}
|
|
189
|
+
export declare const FileSystemWipeoutResult = "sos.Monitoring.FileSystem.FileSystemWipeoutResult";
|
|
190
|
+
export interface FileSystemWipeoutResult {
|
|
191
|
+
type: typeof FileSystemWipeoutResult;
|
|
192
|
+
result: EmptyObject;
|
|
193
|
+
}
|
|
194
|
+
export declare const FileSystemLinkRequest = "sos.Monitoring.FileSystem.FileSystemLinkRequest";
|
|
195
|
+
export interface FileSystemLinkRequest {
|
|
196
|
+
type: typeof FileSystemLinkRequest;
|
|
197
|
+
sourceFilePath: IFilePath;
|
|
198
|
+
destinationFilePath: IFilePath;
|
|
199
|
+
}
|
|
200
|
+
export declare const FileSystemLinkResult = "sos.Monitoring.FileSystem.FileSystemLinkResult";
|
|
201
|
+
export interface FileSystemLinkResult {
|
|
202
|
+
type: typeof FileSystemLinkResult;
|
|
203
|
+
result: EmptyObject;
|
|
204
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileSystemAppendFileResult = exports.FileSystemAppendFileRequest = exports.FileSystemGetFileResult = exports.FileSystemGetFileRequest = exports.FileSystemExtractFileResult = exports.FileSystemCreateArchiveFileResult = exports.FileSystemCreateArchiveFileRequest = exports.FileSystemExtractFileRequest = exports.FileSystemGetFileChecksumResult = exports.FileSystemGetFileChecksumRequest = exports.FileSystemCopyFileResult = exports.FileSystemCopyFileRequest = exports.FileSystemMoveFileResult = exports.FileSystemMoveFileRequest = exports.FileSystemReadFileResult = exports.FileSystemReadFileRequest = exports.FileSystemWriteFileResult = exports.FileSystemWriteFileRequest = exports.FileSystemDownloadFileResult = exports.FileSystemDownloadFileRequest = exports.FileSystemCreateDirectoryResult = exports.FileSystemCreateDirectoryRequest = exports.FileSystemDeleteFileResult = exports.FileSystemDeleteFileRequest = exports.FileSystemExistsResult = exports.FileSystemExistsRequest = exports.FileSystemIsDirectoryResult = exports.FileSystemIsDirectoryRequest = exports.FileSystemListFilesResult = exports.FileSystemListFilesRequest = exports.FileSystemListOfInternalStorageUnitsResult = exports.FileSystemListOfInternalStorageUnitsRequest = exports.FileSystemListOfStorageUnitsResult = exports.FileSystemListOfStorageUnitsRequest = void 0;
|
|
3
|
+
exports.FileSystemLinkResult = exports.FileSystemLinkRequest = exports.FileSystemWipeoutResult = exports.FileSystemWipeoutRequest = exports.FileSystemAppendFileResult = exports.FileSystemAppendFileRequest = exports.FileSystemGetFileResult = exports.FileSystemGetFileRequest = exports.FileSystemExtractFileResult = exports.FileSystemCreateArchiveFileResult = exports.FileSystemCreateArchiveFileRequest = exports.FileSystemExtractFileRequest = exports.FileSystemGetFileChecksumResult = exports.FileSystemGetFileChecksumRequest = exports.FileSystemCopyFileResult = exports.FileSystemCopyFileRequest = exports.FileSystemMoveFileResult = exports.FileSystemMoveFileRequest = exports.FileSystemReadFileResult = exports.FileSystemReadFileRequest = exports.FileSystemWriteFileResult = exports.FileSystemWriteFileRequest = exports.FileSystemDownloadFileResult = exports.FileSystemDownloadFileRequest = exports.FileSystemCreateDirectoryResult = exports.FileSystemCreateDirectoryRequest = exports.FileSystemDeleteFileResult = exports.FileSystemDeleteFileRequest = exports.FileSystemExistsResult = exports.FileSystemExistsRequest = exports.FileSystemIsDirectoryResult = exports.FileSystemIsDirectoryRequest = exports.FileSystemListFilesResult = exports.FileSystemListFilesRequest = exports.FileSystemListOfInternalStorageUnitsResult = exports.FileSystemListOfInternalStorageUnitsRequest = exports.FileSystemListOfStorageUnitsResult = exports.FileSystemListOfStorageUnitsRequest = void 0;
|
|
4
4
|
exports.FileSystemListOfStorageUnitsRequest = 'sos.Monitoring.FileSystem.FileSystemListOfStorageUnitsRequest';
|
|
5
5
|
exports.FileSystemListOfStorageUnitsResult = 'sos.Monitoring.FileSystem.FileSystemListOfStorageUnitsResult';
|
|
6
6
|
exports.FileSystemListOfInternalStorageUnitsRequest = 'sos.Monitoring.FileSystem.FileSystemListOfInternalStorageUnitsRequest';
|
|
@@ -35,4 +35,8 @@ exports.FileSystemGetFileRequest = 'sos.Monitoring.FileSystem.FileSystemGetFileR
|
|
|
35
35
|
exports.FileSystemGetFileResult = 'sos.Monitoring.FileSystem.FileSystemGetFileResult';
|
|
36
36
|
exports.FileSystemAppendFileRequest = 'sos.Monitoring.FileSystem.FileSystemAppendFileRequest';
|
|
37
37
|
exports.FileSystemAppendFileResult = 'sos.Monitoring.FileSystem.FileSystemAppendFileResult';
|
|
38
|
+
exports.FileSystemWipeoutRequest = 'sos.Monitoring.FileSystem.FileSystemWipeoutRequest';
|
|
39
|
+
exports.FileSystemWipeoutResult = 'sos.Monitoring.FileSystem.FileSystemWipeoutResult';
|
|
40
|
+
exports.FileSystemLinkRequest = 'sos.Monitoring.FileSystem.FileSystemLinkRequest';
|
|
41
|
+
exports.FileSystemLinkResult = 'sos.Monitoring.FileSystem.FileSystemLinkResult';
|
|
38
42
|
//# sourceMappingURL=fileSystemCommands.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileSystemCommands.js","sourceRoot":"","sources":["../../../src/Monitoring/FileSystem/fileSystemCommands.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"fileSystemCommands.js","sourceRoot":"","sources":["../../../src/Monitoring/FileSystem/fileSystemCommands.ts"],"names":[],"mappings":";;;AAwBa,QAAA,mCAAmC,GAAG,+DAA+D,CAAC;AAKtG,QAAA,kCAAkC,GAAG,8DAA8D,CAAC;AAMpG,QAAA,2CAA2C,GAAG,uEAAuE,CAAC;AAKtH,QAAA,0CAA0C,GAAG,sEAAsE,CAAC;AAKpH,QAAA,0BAA0B,GAAG,sDAAsD,CAAC;AAMpF,QAAA,yBAAyB,GAAG,qDAAqD,CAAC;AAMlF,QAAA,4BAA4B,GAAG,wDAAwD,CAAC;AAMxF,QAAA,2BAA2B,GAAG,uDAAuD,CAAC;AAMtF,QAAA,uBAAuB,GAAG,mDAAmD,CAAC;AAM9E,QAAA,sBAAsB,GAAG,kDAAkD,CAAC;AAM5E,QAAA,2BAA2B,GAAG,uDAAuD,CAAC;AAOtF,QAAA,0BAA0B,GAAG,sDA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|
});
|
|
118
118
|
break;
|
|
119
|
+
case fileSystemCommands_1.FileSystemWipeoutRequest:
|
|
120
|
+
await frontApplet.fileSystem.wipeout();
|
|
121
|
+
await dispatch({
|
|
122
|
+
type: fileSystemCommands_1.FileSystemWipeoutResult,
|
|
123
|
+
result: {},
|
|
124
|
+
});
|
|
125
|
+
break;
|
|
126
|
+
case fileSystemCommands_1.FileSystemLinkRequest:
|
|
127
|
+
await frontApplet.fileSystem.link(commandEvent.command.sourceFilePath, commandEvent.command.destinationFilePath);
|
|
128
|
+
await dispatch({
|
|
129
|
+
type: fileSystemCommands_1.FileSystemLinkResult,
|
|
130
|
+
result: {},
|
|
131
|
+
});
|
|
132
|
+
break;
|
|
119
133
|
default:
|
|
120
134
|
}
|
|
121
135
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleFileSystemRequests.js","sourceRoot":"","sources":["../../../src/Monitoring/FileSystem/handleFileSystemRequests.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"handleFileSystemRequests.js","sourceRoot":"","sources":["../../../src/Monitoring/FileSystem/handleFileSystemRequests.ts"],"names":[],"mappings":";;AA6CA,4DAuJC;AAjMD,6DAwC8B;AAE9B,SAAgB,wBAAwB,CACvC,SAAsG,EACtG,QAAyE,EACzE,WAAwB;IAExB,SAAS,CAAC,KAAK,EAAE,YAAoD,EAAE,EAAE;QACxE,QAAQ,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACnC,KAAK,wDAAmC;gBACvC,MAAM,QAAQ,CAAqC;oBAClD,IAAI,EAAE,uDAAkC;oBACxC,YAAY,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,gBAAgB,EAAE;iBAC7D,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,gEAA2C;gBAC/C,MAAM,QAAQ,CAA6C;oBAC1D,IAAI,EAAE,+DAA0C;oBAChD,YAAY,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,wBAAwB,EAAE;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,CAAC,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC;iBAC1E,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,6CAAwB;gBAC5B,MAAM,WAAW,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;gBACvC,MAAM,QAAQ,CAA0B;oBACvC,IAAI,EAAE,4CAAuB;oBAC7B,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,0CAAqB;gBACzB,MAAM,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;gBACjH,MAAM,QAAQ,CAAuB;oBACpC,IAAI,EAAE,yCAAoB;oBAC1B,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM;YACP,QAAQ;QACT,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -59,6 +59,33 @@ function handleManagementPowerRequests(onCommand, dispatch, frontApplet) {
|
|
|
59
59
|
result: {},
|
|
60
60
|
});
|
|
61
61
|
break;
|
|
62
|
+
case powerCommands_1.ManagementPowerClearScheduledRebootsRequest:
|
|
63
|
+
await frontApplet.management.power.clearScheduledReboots();
|
|
64
|
+
await dispatch({
|
|
65
|
+
type: powerCommands_1.ManagementPowerClearScheduledRebootsResult,
|
|
66
|
+
result: {},
|
|
67
|
+
});
|
|
68
|
+
break;
|
|
69
|
+
case powerCommands_1.ManagementPowerGetScheduledRebootsRequest:
|
|
70
|
+
await dispatch({
|
|
71
|
+
type: powerCommands_1.ManagementPowerGetScheduledRebootsResult,
|
|
72
|
+
result: await frontApplet.management.power.getScheduledReboots(),
|
|
73
|
+
});
|
|
74
|
+
break;
|
|
75
|
+
case powerCommands_1.ManagementPowerRemoveScheduledRebootRequest:
|
|
76
|
+
await frontApplet.management.power.removeScheduledReboot(commandEvent.command.id);
|
|
77
|
+
await dispatch({
|
|
78
|
+
type: powerCommands_1.ManagementPowerRemoveScheduledRebootResult,
|
|
79
|
+
result: {},
|
|
80
|
+
});
|
|
81
|
+
break;
|
|
82
|
+
case powerCommands_1.ManagementPowerSetScheduledRebootRequest:
|
|
83
|
+
await frontApplet.management.power.setScheduledReboot(commandEvent.command.weekdays, commandEvent.command.time);
|
|
84
|
+
await dispatch({
|
|
85
|
+
type: powerCommands_1.ManagementPowerSetScheduledRebootResult,
|
|
86
|
+
result: {},
|
|
87
|
+
});
|
|
88
|
+
break;
|
|
62
89
|
default:
|
|
63
90
|
}
|
|
64
91
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlePowerRequests.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Power/handlePowerRequests.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"handlePowerRequests.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Power/handlePowerRequests.ts"],"names":[],"mappings":";;AA+BA,sEAuGC;AAnID,mDA0ByB;AAEzB,SAAgB,6BAA6B,CAC5C,SAAiG,EACjG,QAAyE,EACzE,WAAwB;IAExB,SAAS,CAAC,KAAK,EAAE,YAA+C,EAAE,EAAE;QACnE,QAAQ,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACnC,KAAK,wCAAwB;gBAC5B,MAAM,QAAQ,CAA0B;oBACvC,IAAI,EAAE,uCAAuB;oBAC7B,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;gBAClD,MAAM;YACP,KAAK,sCAAsB;gBAC1B,MAAM,QAAQ,CAAwB;oBACrC,IAAI,EAAE,qCAAqB;oBAC3B,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;gBAChD,MAAM;YACP,KAAK,+CAA+B;gBACnC,MAAM,QAAQ,CA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BACH,MAAM;YACP,QAAQ;QACT,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ITimer, TimerType } from '../../../FrontApplet/Management/helpers/TimerHelper';
|
|
2
2
|
import { IProprietaryTimer } from '../../../FrontApplet/Management/helpers/ProprietaryTimerHelper';
|
|
3
3
|
import { EmptyObject } from '../../EmptyObject';
|
|
4
|
-
|
|
4
|
+
import { IScheduledRebootActions, WeekdayType } from '../../../FrontApplet/Management/Power/IPower';
|
|
5
|
+
export type PowerRequests = PowerSystemRebootRequest | PowerSystemRebootResult | PowerAppRestartRequest | ManagementPowerGetTimersRequest | ManagementPowerSetTimerRequest | ManagementPowerUnsetTimerRequest | ManagementPowerGetProprietaryTimersRequest | ManagementPowerSetProprietaryTimerRequest | ManagementPowerUnsetProprietaryTimerRequest | ManagementPowerClearScheduledRebootsRequest | ManagementPowerGetScheduledRebootsRequest | ManagementPowerRemoveScheduledRebootRequest | ManagementPowerSetScheduledRebootRequest;
|
|
5
6
|
export declare const PowerSystemRebootRequest = "sos.Monitoring.Management.Power.PowerSystemRebootRequest";
|
|
6
7
|
export interface PowerSystemRebootRequest {
|
|
7
8
|
type: typeof PowerSystemRebootRequest;
|
|
@@ -86,3 +87,42 @@ export interface ManagementPowerUnsetProprietaryTimerResult {
|
|
|
86
87
|
type: typeof ManagementPowerUnsetProprietaryTimerResult;
|
|
87
88
|
result: EmptyObject;
|
|
88
89
|
}
|
|
90
|
+
export declare const ManagementPowerClearScheduledRebootsRequest = "sos.Monitoring.Management.Power.ManagementPowerClearScheduledRebootsRequest";
|
|
91
|
+
export interface ManagementPowerClearScheduledRebootsRequest {
|
|
92
|
+
type: typeof ManagementPowerClearScheduledRebootsRequest;
|
|
93
|
+
}
|
|
94
|
+
export declare const ManagementPowerClearScheduledRebootsResult = "sos.Monitoring.Management.Power.ManagementPowerClearScheduledRebootsResult";
|
|
95
|
+
export interface ManagementPowerClearScheduledRebootsResult {
|
|
96
|
+
type: typeof ManagementPowerClearScheduledRebootsResult;
|
|
97
|
+
result: EmptyObject;
|
|
98
|
+
}
|
|
99
|
+
export declare const ManagementPowerGetScheduledRebootsRequest = "sos.Monitoring.Management.Power.ManagementPowerGetScheduledRebootsRequest";
|
|
100
|
+
export interface ManagementPowerGetScheduledRebootsRequest {
|
|
101
|
+
type: typeof ManagementPowerGetScheduledRebootsRequest;
|
|
102
|
+
}
|
|
103
|
+
export declare const ManagementPowerGetScheduledRebootsResult = "sos.Monitoring.Management.Power.ManagementPowerGetScheduledRebootsResult";
|
|
104
|
+
export interface ManagementPowerGetScheduledRebootsResult {
|
|
105
|
+
type: typeof ManagementPowerGetScheduledRebootsResult;
|
|
106
|
+
result: IScheduledRebootActions[];
|
|
107
|
+
}
|
|
108
|
+
export declare const ManagementPowerRemoveScheduledRebootRequest = "sos.Monitoring.Management.Power.ManagementPowerRemoveScheduledRebootRequest";
|
|
109
|
+
export interface ManagementPowerRemoveScheduledRebootRequest {
|
|
110
|
+
type: typeof ManagementPowerRemoveScheduledRebootRequest;
|
|
111
|
+
id: string;
|
|
112
|
+
}
|
|
113
|
+
export declare const ManagementPowerRemoveScheduledRebootResult = "sos.Monitoring.Management.Power.ManagementPowerRemoveScheduledRebootResult";
|
|
114
|
+
export interface ManagementPowerRemoveScheduledRebootResult {
|
|
115
|
+
type: typeof ManagementPowerRemoveScheduledRebootResult;
|
|
116
|
+
result: EmptyObject;
|
|
117
|
+
}
|
|
118
|
+
export declare const ManagementPowerSetScheduledRebootRequest = "sos.Monitoring.Management.Power.ManagementPowerSetScheduledRebootRequest";
|
|
119
|
+
export interface ManagementPowerSetScheduledRebootRequest {
|
|
120
|
+
type: typeof ManagementPowerSetScheduledRebootRequest;
|
|
121
|
+
weekdays: WeekdayType[];
|
|
122
|
+
time: string;
|
|
123
|
+
}
|
|
124
|
+
export declare const ManagementPowerSetScheduledRebootResult = "sos.Monitoring.Management.Power.ManagementPowerSetScheduledRebootResult";
|
|
125
|
+
export interface ManagementPowerSetScheduledRebootResult {
|
|
126
|
+
type: typeof ManagementPowerSetScheduledRebootResult;
|
|
127
|
+
result: EmptyObject;
|
|
128
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ManagementPowerUnsetProprietaryTimerResult = exports.ManagementPowerUnsetProprietaryTimerRequest = exports.ManagementPowerSetProprietaryTimerResult = exports.ManagementPowerSetProprietaryTimerRequest = exports.ManagementPowerGetProprietaryTimersResult = exports.ManagementPowerGetProprietaryTimersRequest = exports.ManagementPowerUnsetTimerResult = exports.ManagementPowerUnsetTimerRequest = exports.ManagementPowerSetTimerResult = exports.ManagementPowerSetTimerRequest = exports.ManagementPowerGetTimersResult = exports.ManagementPowerGetTimersRequest = exports.PowerAppRestartResult = exports.PowerAppRestartRequest = exports.PowerSystemRebootResult = exports.PowerSystemRebootRequest = void 0;
|
|
3
|
+
exports.ManagementPowerSetScheduledRebootResult = exports.ManagementPowerSetScheduledRebootRequest = exports.ManagementPowerRemoveScheduledRebootResult = exports.ManagementPowerRemoveScheduledRebootRequest = exports.ManagementPowerGetScheduledRebootsResult = exports.ManagementPowerGetScheduledRebootsRequest = exports.ManagementPowerClearScheduledRebootsResult = exports.ManagementPowerClearScheduledRebootsRequest = exports.ManagementPowerUnsetProprietaryTimerResult = exports.ManagementPowerUnsetProprietaryTimerRequest = exports.ManagementPowerSetProprietaryTimerResult = exports.ManagementPowerSetProprietaryTimerRequest = exports.ManagementPowerGetProprietaryTimersResult = exports.ManagementPowerGetProprietaryTimersRequest = exports.ManagementPowerUnsetTimerResult = exports.ManagementPowerUnsetTimerRequest = exports.ManagementPowerSetTimerResult = exports.ManagementPowerSetTimerRequest = exports.ManagementPowerGetTimersResult = exports.ManagementPowerGetTimersRequest = exports.PowerAppRestartResult = exports.PowerAppRestartRequest = exports.PowerSystemRebootResult = exports.PowerSystemRebootRequest = void 0;
|
|
4
4
|
exports.PowerSystemRebootRequest = 'sos.Monitoring.Management.Power.PowerSystemRebootRequest';
|
|
5
5
|
exports.PowerSystemRebootResult = 'sos.Monitoring.Management.Power.PowerSystemRebootResult';
|
|
6
6
|
exports.PowerAppRestartRequest = 'sos.Monitoring.Management.Power.PowerAppRestartRequest';
|
|
@@ -17,4 +17,12 @@ exports.ManagementPowerSetProprietaryTimerRequest = 'sos.Monitoring.Management.P
|
|
|
17
17
|
exports.ManagementPowerSetProprietaryTimerResult = 'sos.Monitoring.Management.Power.ManagementPowerSetProprietaryTimerResult';
|
|
18
18
|
exports.ManagementPowerUnsetProprietaryTimerRequest = 'sos.Monitoring.Management.Power.ManagementPowerUnsetProprietaryTimerRequest';
|
|
19
19
|
exports.ManagementPowerUnsetProprietaryTimerResult = 'sos.Monitoring.Management.Power.ManagementPowerUnsetProprietaryTimerResult';
|
|
20
|
+
exports.ManagementPowerClearScheduledRebootsRequest = 'sos.Monitoring.Management.Power.ManagementPowerClearScheduledRebootsRequest';
|
|
21
|
+
exports.ManagementPowerClearScheduledRebootsResult = 'sos.Monitoring.Management.Power.ManagementPowerClearScheduledRebootsResult';
|
|
22
|
+
exports.ManagementPowerGetScheduledRebootsRequest = 'sos.Monitoring.Management.Power.ManagementPowerGetScheduledRebootsRequest';
|
|
23
|
+
exports.ManagementPowerGetScheduledRebootsResult = 'sos.Monitoring.Management.Power.ManagementPowerGetScheduledRebootsResult';
|
|
24
|
+
exports.ManagementPowerRemoveScheduledRebootRequest = 'sos.Monitoring.Management.Power.ManagementPowerRemoveScheduledRebootRequest';
|
|
25
|
+
exports.ManagementPowerRemoveScheduledRebootResult = 'sos.Monitoring.Management.Power.ManagementPowerRemoveScheduledRebootResult';
|
|
26
|
+
exports.ManagementPowerSetScheduledRebootRequest = 'sos.Monitoring.Management.Power.ManagementPowerSetScheduledRebootRequest';
|
|
27
|
+
exports.ManagementPowerSetScheduledRebootResult = 'sos.Monitoring.Management.Power.ManagementPowerSetScheduledRebootResult';
|
|
20
28
|
//# sourceMappingURL=powerCommands.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powerCommands.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Power/powerCommands.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"powerCommands.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Power/powerCommands.ts"],"names":[],"mappings":";;;AAoBa,QAAA,wBAAwB,GAAG,0DAA0D,CAAC;AAKtF,QAAA,uBAAuB,GAAG,yDAAyD,CAAC;AAMpF,QAAA,sBAAsB,GAAG,wDAAwD,CAAC;AAKlF,QAAA,qBAAqB,GAAG,uDAAuD,CAAC;AAMhF,QAAA,+BAA+B,GAAG,iEAAiE,CAAC;AAKpG,QAAA,8BAA8B,GAAG,gEAAgE,CAAC;AAMlG,QAAA,8BAA8B,GAAG,gEAAgE,CAAC;AAUlG,QAAA,6BAA6B,GAAG,+DAA+D,CAAC;AAMhG,QAAA,gCAAgC,GAAG,kEAAkE,CAAC;AAMtG,QAAA,+BAA+B,GAAG,iEAAiE,CAAC;AAMpG,QAAA,0CAA0C,GAAG,4EAA4E,CAAC;AAK1H,QAAA,yCAAyC,GAAG,2EAA2E,CAAC;AAMxH,QAAA,yCAAyC,GAAG,2EAA2E,CAAC;AAUxH,QAAA,wCAAwC,GAAG,0EAA0E,CAAC;AAMtH,QAAA,2CAA2C,GAAG,6EAA6E,CAAC;AAM5H,QAAA,0CAA0C,GAAG,4EAA4E,CAAC;AAM1H,QAAA,2CAA2C,GAAG,6EAA6E,CAAC;AAK5H,QAAA,0CAA0C,GAAG,4EAA4E,CAAC;AAM1H,QAAA,yCAAyC,GAAG,2EAA2E,CAAC;AAKxH,QAAA,wCAAwC,GAAG,0EAA0E,CAAC;AAMtH,QAAA,2CAA2C,GAAG,6EAA6E,CAAC;AAM5H,QAAA,0CAA0C,GAAG,4EAA4E,CAAC;AAM1H,QAAA,wCAAwC,GAAG,0EAA0E,CAAC;AAOtH,QAAA,uCAAuC,GAAG,yEAAyE,CAAC"}
|
|
@@ -32,9 +32,11 @@ function handleManagementScreenRequests(onCommand, dispatch, frontApplet) {
|
|
|
32
32
|
});
|
|
33
33
|
break;
|
|
34
34
|
case screenCommands_1.ManagementScreenTakeScreenshotRequest:
|
|
35
|
+
const data = await frontApplet.management.screen.takeAndUploadScreenshot(commandEvent.command.uploadBaseUrl, commandEvent.command.computeHash);
|
|
35
36
|
await dispatch({
|
|
36
37
|
type: screenCommands_1.ManagementScreenTakeScreenshotResult,
|
|
37
|
-
screenshotUrl:
|
|
38
|
+
screenshotUrl: data.screenshotUrl,
|
|
39
|
+
aHash: data.aHash,
|
|
38
40
|
});
|
|
39
41
|
break;
|
|
40
42
|
case screenCommands_1.ManagementScreenPowerOnRequest:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleScreenRequests.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Screen/handleScreenRequests.ts"],"names":[],"mappings":";;AAuBA,
|
|
1
|
+
{"version":3,"file":"handleScreenRequests.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Screen/handleScreenRequests.ts"],"names":[],"mappings":";;AAuBA,wEA8EC;AAlGD,qDAkB0B;AAE1B,SAAgB,8BAA8B,CAC7C,SAA4G,EAC5G,QAAyE,EACzE,WAAwB;IAExB,SAAS,CAAC,KAAK,EAAE,YAA0D,EAAE,EAAE;QAC9E,QAAQ,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACnC,KAAK,8CAA6B;gBACjC,MAAM,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CACzC,YAAY,CAAC,OAAO,CAAC,OAAO,EAC5B,YAAY,CAAC,OAAO,CAAC,WAAW,EAChC,YAAY,CAAC,OAAO,CAAC,UAAU,EAC/B,YAAY,CAAC,OAAO,CAAC,cAAc,EACnC,YAAY,CAAC,OAAO,CAAC,gBAAgB,CACrC,CAAC;gBACF,MAAM,QAAQ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,MAAM,QAAQ,CAAgC;oBAC7C,IAAI,EAAE,8CAA6B;oBACnC,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,gDAA+B;gBACnC,MAAM,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;gBAC/C,MAAM,QAAQ,CAAiC;oBAC9C,IAAI,EAAE,+CAA8B;oBACpC,MAAM,EAAE,EAAE;iBACV,CAAC,CAAC;gBACH,MAAM;YACP,KAAK,mDAAkC;gBACtC,MAAM,QAAQ,CAAoC;oBACjD,IAAI,EAAE,kDAAiC;oBACvC,MAAM,EAAE,MAAM,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,WAAW,EAAE;iBACzD,CAAC,CAAC;gBACH,MAAM;YACP,QAAQ;QACT,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -51,11 +51,13 @@ export declare const ManagementScreenTakeScreenshotRequest = "sos.Monitoring.Man
|
|
|
51
51
|
export interface ManagementScreenTakeScreenshotRequest {
|
|
52
52
|
type: typeof ManagementScreenTakeScreenshotRequest;
|
|
53
53
|
uploadBaseUrl: string;
|
|
54
|
+
computeHash?: boolean;
|
|
54
55
|
}
|
|
55
56
|
export declare const ManagementScreenTakeScreenshotResult = "sos.Monitoring.Management.ManagementScreenTakeScreenshotResult";
|
|
56
57
|
export interface ManagementScreenTakeScreenshotResult {
|
|
57
58
|
type: typeof ManagementScreenTakeScreenshotResult;
|
|
58
59
|
screenshotUrl: string;
|
|
60
|
+
aHash?: string;
|
|
59
61
|
}
|
|
60
62
|
export declare const ManagementScreenPowerOnRequest = "sos.Monitoring.Management.ManagementScreenPowerOnRequest";
|
|
61
63
|
export interface ManagementScreenPowerOnRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenCommands.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Screen/screenCommands.ts"],"names":[],"mappings":";;;AAca,QAAA,6BAA6B,GAAG,yDAAyD,CAAC;AAU1F,QAAA,4BAA4B,GAAG,wDAAwD,CAAC;AAMxF,QAAA,qCAAqC,GAAG,iEAAiE,CAAC;AAK1G,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AAMxG,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AASxG,QAAA,mCAAmC,GAAG,+DAA+D,CAAC;AAMtG,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AAKxG,QAAA,mCAAmC,GAAG,+DAA+D,CAAC;AAMtG,QAAA,qCAAqC,GAAG,iEAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"screenCommands.js","sourceRoot":"","sources":["../../../../src/Monitoring/Management/Screen/screenCommands.ts"],"names":[],"mappings":";;;AAca,QAAA,6BAA6B,GAAG,yDAAyD,CAAC;AAU1F,QAAA,4BAA4B,GAAG,wDAAwD,CAAC;AAMxF,QAAA,qCAAqC,GAAG,iEAAiE,CAAC;AAK1G,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AAMxG,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AASxG,QAAA,mCAAmC,GAAG,+DAA+D,CAAC;AAMtG,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AAKxG,QAAA,mCAAmC,GAAG,+DAA+D,CAAC;AAMtG,QAAA,qCAAqC,GAAG,iEAAiE,CAAC;AAO1G,QAAA,oCAAoC,GAAG,gEAAgE,CAAC;AAOxG,QAAA,8BAA8B,GAAG,0DAA0D,CAAC;AAK5F,QAAA,6BAA6B,GAAG,yDAAyD,CAAC;AAM1F,QAAA,+BAA+B,GAAG,2DAA2D,CAAC;AAK9F,QAAA,8BAA8B,GAAG,0DAA0D,CAAC;AAM5F,QAAA,kCAAkC,GAAG,8DAA8D,CAAC;AAKpG,QAAA,iCAAiC,GAAG,6DAA6D,CAAC"}
|
|
@@ -24,6 +24,7 @@ const handleManagementNetworkRequests_1 = require("./Management/Network/handleMa
|
|
|
24
24
|
const handlePeerRecoveryRequests_1 = require("./Management/PeerRecovery/handlePeerRecoveryRequests");
|
|
25
25
|
const handleAutoRecoveryRequests_1 = require("./Management/AutoRecovery/handleAutoRecoveryRequests");
|
|
26
26
|
const enhancer_1 = require("../Util/Console/enhancer");
|
|
27
|
+
const handleDeviceInfoRequests_1 = require("./DeviceInfo/handleDeviceInfoRequests");
|
|
27
28
|
class Monitoring {
|
|
28
29
|
frontApplet;
|
|
29
30
|
/** @internal */
|
|
@@ -52,6 +53,7 @@ class Monitoring {
|
|
|
52
53
|
(0, handleManagementNetworkRequests_1.handleManagementNetworkRequests)(this.onCommand.bind(this), this.dispatch.bind(this), this.frontApplet);
|
|
53
54
|
(0, handlePeerRecoveryRequests_1.handleManagementPeerRecoveryRequests)(this.onCommand.bind(this), this.dispatch.bind(this), this.frontApplet);
|
|
54
55
|
(0, handleAutoRecoveryRequests_1.handleManagementAutoRecoveryRequests)(this.onCommand.bind(this), this.dispatch.bind(this), this.frontApplet);
|
|
56
|
+
(0, handleDeviceInfoRequests_1.handleDeviceInfoRequests)(this.onCommand.bind(this), this.dispatch.bind(this), this.frontApplet);
|
|
55
57
|
}
|
|
56
58
|
onCommand(listener) {
|
|
57
59
|
this.frontApplet.command.onCommand((command) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Monitoring.js","sourceRoot":"","sources":["../../src/Monitoring/Monitoring.ts"],"names":[],"mappings":";;AACA,4DAAuD;AAGvD,oFAAiF;AACjF,8FAA2F;AAC3F,2FAAwF;AACxF,qEAAkE;AAClE,+DAA4D;AAC5D,0FAAiG;AACjG,gFAAuF;AACvF,2EAAwE;AACxE,+DAA0D;AAC1D,oFAAiF;AACjF,mFAA0F;AAC1F,yFAAgG;AAChG,gFAAuF;AACvF,wGAA+G;AAC/G,gFAAuF;AACvF,+EAAkF;AAClF,yEAAsE;AACtE,6EAAoF;AACpF,gFAAkG;AAClG,0GAAuG;AACvG,qGAA4G;AAC5G,qGAA4G;AAC5G,uDAAyE;
|
|
1
|
+
{"version":3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W,CAAC,OAAO,EAAE,CAAC;QACjC,MAAM,IAAI,CAAC,QAAQ,CAAe,EAAE,IAAI,EAAE,6BAAY,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEO,uBAAuB;QAC9B,IAAA,wCAA6B,EAAC,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE;YAC/C,KAAK,IAAI,CAAC,QAAQ,CAAgB;gBACjC,IAAI,EAAE,+BAAa;gBACnB,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,IAAI;aACd,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;CACD;AAzDD,6BAyDC"}
|
package/es6/fpath.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IFilePath } from './FrontApplet/FileSystem/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* fpath utility mirrors node [path](https://nodejs.org/docs/latest/api/path.html)
|
|
5
5
|
* module, but accepts IFilePath type instead of strings. It is useful when
|
|
6
|
-
* working with [sos.
|
|
6
|
+
* working with [sos.fileSystem](/sdk/sos/fileSystem).
|
|
7
7
|
*
|
|
8
8
|
* Not implemented functions:
|
|
9
9
|
* - format
|
package/es6/fpath.js
CHANGED
|
@@ -38,7 +38,7 @@ const path = __importStar(require("path-browserify"));
|
|
|
38
38
|
/**
|
|
39
39
|
* fpath utility mirrors node [path](https://nodejs.org/docs/latest/api/path.html)
|
|
40
40
|
* module, but accepts IFilePath type instead of strings. It is useful when
|
|
41
|
-
* working with [sos.
|
|
41
|
+
* working with [sos.fileSystem](/sdk/sos/fileSystem).
|
|
42
42
|
*
|
|
43
43
|
* Not implemented functions:
|
|
44
44
|
* - format
|