lavva.exalushome 2.0.112 → 2.0.113
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/build/exalushome-library-bundle.js +1 -1
- package/build/exalushome-library-bundle.js.map +1 -1
- package/build/js/Api.js +112 -112
- package/build/js/Api.js.map +1 -1
- package/build/js/AsyncLock.js +15 -15
- package/build/js/AsyncSemaphore.js +44 -44
- package/build/js/AsyncSemaphore.js.map +1 -1
- package/build/js/CancelationTokenSource.js +18 -18
- package/build/js/DataFrame.js +86 -86
- package/build/js/DependencyContainer.js +87 -87
- package/build/js/DependencyContainer.js.map +1 -1
- package/build/js/Event.js +24 -24
- package/build/js/Event.js.map +1 -1
- package/build/js/Guid.js +8 -8
- package/build/js/Helpers.js +132 -132
- package/build/js/Helpers.js.map +1 -1
- package/build/js/IDIService.js +1 -1
- package/build/js/INetworkService.js +41 -41
- package/build/js/Services/AppStateService.js +217 -217
- package/build/js/Services/AppStateService.js.map +1 -1
- package/build/js/Services/Chat/ChatImplementations/ControllerChat/ControllerChat.js +224 -224
- package/build/js/Services/Chat/ChatImplementations/ControllerChat/ControllerChat.js.map +1 -1
- package/build/js/Services/Chat/ChatImplementations/ControllerChat/IControllerChat.js +33 -33
- package/build/js/Services/Chat/ChatImplementations/FamillyChat/FamillyChat.js +147 -147
- package/build/js/Services/Chat/ChatImplementations/FamillyChat/FamillyChat.js.map +1 -1
- package/build/js/Services/Chat/ChatImplementations/FamillyChat/IFamillyChat.js +1 -1
- package/build/js/Services/Chat/ChatImplementations/GptChat/GptChat.js +184 -184
- package/build/js/Services/Chat/ChatImplementations/GptChat/GptChat.js.map +1 -1
- package/build/js/Services/Chat/ChatImplementations/GptChat/IGptChat.js +26 -26
- package/build/js/Services/Chat/ChatService.js +43 -43
- package/build/js/Services/Chat/ChatService.js.map +1 -1
- package/build/js/Services/Chat/IChatService.js +6 -6
- package/build/js/Services/Controller/ConnectedAppsService.js +117 -117
- package/build/js/Services/Controller/ConnectedAppsService.js.map +1 -1
- package/build/js/Services/Controller/ControllerConfigurationService.js +319 -319
- package/build/js/Services/Controller/ControllerConfigurationService.js.map +1 -1
- package/build/js/Services/Controller/ControllerExtensionsService.js +148 -148
- package/build/js/Services/Controller/ControllerExtensionsService.js.map +1 -1
- package/build/js/Services/Controller/FindControllerService.js +155 -155
- package/build/js/Services/Controller/FindControllerService.js.map +1 -1
- package/build/js/Services/Controller/GeolocationService.js +111 -111
- package/build/js/Services/Controller/GeolocationService.js.map +1 -1
- package/build/js/Services/Controller/IConnectedAppsService.js +24 -24
- package/build/js/Services/Controller/IControllerConfigurationService.js +1 -1
- package/build/js/Services/Controller/IControllerExtensionsService.js +1 -1
- package/build/js/Services/Controller/IGeolocationService.js +20 -20
- package/build/js/Services/DataMigrationService.js +169 -169
- package/build/js/Services/DataMigrationService.js.map +1 -1
- package/build/js/Services/Devices/ChannelsGroupsService.js +696 -696
- package/build/js/Services/Devices/ChannelsGroupsService.js.map +1 -1
- package/build/js/Services/Devices/Device.js +248 -248
- package/build/js/Services/Devices/Device.js.map +1 -1
- package/build/js/Services/Devices/DeviceChannel.js +304 -304
- package/build/js/Services/Devices/DeviceChannel.js.map +1 -1
- package/build/js/Services/Devices/DevicesService.js +1184 -1184
- package/build/js/Services/Devices/DevicesService.js.map +1 -1
- package/build/js/Services/Devices/IChannelsGroupsService.js +109 -109
- package/build/js/Services/Devices/IChannelsGroupsService.js.map +1 -1
- package/build/js/Services/Devices/IDevice.js +197 -197
- package/build/js/Services/Devices/IDeviceChannel.js +48 -48
- package/build/js/Services/Devices/IDeviceConfigService.js +1 -1
- package/build/js/Services/Devices/IDeviceState.d.ts +7 -1
- package/build/js/Services/Devices/IDeviceState.js +970 -963
- package/build/js/Services/Devices/IDeviceState.js.map +1 -1
- package/build/js/Services/Devices/IDeviceTask.js +36 -36
- package/build/js/Services/Devices/IDevicesService.js +9 -9
- package/build/js/Services/Devices/IManuallyPairedDevicesProtocolService.js +1 -1
- package/build/js/Services/Devices/IManuallyPairedDevicesService.js +1 -1
- package/build/js/Services/Devices/ManuallyPairedDevicesService.js +68 -68
- package/build/js/Services/Devices/ManuallyPairedDevicesService.js.map +1 -1
- package/build/js/Services/Devices/TaskExecutionResult.js +9 -9
- package/build/js/Services/Devices/Tasks/DeviceTask.js +42 -42
- package/build/js/Services/Devices/Tasks/Tasks.js +216 -216
- package/build/js/Services/Devices/dist/DevicesService.d.ts +17 -17
- package/build/js/Services/ExalusConnectionService.js +498 -498
- package/build/js/Services/ExalusConnectionService.js.map +1 -1
- package/build/js/Services/FieldChangeResult.js +51 -51
- package/build/js/Services/IAppStateService.js +66 -66
- package/build/js/Services/IExalusConnectionService.js +31 -31
- package/build/js/Services/ILocalStorageService.js +1 -1
- package/build/js/Services/IRemoteStorageService.js +8 -8
- package/build/js/Services/LocalNetworkExalusConnectionService.js +289 -289
- package/build/js/Services/LocalNetworkExalusConnectionService.js.map +1 -1
- package/build/js/Services/LocalStorageService.js +38 -38
- package/build/js/Services/LocalStorageService.js.map +1 -1
- package/build/js/Services/Logging/ILoggerService.js +8 -8
- package/build/js/Services/Logging/LoggerService.js +132 -132
- package/build/js/Services/Logging/LoggerService.js.map +1 -1
- package/build/js/Services/PictureInPicture.js +28 -28
- package/build/js/Services/PictureInPicture.js.map +1 -1
- package/build/js/Services/Pictures/IPicture.js +6 -6
- package/build/js/Services/Pictures/IPicturesService.js +1 -1
- package/build/js/Services/Pictures/Picture.js +50 -50
- package/build/js/Services/Pictures/PicturesService.js +441 -441
- package/build/js/Services/Pictures/PicturesService.js.map +1 -1
- package/build/js/Services/RemoteStorageService.js +122 -122
- package/build/js/Services/RemoteStorageService.js.map +1 -1
- package/build/js/Services/Scenes/IScenesService.js +7 -7
- package/build/js/Services/Scenes/LeftArgumentTypes.js +166 -166
- package/build/js/Services/Scenes/LeftArgumentTypes.js.map +1 -1
- package/build/js/Services/Scenes/SceneTaskTypes.js +32 -32
- package/build/js/Services/Scenes/Scenes.js +134 -134
- package/build/js/Services/Scenes/ScenesBuilder.js +1097 -1097
- package/build/js/Services/Scenes/ScenesBuilder.js.map +1 -1
- package/build/js/Services/Scenes/ScenesService.js +1131 -1131
- package/build/js/Services/Scenes/ScenesService.js.map +1 -1
- package/build/js/Services/Scenes/dist/ScenesService.d.ts +5 -5
- package/build/js/Services/Session/ISessionService.js +8 -8
- package/build/js/Services/Session/SessionService.js +222 -222
- package/build/js/Services/Session/SessionService.js.map +1 -1
- package/build/js/Services/StatesHistory/IStatesHistoryService.js +12 -12
- package/build/js/Services/StatesHistory/StatesHistory.js +75 -75
- package/build/js/Services/StatesHistory/StatesHistoryService.js +235 -235
- package/build/js/Services/StatesHistory/StatesHistoryService.js.map +1 -1
- package/build/js/Services/SupportedDevices/ISupportedDevicesService.js +115 -115
- package/build/js/Services/SupportedDevices/SupportedDevicesService.js +26 -26
- package/build/js/Services/Updates/CustomUpdateActions/ICustomUpdateActions.js +1 -1
- package/build/js/Services/Updates/IUpdateInfo.js +62 -62
- package/build/js/Services/Updates/IUpdatesProvider.js +48 -48
- package/build/js/Services/Updates/IUpdatesService.js +139 -139
- package/build/js/Services/Updates/UpdateProviderServices/IControllerModulesUpdatesProviderService.js +1 -1
- package/build/js/Services/Updates/UpdateProviderServices/IDeviceUpdateProviderService.js +1 -1
- package/build/js/Services/Updates/UpdateProviderServices/IUpdateProviderService.js +1 -1
- package/build/js/Services/Updates/UpdatesProvider.js +212 -212
- package/build/js/Services/Updates/UpdatesProvider.js.map +1 -1
- package/build/js/Services/Updates/UpdatesService.js +1487 -1487
- package/build/js/Services/Updates/UpdatesService.js.map +1 -1
- package/build/js/Services/Updates/dist/UpdatesService.d.ts +9 -9
- package/build/js/Services/Users/IUser.js +21 -21
- package/build/js/Services/Users/IUsersService.js +1 -1
- package/build/js/Services/Users/User.js +104 -104
- package/build/js/Services/Users/UsersService.js +302 -302
- package/build/js/Services/Users/UsersService.js.map +1 -1
- package/build/js/Services/WebApi/IWebApiCacheService.js +1 -1
- package/build/js/Services/WebApi/WebApiCacheService.js +42 -42
- package/build/js/Services/WebApi/WebApiCacheService.js.map +1 -1
- package/build/js/TypedEvent.js +23 -23
- package/build/js/TypedEvent.js.map +1 -1
- package/build/js/dist/Api.d.ts +12 -12
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
export var UpdateStatus;
|
|
2
|
-
(function (UpdateStatus) {
|
|
3
|
-
UpdateStatus[UpdateStatus["DownloadingFailure"] = -5] = "DownloadingFailure";
|
|
4
|
-
UpdateStatus[UpdateStatus["InstallationStopped"] = -4] = "InstallationStopped";
|
|
5
|
-
UpdateStatus[UpdateStatus["InstallationError"] = -3] = "InstallationError";
|
|
6
|
-
UpdateStatus[UpdateStatus["IncompatiblePackage"] = -2] = "IncompatiblePackage";
|
|
7
|
-
UpdateStatus[UpdateStatus["Error"] = -1] = "Error";
|
|
8
|
-
UpdateStatus[UpdateStatus["OK"] = 0] = "OK";
|
|
9
|
-
UpdateStatus[UpdateStatus["DownloadingPackage"] = 1] = "DownloadingPackage";
|
|
10
|
-
UpdateStatus[UpdateStatus["CheckingPackage"] = 2] = "CheckingPackage";
|
|
11
|
-
UpdateStatus[UpdateStatus["PreparingForUpgrade"] = 3] = "PreparingForUpgrade";
|
|
12
|
-
UpdateStatus[UpdateStatus["Upgrading"] = 4] = "Upgrading";
|
|
13
|
-
UpdateStatus[UpdateStatus["MovingData"] = 5] = "MovingData";
|
|
14
|
-
UpdateStatus[UpdateStatus["Reloading"] = 6] = "Reloading";
|
|
15
|
-
UpdateStatus[UpdateStatus["Upgraded"] = 7] = "Upgraded";
|
|
16
|
-
})(UpdateStatus || (UpdateStatus = {}));
|
|
17
|
-
export var UpdateState;
|
|
18
|
-
(function (UpdateState) {
|
|
19
|
-
UpdateState[UpdateState["WaitingForUser"] = 1] = "WaitingForUser";
|
|
20
|
-
UpdateState[UpdateState["Downloading"] = 2] = "Downloading";
|
|
21
|
-
UpdateState[UpdateState["Unpackaging"] = 3] = "Unpackaging";
|
|
22
|
-
UpdateState[UpdateState["CheckingApplicability"] = 4] = "CheckingApplicability";
|
|
23
|
-
UpdateState[UpdateState["MigratingData"] = 5] = "MigratingData";
|
|
24
|
-
UpdateState[UpdateState["CreatingBackup"] = 6] = "CreatingBackup";
|
|
25
|
-
UpdateState[UpdateState["Deploying"] = 7] = "Deploying";
|
|
26
|
-
UpdateState[UpdateState["Installing"] = 8] = "Installing";
|
|
27
|
-
UpdateState[UpdateState["Removing"] = 9] = "Removing";
|
|
28
|
-
UpdateState[UpdateState["Error"] = 10] = "Error";
|
|
29
|
-
UpdateState[UpdateState["ReadyToDownload"] = 11] = "ReadyToDownload";
|
|
30
|
-
UpdateState[UpdateState["PreparingSystem"] = 12] = "PreparingSystem";
|
|
31
|
-
UpdateState[UpdateState["CheckingPackageIntegrity"] = 13] = "CheckingPackageIntegrity";
|
|
32
|
-
UpdateState[UpdateState["CheckingIntegrity"] = 14] = "CheckingIntegrity";
|
|
33
|
-
UpdateState[UpdateState["UndoingInstallation"] = 15] = "UndoingInstallation";
|
|
34
|
-
UpdateState[UpdateState["Installed"] = 16] = "Installed";
|
|
35
|
-
})(UpdateState || (UpdateState = {}));
|
|
36
|
-
export var UserInput;
|
|
37
|
-
(function (UserInput) {
|
|
38
|
-
UserInput[UserInput["Ignore"] = 0] = "Ignore";
|
|
39
|
-
UserInput[UserInput["Cancel"] = 1] = "Cancel";
|
|
40
|
-
UserInput[UserInput["Install"] = 2] = "Install";
|
|
41
|
-
})(UserInput || (UserInput = {}));
|
|
42
|
-
export class UpdateProgressInfo {
|
|
43
|
-
constructor() {
|
|
44
|
-
/**
|
|
45
|
-
* Map of resource names
|
|
46
|
-
*
|
|
47
|
-
* As key we have language code as specified in RFC 4646. As value we have description of update in specified language.
|
|
48
|
-
* https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-7.0
|
|
49
|
-
* https://www.ietf.org/rfc/rfc4646.txt
|
|
50
|
-
* ex. pl-PL, en-US
|
|
51
|
-
*/
|
|
52
|
-
this.UpdatedResourceName = new Map();
|
|
53
|
-
/**
|
|
54
|
-
* Percentage of installation progress
|
|
55
|
-
*/
|
|
56
|
-
this.Percentage = 0;
|
|
57
|
-
/**
|
|
58
|
-
* Percentage of total update progress
|
|
59
|
-
*/
|
|
60
|
-
this.PercentageTotal = 0;
|
|
61
|
-
/**
|
|
62
|
-
* Current state of update
|
|
63
|
-
*/
|
|
64
|
-
this.Status = UpdateStatus.Error;
|
|
65
|
-
/**
|
|
66
|
-
* Number of current installing update
|
|
67
|
-
*/
|
|
68
|
-
this.UpdateNumber = 1;
|
|
69
|
-
/**
|
|
70
|
-
* Number of all updates to install
|
|
71
|
-
*/
|
|
72
|
-
this.AvailableUpdates = 1;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
export class DownloadProgressInfo {
|
|
76
|
-
constructor() {
|
|
77
|
-
/**
|
|
78
|
-
* Map of resource names
|
|
79
|
-
*
|
|
80
|
-
* As key we have language code as specified in RFC 4646. As value we have description of update in specified language.
|
|
81
|
-
* https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-7.0
|
|
82
|
-
* https://www.ietf.org/rfc/rfc4646.txt
|
|
83
|
-
* ex. pl-PL, en-US
|
|
84
|
-
*/
|
|
85
|
-
this.UpdatedResourceName = new Map();
|
|
86
|
-
/**
|
|
87
|
-
* Percentage of download progress
|
|
88
|
-
*/
|
|
89
|
-
this.Percentage = 0;
|
|
90
|
-
/**
|
|
91
|
-
* Percentage of total update progress
|
|
92
|
-
*/
|
|
93
|
-
this.PercentageTotal = 0;
|
|
94
|
-
/**
|
|
95
|
-
* Speed of download in Megabits per second
|
|
96
|
-
*/
|
|
97
|
-
this.SpeedMbps = 0;
|
|
98
|
-
/*
|
|
99
|
-
* Current task realted to download software
|
|
100
|
-
*/
|
|
101
|
-
this.CurrentTask = DownloadTask.Unknown;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export var DownloadTask;
|
|
105
|
-
(function (DownloadTask) {
|
|
106
|
-
DownloadTask[DownloadTask["Unknown"] = 0] = "Unknown";
|
|
107
|
-
DownloadTask[DownloadTask["DownloadingUpdate"] = 1] = "DownloadingUpdate";
|
|
108
|
-
DownloadTask[DownloadTask["DownloadingInstaller"] = 2] = "DownloadingInstaller";
|
|
109
|
-
DownloadTask[DownloadTask["CheckingUpdate"] = 3] = "CheckingUpdate";
|
|
110
|
-
})(DownloadTask || (DownloadTask = {}));
|
|
111
|
-
export var UpdateErrorCode;
|
|
112
|
-
(function (UpdateErrorCode) {
|
|
113
|
-
UpdateErrorCode[UpdateErrorCode["DeviceIsUpToDate"] = 0] = "DeviceIsUpToDate";
|
|
114
|
-
UpdateErrorCode[UpdateErrorCode["CannotFindDevice"] = 1] = "CannotFindDevice";
|
|
115
|
-
UpdateErrorCode[UpdateErrorCode["UnsupportedApiVersion"] = 2] = "UnsupportedApiVersion";
|
|
116
|
-
UpdateErrorCode[UpdateErrorCode["UnsupportedDevice"] = 3] = "UnsupportedDevice";
|
|
117
|
-
UpdateErrorCode[UpdateErrorCode["CannotGetFirmwareVersion"] = 4] = "CannotGetFirmwareVersion";
|
|
118
|
-
UpdateErrorCode[UpdateErrorCode["CannotGetUpdates"] = 5] = "CannotGetUpdates";
|
|
119
|
-
UpdateErrorCode[UpdateErrorCode["CannotProcessUpdate"] = 6] = "CannotProcessUpdate";
|
|
120
|
-
UpdateErrorCode[UpdateErrorCode["UpdateActionsNotSupported"] = 7] = "UpdateActionsNotSupported";
|
|
121
|
-
UpdateErrorCode[UpdateErrorCode["UnsupportedExtensionVersion"] = 8] = "UnsupportedExtensionVersion";
|
|
122
|
-
UpdateErrorCode[UpdateErrorCode["UpdatesPartiallyInstalled"] = 9] = "UpdatesPartiallyInstalled";
|
|
123
|
-
UpdateErrorCode[UpdateErrorCode["RetransmitterFound"] = 10] = "RetransmitterFound";
|
|
124
|
-
UpdateErrorCode[UpdateErrorCode["ProtocolRadioUnsupported"] = 11] = "ProtocolRadioUnsupported";
|
|
125
|
-
UpdateErrorCode[UpdateErrorCode["FeatureUnsupportedInCurrentVersion"] = 12] = "FeatureUnsupportedInCurrentVersion";
|
|
126
|
-
UpdateErrorCode[UpdateErrorCode["CannotGetUpdatesBranch"] = 13] = "CannotGetUpdatesBranch";
|
|
127
|
-
UpdateErrorCode[UpdateErrorCode["CannotSetUpdatesBranch"] = 14] = "CannotSetUpdatesBranch";
|
|
128
|
-
UpdateErrorCode[UpdateErrorCode["UpdateAlreadyDownloaded"] = 15] = "UpdateAlreadyDownloaded";
|
|
129
|
-
UpdateErrorCode[UpdateErrorCode["UpdateDownloadFailed"] = 16] = "UpdateDownloadFailed";
|
|
130
|
-
UpdateErrorCode[UpdateErrorCode["UpdateAlreadyInstalled"] = 17] = "UpdateAlreadyInstalled";
|
|
131
|
-
UpdateErrorCode[UpdateErrorCode["CannotGetCurrentControllerVersionTimeout"] = 18] = "CannotGetCurrentControllerVersionTimeout";
|
|
132
|
-
UpdateErrorCode[UpdateErrorCode["CannotGetCurrentControllerVersion"] = 19] = "CannotGetCurrentControllerVersion";
|
|
133
|
-
})(UpdateErrorCode || (UpdateErrorCode = {}));
|
|
134
|
-
export var UpdateBranch;
|
|
135
|
-
(function (UpdateBranch) {
|
|
136
|
-
UpdateBranch["Public"] = "public";
|
|
137
|
-
UpdateBranch["Beta"] = "beta";
|
|
138
|
-
UpdateBranch["Development"] = "dev";
|
|
139
|
-
})(UpdateBranch || (UpdateBranch = {}));
|
|
1
|
+
export var UpdateStatus;
|
|
2
|
+
(function (UpdateStatus) {
|
|
3
|
+
UpdateStatus[UpdateStatus["DownloadingFailure"] = -5] = "DownloadingFailure";
|
|
4
|
+
UpdateStatus[UpdateStatus["InstallationStopped"] = -4] = "InstallationStopped";
|
|
5
|
+
UpdateStatus[UpdateStatus["InstallationError"] = -3] = "InstallationError";
|
|
6
|
+
UpdateStatus[UpdateStatus["IncompatiblePackage"] = -2] = "IncompatiblePackage";
|
|
7
|
+
UpdateStatus[UpdateStatus["Error"] = -1] = "Error";
|
|
8
|
+
UpdateStatus[UpdateStatus["OK"] = 0] = "OK";
|
|
9
|
+
UpdateStatus[UpdateStatus["DownloadingPackage"] = 1] = "DownloadingPackage";
|
|
10
|
+
UpdateStatus[UpdateStatus["CheckingPackage"] = 2] = "CheckingPackage";
|
|
11
|
+
UpdateStatus[UpdateStatus["PreparingForUpgrade"] = 3] = "PreparingForUpgrade";
|
|
12
|
+
UpdateStatus[UpdateStatus["Upgrading"] = 4] = "Upgrading";
|
|
13
|
+
UpdateStatus[UpdateStatus["MovingData"] = 5] = "MovingData";
|
|
14
|
+
UpdateStatus[UpdateStatus["Reloading"] = 6] = "Reloading";
|
|
15
|
+
UpdateStatus[UpdateStatus["Upgraded"] = 7] = "Upgraded";
|
|
16
|
+
})(UpdateStatus || (UpdateStatus = {}));
|
|
17
|
+
export var UpdateState;
|
|
18
|
+
(function (UpdateState) {
|
|
19
|
+
UpdateState[UpdateState["WaitingForUser"] = 1] = "WaitingForUser";
|
|
20
|
+
UpdateState[UpdateState["Downloading"] = 2] = "Downloading";
|
|
21
|
+
UpdateState[UpdateState["Unpackaging"] = 3] = "Unpackaging";
|
|
22
|
+
UpdateState[UpdateState["CheckingApplicability"] = 4] = "CheckingApplicability";
|
|
23
|
+
UpdateState[UpdateState["MigratingData"] = 5] = "MigratingData";
|
|
24
|
+
UpdateState[UpdateState["CreatingBackup"] = 6] = "CreatingBackup";
|
|
25
|
+
UpdateState[UpdateState["Deploying"] = 7] = "Deploying";
|
|
26
|
+
UpdateState[UpdateState["Installing"] = 8] = "Installing";
|
|
27
|
+
UpdateState[UpdateState["Removing"] = 9] = "Removing";
|
|
28
|
+
UpdateState[UpdateState["Error"] = 10] = "Error";
|
|
29
|
+
UpdateState[UpdateState["ReadyToDownload"] = 11] = "ReadyToDownload";
|
|
30
|
+
UpdateState[UpdateState["PreparingSystem"] = 12] = "PreparingSystem";
|
|
31
|
+
UpdateState[UpdateState["CheckingPackageIntegrity"] = 13] = "CheckingPackageIntegrity";
|
|
32
|
+
UpdateState[UpdateState["CheckingIntegrity"] = 14] = "CheckingIntegrity";
|
|
33
|
+
UpdateState[UpdateState["UndoingInstallation"] = 15] = "UndoingInstallation";
|
|
34
|
+
UpdateState[UpdateState["Installed"] = 16] = "Installed";
|
|
35
|
+
})(UpdateState || (UpdateState = {}));
|
|
36
|
+
export var UserInput;
|
|
37
|
+
(function (UserInput) {
|
|
38
|
+
UserInput[UserInput["Ignore"] = 0] = "Ignore";
|
|
39
|
+
UserInput[UserInput["Cancel"] = 1] = "Cancel";
|
|
40
|
+
UserInput[UserInput["Install"] = 2] = "Install";
|
|
41
|
+
})(UserInput || (UserInput = {}));
|
|
42
|
+
export class UpdateProgressInfo {
|
|
43
|
+
constructor() {
|
|
44
|
+
/**
|
|
45
|
+
* Map of resource names
|
|
46
|
+
*
|
|
47
|
+
* As key we have language code as specified in RFC 4646. As value we have description of update in specified language.
|
|
48
|
+
* https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-7.0
|
|
49
|
+
* https://www.ietf.org/rfc/rfc4646.txt
|
|
50
|
+
* ex. pl-PL, en-US
|
|
51
|
+
*/
|
|
52
|
+
this.UpdatedResourceName = new Map();
|
|
53
|
+
/**
|
|
54
|
+
* Percentage of installation progress
|
|
55
|
+
*/
|
|
56
|
+
this.Percentage = 0;
|
|
57
|
+
/**
|
|
58
|
+
* Percentage of total update progress
|
|
59
|
+
*/
|
|
60
|
+
this.PercentageTotal = 0;
|
|
61
|
+
/**
|
|
62
|
+
* Current state of update
|
|
63
|
+
*/
|
|
64
|
+
this.Status = UpdateStatus.Error;
|
|
65
|
+
/**
|
|
66
|
+
* Number of current installing update
|
|
67
|
+
*/
|
|
68
|
+
this.UpdateNumber = 1;
|
|
69
|
+
/**
|
|
70
|
+
* Number of all updates to install
|
|
71
|
+
*/
|
|
72
|
+
this.AvailableUpdates = 1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
export class DownloadProgressInfo {
|
|
76
|
+
constructor() {
|
|
77
|
+
/**
|
|
78
|
+
* Map of resource names
|
|
79
|
+
*
|
|
80
|
+
* As key we have language code as specified in RFC 4646. As value we have description of update in specified language.
|
|
81
|
+
* https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-7.0
|
|
82
|
+
* https://www.ietf.org/rfc/rfc4646.txt
|
|
83
|
+
* ex. pl-PL, en-US
|
|
84
|
+
*/
|
|
85
|
+
this.UpdatedResourceName = new Map();
|
|
86
|
+
/**
|
|
87
|
+
* Percentage of download progress
|
|
88
|
+
*/
|
|
89
|
+
this.Percentage = 0;
|
|
90
|
+
/**
|
|
91
|
+
* Percentage of total update progress
|
|
92
|
+
*/
|
|
93
|
+
this.PercentageTotal = 0;
|
|
94
|
+
/**
|
|
95
|
+
* Speed of download in Megabits per second
|
|
96
|
+
*/
|
|
97
|
+
this.SpeedMbps = 0;
|
|
98
|
+
/*
|
|
99
|
+
* Current task realted to download software
|
|
100
|
+
*/
|
|
101
|
+
this.CurrentTask = DownloadTask.Unknown;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export var DownloadTask;
|
|
105
|
+
(function (DownloadTask) {
|
|
106
|
+
DownloadTask[DownloadTask["Unknown"] = 0] = "Unknown";
|
|
107
|
+
DownloadTask[DownloadTask["DownloadingUpdate"] = 1] = "DownloadingUpdate";
|
|
108
|
+
DownloadTask[DownloadTask["DownloadingInstaller"] = 2] = "DownloadingInstaller";
|
|
109
|
+
DownloadTask[DownloadTask["CheckingUpdate"] = 3] = "CheckingUpdate";
|
|
110
|
+
})(DownloadTask || (DownloadTask = {}));
|
|
111
|
+
export var UpdateErrorCode;
|
|
112
|
+
(function (UpdateErrorCode) {
|
|
113
|
+
UpdateErrorCode[UpdateErrorCode["DeviceIsUpToDate"] = 0] = "DeviceIsUpToDate";
|
|
114
|
+
UpdateErrorCode[UpdateErrorCode["CannotFindDevice"] = 1] = "CannotFindDevice";
|
|
115
|
+
UpdateErrorCode[UpdateErrorCode["UnsupportedApiVersion"] = 2] = "UnsupportedApiVersion";
|
|
116
|
+
UpdateErrorCode[UpdateErrorCode["UnsupportedDevice"] = 3] = "UnsupportedDevice";
|
|
117
|
+
UpdateErrorCode[UpdateErrorCode["CannotGetFirmwareVersion"] = 4] = "CannotGetFirmwareVersion";
|
|
118
|
+
UpdateErrorCode[UpdateErrorCode["CannotGetUpdates"] = 5] = "CannotGetUpdates";
|
|
119
|
+
UpdateErrorCode[UpdateErrorCode["CannotProcessUpdate"] = 6] = "CannotProcessUpdate";
|
|
120
|
+
UpdateErrorCode[UpdateErrorCode["UpdateActionsNotSupported"] = 7] = "UpdateActionsNotSupported";
|
|
121
|
+
UpdateErrorCode[UpdateErrorCode["UnsupportedExtensionVersion"] = 8] = "UnsupportedExtensionVersion";
|
|
122
|
+
UpdateErrorCode[UpdateErrorCode["UpdatesPartiallyInstalled"] = 9] = "UpdatesPartiallyInstalled";
|
|
123
|
+
UpdateErrorCode[UpdateErrorCode["RetransmitterFound"] = 10] = "RetransmitterFound";
|
|
124
|
+
UpdateErrorCode[UpdateErrorCode["ProtocolRadioUnsupported"] = 11] = "ProtocolRadioUnsupported";
|
|
125
|
+
UpdateErrorCode[UpdateErrorCode["FeatureUnsupportedInCurrentVersion"] = 12] = "FeatureUnsupportedInCurrentVersion";
|
|
126
|
+
UpdateErrorCode[UpdateErrorCode["CannotGetUpdatesBranch"] = 13] = "CannotGetUpdatesBranch";
|
|
127
|
+
UpdateErrorCode[UpdateErrorCode["CannotSetUpdatesBranch"] = 14] = "CannotSetUpdatesBranch";
|
|
128
|
+
UpdateErrorCode[UpdateErrorCode["UpdateAlreadyDownloaded"] = 15] = "UpdateAlreadyDownloaded";
|
|
129
|
+
UpdateErrorCode[UpdateErrorCode["UpdateDownloadFailed"] = 16] = "UpdateDownloadFailed";
|
|
130
|
+
UpdateErrorCode[UpdateErrorCode["UpdateAlreadyInstalled"] = 17] = "UpdateAlreadyInstalled";
|
|
131
|
+
UpdateErrorCode[UpdateErrorCode["CannotGetCurrentControllerVersionTimeout"] = 18] = "CannotGetCurrentControllerVersionTimeout";
|
|
132
|
+
UpdateErrorCode[UpdateErrorCode["CannotGetCurrentControllerVersion"] = 19] = "CannotGetCurrentControllerVersion";
|
|
133
|
+
})(UpdateErrorCode || (UpdateErrorCode = {}));
|
|
134
|
+
export var UpdateBranch;
|
|
135
|
+
(function (UpdateBranch) {
|
|
136
|
+
UpdateBranch["Public"] = "public";
|
|
137
|
+
UpdateBranch["Beta"] = "beta";
|
|
138
|
+
UpdateBranch["Development"] = "dev";
|
|
139
|
+
})(UpdateBranch || (UpdateBranch = {}));
|
|
140
140
|
//# sourceMappingURL=IUpdatesService.js.map
|
package/build/js/Services/Updates/UpdateProviderServices/IControllerModulesUpdatesProviderService.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=IControllerModulesUpdatesProviderService.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=IDeviceUpdateProviderService.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=IUpdateProviderService.js.map
|