@camstack/addon-provider-ecowitt 0.2.121 → 0.2.122
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/addon.js +65 -2
- package/dist/addon.mjs +65 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -28878,6 +28878,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28878
28878
|
var RestartAddonResultSchema = unknown();
|
|
28879
28879
|
var InstallPackageResultSchema = unknown();
|
|
28880
28880
|
var ReloadPackagesResultSchema = unknown();
|
|
28881
|
+
/**
|
|
28882
|
+
* What an uninstall did on ONE node.
|
|
28883
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28884
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28885
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28886
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28887
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28888
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28889
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28890
|
+
*/
|
|
28891
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28892
|
+
"uninstalled",
|
|
28893
|
+
"not-installed",
|
|
28894
|
+
"refused",
|
|
28895
|
+
"failed",
|
|
28896
|
+
"pending-reconnect"
|
|
28897
|
+
]);
|
|
28898
|
+
var UninstallNodeResultSchema = object({
|
|
28899
|
+
nodeId: string(),
|
|
28900
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28901
|
+
error: string().optional(),
|
|
28902
|
+
addonIds: array(string()).readonly(),
|
|
28903
|
+
runnersStopped: array(string()).readonly(),
|
|
28904
|
+
warnings: array(string()).readonly()
|
|
28905
|
+
});
|
|
28906
|
+
var UninstallPackageResultSchema = object({
|
|
28907
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28908
|
+
success: boolean(),
|
|
28909
|
+
packageName: string(),
|
|
28910
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28911
|
+
});
|
|
28912
|
+
/**
|
|
28913
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28914
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28915
|
+
*/
|
|
28916
|
+
var PackageInstallationsSchema = object({
|
|
28917
|
+
installations: array(object({
|
|
28918
|
+
packageName: string(),
|
|
28919
|
+
nodeId: string(),
|
|
28920
|
+
nodeName: string(),
|
|
28921
|
+
isHub: boolean(),
|
|
28922
|
+
isOnline: boolean(),
|
|
28923
|
+
version: string().nullable(),
|
|
28924
|
+
addonIds: array(string()).readonly(),
|
|
28925
|
+
source: _enum(["live", "recorded"]),
|
|
28926
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28927
|
+
onHub: boolean()
|
|
28928
|
+
})).readonly(),
|
|
28929
|
+
unreachable: array(object({
|
|
28930
|
+
nodeId: string(),
|
|
28931
|
+
error: string()
|
|
28932
|
+
})).readonly()
|
|
28933
|
+
});
|
|
28881
28934
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28882
28935
|
"queued",
|
|
28883
28936
|
"updating",
|
|
@@ -28960,10 +29013,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28960
29013
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28961
29014
|
kind: "mutation",
|
|
28962
29015
|
auth: "admin"
|
|
28963
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29016
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29017
|
+
packageName: string().min(1),
|
|
29018
|
+
nodeId: string().optional(),
|
|
29019
|
+
everywhere: boolean().optional()
|
|
29020
|
+
}), UninstallPackageResultSchema, {
|
|
28964
29021
|
kind: "mutation",
|
|
28965
29022
|
auth: "admin"
|
|
28966
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29023
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28967
29024
|
kind: "mutation",
|
|
28968
29025
|
auth: "admin"
|
|
28969
29026
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41396,6 +41453,12 @@ Object.freeze({
|
|
|
41396
41453
|
addonId: null,
|
|
41397
41454
|
access: "view"
|
|
41398
41455
|
},
|
|
41456
|
+
"addons.listInstallations": {
|
|
41457
|
+
capName: "addons",
|
|
41458
|
+
capScope: "system",
|
|
41459
|
+
addonId: null,
|
|
41460
|
+
access: "view"
|
|
41461
|
+
},
|
|
41399
41462
|
"addons.listJobs": {
|
|
41400
41463
|
capName: "addons",
|
|
41401
41464
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -28877,6 +28877,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28877
28877
|
var RestartAddonResultSchema = unknown();
|
|
28878
28878
|
var InstallPackageResultSchema = unknown();
|
|
28879
28879
|
var ReloadPackagesResultSchema = unknown();
|
|
28880
|
+
/**
|
|
28881
|
+
* What an uninstall did on ONE node.
|
|
28882
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28883
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28884
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28885
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28886
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28887
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28888
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28889
|
+
*/
|
|
28890
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28891
|
+
"uninstalled",
|
|
28892
|
+
"not-installed",
|
|
28893
|
+
"refused",
|
|
28894
|
+
"failed",
|
|
28895
|
+
"pending-reconnect"
|
|
28896
|
+
]);
|
|
28897
|
+
var UninstallNodeResultSchema = object({
|
|
28898
|
+
nodeId: string(),
|
|
28899
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28900
|
+
error: string().optional(),
|
|
28901
|
+
addonIds: array(string()).readonly(),
|
|
28902
|
+
runnersStopped: array(string()).readonly(),
|
|
28903
|
+
warnings: array(string()).readonly()
|
|
28904
|
+
});
|
|
28905
|
+
var UninstallPackageResultSchema = object({
|
|
28906
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28907
|
+
success: boolean(),
|
|
28908
|
+
packageName: string(),
|
|
28909
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28910
|
+
});
|
|
28911
|
+
/**
|
|
28912
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28913
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28914
|
+
*/
|
|
28915
|
+
var PackageInstallationsSchema = object({
|
|
28916
|
+
installations: array(object({
|
|
28917
|
+
packageName: string(),
|
|
28918
|
+
nodeId: string(),
|
|
28919
|
+
nodeName: string(),
|
|
28920
|
+
isHub: boolean(),
|
|
28921
|
+
isOnline: boolean(),
|
|
28922
|
+
version: string().nullable(),
|
|
28923
|
+
addonIds: array(string()).readonly(),
|
|
28924
|
+
source: _enum(["live", "recorded"]),
|
|
28925
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28926
|
+
onHub: boolean()
|
|
28927
|
+
})).readonly(),
|
|
28928
|
+
unreachable: array(object({
|
|
28929
|
+
nodeId: string(),
|
|
28930
|
+
error: string()
|
|
28931
|
+
})).readonly()
|
|
28932
|
+
});
|
|
28880
28933
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28881
28934
|
"queued",
|
|
28882
28935
|
"updating",
|
|
@@ -28959,10 +29012,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28959
29012
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28960
29013
|
kind: "mutation",
|
|
28961
29014
|
auth: "admin"
|
|
28962
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29015
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29016
|
+
packageName: string().min(1),
|
|
29017
|
+
nodeId: string().optional(),
|
|
29018
|
+
everywhere: boolean().optional()
|
|
29019
|
+
}), UninstallPackageResultSchema, {
|
|
28963
29020
|
kind: "mutation",
|
|
28964
29021
|
auth: "admin"
|
|
28965
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29022
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28966
29023
|
kind: "mutation",
|
|
28967
29024
|
auth: "admin"
|
|
28968
29025
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41395,6 +41452,12 @@ Object.freeze({
|
|
|
41395
41452
|
addonId: null,
|
|
41396
41453
|
access: "view"
|
|
41397
41454
|
},
|
|
41455
|
+
"addons.listInstallations": {
|
|
41456
|
+
capName: "addons",
|
|
41457
|
+
capScope: "system",
|
|
41458
|
+
addonId: null,
|
|
41459
|
+
access: "view"
|
|
41460
|
+
},
|
|
41398
41461
|
"addons.listJobs": {
|
|
41399
41462
|
capName: "addons",
|
|
41400
41463
|
capScope: "system",
|
package/package.json
CHANGED