@camstack/addon-decoder-nodeav 1.2.120 → 1.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/index.js +65 -2
- package/dist/index.mjs +65 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28483,6 +28483,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28483
28483
|
var RestartAddonResultSchema = unknown();
|
|
28484
28484
|
var InstallPackageResultSchema = unknown();
|
|
28485
28485
|
var ReloadPackagesResultSchema = unknown();
|
|
28486
|
+
/**
|
|
28487
|
+
* What an uninstall did on ONE node.
|
|
28488
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28489
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28490
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28491
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28492
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28493
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28494
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28495
|
+
*/
|
|
28496
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28497
|
+
"uninstalled",
|
|
28498
|
+
"not-installed",
|
|
28499
|
+
"refused",
|
|
28500
|
+
"failed",
|
|
28501
|
+
"pending-reconnect"
|
|
28502
|
+
]);
|
|
28503
|
+
var UninstallNodeResultSchema = object({
|
|
28504
|
+
nodeId: string(),
|
|
28505
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28506
|
+
error: string().optional(),
|
|
28507
|
+
addonIds: array(string()).readonly(),
|
|
28508
|
+
runnersStopped: array(string()).readonly(),
|
|
28509
|
+
warnings: array(string()).readonly()
|
|
28510
|
+
});
|
|
28511
|
+
var UninstallPackageResultSchema = object({
|
|
28512
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28513
|
+
success: boolean(),
|
|
28514
|
+
packageName: string(),
|
|
28515
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28516
|
+
});
|
|
28517
|
+
/**
|
|
28518
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28519
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28520
|
+
*/
|
|
28521
|
+
var PackageInstallationsSchema = object({
|
|
28522
|
+
installations: array(object({
|
|
28523
|
+
packageName: string(),
|
|
28524
|
+
nodeId: string(),
|
|
28525
|
+
nodeName: string(),
|
|
28526
|
+
isHub: boolean(),
|
|
28527
|
+
isOnline: boolean(),
|
|
28528
|
+
version: string().nullable(),
|
|
28529
|
+
addonIds: array(string()).readonly(),
|
|
28530
|
+
source: _enum(["live", "recorded"]),
|
|
28531
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28532
|
+
onHub: boolean()
|
|
28533
|
+
})).readonly(),
|
|
28534
|
+
unreachable: array(object({
|
|
28535
|
+
nodeId: string(),
|
|
28536
|
+
error: string()
|
|
28537
|
+
})).readonly()
|
|
28538
|
+
});
|
|
28486
28539
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28487
28540
|
"queued",
|
|
28488
28541
|
"updating",
|
|
@@ -28565,10 +28618,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28565
28618
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28566
28619
|
kind: "mutation",
|
|
28567
28620
|
auth: "admin"
|
|
28568
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28621
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28622
|
+
packageName: string().min(1),
|
|
28623
|
+
nodeId: string().optional(),
|
|
28624
|
+
everywhere: boolean().optional()
|
|
28625
|
+
}), UninstallPackageResultSchema, {
|
|
28569
28626
|
kind: "mutation",
|
|
28570
28627
|
auth: "admin"
|
|
28571
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28628
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28572
28629
|
kind: "mutation",
|
|
28573
28630
|
auth: "admin"
|
|
28574
28631
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -36857,6 +36914,12 @@ Object.freeze({
|
|
|
36857
36914
|
addonId: null,
|
|
36858
36915
|
access: "view"
|
|
36859
36916
|
},
|
|
36917
|
+
"addons.listInstallations": {
|
|
36918
|
+
capName: "addons",
|
|
36919
|
+
capScope: "system",
|
|
36920
|
+
addonId: null,
|
|
36921
|
+
access: "view"
|
|
36922
|
+
},
|
|
36860
36923
|
"addons.listJobs": {
|
|
36861
36924
|
capName: "addons",
|
|
36862
36925
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -28479,6 +28479,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28479
28479
|
var RestartAddonResultSchema = unknown();
|
|
28480
28480
|
var InstallPackageResultSchema = unknown();
|
|
28481
28481
|
var ReloadPackagesResultSchema = unknown();
|
|
28482
|
+
/**
|
|
28483
|
+
* What an uninstall did on ONE node.
|
|
28484
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28485
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28486
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28487
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28488
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28489
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28490
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28491
|
+
*/
|
|
28492
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28493
|
+
"uninstalled",
|
|
28494
|
+
"not-installed",
|
|
28495
|
+
"refused",
|
|
28496
|
+
"failed",
|
|
28497
|
+
"pending-reconnect"
|
|
28498
|
+
]);
|
|
28499
|
+
var UninstallNodeResultSchema = object({
|
|
28500
|
+
nodeId: string(),
|
|
28501
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28502
|
+
error: string().optional(),
|
|
28503
|
+
addonIds: array(string()).readonly(),
|
|
28504
|
+
runnersStopped: array(string()).readonly(),
|
|
28505
|
+
warnings: array(string()).readonly()
|
|
28506
|
+
});
|
|
28507
|
+
var UninstallPackageResultSchema = object({
|
|
28508
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28509
|
+
success: boolean(),
|
|
28510
|
+
packageName: string(),
|
|
28511
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28512
|
+
});
|
|
28513
|
+
/**
|
|
28514
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28515
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28516
|
+
*/
|
|
28517
|
+
var PackageInstallationsSchema = object({
|
|
28518
|
+
installations: array(object({
|
|
28519
|
+
packageName: string(),
|
|
28520
|
+
nodeId: string(),
|
|
28521
|
+
nodeName: string(),
|
|
28522
|
+
isHub: boolean(),
|
|
28523
|
+
isOnline: boolean(),
|
|
28524
|
+
version: string().nullable(),
|
|
28525
|
+
addonIds: array(string()).readonly(),
|
|
28526
|
+
source: _enum(["live", "recorded"]),
|
|
28527
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28528
|
+
onHub: boolean()
|
|
28529
|
+
})).readonly(),
|
|
28530
|
+
unreachable: array(object({
|
|
28531
|
+
nodeId: string(),
|
|
28532
|
+
error: string()
|
|
28533
|
+
})).readonly()
|
|
28534
|
+
});
|
|
28482
28535
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28483
28536
|
"queued",
|
|
28484
28537
|
"updating",
|
|
@@ -28561,10 +28614,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28561
28614
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28562
28615
|
kind: "mutation",
|
|
28563
28616
|
auth: "admin"
|
|
28564
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28617
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28618
|
+
packageName: string().min(1),
|
|
28619
|
+
nodeId: string().optional(),
|
|
28620
|
+
everywhere: boolean().optional()
|
|
28621
|
+
}), UninstallPackageResultSchema, {
|
|
28565
28622
|
kind: "mutation",
|
|
28566
28623
|
auth: "admin"
|
|
28567
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28624
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28568
28625
|
kind: "mutation",
|
|
28569
28626
|
auth: "admin"
|
|
28570
28627
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -36853,6 +36910,12 @@ Object.freeze({
|
|
|
36853
36910
|
addonId: null,
|
|
36854
36911
|
access: "view"
|
|
36855
36912
|
},
|
|
36913
|
+
"addons.listInstallations": {
|
|
36914
|
+
capName: "addons",
|
|
36915
|
+
capScope: "system",
|
|
36916
|
+
addonId: null,
|
|
36917
|
+
access: "view"
|
|
36918
|
+
},
|
|
36856
36919
|
"addons.listJobs": {
|
|
36857
36920
|
capName: "addons",
|
|
36858
36921
|
capScope: "system",
|