@camstack/addon-decoder-nodeav 1.2.79 → 1.2.81
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 +386 -234
- package/dist/index.mjs +386 -234
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-CnLqLOKs.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -194,6 +194,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
194
194
|
EventCategory["ProcessCrashed"] = "process.crashed";
|
|
195
195
|
EventCategory["ProcessRestartScheduled"] = "process.restart_scheduled";
|
|
196
196
|
EventCategory["ProcessRestarted"] = "process.restarted";
|
|
197
|
+
/**
|
|
198
|
+
* The SET of storage locations changed — one was created, edited, enabled,
|
|
199
|
+
* disabled or deleted through `storage.upsertLocation` / `deleteLocation`.
|
|
200
|
+
*
|
|
201
|
+
* Telemetry, not a transaction (D8/D11): every consumer that re-resolves on
|
|
202
|
+
* it must also converge on its own periodic path, because a dropped event
|
|
203
|
+
* must not leave a node writing to yesterday's disk set forever. It exists
|
|
204
|
+
* because there was NO signal at all — an operator who added a second
|
|
205
|
+
* recordings disk in the admin UI got nothing, and the recorder kept its
|
|
206
|
+
* resolved locations until something else happened to re-resolve them
|
|
207
|
+
* (D387). Payload `StorageLocationsChangedPayload`.
|
|
208
|
+
*/
|
|
209
|
+
EventCategory["StorageLocationsChanged"] = "storage.locations-changed";
|
|
197
210
|
EventCategory["RecordingStarted"] = "recording.started";
|
|
198
211
|
EventCategory["RecordingStopped"] = "recording.stopped";
|
|
199
212
|
EventCategory["RecordingError"] = "recording.error";
|
|
@@ -8532,6 +8545,21 @@ var StorageCleanupJobSchema = object({
|
|
|
8532
8545
|
});
|
|
8533
8546
|
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8534
8547
|
/**
|
|
8548
|
+
* The one typed state of a storage location. Authoritative Zod schema — the TS
|
|
8549
|
+
* alias below is `z.infer<>` of it, never a second spelling.
|
|
8550
|
+
*/
|
|
8551
|
+
var StorageLocationModeSchema = _enum([
|
|
8552
|
+
"active",
|
|
8553
|
+
"readonly",
|
|
8554
|
+
"drain",
|
|
8555
|
+
"disabled"
|
|
8556
|
+
]);
|
|
8557
|
+
_enum([
|
|
8558
|
+
"normal",
|
|
8559
|
+
"never",
|
|
8560
|
+
"drain"
|
|
8561
|
+
]);
|
|
8562
|
+
/**
|
|
8535
8563
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8536
8564
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8537
8565
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8597,6 +8625,21 @@ var StorageLocationSchema = object({
|
|
|
8597
8625
|
* stops existing rather than being re-derived on every read.
|
|
8598
8626
|
*/
|
|
8599
8627
|
enabled: boolean().optional(),
|
|
8628
|
+
/**
|
|
8629
|
+
* THE state of this location (D385), and the only authority on what may be
|
|
8630
|
+
* written, read or evicted here. Interpreted in exactly one place —
|
|
8631
|
+
* `storage-location-mode.ts` — which also folds the legacy
|
|
8632
|
+
* `enabled` / `config.readOnly` pair into a mode so an old row is never
|
|
8633
|
+
* ambiguous.
|
|
8634
|
+
*
|
|
8635
|
+
* OPTIONAL only for the wire and for rows written before D385: absence is
|
|
8636
|
+
* resolved by `resolveLocationMode`, and the orchestrator stamps every
|
|
8637
|
+
* unstamped row ONCE at hydrate so absence stops existing rather than being
|
|
8638
|
+
* re-derived on every read. `enabled` survives one release as a DERIVED
|
|
8639
|
+
* mirror (`mode === 'active'`); `withLocationMode` is the only writer of
|
|
8640
|
+
* either, so the two cannot disagree.
|
|
8641
|
+
*/
|
|
8642
|
+
mode: StorageLocationModeSchema.optional(),
|
|
8600
8643
|
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
8601
8644
|
* for node-local locations it can reach) — never persisted, absent when the
|
|
8602
8645
|
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
@@ -8604,11 +8647,46 @@ var StorageLocationSchema = object({
|
|
|
8604
8647
|
totalBytes: number(),
|
|
8605
8648
|
availableBytes: number()
|
|
8606
8649
|
}).nullable().optional(),
|
|
8650
|
+
/**
|
|
8651
|
+
* How much of that volume CamStack ITSELF holds on this location (D388) —
|
|
8652
|
+
* COMPUTED at read time from the `storage-occupancy` providers' own figures,
|
|
8653
|
+
* never persisted, never a filesystem walk.
|
|
8654
|
+
*
|
|
8655
|
+
* **ABSENT MEANS UNKNOWN, never zero.** No provider has reported for this
|
|
8656
|
+
* location yet — nobody stores here, the owning addon is down, or the first
|
|
8657
|
+
* refresh has not completed. A UI must omit the segment rather than draw it
|
|
8658
|
+
* at zero, which would claim we occupy nothing (D315). It is an OBJECT and
|
|
8659
|
+
* not a bare number precisely so that a `?? 0` on the consuming side has to
|
|
8660
|
+
* be spelled out loud instead of appearing by accident.
|
|
8661
|
+
*
|
|
8662
|
+
* `measuredAtMs` is the OLDEST contributing measurement, so it is honest
|
|
8663
|
+
* about the whole figure rather than about its freshest part.
|
|
8664
|
+
*/
|
|
8665
|
+
owned: object({
|
|
8666
|
+
bytes: number().int().nonnegative(),
|
|
8667
|
+
measuredAtMs: number().int().nonnegative()
|
|
8668
|
+
}).optional(),
|
|
8607
8669
|
createdAt: number(),
|
|
8608
8670
|
updatedAt: number()
|
|
8609
8671
|
});
|
|
8610
8672
|
object({ isDefault: boolean().optional() });
|
|
8611
8673
|
/**
|
|
8674
|
+
* How far a `drain` has got (D386) — the read a UI renders, and nothing more.
|
|
8675
|
+
*
|
|
8676
|
+
* `estimatedEmptyAtMs` is derived from the growth the ratchet has actually
|
|
8677
|
+
* OBSERVED and is `null` when it has observed none. Never a fabricated date: a
|
|
8678
|
+
* drain with no observed growth has no honest ETA, and inventing one is how an
|
|
8679
|
+
* operator learns not to believe the screen.
|
|
8680
|
+
*/
|
|
8681
|
+
var StorageDrainProgressSchema = object({
|
|
8682
|
+
locationId: string(),
|
|
8683
|
+
startedAtMs: number(),
|
|
8684
|
+
startBytes: number(),
|
|
8685
|
+
bytesRemaining: number(),
|
|
8686
|
+
drained: boolean(),
|
|
8687
|
+
estimatedEmptyAtMs: number().nullable()
|
|
8688
|
+
});
|
|
8689
|
+
/**
|
|
8612
8690
|
* Reference accepted by consumer-facing `api.storage.*` calls.
|
|
8613
8691
|
* Either:
|
|
8614
8692
|
* - a `StorageLocationType` (e.g. `'backups'`) → the sole location of that type
|
|
@@ -20179,8 +20257,25 @@ var occupancyRecheckFramesField = {
|
|
|
20179
20257
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20180
20258
|
* camera typically only reports a binary signal plus an optional
|
|
20181
20259
|
* channel/AI class which lives in dedicated event channels).
|
|
20182
|
-
|
|
20183
|
-
|
|
20260
|
+
*
|
|
20261
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20262
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20263
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20264
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20265
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20266
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20267
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20268
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20269
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20270
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20271
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20272
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20273
|
+
*/
|
|
20274
|
+
var MotionSourceEnum = _enum([
|
|
20275
|
+
"onboard",
|
|
20276
|
+
"analyzer",
|
|
20277
|
+
"device-activity"
|
|
20278
|
+
]);
|
|
20184
20279
|
/**
|
|
20185
20280
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20186
20281
|
* "no source" — happens for battery cams without firmware motion when
|
|
@@ -21699,7 +21794,7 @@ method(object({
|
|
|
21699
21794
|
}), _void(), {
|
|
21700
21795
|
kind: "mutation",
|
|
21701
21796
|
auth: "admin"
|
|
21702
|
-
}), method(object({ id: string() }), object({
|
|
21797
|
+
}), method(_void(), array(StorageDrainProgressSchema).readonly()), method(object({ id: string() }), object({
|
|
21703
21798
|
ok: boolean(),
|
|
21704
21799
|
error: string().optional()
|
|
21705
21800
|
}), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
|
|
@@ -21769,6 +21864,51 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21769
21864
|
kind: "mutation",
|
|
21770
21865
|
auth: "admin"
|
|
21771
21866
|
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21867
|
+
/**
|
|
21868
|
+
* `storage-occupancy` — how many bytes an addon actually HOLDS on a storage
|
|
21869
|
+
* location (D388).
|
|
21870
|
+
*
|
|
21871
|
+
* ## Why this is not `storage-evictable`
|
|
21872
|
+
*
|
|
21873
|
+
* `storage-evictable.getEvictableUsage` looks like the same question and is
|
|
21874
|
+
* not, in two ways that both matter and both bite hardest on the locations an
|
|
21875
|
+
* operator most wants a figure for:
|
|
21876
|
+
*
|
|
21877
|
+
* - it reports the whole eviction DOMAIN, not the location. `recordings:default`
|
|
21878
|
+
* and `recordingsLow:default` deliberately share one root and evict as one
|
|
21879
|
+
* oldest-first pool, so both answer with the SAME combined total. As an
|
|
21880
|
+
* occupancy figure that double-counts the disk.
|
|
21881
|
+
* - it reports ZERO for a location whose eviction policy is `never` (D385) —
|
|
21882
|
+
* a `readonly` or `disabled` disk. Those are exactly the disks an operator
|
|
21883
|
+
* is retiring and staring at.
|
|
21884
|
+
*
|
|
21885
|
+
* So this is its own contract with its own quantity, and the quantity is
|
|
21886
|
+
* OCCUPIED: every byte the addon holds on that location, whether or not it
|
|
21887
|
+
* would ever be willing to delete it. A provider that can only answer
|
|
21888
|
+
* "evictable" must not register here — a number that silently means different
|
|
21889
|
+
* things per class is worse than no number.
|
|
21890
|
+
*
|
|
21891
|
+
* ## Absence is an answer
|
|
21892
|
+
*
|
|
21893
|
+
* A location nobody reports for is UNKNOWN, never zero (D315). The orchestrator
|
|
21894
|
+
* stamps `StorageLocation.owned` only for locations it has a report for, and
|
|
21895
|
+
* the field is an OBJECT rather than a bare number so that a `?? 0` on the
|
|
21896
|
+
* consuming side has to be written out loud instead of appearing by accident.
|
|
21897
|
+
*
|
|
21898
|
+
* `internal: true` — consumed by the orchestrator's `listLocations` stamp, never
|
|
21899
|
+
* a public client surface. Clients read the stamped `StorageLocation.owned`.
|
|
21900
|
+
*/
|
|
21901
|
+
/** One provider's occupancy answer for one location. */
|
|
21902
|
+
var StorageOccupancyReportSchema = object({
|
|
21903
|
+
locationId: string(),
|
|
21904
|
+
/** Bytes this provider holds on THAT location — not its eviction domain, and
|
|
21905
|
+
* not net of what it is willing to delete. */
|
|
21906
|
+
ownedBytes: number().int().nonnegative(),
|
|
21907
|
+
/** When the provider last actually measured this. The orchestrator carries it
|
|
21908
|
+
* through so a UI can say how old the figure is instead of implying "now". */
|
|
21909
|
+
measuredAtMs: number().int().nonnegative()
|
|
21910
|
+
});
|
|
21911
|
+
method(object({ locationIds: array(string()).readonly() }), array(StorageOccupancyReportSchema).readonly(), { auth: "admin" });
|
|
21772
21912
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21773
21913
|
providerId: string().min(1),
|
|
21774
21914
|
displayName: string().min(1),
|
|
@@ -23404,39 +23544,6 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, meth
|
|
|
23404
23544
|
deviceId: number(),
|
|
23405
23545
|
status: BatteryStatusSchema
|
|
23406
23546
|
});
|
|
23407
|
-
/**
|
|
23408
|
-
* Network-link snapshot. Same shape for every provider (a Reolink wifi
|
|
23409
|
-
* camera, a Home Assistant device with a signal-strength sensor, a Tapo
|
|
23410
|
-
* plug): one slice under `device.runtimeState['network-link']`, one badge,
|
|
23411
|
-
* one Home Assistant projection.
|
|
23412
|
-
*/
|
|
23413
|
-
var NetworkLinkStatusSchema = object({
|
|
23414
|
-
/** The link the device is on. `'unknown'` = not read yet, not "no link". */
|
|
23415
|
-
type: _enum([
|
|
23416
|
-
"wifi",
|
|
23417
|
-
"ethernet",
|
|
23418
|
-
"cellular",
|
|
23419
|
-
"unknown"
|
|
23420
|
-
]),
|
|
23421
|
-
/**
|
|
23422
|
-
* Link quality, 0..100 inclusive, normalised by the provider from whatever
|
|
23423
|
-
* the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
|
|
23424
|
-
* KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
|
|
23425
|
-
* one whose reading has not landed must not be drawn at 0 %. Consumers
|
|
23426
|
-
* SKIP a null rather than coerce it.
|
|
23427
|
-
*/
|
|
23428
|
-
signalPercent: number().min(0).max(100).nullable(),
|
|
23429
|
-
/** Raw received signal strength in dBm, when the firmware reports one. */
|
|
23430
|
-
rssiDbm: number().optional(),
|
|
23431
|
-
/** Network name of a wireless link, when the firmware reports it. */
|
|
23432
|
-
ssid: string().optional(),
|
|
23433
|
-
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
23434
|
-
lastUpdated: number()
|
|
23435
|
-
});
|
|
23436
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
|
|
23437
|
-
deviceId: number(),
|
|
23438
|
-
status: NetworkLinkStatusSchema
|
|
23439
|
-
});
|
|
23440
23547
|
object({
|
|
23441
23548
|
on: boolean(),
|
|
23442
23549
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
@@ -25790,6 +25897,236 @@ DeviceType.Camera, method(object({
|
|
|
25790
25897
|
detection: NativeDetectionSchema
|
|
25791
25898
|
});
|
|
25792
25899
|
/**
|
|
25900
|
+
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
25901
|
+
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
25902
|
+
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
25903
|
+
*
|
|
25904
|
+
* Why a NEW cap rather than overloading `ptz`:
|
|
25905
|
+
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
25906
|
+
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
25907
|
+
* The two are different physical models: PTZ is absolute-position + presets,
|
|
25908
|
+
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
25909
|
+
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
25910
|
+
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
25911
|
+
* the reverse:
|
|
25912
|
+
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
25913
|
+
* / `getOptions`), and
|
|
25914
|
+
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
25915
|
+
* robot camera shows up in the existing PTZ control path without every
|
|
25916
|
+
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
25917
|
+
* not here (see the addon design note):
|
|
25918
|
+
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
25919
|
+
* ptz.stop() → navigation.stop()
|
|
25920
|
+
* ptz.goHome() → navigation.runAction('goHome')
|
|
25921
|
+
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
25922
|
+
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
25923
|
+
*
|
|
25924
|
+
* ## Continuous drive
|
|
25925
|
+
*
|
|
25926
|
+
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
25927
|
+
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
25928
|
+
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
25929
|
+
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
25930
|
+
* coalesce them. The UI owns the cadence.
|
|
25931
|
+
*
|
|
25932
|
+
* ## The action dictionary
|
|
25933
|
+
*
|
|
25934
|
+
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
25935
|
+
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
25936
|
+
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
25937
|
+
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
25938
|
+
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
25939
|
+
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
25940
|
+
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
25941
|
+
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
25942
|
+
*
|
|
25943
|
+
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
25944
|
+
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
25945
|
+
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
25946
|
+
* every device handle. A future nodedreame publish adds a typed
|
|
25947
|
+
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
25948
|
+
* provider can then swap the raw calls for the typed methods with no change to
|
|
25949
|
+
* THIS contract.
|
|
25950
|
+
*/
|
|
25951
|
+
/**
|
|
25952
|
+
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
25953
|
+
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
25954
|
+
* halts it.
|
|
25955
|
+
*
|
|
25956
|
+
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
25957
|
+
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
25958
|
+
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
25959
|
+
* vector by it (drivers without proportional drive ignore it).
|
|
25960
|
+
*
|
|
25961
|
+
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
25962
|
+
* axis alone; an all-undefined nudge is a no-op.
|
|
25963
|
+
*/
|
|
25964
|
+
var NavigationMoveCommandSchema = object({
|
|
25965
|
+
pan: number().min(-1).max(1).optional(),
|
|
25966
|
+
tilt: number().min(-1).max(1).optional(),
|
|
25967
|
+
speed: number().min(0).max(1).optional()
|
|
25968
|
+
});
|
|
25969
|
+
/**
|
|
25970
|
+
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
25971
|
+
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
25972
|
+
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
25973
|
+
* `playSound` (see the `sound` dictionary entries).
|
|
25974
|
+
*/
|
|
25975
|
+
var NavigationActionIdSchema = _enum([
|
|
25976
|
+
"goHome",
|
|
25977
|
+
"locate",
|
|
25978
|
+
"spotClean",
|
|
25979
|
+
"findPet",
|
|
25980
|
+
"personFollow",
|
|
25981
|
+
"stop",
|
|
25982
|
+
"startClean",
|
|
25983
|
+
"pauseClean",
|
|
25984
|
+
"dockWash",
|
|
25985
|
+
"autoEmpty",
|
|
25986
|
+
"flashOn",
|
|
25987
|
+
"flashOff"
|
|
25988
|
+
]);
|
|
25989
|
+
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
25990
|
+
var NavigationEntryKindSchema = _enum(["action", "sound"]);
|
|
25991
|
+
/**
|
|
25992
|
+
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
25993
|
+
* native panel and the PTZ mimic render as a button.
|
|
25994
|
+
*
|
|
25995
|
+
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
25996
|
+
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
25997
|
+
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
25998
|
+
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
25999
|
+
* - `label` — operator-facing English label.
|
|
26000
|
+
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
26001
|
+
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
26002
|
+
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
26003
|
+
* flips it from config, never by editing code.
|
|
26004
|
+
*/
|
|
26005
|
+
var NavigationActionEntrySchema = object({
|
|
26006
|
+
id: string(),
|
|
26007
|
+
kind: NavigationEntryKindSchema,
|
|
26008
|
+
label: string(),
|
|
26009
|
+
icon: string(),
|
|
26010
|
+
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
26011
|
+
soundId: number().int().optional(),
|
|
26012
|
+
/** Per-device feature flag — render this entry only when true. */
|
|
26013
|
+
enabled: boolean()
|
|
26014
|
+
});
|
|
26015
|
+
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
26016
|
+
var NavigationPointSchema = object({
|
|
26017
|
+
x: number(),
|
|
26018
|
+
y: number()
|
|
26019
|
+
});
|
|
26020
|
+
/**
|
|
26021
|
+
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
26022
|
+
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
26023
|
+
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
26024
|
+
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
26025
|
+
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
26026
|
+
* that are not dictionary entries.
|
|
26027
|
+
*
|
|
26028
|
+
* - `move` / `stop` — the momentary drive joystick.
|
|
26029
|
+
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
26030
|
+
* map-coordinate plumbing is wired.
|
|
26031
|
+
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
26032
|
+
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
26033
|
+
* - `light` — the on/off fill-light toggle (works anytime).
|
|
26034
|
+
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
26035
|
+
* camera-service control; needs an active stream).
|
|
26036
|
+
*/
|
|
26037
|
+
var NavigationFeaturesSchema = object({
|
|
26038
|
+
move: boolean(),
|
|
26039
|
+
stop: boolean(),
|
|
26040
|
+
goToPoint: boolean(),
|
|
26041
|
+
runAction: boolean(),
|
|
26042
|
+
playSound: boolean(),
|
|
26043
|
+
light: boolean(),
|
|
26044
|
+
lightMode: boolean()
|
|
26045
|
+
});
|
|
26046
|
+
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
26047
|
+
var NavigationLightModeSchema = _enum(["auto", "manual"]);
|
|
26048
|
+
/**
|
|
26049
|
+
* Live navigation state so the UI can reflect what the robot is doing:
|
|
26050
|
+
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
26051
|
+
* - `following` — person/pet follow is currently armed.
|
|
26052
|
+
* - `flash` — the on-camera fill light is on.
|
|
26053
|
+
* - `lightMode` — auto vs manual fill-light mode.
|
|
26054
|
+
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
26055
|
+
* `lightMode === 'manual'`.
|
|
26056
|
+
*/
|
|
26057
|
+
var NavigationStatusSchema = object({
|
|
26058
|
+
mode: _enum([
|
|
26059
|
+
"idle",
|
|
26060
|
+
"cleaning",
|
|
26061
|
+
"spot",
|
|
26062
|
+
"following",
|
|
26063
|
+
"goto",
|
|
26064
|
+
"returning",
|
|
26065
|
+
"paused",
|
|
26066
|
+
"unknown"
|
|
26067
|
+
]),
|
|
26068
|
+
following: boolean(),
|
|
26069
|
+
flash: boolean(),
|
|
26070
|
+
lightMode: NavigationLightModeSchema,
|
|
26071
|
+
lightLevel: number().min(40).max(100),
|
|
26072
|
+
/** Ms epoch when the slice was last updated. */
|
|
26073
|
+
lastChangedAt: number()
|
|
26074
|
+
});
|
|
26075
|
+
NavigationStatusSchema.extend({ lastFetchedAt: number() });
|
|
26076
|
+
DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
|
|
26077
|
+
deviceId: number(),
|
|
26078
|
+
actionId: NavigationActionIdSchema
|
|
26079
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26080
|
+
deviceId: number(),
|
|
26081
|
+
soundId: number().int()
|
|
26082
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26083
|
+
deviceId: number(),
|
|
26084
|
+
on: boolean()
|
|
26085
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26086
|
+
deviceId: number(),
|
|
26087
|
+
mode: NavigationLightModeSchema,
|
|
26088
|
+
level: number().min(40).max(100).optional()
|
|
26089
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26090
|
+
deviceId: number(),
|
|
26091
|
+
level: number().min(40).max(100)
|
|
26092
|
+
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
|
|
26093
|
+
deviceId: number(),
|
|
26094
|
+
status: NavigationStatusSchema
|
|
26095
|
+
});
|
|
26096
|
+
/**
|
|
26097
|
+
* Network-link snapshot. Same shape for every provider (a Reolink wifi
|
|
26098
|
+
* camera, a Home Assistant device with a signal-strength sensor, a Tapo
|
|
26099
|
+
* plug): one slice under `device.runtimeState['network-link']`, one badge,
|
|
26100
|
+
* one Home Assistant projection.
|
|
26101
|
+
*/
|
|
26102
|
+
var NetworkLinkStatusSchema = object({
|
|
26103
|
+
/** The link the device is on. `'unknown'` = not read yet, not "no link". */
|
|
26104
|
+
type: _enum([
|
|
26105
|
+
"wifi",
|
|
26106
|
+
"ethernet",
|
|
26107
|
+
"cellular",
|
|
26108
|
+
"unknown"
|
|
26109
|
+
]),
|
|
26110
|
+
/**
|
|
26111
|
+
* Link quality, 0..100 inclusive, normalised by the provider from whatever
|
|
26112
|
+
* the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
|
|
26113
|
+
* KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
|
|
26114
|
+
* one whose reading has not landed must not be drawn at 0 %. Consumers
|
|
26115
|
+
* SKIP a null rather than coerce it.
|
|
26116
|
+
*/
|
|
26117
|
+
signalPercent: number().min(0).max(100).nullable(),
|
|
26118
|
+
/** Raw received signal strength in dBm, when the firmware reports one. */
|
|
26119
|
+
rssiDbm: number().optional(),
|
|
26120
|
+
/** Network name of a wireless link, when the firmware reports it. */
|
|
26121
|
+
ssid: string().optional(),
|
|
26122
|
+
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
26123
|
+
lastUpdated: number()
|
|
26124
|
+
});
|
|
26125
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
|
|
26126
|
+
deviceId: number(),
|
|
26127
|
+
status: NetworkLinkStatusSchema
|
|
26128
|
+
});
|
|
26129
|
+
/**
|
|
25793
26130
|
* network-quality — system-scoped singleton capability tracking RTT,
|
|
25794
26131
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
25795
26132
|
*
|
|
@@ -27031,203 +27368,6 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
|
|
|
27031
27368
|
deviceId: number(),
|
|
27032
27369
|
status: PtzAutotrackStatusSchema
|
|
27033
27370
|
});
|
|
27034
|
-
/**
|
|
27035
|
-
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
27036
|
-
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
27037
|
-
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
27038
|
-
*
|
|
27039
|
-
* Why a NEW cap rather than overloading `ptz`:
|
|
27040
|
-
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
27041
|
-
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
27042
|
-
* The two are different physical models: PTZ is absolute-position + presets,
|
|
27043
|
-
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
27044
|
-
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
27045
|
-
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
27046
|
-
* the reverse:
|
|
27047
|
-
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
27048
|
-
* / `getOptions`), and
|
|
27049
|
-
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
27050
|
-
* robot camera shows up in the existing PTZ control path without every
|
|
27051
|
-
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
27052
|
-
* not here (see the addon design note):
|
|
27053
|
-
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
27054
|
-
* ptz.stop() → navigation.stop()
|
|
27055
|
-
* ptz.goHome() → navigation.runAction('goHome')
|
|
27056
|
-
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
27057
|
-
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
27058
|
-
*
|
|
27059
|
-
* ## Continuous drive
|
|
27060
|
-
*
|
|
27061
|
-
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
27062
|
-
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
27063
|
-
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
27064
|
-
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
27065
|
-
* coalesce them. The UI owns the cadence.
|
|
27066
|
-
*
|
|
27067
|
-
* ## The action dictionary
|
|
27068
|
-
*
|
|
27069
|
-
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
27070
|
-
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
27071
|
-
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
27072
|
-
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
27073
|
-
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
27074
|
-
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
27075
|
-
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
27076
|
-
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
27077
|
-
*
|
|
27078
|
-
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
27079
|
-
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
27080
|
-
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
27081
|
-
* every device handle. A future nodedreame publish adds a typed
|
|
27082
|
-
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
27083
|
-
* provider can then swap the raw calls for the typed methods with no change to
|
|
27084
|
-
* THIS contract.
|
|
27085
|
-
*/
|
|
27086
|
-
/**
|
|
27087
|
-
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
27088
|
-
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
27089
|
-
* halts it.
|
|
27090
|
-
*
|
|
27091
|
-
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
27092
|
-
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
27093
|
-
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
27094
|
-
* vector by it (drivers without proportional drive ignore it).
|
|
27095
|
-
*
|
|
27096
|
-
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
27097
|
-
* axis alone; an all-undefined nudge is a no-op.
|
|
27098
|
-
*/
|
|
27099
|
-
var NavigationMoveCommandSchema = object({
|
|
27100
|
-
pan: number().min(-1).max(1).optional(),
|
|
27101
|
-
tilt: number().min(-1).max(1).optional(),
|
|
27102
|
-
speed: number().min(0).max(1).optional()
|
|
27103
|
-
});
|
|
27104
|
-
/**
|
|
27105
|
-
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
27106
|
-
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
27107
|
-
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
27108
|
-
* `playSound` (see the `sound` dictionary entries).
|
|
27109
|
-
*/
|
|
27110
|
-
var NavigationActionIdSchema = _enum([
|
|
27111
|
-
"goHome",
|
|
27112
|
-
"locate",
|
|
27113
|
-
"spotClean",
|
|
27114
|
-
"findPet",
|
|
27115
|
-
"personFollow",
|
|
27116
|
-
"stop",
|
|
27117
|
-
"startClean",
|
|
27118
|
-
"pauseClean",
|
|
27119
|
-
"dockWash",
|
|
27120
|
-
"autoEmpty",
|
|
27121
|
-
"flashOn",
|
|
27122
|
-
"flashOff"
|
|
27123
|
-
]);
|
|
27124
|
-
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
27125
|
-
var NavigationEntryKindSchema = _enum(["action", "sound"]);
|
|
27126
|
-
/**
|
|
27127
|
-
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
27128
|
-
* native panel and the PTZ mimic render as a button.
|
|
27129
|
-
*
|
|
27130
|
-
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
27131
|
-
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
27132
|
-
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
27133
|
-
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
27134
|
-
* - `label` — operator-facing English label.
|
|
27135
|
-
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
27136
|
-
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
27137
|
-
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
27138
|
-
* flips it from config, never by editing code.
|
|
27139
|
-
*/
|
|
27140
|
-
var NavigationActionEntrySchema = object({
|
|
27141
|
-
id: string(),
|
|
27142
|
-
kind: NavigationEntryKindSchema,
|
|
27143
|
-
label: string(),
|
|
27144
|
-
icon: string(),
|
|
27145
|
-
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
27146
|
-
soundId: number().int().optional(),
|
|
27147
|
-
/** Per-device feature flag — render this entry only when true. */
|
|
27148
|
-
enabled: boolean()
|
|
27149
|
-
});
|
|
27150
|
-
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
27151
|
-
var NavigationPointSchema = object({
|
|
27152
|
-
x: number(),
|
|
27153
|
-
y: number()
|
|
27154
|
-
});
|
|
27155
|
-
/**
|
|
27156
|
-
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
27157
|
-
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
27158
|
-
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
27159
|
-
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
27160
|
-
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
27161
|
-
* that are not dictionary entries.
|
|
27162
|
-
*
|
|
27163
|
-
* - `move` / `stop` — the momentary drive joystick.
|
|
27164
|
-
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
27165
|
-
* map-coordinate plumbing is wired.
|
|
27166
|
-
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
27167
|
-
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
27168
|
-
* - `light` — the on/off fill-light toggle (works anytime).
|
|
27169
|
-
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
27170
|
-
* camera-service control; needs an active stream).
|
|
27171
|
-
*/
|
|
27172
|
-
var NavigationFeaturesSchema = object({
|
|
27173
|
-
move: boolean(),
|
|
27174
|
-
stop: boolean(),
|
|
27175
|
-
goToPoint: boolean(),
|
|
27176
|
-
runAction: boolean(),
|
|
27177
|
-
playSound: boolean(),
|
|
27178
|
-
light: boolean(),
|
|
27179
|
-
lightMode: boolean()
|
|
27180
|
-
});
|
|
27181
|
-
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
27182
|
-
var NavigationLightModeSchema = _enum(["auto", "manual"]);
|
|
27183
|
-
/**
|
|
27184
|
-
* Live navigation state so the UI can reflect what the robot is doing:
|
|
27185
|
-
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
27186
|
-
* - `following` — person/pet follow is currently armed.
|
|
27187
|
-
* - `flash` — the on-camera fill light is on.
|
|
27188
|
-
* - `lightMode` — auto vs manual fill-light mode.
|
|
27189
|
-
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
27190
|
-
* `lightMode === 'manual'`.
|
|
27191
|
-
*/
|
|
27192
|
-
var NavigationStatusSchema = object({
|
|
27193
|
-
mode: _enum([
|
|
27194
|
-
"idle",
|
|
27195
|
-
"cleaning",
|
|
27196
|
-
"spot",
|
|
27197
|
-
"following",
|
|
27198
|
-
"goto",
|
|
27199
|
-
"returning",
|
|
27200
|
-
"paused",
|
|
27201
|
-
"unknown"
|
|
27202
|
-
]),
|
|
27203
|
-
following: boolean(),
|
|
27204
|
-
flash: boolean(),
|
|
27205
|
-
lightMode: NavigationLightModeSchema,
|
|
27206
|
-
lightLevel: number().min(40).max(100),
|
|
27207
|
-
/** Ms epoch when the slice was last updated. */
|
|
27208
|
-
lastChangedAt: number()
|
|
27209
|
-
});
|
|
27210
|
-
NavigationStatusSchema.extend({ lastFetchedAt: number() });
|
|
27211
|
-
DeviceType.Camera, method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(NavigationActionEntrySchema)), method(object({
|
|
27212
|
-
deviceId: number(),
|
|
27213
|
-
actionId: NavigationActionIdSchema
|
|
27214
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27215
|
-
deviceId: number(),
|
|
27216
|
-
soundId: number().int()
|
|
27217
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27218
|
-
deviceId: number(),
|
|
27219
|
-
on: boolean()
|
|
27220
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27221
|
-
deviceId: number(),
|
|
27222
|
-
mode: NavigationLightModeSchema,
|
|
27223
|
-
level: number().min(40).max(100).optional()
|
|
27224
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27225
|
-
deviceId: number(),
|
|
27226
|
-
level: number().min(40).max(100)
|
|
27227
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
|
|
27228
|
-
deviceId: number(),
|
|
27229
|
-
status: NavigationStatusSchema
|
|
27230
|
-
});
|
|
27231
27371
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
27232
27372
|
kind: "mutation",
|
|
27233
27373
|
auth: "admin"
|
|
@@ -34542,6 +34682,12 @@ Object.freeze({
|
|
|
34542
34682
|
addonId: null,
|
|
34543
34683
|
access: "view"
|
|
34544
34684
|
},
|
|
34685
|
+
"storage.listDrainProgress": {
|
|
34686
|
+
capName: "storage",
|
|
34687
|
+
capScope: "system",
|
|
34688
|
+
addonId: null,
|
|
34689
|
+
access: "view"
|
|
34690
|
+
},
|
|
34545
34691
|
"storage.listLocationDeclarations": {
|
|
34546
34692
|
capName: "storage",
|
|
34547
34693
|
capScope: "system",
|
|
@@ -34686,6 +34832,12 @@ Object.freeze({
|
|
|
34686
34832
|
addonId: null,
|
|
34687
34833
|
access: "view"
|
|
34688
34834
|
},
|
|
34835
|
+
"storageOccupancy.getOccupancy": {
|
|
34836
|
+
capName: "storage-occupancy",
|
|
34837
|
+
capScope: "system",
|
|
34838
|
+
addonId: null,
|
|
34839
|
+
access: "view"
|
|
34840
|
+
},
|
|
34689
34841
|
"storageProvider.abortUpload": {
|
|
34690
34842
|
capName: "storage-provider",
|
|
34691
34843
|
capScope: "system",
|