@camstack/addon-mqtt-broker 1.2.58 → 1.2.60
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/mqtt-broker.addon.js +136 -9
- package/dist/mqtt-broker.addon.mjs +136 -9
- package/package.json +1 -1
|
@@ -10556,6 +10556,89 @@ var LocationStatSchema = object({
|
|
|
10556
10556
|
fileCount: number(),
|
|
10557
10557
|
present: boolean()
|
|
10558
10558
|
});
|
|
10559
|
+
/** Lifecycle of a backup run. Terminal states: succeeded / failed / cancelled. */
|
|
10560
|
+
var BackupRunStateSchema = _enum([
|
|
10561
|
+
"queued",
|
|
10562
|
+
"running",
|
|
10563
|
+
"succeeded",
|
|
10564
|
+
"failed",
|
|
10565
|
+
"cancelled"
|
|
10566
|
+
]);
|
|
10567
|
+
/**
|
|
10568
|
+
* Where a running backup currently is. `queued` before it starts,
|
|
10569
|
+
* `building` while the tar.gz is being staged, `uploading` during the
|
|
10570
|
+
* per-destination fan-out, `done` once terminal.
|
|
10571
|
+
*/
|
|
10572
|
+
var BackupRunPhaseSchema = _enum([
|
|
10573
|
+
"queued",
|
|
10574
|
+
"building",
|
|
10575
|
+
"uploading",
|
|
10576
|
+
"done"
|
|
10577
|
+
]);
|
|
10578
|
+
/**
|
|
10579
|
+
* Observable state of one backup run — readable WHILE it runs via
|
|
10580
|
+
* `backup.listRuns`. This is what makes the execution queue and
|
|
10581
|
+
* `backup.cancel` usable: the 2026-09-04 incident (two concurrent
|
|
10582
|
+
* multi-GB builds, staging 5.1 GB → 18 GB, load 62) was only
|
|
10583
|
+
* diagnosable with `du` because nothing reported that runs existed or
|
|
10584
|
+
* how large the staged archive had grown.
|
|
10585
|
+
*/
|
|
10586
|
+
var BackupRunSchema = object({
|
|
10587
|
+
/** Stable run id — the handle `backup.cancel` takes. */
|
|
10588
|
+
id: string(),
|
|
10589
|
+
state: BackupRunStateSchema,
|
|
10590
|
+
phase: BackupRunPhaseSchema,
|
|
10591
|
+
/**
|
|
10592
|
+
* Resolved destination location ids. Empty while queued (targets are
|
|
10593
|
+
* resolved when the run starts, against the then-current policies).
|
|
10594
|
+
*/
|
|
10595
|
+
destinationIds: array(string()).readonly(),
|
|
10596
|
+
label: string().optional(),
|
|
10597
|
+
/** ms-epoch when the run was submitted (trigger call / schedule fire). */
|
|
10598
|
+
requestedAt: number(),
|
|
10599
|
+
/** ms-epoch when the run left the queue and started building. */
|
|
10600
|
+
startedAt: number().optional(),
|
|
10601
|
+
/** ms-epoch when the run reached a terminal state. */
|
|
10602
|
+
finishedAt: number().optional(),
|
|
10603
|
+
/** Compressed bytes of the staging archive written so far. */
|
|
10604
|
+
stagedBytes: number(),
|
|
10605
|
+
/** Final staged archive size, once the build phase completes. */
|
|
10606
|
+
archiveSizeBytes: number().optional(),
|
|
10607
|
+
/** Bytes pushed to the destination currently uploading. */
|
|
10608
|
+
uploadedBytes: number(),
|
|
10609
|
+
/** Destinations where the archive fully landed (uploaded + indexed). */
|
|
10610
|
+
completedDestinationIds: array(string()).readonly(),
|
|
10611
|
+
/** Destinations that failed during the fan-out. */
|
|
10612
|
+
failedDestinationIds: array(string()).readonly(),
|
|
10613
|
+
/** Failure message when `state === 'failed'`. */
|
|
10614
|
+
error: string().optional(),
|
|
10615
|
+
/**
|
|
10616
|
+
* 1-based place in the execution queue — 1 = runs next. Present only
|
|
10617
|
+
* while `state === 'queued'`. Stamped by the orchestrator from the
|
|
10618
|
+
* queue's OWN pending order, never derived from timestamps, so the
|
|
10619
|
+
* UI cannot show an order the executor will not honour.
|
|
10620
|
+
*/
|
|
10621
|
+
queuePosition: number().int().min(1).optional()
|
|
10622
|
+
});
|
|
10623
|
+
/**
|
|
10624
|
+
* Result of `backup.trigger`. The call still resolves when the run
|
|
10625
|
+
* terminates (compat with schedule-driven runs and the admin UI), but
|
|
10626
|
+
* it now names the run and says whether it had to WAIT: a trigger that
|
|
10627
|
+
* arrives while another run is in flight is enqueued (or joined onto
|
|
10628
|
+
* an identical already-queued run), never started concurrently.
|
|
10629
|
+
*/
|
|
10630
|
+
var BackupTriggerResultSchema = object({
|
|
10631
|
+
/** The run this trigger mapped to — poll it via `listRuns`, stop it via `cancel`. */
|
|
10632
|
+
runId: string(),
|
|
10633
|
+
/** True when the run waited behind an in-flight run instead of starting immediately. */
|
|
10634
|
+
queued: boolean(),
|
|
10635
|
+
/** True when this trigger was coalesced onto an identical already-queued run. */
|
|
10636
|
+
joined: boolean(),
|
|
10637
|
+
/** True when the run was cancelled before completing every destination. */
|
|
10638
|
+
cancelled: boolean(),
|
|
10639
|
+
/** One entry per destination the archive landed at (partial on cancel). */
|
|
10640
|
+
entries: array(BackupEntrySchema).readonly()
|
|
10641
|
+
});
|
|
10559
10642
|
/**
|
|
10560
10643
|
* A backup schedule — the N:M "entry" that binds one cron cadence to a
|
|
10561
10644
|
* SET of destination locations. Supersedes the per-location cron on
|
|
@@ -10603,7 +10686,10 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10603
10686
|
* retention (manual runs).
|
|
10604
10687
|
*/
|
|
10605
10688
|
retentionCount: number().int().min(1).max(1e3).optional()
|
|
10606
|
-
}).optional(),
|
|
10689
|
+
}).optional(), BackupTriggerResultSchema, {
|
|
10690
|
+
kind: "mutation",
|
|
10691
|
+
auth: "admin"
|
|
10692
|
+
}), method(_void(), array(BackupRunSchema).readonly(), { auth: "admin" }), method(object({ runId: string() }), object({ cancelled: boolean() }), {
|
|
10607
10693
|
kind: "mutation",
|
|
10608
10694
|
auth: "admin"
|
|
10609
10695
|
}), method(_void(), array(BackupEntrySchema).readonly(), { auth: "admin" }), method(_void(), array(LocationStatSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -11369,6 +11455,14 @@ method(object({
|
|
|
11369
11455
|
}), object({ success: literal(true) }), {
|
|
11370
11456
|
kind: "mutation",
|
|
11371
11457
|
auth: "admin"
|
|
11458
|
+
}), method(object({ deviceId: number().int().nonnegative() }), object({
|
|
11459
|
+
derivedStreamsDeleted: array(string()).readonly(),
|
|
11460
|
+
assignmentsPurged: boolean(),
|
|
11461
|
+
probeSnapshotsDropped: number().int().nonnegative(),
|
|
11462
|
+
rtspTokenRowsDeleted: number().int().nonnegative()
|
|
11463
|
+
}), {
|
|
11464
|
+
kind: "mutation",
|
|
11465
|
+
auth: "admin"
|
|
11372
11466
|
}), method(object({
|
|
11373
11467
|
deviceId: number(),
|
|
11374
11468
|
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
@@ -12578,7 +12672,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
12578
12672
|
id: string(),
|
|
12579
12673
|
name: string(),
|
|
12580
12674
|
type: string()
|
|
12581
|
-
}))), method(object({
|
|
12675
|
+
}))), method(object({ stableId: string() }), object({ deviceId: number() }), {
|
|
12676
|
+
kind: "mutation",
|
|
12677
|
+
timeoutMs: 3 * 6e4
|
|
12678
|
+
}), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
12582
12679
|
kind: "mutation",
|
|
12583
12680
|
auth: "admin"
|
|
12584
12681
|
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
@@ -12859,7 +12956,8 @@ method(object({
|
|
|
12859
12956
|
targetId: number()
|
|
12860
12957
|
}), MigrateDeviceResultSchema, {
|
|
12861
12958
|
kind: "mutation",
|
|
12862
|
-
auth: "admin"
|
|
12959
|
+
auth: "admin",
|
|
12960
|
+
timeoutMs: 12 * 6e4
|
|
12863
12961
|
}), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
|
|
12864
12962
|
deviceId: number(),
|
|
12865
12963
|
name: string()
|
|
@@ -29483,6 +29581,12 @@ Object.freeze({
|
|
|
29483
29581
|
addonId: null,
|
|
29484
29582
|
access: "create"
|
|
29485
29583
|
},
|
|
29584
|
+
"backup.cancel": {
|
|
29585
|
+
capName: "backup",
|
|
29586
|
+
capScope: "system",
|
|
29587
|
+
addonId: null,
|
|
29588
|
+
access: "create"
|
|
29589
|
+
},
|
|
29486
29590
|
"backup.delete": {
|
|
29487
29591
|
capName: "backup",
|
|
29488
29592
|
capScope: "system",
|
|
@@ -29525,6 +29629,12 @@ Object.freeze({
|
|
|
29525
29629
|
addonId: null,
|
|
29526
29630
|
access: "view"
|
|
29527
29631
|
},
|
|
29632
|
+
"backup.listRuns": {
|
|
29633
|
+
capName: "backup",
|
|
29634
|
+
capScope: "system",
|
|
29635
|
+
addonId: null,
|
|
29636
|
+
access: "view"
|
|
29637
|
+
},
|
|
29528
29638
|
"backup.listSchedules": {
|
|
29529
29639
|
capName: "backup",
|
|
29530
29640
|
capScope: "system",
|
|
@@ -30725,6 +30835,12 @@ Object.freeze({
|
|
|
30725
30835
|
addonId: null,
|
|
30726
30836
|
access: "view"
|
|
30727
30837
|
},
|
|
30838
|
+
"deviceProvider.reloadDevice": {
|
|
30839
|
+
capName: "device-provider",
|
|
30840
|
+
capScope: "system",
|
|
30841
|
+
addonId: null,
|
|
30842
|
+
access: "create"
|
|
30843
|
+
},
|
|
30728
30844
|
"deviceProvider.start": {
|
|
30729
30845
|
capName: "device-provider",
|
|
30730
30846
|
capScope: "system",
|
|
@@ -34091,6 +34207,12 @@ Object.freeze({
|
|
|
34091
34207
|
addonId: null,
|
|
34092
34208
|
access: "create"
|
|
34093
34209
|
},
|
|
34210
|
+
"streamBroker.forgetDeviceHardware": {
|
|
34211
|
+
capName: "stream-broker",
|
|
34212
|
+
capScope: "system",
|
|
34213
|
+
addonId: null,
|
|
34214
|
+
access: "delete"
|
|
34215
|
+
},
|
|
34094
34216
|
"streamBroker.getAllRtspEntries": {
|
|
34095
34217
|
capName: "stream-broker",
|
|
34096
34218
|
capScope: "system",
|
|
@@ -36549,6 +36671,11 @@ Object.freeze({
|
|
|
36549
36671
|
form: "single",
|
|
36550
36672
|
optional: false
|
|
36551
36673
|
}],
|
|
36674
|
+
"streamBroker.forgetDeviceHardware": [{
|
|
36675
|
+
name: "deviceId",
|
|
36676
|
+
form: "single",
|
|
36677
|
+
optional: false
|
|
36678
|
+
}],
|
|
36552
36679
|
"streamBroker.getDeviceAudioMute": [{
|
|
36553
36680
|
name: "deviceId",
|
|
36554
36681
|
form: "single",
|
|
@@ -41103,9 +41230,9 @@ var init_event_target_shim = __esmMin((() => {
|
|
|
41103
41230
|
//#endregion
|
|
41104
41231
|
//#region ../../node_modules/abort-controller/dist/abort-controller.mjs
|
|
41105
41232
|
var abort_controller_exports = /* @__PURE__ */ __exportAll({
|
|
41106
|
-
AbortController: () => AbortController,
|
|
41233
|
+
AbortController: () => AbortController$1,
|
|
41107
41234
|
AbortSignal: () => AbortSignal,
|
|
41108
|
-
default: () => AbortController
|
|
41235
|
+
default: () => AbortController$1
|
|
41109
41236
|
});
|
|
41110
41237
|
/**
|
|
41111
41238
|
* Create an AbortSignal object.
|
|
@@ -41132,7 +41259,7 @@ function getSignal(controller) {
|
|
|
41132
41259
|
if (signal == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? "null" : typeof controller}`);
|
|
41133
41260
|
return signal;
|
|
41134
41261
|
}
|
|
41135
|
-
var AbortSignal, abortedFlags, AbortController, signals;
|
|
41262
|
+
var AbortSignal, abortedFlags, AbortController$1, signals;
|
|
41136
41263
|
var init_abort_controller = __esmMin((() => {
|
|
41137
41264
|
init_event_target_shim();
|
|
41138
41265
|
AbortSignal = class extends EventTarget {
|
|
@@ -41159,7 +41286,7 @@ var init_abort_controller = __esmMin((() => {
|
|
|
41159
41286
|
configurable: true,
|
|
41160
41287
|
value: "AbortSignal"
|
|
41161
41288
|
});
|
|
41162
|
-
AbortController = class {
|
|
41289
|
+
AbortController$1 = class {
|
|
41163
41290
|
/**
|
|
41164
41291
|
* Initialize this controller.
|
|
41165
41292
|
*/
|
|
@@ -41180,11 +41307,11 @@ var init_abort_controller = __esmMin((() => {
|
|
|
41180
41307
|
}
|
|
41181
41308
|
};
|
|
41182
41309
|
signals = /* @__PURE__ */ new WeakMap();
|
|
41183
|
-
Object.defineProperties(AbortController.prototype, {
|
|
41310
|
+
Object.defineProperties(AbortController$1.prototype, {
|
|
41184
41311
|
signal: { enumerable: true },
|
|
41185
41312
|
abort: { enumerable: true }
|
|
41186
41313
|
});
|
|
41187
|
-
if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") Object.defineProperty(AbortController.prototype, Symbol.toStringTag, {
|
|
41314
|
+
if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") Object.defineProperty(AbortController$1.prototype, Symbol.toStringTag, {
|
|
41188
41315
|
configurable: true,
|
|
41189
41316
|
value: "AbortController"
|
|
41190
41317
|
});
|
|
@@ -10551,6 +10551,89 @@ var LocationStatSchema = object({
|
|
|
10551
10551
|
fileCount: number(),
|
|
10552
10552
|
present: boolean()
|
|
10553
10553
|
});
|
|
10554
|
+
/** Lifecycle of a backup run. Terminal states: succeeded / failed / cancelled. */
|
|
10555
|
+
var BackupRunStateSchema = _enum([
|
|
10556
|
+
"queued",
|
|
10557
|
+
"running",
|
|
10558
|
+
"succeeded",
|
|
10559
|
+
"failed",
|
|
10560
|
+
"cancelled"
|
|
10561
|
+
]);
|
|
10562
|
+
/**
|
|
10563
|
+
* Where a running backup currently is. `queued` before it starts,
|
|
10564
|
+
* `building` while the tar.gz is being staged, `uploading` during the
|
|
10565
|
+
* per-destination fan-out, `done` once terminal.
|
|
10566
|
+
*/
|
|
10567
|
+
var BackupRunPhaseSchema = _enum([
|
|
10568
|
+
"queued",
|
|
10569
|
+
"building",
|
|
10570
|
+
"uploading",
|
|
10571
|
+
"done"
|
|
10572
|
+
]);
|
|
10573
|
+
/**
|
|
10574
|
+
* Observable state of one backup run — readable WHILE it runs via
|
|
10575
|
+
* `backup.listRuns`. This is what makes the execution queue and
|
|
10576
|
+
* `backup.cancel` usable: the 2026-09-04 incident (two concurrent
|
|
10577
|
+
* multi-GB builds, staging 5.1 GB → 18 GB, load 62) was only
|
|
10578
|
+
* diagnosable with `du` because nothing reported that runs existed or
|
|
10579
|
+
* how large the staged archive had grown.
|
|
10580
|
+
*/
|
|
10581
|
+
var BackupRunSchema = object({
|
|
10582
|
+
/** Stable run id — the handle `backup.cancel` takes. */
|
|
10583
|
+
id: string(),
|
|
10584
|
+
state: BackupRunStateSchema,
|
|
10585
|
+
phase: BackupRunPhaseSchema,
|
|
10586
|
+
/**
|
|
10587
|
+
* Resolved destination location ids. Empty while queued (targets are
|
|
10588
|
+
* resolved when the run starts, against the then-current policies).
|
|
10589
|
+
*/
|
|
10590
|
+
destinationIds: array(string()).readonly(),
|
|
10591
|
+
label: string().optional(),
|
|
10592
|
+
/** ms-epoch when the run was submitted (trigger call / schedule fire). */
|
|
10593
|
+
requestedAt: number(),
|
|
10594
|
+
/** ms-epoch when the run left the queue and started building. */
|
|
10595
|
+
startedAt: number().optional(),
|
|
10596
|
+
/** ms-epoch when the run reached a terminal state. */
|
|
10597
|
+
finishedAt: number().optional(),
|
|
10598
|
+
/** Compressed bytes of the staging archive written so far. */
|
|
10599
|
+
stagedBytes: number(),
|
|
10600
|
+
/** Final staged archive size, once the build phase completes. */
|
|
10601
|
+
archiveSizeBytes: number().optional(),
|
|
10602
|
+
/** Bytes pushed to the destination currently uploading. */
|
|
10603
|
+
uploadedBytes: number(),
|
|
10604
|
+
/** Destinations where the archive fully landed (uploaded + indexed). */
|
|
10605
|
+
completedDestinationIds: array(string()).readonly(),
|
|
10606
|
+
/** Destinations that failed during the fan-out. */
|
|
10607
|
+
failedDestinationIds: array(string()).readonly(),
|
|
10608
|
+
/** Failure message when `state === 'failed'`. */
|
|
10609
|
+
error: string().optional(),
|
|
10610
|
+
/**
|
|
10611
|
+
* 1-based place in the execution queue — 1 = runs next. Present only
|
|
10612
|
+
* while `state === 'queued'`. Stamped by the orchestrator from the
|
|
10613
|
+
* queue's OWN pending order, never derived from timestamps, so the
|
|
10614
|
+
* UI cannot show an order the executor will not honour.
|
|
10615
|
+
*/
|
|
10616
|
+
queuePosition: number().int().min(1).optional()
|
|
10617
|
+
});
|
|
10618
|
+
/**
|
|
10619
|
+
* Result of `backup.trigger`. The call still resolves when the run
|
|
10620
|
+
* terminates (compat with schedule-driven runs and the admin UI), but
|
|
10621
|
+
* it now names the run and says whether it had to WAIT: a trigger that
|
|
10622
|
+
* arrives while another run is in flight is enqueued (or joined onto
|
|
10623
|
+
* an identical already-queued run), never started concurrently.
|
|
10624
|
+
*/
|
|
10625
|
+
var BackupTriggerResultSchema = object({
|
|
10626
|
+
/** The run this trigger mapped to — poll it via `listRuns`, stop it via `cancel`. */
|
|
10627
|
+
runId: string(),
|
|
10628
|
+
/** True when the run waited behind an in-flight run instead of starting immediately. */
|
|
10629
|
+
queued: boolean(),
|
|
10630
|
+
/** True when this trigger was coalesced onto an identical already-queued run. */
|
|
10631
|
+
joined: boolean(),
|
|
10632
|
+
/** True when the run was cancelled before completing every destination. */
|
|
10633
|
+
cancelled: boolean(),
|
|
10634
|
+
/** One entry per destination the archive landed at (partial on cancel). */
|
|
10635
|
+
entries: array(BackupEntrySchema).readonly()
|
|
10636
|
+
});
|
|
10554
10637
|
/**
|
|
10555
10638
|
* A backup schedule — the N:M "entry" that binds one cron cadence to a
|
|
10556
10639
|
* SET of destination locations. Supersedes the per-location cron on
|
|
@@ -10598,7 +10681,10 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
|
|
|
10598
10681
|
* retention (manual runs).
|
|
10599
10682
|
*/
|
|
10600
10683
|
retentionCount: number().int().min(1).max(1e3).optional()
|
|
10601
|
-
}).optional(),
|
|
10684
|
+
}).optional(), BackupTriggerResultSchema, {
|
|
10685
|
+
kind: "mutation",
|
|
10686
|
+
auth: "admin"
|
|
10687
|
+
}), method(_void(), array(BackupRunSchema).readonly(), { auth: "admin" }), method(object({ runId: string() }), object({ cancelled: boolean() }), {
|
|
10602
10688
|
kind: "mutation",
|
|
10603
10689
|
auth: "admin"
|
|
10604
10690
|
}), method(_void(), array(BackupEntrySchema).readonly(), { auth: "admin" }), method(_void(), array(LocationStatSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -11364,6 +11450,14 @@ method(object({
|
|
|
11364
11450
|
}), object({ success: literal(true) }), {
|
|
11365
11451
|
kind: "mutation",
|
|
11366
11452
|
auth: "admin"
|
|
11453
|
+
}), method(object({ deviceId: number().int().nonnegative() }), object({
|
|
11454
|
+
derivedStreamsDeleted: array(string()).readonly(),
|
|
11455
|
+
assignmentsPurged: boolean(),
|
|
11456
|
+
probeSnapshotsDropped: number().int().nonnegative(),
|
|
11457
|
+
rtspTokenRowsDeleted: number().int().nonnegative()
|
|
11458
|
+
}), {
|
|
11459
|
+
kind: "mutation",
|
|
11460
|
+
auth: "admin"
|
|
11367
11461
|
}), method(object({
|
|
11368
11462
|
deviceId: number(),
|
|
11369
11463
|
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
@@ -12573,7 +12667,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
12573
12667
|
id: string(),
|
|
12574
12668
|
name: string(),
|
|
12575
12669
|
type: string()
|
|
12576
|
-
}))), method(object({
|
|
12670
|
+
}))), method(object({ stableId: string() }), object({ deviceId: number() }), {
|
|
12671
|
+
kind: "mutation",
|
|
12672
|
+
timeoutMs: 3 * 6e4
|
|
12673
|
+
}), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
12577
12674
|
kind: "mutation",
|
|
12578
12675
|
auth: "admin"
|
|
12579
12676
|
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
@@ -12854,7 +12951,8 @@ method(object({
|
|
|
12854
12951
|
targetId: number()
|
|
12855
12952
|
}), MigrateDeviceResultSchema, {
|
|
12856
12953
|
kind: "mutation",
|
|
12857
|
-
auth: "admin"
|
|
12954
|
+
auth: "admin",
|
|
12955
|
+
timeoutMs: 12 * 6e4
|
|
12858
12956
|
}), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
|
|
12859
12957
|
deviceId: number(),
|
|
12860
12958
|
name: string()
|
|
@@ -29478,6 +29576,12 @@ Object.freeze({
|
|
|
29478
29576
|
addonId: null,
|
|
29479
29577
|
access: "create"
|
|
29480
29578
|
},
|
|
29579
|
+
"backup.cancel": {
|
|
29580
|
+
capName: "backup",
|
|
29581
|
+
capScope: "system",
|
|
29582
|
+
addonId: null,
|
|
29583
|
+
access: "create"
|
|
29584
|
+
},
|
|
29481
29585
|
"backup.delete": {
|
|
29482
29586
|
capName: "backup",
|
|
29483
29587
|
capScope: "system",
|
|
@@ -29520,6 +29624,12 @@ Object.freeze({
|
|
|
29520
29624
|
addonId: null,
|
|
29521
29625
|
access: "view"
|
|
29522
29626
|
},
|
|
29627
|
+
"backup.listRuns": {
|
|
29628
|
+
capName: "backup",
|
|
29629
|
+
capScope: "system",
|
|
29630
|
+
addonId: null,
|
|
29631
|
+
access: "view"
|
|
29632
|
+
},
|
|
29523
29633
|
"backup.listSchedules": {
|
|
29524
29634
|
capName: "backup",
|
|
29525
29635
|
capScope: "system",
|
|
@@ -30720,6 +30830,12 @@ Object.freeze({
|
|
|
30720
30830
|
addonId: null,
|
|
30721
30831
|
access: "view"
|
|
30722
30832
|
},
|
|
30833
|
+
"deviceProvider.reloadDevice": {
|
|
30834
|
+
capName: "device-provider",
|
|
30835
|
+
capScope: "system",
|
|
30836
|
+
addonId: null,
|
|
30837
|
+
access: "create"
|
|
30838
|
+
},
|
|
30723
30839
|
"deviceProvider.start": {
|
|
30724
30840
|
capName: "device-provider",
|
|
30725
30841
|
capScope: "system",
|
|
@@ -34086,6 +34202,12 @@ Object.freeze({
|
|
|
34086
34202
|
addonId: null,
|
|
34087
34203
|
access: "create"
|
|
34088
34204
|
},
|
|
34205
|
+
"streamBroker.forgetDeviceHardware": {
|
|
34206
|
+
capName: "stream-broker",
|
|
34207
|
+
capScope: "system",
|
|
34208
|
+
addonId: null,
|
|
34209
|
+
access: "delete"
|
|
34210
|
+
},
|
|
34089
34211
|
"streamBroker.getAllRtspEntries": {
|
|
34090
34212
|
capName: "stream-broker",
|
|
34091
34213
|
capScope: "system",
|
|
@@ -36544,6 +36666,11 @@ Object.freeze({
|
|
|
36544
36666
|
form: "single",
|
|
36545
36667
|
optional: false
|
|
36546
36668
|
}],
|
|
36669
|
+
"streamBroker.forgetDeviceHardware": [{
|
|
36670
|
+
name: "deviceId",
|
|
36671
|
+
form: "single",
|
|
36672
|
+
optional: false
|
|
36673
|
+
}],
|
|
36547
36674
|
"streamBroker.getDeviceAudioMute": [{
|
|
36548
36675
|
name: "deviceId",
|
|
36549
36676
|
form: "single",
|
|
@@ -41098,9 +41225,9 @@ var init_event_target_shim = __esmMin((() => {
|
|
|
41098
41225
|
//#endregion
|
|
41099
41226
|
//#region ../../node_modules/abort-controller/dist/abort-controller.mjs
|
|
41100
41227
|
var abort_controller_exports = /* @__PURE__ */ __exportAll({
|
|
41101
|
-
AbortController: () => AbortController,
|
|
41228
|
+
AbortController: () => AbortController$1,
|
|
41102
41229
|
AbortSignal: () => AbortSignal,
|
|
41103
|
-
default: () => AbortController
|
|
41230
|
+
default: () => AbortController$1
|
|
41104
41231
|
});
|
|
41105
41232
|
/**
|
|
41106
41233
|
* Create an AbortSignal object.
|
|
@@ -41127,7 +41254,7 @@ function getSignal(controller) {
|
|
|
41127
41254
|
if (signal == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? "null" : typeof controller}`);
|
|
41128
41255
|
return signal;
|
|
41129
41256
|
}
|
|
41130
|
-
var AbortSignal, abortedFlags, AbortController, signals;
|
|
41257
|
+
var AbortSignal, abortedFlags, AbortController$1, signals;
|
|
41131
41258
|
var init_abort_controller = __esmMin((() => {
|
|
41132
41259
|
init_event_target_shim();
|
|
41133
41260
|
AbortSignal = class extends EventTarget {
|
|
@@ -41154,7 +41281,7 @@ var init_abort_controller = __esmMin((() => {
|
|
|
41154
41281
|
configurable: true,
|
|
41155
41282
|
value: "AbortSignal"
|
|
41156
41283
|
});
|
|
41157
|
-
AbortController = class {
|
|
41284
|
+
AbortController$1 = class {
|
|
41158
41285
|
/**
|
|
41159
41286
|
* Initialize this controller.
|
|
41160
41287
|
*/
|
|
@@ -41175,11 +41302,11 @@ var init_abort_controller = __esmMin((() => {
|
|
|
41175
41302
|
}
|
|
41176
41303
|
};
|
|
41177
41304
|
signals = /* @__PURE__ */ new WeakMap();
|
|
41178
|
-
Object.defineProperties(AbortController.prototype, {
|
|
41305
|
+
Object.defineProperties(AbortController$1.prototype, {
|
|
41179
41306
|
signal: { enumerable: true },
|
|
41180
41307
|
abort: { enumerable: true }
|
|
41181
41308
|
});
|
|
41182
|
-
if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") Object.defineProperty(AbortController.prototype, Symbol.toStringTag, {
|
|
41309
|
+
if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") Object.defineProperty(AbortController$1.prototype, Symbol.toStringTag, {
|
|
41183
41310
|
configurable: true,
|
|
41184
41311
|
value: "AbortController"
|
|
41185
41312
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.60",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|