@camstack/addon-matter-broker 0.2.120 → 0.2.121
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
|
@@ -28842,6 +28842,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28842
28842
|
var RestartAddonResultSchema = unknown();
|
|
28843
28843
|
var InstallPackageResultSchema = unknown();
|
|
28844
28844
|
var ReloadPackagesResultSchema = unknown();
|
|
28845
|
+
/**
|
|
28846
|
+
* What an uninstall did on ONE node.
|
|
28847
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28848
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28849
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28850
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28851
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28852
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28853
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28854
|
+
*/
|
|
28855
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28856
|
+
"uninstalled",
|
|
28857
|
+
"not-installed",
|
|
28858
|
+
"refused",
|
|
28859
|
+
"failed",
|
|
28860
|
+
"pending-reconnect"
|
|
28861
|
+
]);
|
|
28862
|
+
var UninstallNodeResultSchema = object({
|
|
28863
|
+
nodeId: string$2(),
|
|
28864
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28865
|
+
error: string$2().optional(),
|
|
28866
|
+
addonIds: array(string$2()).readonly(),
|
|
28867
|
+
runnersStopped: array(string$2()).readonly(),
|
|
28868
|
+
warnings: array(string$2()).readonly()
|
|
28869
|
+
});
|
|
28870
|
+
var UninstallPackageResultSchema = object({
|
|
28871
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28872
|
+
success: boolean(),
|
|
28873
|
+
packageName: string$2(),
|
|
28874
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28875
|
+
});
|
|
28876
|
+
/**
|
|
28877
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28878
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28879
|
+
*/
|
|
28880
|
+
var PackageInstallationsSchema = object({
|
|
28881
|
+
installations: array(object({
|
|
28882
|
+
packageName: string$2(),
|
|
28883
|
+
nodeId: string$2(),
|
|
28884
|
+
nodeName: string$2(),
|
|
28885
|
+
isHub: boolean(),
|
|
28886
|
+
isOnline: boolean(),
|
|
28887
|
+
version: string$2().nullable(),
|
|
28888
|
+
addonIds: array(string$2()).readonly(),
|
|
28889
|
+
source: _enum(["live", "recorded"]),
|
|
28890
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28891
|
+
onHub: boolean()
|
|
28892
|
+
})).readonly(),
|
|
28893
|
+
unreachable: array(object({
|
|
28894
|
+
nodeId: string$2(),
|
|
28895
|
+
error: string$2()
|
|
28896
|
+
})).readonly()
|
|
28897
|
+
});
|
|
28845
28898
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28846
28899
|
"queued",
|
|
28847
28900
|
"updating",
|
|
@@ -28924,10 +28977,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28924
28977
|
}), method(object({ packageName: string$2() }), InstallPackageResultSchema, {
|
|
28925
28978
|
kind: "mutation",
|
|
28926
28979
|
auth: "admin"
|
|
28927
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28980
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28981
|
+
packageName: string$2().min(1),
|
|
28982
|
+
nodeId: string$2().optional(),
|
|
28983
|
+
everywhere: boolean().optional()
|
|
28984
|
+
}), UninstallPackageResultSchema, {
|
|
28928
28985
|
kind: "mutation",
|
|
28929
28986
|
auth: "admin"
|
|
28930
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28987
|
+
}), method(object({ packageName: string$2().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28931
28988
|
kind: "mutation",
|
|
28932
28989
|
auth: "admin"
|
|
28933
28990
|
}), method(object({ query: string$2().optional() }), array(SearchResultSchema)), method(object({ nodeId: string$2().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41377,6 +41434,12 @@ Object.freeze({
|
|
|
41377
41434
|
addonId: null,
|
|
41378
41435
|
access: "view"
|
|
41379
41436
|
},
|
|
41437
|
+
"addons.listInstallations": {
|
|
41438
|
+
capName: "addons",
|
|
41439
|
+
capScope: "system",
|
|
41440
|
+
addonId: null,
|
|
41441
|
+
access: "view"
|
|
41442
|
+
},
|
|
41380
41443
|
"addons.listJobs": {
|
|
41381
41444
|
capName: "addons",
|
|
41382
41445
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -28840,6 +28840,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28840
28840
|
var RestartAddonResultSchema = unknown();
|
|
28841
28841
|
var InstallPackageResultSchema = unknown();
|
|
28842
28842
|
var ReloadPackagesResultSchema = unknown();
|
|
28843
|
+
/**
|
|
28844
|
+
* What an uninstall did on ONE node.
|
|
28845
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28846
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28847
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28848
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28849
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28850
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28851
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28852
|
+
*/
|
|
28853
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28854
|
+
"uninstalled",
|
|
28855
|
+
"not-installed",
|
|
28856
|
+
"refused",
|
|
28857
|
+
"failed",
|
|
28858
|
+
"pending-reconnect"
|
|
28859
|
+
]);
|
|
28860
|
+
var UninstallNodeResultSchema = object({
|
|
28861
|
+
nodeId: string$2(),
|
|
28862
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28863
|
+
error: string$2().optional(),
|
|
28864
|
+
addonIds: array(string$2()).readonly(),
|
|
28865
|
+
runnersStopped: array(string$2()).readonly(),
|
|
28866
|
+
warnings: array(string$2()).readonly()
|
|
28867
|
+
});
|
|
28868
|
+
var UninstallPackageResultSchema = object({
|
|
28869
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28870
|
+
success: boolean(),
|
|
28871
|
+
packageName: string$2(),
|
|
28872
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28873
|
+
});
|
|
28874
|
+
/**
|
|
28875
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28876
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28877
|
+
*/
|
|
28878
|
+
var PackageInstallationsSchema = object({
|
|
28879
|
+
installations: array(object({
|
|
28880
|
+
packageName: string$2(),
|
|
28881
|
+
nodeId: string$2(),
|
|
28882
|
+
nodeName: string$2(),
|
|
28883
|
+
isHub: boolean(),
|
|
28884
|
+
isOnline: boolean(),
|
|
28885
|
+
version: string$2().nullable(),
|
|
28886
|
+
addonIds: array(string$2()).readonly(),
|
|
28887
|
+
source: _enum(["live", "recorded"]),
|
|
28888
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28889
|
+
onHub: boolean()
|
|
28890
|
+
})).readonly(),
|
|
28891
|
+
unreachable: array(object({
|
|
28892
|
+
nodeId: string$2(),
|
|
28893
|
+
error: string$2()
|
|
28894
|
+
})).readonly()
|
|
28895
|
+
});
|
|
28843
28896
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28844
28897
|
"queued",
|
|
28845
28898
|
"updating",
|
|
@@ -28922,10 +28975,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28922
28975
|
}), method(object({ packageName: string$2() }), InstallPackageResultSchema, {
|
|
28923
28976
|
kind: "mutation",
|
|
28924
28977
|
auth: "admin"
|
|
28925
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28978
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28979
|
+
packageName: string$2().min(1),
|
|
28980
|
+
nodeId: string$2().optional(),
|
|
28981
|
+
everywhere: boolean().optional()
|
|
28982
|
+
}), UninstallPackageResultSchema, {
|
|
28926
28983
|
kind: "mutation",
|
|
28927
28984
|
auth: "admin"
|
|
28928
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28985
|
+
}), method(object({ packageName: string$2().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28929
28986
|
kind: "mutation",
|
|
28930
28987
|
auth: "admin"
|
|
28931
28988
|
}), method(object({ query: string$2().optional() }), array(SearchResultSchema)), method(object({ nodeId: string$2().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41375,6 +41432,12 @@ Object.freeze({
|
|
|
41375
41432
|
addonId: null,
|
|
41376
41433
|
access: "view"
|
|
41377
41434
|
},
|
|
41435
|
+
"addons.listInstallations": {
|
|
41436
|
+
capName: "addons",
|
|
41437
|
+
capScope: "system",
|
|
41438
|
+
addonId: null,
|
|
41439
|
+
access: "view"
|
|
41440
|
+
},
|
|
41378
41441
|
"addons.listJobs": {
|
|
41379
41442
|
capName: "addons",
|
|
41380
41443
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.121",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|