@camstack/addon-tailscale 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/client/tailscale.addon.js +1 -1
- package/dist/client/tailscale.addon.mjs +1 -1
- package/dist/{dist-D7Lg96JF.js → dist-BLTsm6JN.js} +386 -234
- package/dist/{dist-D1SuHo0o.mjs → dist-mpmQ8On1.mjs} +386 -234
- package/dist/ingress/tailscale-ingress.addon.js +1 -1
- package/dist/ingress/tailscale-ingress.addon.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-CnLqLOKs.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -193,6 +193,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
193
193
|
EventCategory["ProcessCrashed"] = "process.crashed";
|
|
194
194
|
EventCategory["ProcessRestartScheduled"] = "process.restart_scheduled";
|
|
195
195
|
EventCategory["ProcessRestarted"] = "process.restarted";
|
|
196
|
+
/**
|
|
197
|
+
* The SET of storage locations changed — one was created, edited, enabled,
|
|
198
|
+
* disabled or deleted through `storage.upsertLocation` / `deleteLocation`.
|
|
199
|
+
*
|
|
200
|
+
* Telemetry, not a transaction (D8/D11): every consumer that re-resolves on
|
|
201
|
+
* it must also converge on its own periodic path, because a dropped event
|
|
202
|
+
* must not leave a node writing to yesterday's disk set forever. It exists
|
|
203
|
+
* because there was NO signal at all — an operator who added a second
|
|
204
|
+
* recordings disk in the admin UI got nothing, and the recorder kept its
|
|
205
|
+
* resolved locations until something else happened to re-resolve them
|
|
206
|
+
* (D387). Payload `StorageLocationsChangedPayload`.
|
|
207
|
+
*/
|
|
208
|
+
EventCategory["StorageLocationsChanged"] = "storage.locations-changed";
|
|
196
209
|
EventCategory["RecordingStarted"] = "recording.started";
|
|
197
210
|
EventCategory["RecordingStopped"] = "recording.stopped";
|
|
198
211
|
EventCategory["RecordingError"] = "recording.error";
|
|
@@ -8553,6 +8566,21 @@ var StorageCleanupJobSchema = object({
|
|
|
8553
8566
|
});
|
|
8554
8567
|
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8555
8568
|
/**
|
|
8569
|
+
* The one typed state of a storage location. Authoritative Zod schema — the TS
|
|
8570
|
+
* alias below is `z.infer<>` of it, never a second spelling.
|
|
8571
|
+
*/
|
|
8572
|
+
var StorageLocationModeSchema = _enum([
|
|
8573
|
+
"active",
|
|
8574
|
+
"readonly",
|
|
8575
|
+
"drain",
|
|
8576
|
+
"disabled"
|
|
8577
|
+
]);
|
|
8578
|
+
_enum([
|
|
8579
|
+
"normal",
|
|
8580
|
+
"never",
|
|
8581
|
+
"drain"
|
|
8582
|
+
]);
|
|
8583
|
+
/**
|
|
8556
8584
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8557
8585
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8558
8586
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8618,6 +8646,21 @@ var StorageLocationSchema = object({
|
|
|
8618
8646
|
* stops existing rather than being re-derived on every read.
|
|
8619
8647
|
*/
|
|
8620
8648
|
enabled: boolean().optional(),
|
|
8649
|
+
/**
|
|
8650
|
+
* THE state of this location (D385), and the only authority on what may be
|
|
8651
|
+
* written, read or evicted here. Interpreted in exactly one place —
|
|
8652
|
+
* `storage-location-mode.ts` — which also folds the legacy
|
|
8653
|
+
* `enabled` / `config.readOnly` pair into a mode so an old row is never
|
|
8654
|
+
* ambiguous.
|
|
8655
|
+
*
|
|
8656
|
+
* OPTIONAL only for the wire and for rows written before D385: absence is
|
|
8657
|
+
* resolved by `resolveLocationMode`, and the orchestrator stamps every
|
|
8658
|
+
* unstamped row ONCE at hydrate so absence stops existing rather than being
|
|
8659
|
+
* re-derived on every read. `enabled` survives one release as a DERIVED
|
|
8660
|
+
* mirror (`mode === 'active'`); `withLocationMode` is the only writer of
|
|
8661
|
+
* either, so the two cannot disagree.
|
|
8662
|
+
*/
|
|
8663
|
+
mode: StorageLocationModeSchema.optional(),
|
|
8621
8664
|
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
8622
8665
|
* for node-local locations it can reach) — never persisted, absent when the
|
|
8623
8666
|
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
@@ -8625,11 +8668,46 @@ var StorageLocationSchema = object({
|
|
|
8625
8668
|
totalBytes: number(),
|
|
8626
8669
|
availableBytes: number()
|
|
8627
8670
|
}).nullable().optional(),
|
|
8671
|
+
/**
|
|
8672
|
+
* How much of that volume CamStack ITSELF holds on this location (D388) —
|
|
8673
|
+
* COMPUTED at read time from the `storage-occupancy` providers' own figures,
|
|
8674
|
+
* never persisted, never a filesystem walk.
|
|
8675
|
+
*
|
|
8676
|
+
* **ABSENT MEANS UNKNOWN, never zero.** No provider has reported for this
|
|
8677
|
+
* location yet — nobody stores here, the owning addon is down, or the first
|
|
8678
|
+
* refresh has not completed. A UI must omit the segment rather than draw it
|
|
8679
|
+
* at zero, which would claim we occupy nothing (D315). It is an OBJECT and
|
|
8680
|
+
* not a bare number precisely so that a `?? 0` on the consuming side has to
|
|
8681
|
+
* be spelled out loud instead of appearing by accident.
|
|
8682
|
+
*
|
|
8683
|
+
* `measuredAtMs` is the OLDEST contributing measurement, so it is honest
|
|
8684
|
+
* about the whole figure rather than about its freshest part.
|
|
8685
|
+
*/
|
|
8686
|
+
owned: object({
|
|
8687
|
+
bytes: number().int().nonnegative(),
|
|
8688
|
+
measuredAtMs: number().int().nonnegative()
|
|
8689
|
+
}).optional(),
|
|
8628
8690
|
createdAt: number(),
|
|
8629
8691
|
updatedAt: number()
|
|
8630
8692
|
});
|
|
8631
8693
|
object({ isDefault: boolean().optional() });
|
|
8632
8694
|
/**
|
|
8695
|
+
* How far a `drain` has got (D386) — the read a UI renders, and nothing more.
|
|
8696
|
+
*
|
|
8697
|
+
* `estimatedEmptyAtMs` is derived from the growth the ratchet has actually
|
|
8698
|
+
* OBSERVED and is `null` when it has observed none. Never a fabricated date: a
|
|
8699
|
+
* drain with no observed growth has no honest ETA, and inventing one is how an
|
|
8700
|
+
* operator learns not to believe the screen.
|
|
8701
|
+
*/
|
|
8702
|
+
var StorageDrainProgressSchema = object({
|
|
8703
|
+
locationId: string(),
|
|
8704
|
+
startedAtMs: number(),
|
|
8705
|
+
startBytes: number(),
|
|
8706
|
+
bytesRemaining: number(),
|
|
8707
|
+
drained: boolean(),
|
|
8708
|
+
estimatedEmptyAtMs: number().nullable()
|
|
8709
|
+
});
|
|
8710
|
+
/**
|
|
8633
8711
|
* Reference accepted by consumer-facing `api.storage.*` calls.
|
|
8634
8712
|
* Either:
|
|
8635
8713
|
* - a `StorageLocationType` (e.g. `'backups'`) → the sole location of that type
|
|
@@ -20087,8 +20165,25 @@ var occupancyRecheckFramesField = {
|
|
|
20087
20165
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20088
20166
|
* camera typically only reports a binary signal plus an optional
|
|
20089
20167
|
* channel/AI class which lives in dedicated event channels).
|
|
20090
|
-
|
|
20091
|
-
|
|
20168
|
+
*
|
|
20169
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20170
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20171
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20172
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20173
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20174
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20175
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20176
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20177
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20178
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20179
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20180
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20181
|
+
*/
|
|
20182
|
+
var MotionSourceEnum = _enum([
|
|
20183
|
+
"onboard",
|
|
20184
|
+
"analyzer",
|
|
20185
|
+
"device-activity"
|
|
20186
|
+
]);
|
|
20092
20187
|
/**
|
|
20093
20188
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20094
20189
|
* "no source" — happens for battery cams without firmware motion when
|
|
@@ -21607,7 +21702,7 @@ method(object({
|
|
|
21607
21702
|
}), _void(), {
|
|
21608
21703
|
kind: "mutation",
|
|
21609
21704
|
auth: "admin"
|
|
21610
|
-
}), method(object({ id: string() }), object({
|
|
21705
|
+
}), method(_void(), array(StorageDrainProgressSchema).readonly()), method(object({ id: string() }), object({
|
|
21611
21706
|
ok: boolean(),
|
|
21612
21707
|
error: string().optional()
|
|
21613
21708
|
}), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
|
|
@@ -21677,6 +21772,51 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21677
21772
|
kind: "mutation",
|
|
21678
21773
|
auth: "admin"
|
|
21679
21774
|
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21775
|
+
/**
|
|
21776
|
+
* `storage-occupancy` — how many bytes an addon actually HOLDS on a storage
|
|
21777
|
+
* location (D388).
|
|
21778
|
+
*
|
|
21779
|
+
* ## Why this is not `storage-evictable`
|
|
21780
|
+
*
|
|
21781
|
+
* `storage-evictable.getEvictableUsage` looks like the same question and is
|
|
21782
|
+
* not, in two ways that both matter and both bite hardest on the locations an
|
|
21783
|
+
* operator most wants a figure for:
|
|
21784
|
+
*
|
|
21785
|
+
* - it reports the whole eviction DOMAIN, not the location. `recordings:default`
|
|
21786
|
+
* and `recordingsLow:default` deliberately share one root and evict as one
|
|
21787
|
+
* oldest-first pool, so both answer with the SAME combined total. As an
|
|
21788
|
+
* occupancy figure that double-counts the disk.
|
|
21789
|
+
* - it reports ZERO for a location whose eviction policy is `never` (D385) —
|
|
21790
|
+
* a `readonly` or `disabled` disk. Those are exactly the disks an operator
|
|
21791
|
+
* is retiring and staring at.
|
|
21792
|
+
*
|
|
21793
|
+
* So this is its own contract with its own quantity, and the quantity is
|
|
21794
|
+
* OCCUPIED: every byte the addon holds on that location, whether or not it
|
|
21795
|
+
* would ever be willing to delete it. A provider that can only answer
|
|
21796
|
+
* "evictable" must not register here — a number that silently means different
|
|
21797
|
+
* things per class is worse than no number.
|
|
21798
|
+
*
|
|
21799
|
+
* ## Absence is an answer
|
|
21800
|
+
*
|
|
21801
|
+
* A location nobody reports for is UNKNOWN, never zero (D315). The orchestrator
|
|
21802
|
+
* stamps `StorageLocation.owned` only for locations it has a report for, and
|
|
21803
|
+
* the field is an OBJECT rather than a bare number so that a `?? 0` on the
|
|
21804
|
+
* consuming side has to be written out loud instead of appearing by accident.
|
|
21805
|
+
*
|
|
21806
|
+
* `internal: true` — consumed by the orchestrator's `listLocations` stamp, never
|
|
21807
|
+
* a public client surface. Clients read the stamped `StorageLocation.owned`.
|
|
21808
|
+
*/
|
|
21809
|
+
/** One provider's occupancy answer for one location. */
|
|
21810
|
+
var StorageOccupancyReportSchema = object({
|
|
21811
|
+
locationId: string(),
|
|
21812
|
+
/** Bytes this provider holds on THAT location — not its eviction domain, and
|
|
21813
|
+
* not net of what it is willing to delete. */
|
|
21814
|
+
ownedBytes: number().int().nonnegative(),
|
|
21815
|
+
/** When the provider last actually measured this. The orchestrator carries it
|
|
21816
|
+
* through so a UI can say how old the figure is instead of implying "now". */
|
|
21817
|
+
measuredAtMs: number().int().nonnegative()
|
|
21818
|
+
});
|
|
21819
|
+
method(object({ locationIds: array(string()).readonly() }), array(StorageOccupancyReportSchema).readonly(), { auth: "admin" });
|
|
21680
21820
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21681
21821
|
providerId: string().min(1),
|
|
21682
21822
|
displayName: string().min(1),
|
|
@@ -23312,39 +23452,6 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, meth
|
|
|
23312
23452
|
deviceId: number(),
|
|
23313
23453
|
status: BatteryStatusSchema
|
|
23314
23454
|
});
|
|
23315
|
-
/**
|
|
23316
|
-
* Network-link snapshot. Same shape for every provider (a Reolink wifi
|
|
23317
|
-
* camera, a Home Assistant device with a signal-strength sensor, a Tapo
|
|
23318
|
-
* plug): one slice under `device.runtimeState['network-link']`, one badge,
|
|
23319
|
-
* one Home Assistant projection.
|
|
23320
|
-
*/
|
|
23321
|
-
var NetworkLinkStatusSchema = object({
|
|
23322
|
-
/** The link the device is on. `'unknown'` = not read yet, not "no link". */
|
|
23323
|
-
type: _enum([
|
|
23324
|
-
"wifi",
|
|
23325
|
-
"ethernet",
|
|
23326
|
-
"cellular",
|
|
23327
|
-
"unknown"
|
|
23328
|
-
]),
|
|
23329
|
-
/**
|
|
23330
|
-
* Link quality, 0..100 inclusive, normalised by the provider from whatever
|
|
23331
|
-
* the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
|
|
23332
|
-
* KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
|
|
23333
|
-
* one whose reading has not landed must not be drawn at 0 %. Consumers
|
|
23334
|
-
* SKIP a null rather than coerce it.
|
|
23335
|
-
*/
|
|
23336
|
-
signalPercent: number().min(0).max(100).nullable(),
|
|
23337
|
-
/** Raw received signal strength in dBm, when the firmware reports one. */
|
|
23338
|
-
rssiDbm: number().optional(),
|
|
23339
|
-
/** Network name of a wireless link, when the firmware reports it. */
|
|
23340
|
-
ssid: string().optional(),
|
|
23341
|
-
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
23342
|
-
lastUpdated: number()
|
|
23343
|
-
});
|
|
23344
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
|
|
23345
|
-
deviceId: number(),
|
|
23346
|
-
status: NetworkLinkStatusSchema
|
|
23347
|
-
});
|
|
23348
23455
|
object({
|
|
23349
23456
|
on: boolean(),
|
|
23350
23457
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
@@ -25759,6 +25866,236 @@ DeviceType.Camera, method(object({
|
|
|
25759
25866
|
detection: NativeDetectionSchema
|
|
25760
25867
|
});
|
|
25761
25868
|
/**
|
|
25869
|
+
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
25870
|
+
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
25871
|
+
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
25872
|
+
*
|
|
25873
|
+
* Why a NEW cap rather than overloading `ptz`:
|
|
25874
|
+
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
25875
|
+
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
25876
|
+
* The two are different physical models: PTZ is absolute-position + presets,
|
|
25877
|
+
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
25878
|
+
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
25879
|
+
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
25880
|
+
* the reverse:
|
|
25881
|
+
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
25882
|
+
* / `getOptions`), and
|
|
25883
|
+
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
25884
|
+
* robot camera shows up in the existing PTZ control path without every
|
|
25885
|
+
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
25886
|
+
* not here (see the addon design note):
|
|
25887
|
+
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
25888
|
+
* ptz.stop() → navigation.stop()
|
|
25889
|
+
* ptz.goHome() → navigation.runAction('goHome')
|
|
25890
|
+
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
25891
|
+
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
25892
|
+
*
|
|
25893
|
+
* ## Continuous drive
|
|
25894
|
+
*
|
|
25895
|
+
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
25896
|
+
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
25897
|
+
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
25898
|
+
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
25899
|
+
* coalesce them. The UI owns the cadence.
|
|
25900
|
+
*
|
|
25901
|
+
* ## The action dictionary
|
|
25902
|
+
*
|
|
25903
|
+
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
25904
|
+
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
25905
|
+
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
25906
|
+
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
25907
|
+
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
25908
|
+
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
25909
|
+
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
25910
|
+
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
25911
|
+
*
|
|
25912
|
+
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
25913
|
+
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
25914
|
+
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
25915
|
+
* every device handle. A future nodedreame publish adds a typed
|
|
25916
|
+
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
25917
|
+
* provider can then swap the raw calls for the typed methods with no change to
|
|
25918
|
+
* THIS contract.
|
|
25919
|
+
*/
|
|
25920
|
+
/**
|
|
25921
|
+
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
25922
|
+
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
25923
|
+
* halts it.
|
|
25924
|
+
*
|
|
25925
|
+
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
25926
|
+
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
25927
|
+
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
25928
|
+
* vector by it (drivers without proportional drive ignore it).
|
|
25929
|
+
*
|
|
25930
|
+
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
25931
|
+
* axis alone; an all-undefined nudge is a no-op.
|
|
25932
|
+
*/
|
|
25933
|
+
var NavigationMoveCommandSchema = object({
|
|
25934
|
+
pan: number().min(-1).max(1).optional(),
|
|
25935
|
+
tilt: number().min(-1).max(1).optional(),
|
|
25936
|
+
speed: number().min(0).max(1).optional()
|
|
25937
|
+
});
|
|
25938
|
+
/**
|
|
25939
|
+
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
25940
|
+
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
25941
|
+
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
25942
|
+
* `playSound` (see the `sound` dictionary entries).
|
|
25943
|
+
*/
|
|
25944
|
+
var NavigationActionIdSchema = _enum([
|
|
25945
|
+
"goHome",
|
|
25946
|
+
"locate",
|
|
25947
|
+
"spotClean",
|
|
25948
|
+
"findPet",
|
|
25949
|
+
"personFollow",
|
|
25950
|
+
"stop",
|
|
25951
|
+
"startClean",
|
|
25952
|
+
"pauseClean",
|
|
25953
|
+
"dockWash",
|
|
25954
|
+
"autoEmpty",
|
|
25955
|
+
"flashOn",
|
|
25956
|
+
"flashOff"
|
|
25957
|
+
]);
|
|
25958
|
+
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
25959
|
+
var NavigationEntryKindSchema = _enum(["action", "sound"]);
|
|
25960
|
+
/**
|
|
25961
|
+
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
25962
|
+
* native panel and the PTZ mimic render as a button.
|
|
25963
|
+
*
|
|
25964
|
+
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
25965
|
+
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
25966
|
+
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
25967
|
+
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
25968
|
+
* - `label` — operator-facing English label.
|
|
25969
|
+
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
25970
|
+
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
25971
|
+
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
25972
|
+
* flips it from config, never by editing code.
|
|
25973
|
+
*/
|
|
25974
|
+
var NavigationActionEntrySchema = object({
|
|
25975
|
+
id: string(),
|
|
25976
|
+
kind: NavigationEntryKindSchema,
|
|
25977
|
+
label: string(),
|
|
25978
|
+
icon: string(),
|
|
25979
|
+
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
25980
|
+
soundId: number().int().optional(),
|
|
25981
|
+
/** Per-device feature flag — render this entry only when true. */
|
|
25982
|
+
enabled: boolean()
|
|
25983
|
+
});
|
|
25984
|
+
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
25985
|
+
var NavigationPointSchema = object({
|
|
25986
|
+
x: number(),
|
|
25987
|
+
y: number()
|
|
25988
|
+
});
|
|
25989
|
+
/**
|
|
25990
|
+
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
25991
|
+
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
25992
|
+
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
25993
|
+
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
25994
|
+
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
25995
|
+
* that are not dictionary entries.
|
|
25996
|
+
*
|
|
25997
|
+
* - `move` / `stop` — the momentary drive joystick.
|
|
25998
|
+
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
25999
|
+
* map-coordinate plumbing is wired.
|
|
26000
|
+
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
26001
|
+
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
26002
|
+
* - `light` — the on/off fill-light toggle (works anytime).
|
|
26003
|
+
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
26004
|
+
* camera-service control; needs an active stream).
|
|
26005
|
+
*/
|
|
26006
|
+
var NavigationFeaturesSchema = object({
|
|
26007
|
+
move: boolean(),
|
|
26008
|
+
stop: boolean(),
|
|
26009
|
+
goToPoint: boolean(),
|
|
26010
|
+
runAction: boolean(),
|
|
26011
|
+
playSound: boolean(),
|
|
26012
|
+
light: boolean(),
|
|
26013
|
+
lightMode: boolean()
|
|
26014
|
+
});
|
|
26015
|
+
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
26016
|
+
var NavigationLightModeSchema = _enum(["auto", "manual"]);
|
|
26017
|
+
/**
|
|
26018
|
+
* Live navigation state so the UI can reflect what the robot is doing:
|
|
26019
|
+
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
26020
|
+
* - `following` — person/pet follow is currently armed.
|
|
26021
|
+
* - `flash` — the on-camera fill light is on.
|
|
26022
|
+
* - `lightMode` — auto vs manual fill-light mode.
|
|
26023
|
+
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
26024
|
+
* `lightMode === 'manual'`.
|
|
26025
|
+
*/
|
|
26026
|
+
var NavigationStatusSchema = object({
|
|
26027
|
+
mode: _enum([
|
|
26028
|
+
"idle",
|
|
26029
|
+
"cleaning",
|
|
26030
|
+
"spot",
|
|
26031
|
+
"following",
|
|
26032
|
+
"goto",
|
|
26033
|
+
"returning",
|
|
26034
|
+
"paused",
|
|
26035
|
+
"unknown"
|
|
26036
|
+
]),
|
|
26037
|
+
following: boolean(),
|
|
26038
|
+
flash: boolean(),
|
|
26039
|
+
lightMode: NavigationLightModeSchema,
|
|
26040
|
+
lightLevel: number().min(40).max(100),
|
|
26041
|
+
/** Ms epoch when the slice was last updated. */
|
|
26042
|
+
lastChangedAt: number()
|
|
26043
|
+
});
|
|
26044
|
+
NavigationStatusSchema.extend({ lastFetchedAt: number() });
|
|
26045
|
+
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({
|
|
26046
|
+
deviceId: number(),
|
|
26047
|
+
actionId: NavigationActionIdSchema
|
|
26048
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26049
|
+
deviceId: number(),
|
|
26050
|
+
soundId: number().int()
|
|
26051
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26052
|
+
deviceId: number(),
|
|
26053
|
+
on: boolean()
|
|
26054
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26055
|
+
deviceId: number(),
|
|
26056
|
+
mode: NavigationLightModeSchema,
|
|
26057
|
+
level: number().min(40).max(100).optional()
|
|
26058
|
+
}), _void(), { kind: "mutation" }), method(object({
|
|
26059
|
+
deviceId: number(),
|
|
26060
|
+
level: number().min(40).max(100)
|
|
26061
|
+
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
|
|
26062
|
+
deviceId: number(),
|
|
26063
|
+
status: NavigationStatusSchema
|
|
26064
|
+
});
|
|
26065
|
+
/**
|
|
26066
|
+
* Network-link snapshot. Same shape for every provider (a Reolink wifi
|
|
26067
|
+
* camera, a Home Assistant device with a signal-strength sensor, a Tapo
|
|
26068
|
+
* plug): one slice under `device.runtimeState['network-link']`, one badge,
|
|
26069
|
+
* one Home Assistant projection.
|
|
26070
|
+
*/
|
|
26071
|
+
var NetworkLinkStatusSchema = object({
|
|
26072
|
+
/** The link the device is on. `'unknown'` = not read yet, not "no link". */
|
|
26073
|
+
type: _enum([
|
|
26074
|
+
"wifi",
|
|
26075
|
+
"ethernet",
|
|
26076
|
+
"cellular",
|
|
26077
|
+
"unknown"
|
|
26078
|
+
]),
|
|
26079
|
+
/**
|
|
26080
|
+
* Link quality, 0..100 inclusive, normalised by the provider from whatever
|
|
26081
|
+
* the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
|
|
26082
|
+
* KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
|
|
26083
|
+
* one whose reading has not landed must not be drawn at 0 %. Consumers
|
|
26084
|
+
* SKIP a null rather than coerce it.
|
|
26085
|
+
*/
|
|
26086
|
+
signalPercent: number().min(0).max(100).nullable(),
|
|
26087
|
+
/** Raw received signal strength in dBm, when the firmware reports one. */
|
|
26088
|
+
rssiDbm: number().optional(),
|
|
26089
|
+
/** Network name of a wireless link, when the firmware reports it. */
|
|
26090
|
+
ssid: string().optional(),
|
|
26091
|
+
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
26092
|
+
lastUpdated: number()
|
|
26093
|
+
});
|
|
26094
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.Light, DeviceType.Lock, DeviceType.Siren, object({
|
|
26095
|
+
deviceId: number(),
|
|
26096
|
+
status: NetworkLinkStatusSchema
|
|
26097
|
+
});
|
|
26098
|
+
/**
|
|
25762
26099
|
* network-quality — system-scoped singleton capability tracking RTT,
|
|
25763
26100
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
25764
26101
|
*
|
|
@@ -27000,203 +27337,6 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
|
|
|
27000
27337
|
deviceId: number(),
|
|
27001
27338
|
status: PtzAutotrackStatusSchema
|
|
27002
27339
|
});
|
|
27003
|
-
/**
|
|
27004
|
-
* `navigation` — a device-scoped capability that natively expresses the FULL
|
|
27005
|
-
* navigation / action surface of a robot that DRIVES ITSELF and carries an
|
|
27006
|
-
* on-board camera (the Dreame robot-vacuum camera is the first provider).
|
|
27007
|
-
*
|
|
27008
|
-
* Why a NEW cap rather than overloading `ptz`:
|
|
27009
|
-
* - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
|
|
27010
|
-
* robot vacuum has no gimbal — the whole chassis drives, turns and spins.
|
|
27011
|
-
* The two are different physical models: PTZ is absolute-position + presets,
|
|
27012
|
-
* navigation is momentary drive nudges + discrete robot ACTIONS
|
|
27013
|
-
* (dock / spot-clean / follow-pet / go-to-point / …).
|
|
27014
|
-
* - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
|
|
27015
|
-
* the reverse:
|
|
27016
|
-
* 1. a native CamStack navigation panel (data-driven from `listActions`
|
|
27017
|
-
* / `getOptions`), and
|
|
27018
|
-
* 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
|
|
27019
|
-
* robot camera shows up in the existing PTZ control path without every
|
|
27020
|
-
* PTZ provider learning about robots. The mapping lives in the adapter,
|
|
27021
|
-
* not here (see the addon design note):
|
|
27022
|
-
* ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
|
|
27023
|
-
* ptz.stop() → navigation.stop()
|
|
27024
|
-
* ptz.goHome() → navigation.runAction('goHome')
|
|
27025
|
-
* ptz.getPresets() → navigation.listActions() (id→preset)
|
|
27026
|
-
* ptz.goToPreset(id) → navigation.runAction(id)
|
|
27027
|
-
*
|
|
27028
|
-
* ## Continuous drive
|
|
27029
|
-
*
|
|
27030
|
-
* `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
|
|
27031
|
-
* sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
|
|
27032
|
-
* one `stop()` on release — exactly like the robot app's remote-drive joystick.
|
|
27033
|
-
* The provider forwards EACH `move` to one drive write; it must NOT debounce or
|
|
27034
|
-
* coalesce them. The UI owns the cadence.
|
|
27035
|
-
*
|
|
27036
|
-
* ## The action dictionary
|
|
27037
|
-
*
|
|
27038
|
-
* The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
|
|
27039
|
-
* are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
|
|
27040
|
-
* carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
|
|
27041
|
-
* native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
|
|
27042
|
-
* vendor-specific list. `kind: 'action'` entries are triggered with
|
|
27043
|
-
* `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
|
|
27044
|
-
* (the entry carries the `soundId` to pass). The general primitives — `move`,
|
|
27045
|
-
* `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
|
|
27046
|
-
*
|
|
27047
|
-
* NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
|
|
27048
|
-
* `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
|
|
27049
|
-
* that the currently-published `@apocaliss92/nodedreame` already exposes on
|
|
27050
|
-
* every device handle. A future nodedreame publish adds a typed
|
|
27051
|
-
* `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
|
|
27052
|
-
* provider can then swap the raw calls for the typed methods with no change to
|
|
27053
|
-
* THIS contract.
|
|
27054
|
-
*/
|
|
27055
|
-
/**
|
|
27056
|
-
* A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
|
|
27057
|
-
* keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
|
|
27058
|
-
* halts it.
|
|
27059
|
-
*
|
|
27060
|
-
* - `pan` — turn: negative = left, positive = right, 0 = straight.
|
|
27061
|
-
* - `tilt` — throttle: positive = forward, negative = spin / turn-around.
|
|
27062
|
-
* - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
|
|
27063
|
-
* vector by it (drivers without proportional drive ignore it).
|
|
27064
|
-
*
|
|
27065
|
-
* `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
|
|
27066
|
-
* axis alone; an all-undefined nudge is a no-op.
|
|
27067
|
-
*/
|
|
27068
|
-
var NavigationMoveCommandSchema = object({
|
|
27069
|
-
pan: number().min(-1).max(1).optional(),
|
|
27070
|
-
tilt: number().min(-1).max(1).optional(),
|
|
27071
|
-
speed: number().min(0).max(1).optional()
|
|
27072
|
-
});
|
|
27073
|
-
/**
|
|
27074
|
-
* The enumerated discrete actions a navigation-capable robot can perform via
|
|
27075
|
-
* `runAction`. This is the CLOSED vocabulary; a given device advertises the
|
|
27076
|
-
* subset it supports through `listActions`. Sounds are NOT here — they go through
|
|
27077
|
-
* `playSound` (see the `sound` dictionary entries).
|
|
27078
|
-
*/
|
|
27079
|
-
var NavigationActionIdSchema = _enum([
|
|
27080
|
-
"goHome",
|
|
27081
|
-
"locate",
|
|
27082
|
-
"spotClean",
|
|
27083
|
-
"findPet",
|
|
27084
|
-
"personFollow",
|
|
27085
|
-
"stop",
|
|
27086
|
-
"startClean",
|
|
27087
|
-
"pauseClean",
|
|
27088
|
-
"dockWash",
|
|
27089
|
-
"autoEmpty",
|
|
27090
|
-
"flashOn",
|
|
27091
|
-
"flashOff"
|
|
27092
|
-
]);
|
|
27093
|
-
/** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
|
|
27094
|
-
var NavigationEntryKindSchema = _enum(["action", "sound"]);
|
|
27095
|
-
/**
|
|
27096
|
-
* One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
|
|
27097
|
-
* native panel and the PTZ mimic render as a button.
|
|
27098
|
-
*
|
|
27099
|
-
* - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
|
|
27100
|
-
* (pass to `runAction`); for `kind:'sound'` it is a namespaced id
|
|
27101
|
-
* (`sound:meow`) whose `soundId` is passed to `playSound`.
|
|
27102
|
-
* - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
|
|
27103
|
-
* - `label` — operator-facing English label.
|
|
27104
|
-
* - `soundId` — wire sound id, present only on `kind:'sound'` entries.
|
|
27105
|
-
* - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
|
|
27106
|
-
* PTZ render ONLY enabled entries. Data-driven: the provider
|
|
27107
|
-
* flips it from config, never by editing code.
|
|
27108
|
-
*/
|
|
27109
|
-
var NavigationActionEntrySchema = object({
|
|
27110
|
-
id: string(),
|
|
27111
|
-
kind: NavigationEntryKindSchema,
|
|
27112
|
-
label: string(),
|
|
27113
|
-
icon: string(),
|
|
27114
|
-
/** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
|
|
27115
|
-
soundId: number().int().optional(),
|
|
27116
|
-
/** Per-device feature flag — render this entry only when true. */
|
|
27117
|
-
enabled: boolean()
|
|
27118
|
-
});
|
|
27119
|
-
/** Coordinates for `goToPoint` — a point on the robot's live map. */
|
|
27120
|
-
var NavigationPointSchema = object({
|
|
27121
|
-
x: number(),
|
|
27122
|
-
y: number()
|
|
27123
|
-
});
|
|
27124
|
-
/**
|
|
27125
|
-
* Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
|
|
27126
|
-
* The cap reports which are enabled so the UI / PTZ render only the controls
|
|
27127
|
-
* that are turned on for THIS device. Data-driven: the provider derives these
|
|
27128
|
-
* from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
|
|
27129
|
-
* live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
|
|
27130
|
-
* that are not dictionary entries.
|
|
27131
|
-
*
|
|
27132
|
-
* - `move` / `stop` — the momentary drive joystick.
|
|
27133
|
-
* - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
|
|
27134
|
-
* map-coordinate plumbing is wired.
|
|
27135
|
-
* - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
|
|
27136
|
-
* - `playSound` — the sound buttons (dictionary `kind:'sound'`).
|
|
27137
|
-
* - `light` — the on/off fill-light toggle (works anytime).
|
|
27138
|
-
* - `lightMode` — the auto/manual selector + manual level slider (a
|
|
27139
|
-
* camera-service control; needs an active stream).
|
|
27140
|
-
*/
|
|
27141
|
-
var NavigationFeaturesSchema = object({
|
|
27142
|
-
move: boolean(),
|
|
27143
|
-
stop: boolean(),
|
|
27144
|
-
goToPoint: boolean(),
|
|
27145
|
-
runAction: boolean(),
|
|
27146
|
-
playSound: boolean(),
|
|
27147
|
-
light: boolean(),
|
|
27148
|
-
lightMode: boolean()
|
|
27149
|
-
});
|
|
27150
|
-
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
27151
|
-
var NavigationLightModeSchema = _enum(["auto", "manual"]);
|
|
27152
|
-
/**
|
|
27153
|
-
* Live navigation state so the UI can reflect what the robot is doing:
|
|
27154
|
-
* - `mode` — coarse activity (idle / cleaning / following / …).
|
|
27155
|
-
* - `following` — person/pet follow is currently armed.
|
|
27156
|
-
* - `flash` — the on-camera fill light is on.
|
|
27157
|
-
* - `lightMode` — auto vs manual fill-light mode.
|
|
27158
|
-
* - `lightLevel` — manual fill-light level (40..100); meaningful when
|
|
27159
|
-
* `lightMode === 'manual'`.
|
|
27160
|
-
*/
|
|
27161
|
-
var NavigationStatusSchema = object({
|
|
27162
|
-
mode: _enum([
|
|
27163
|
-
"idle",
|
|
27164
|
-
"cleaning",
|
|
27165
|
-
"spot",
|
|
27166
|
-
"following",
|
|
27167
|
-
"goto",
|
|
27168
|
-
"returning",
|
|
27169
|
-
"paused",
|
|
27170
|
-
"unknown"
|
|
27171
|
-
]),
|
|
27172
|
-
following: boolean(),
|
|
27173
|
-
flash: boolean(),
|
|
27174
|
-
lightMode: NavigationLightModeSchema,
|
|
27175
|
-
lightLevel: number().min(40).max(100),
|
|
27176
|
-
/** Ms epoch when the slice was last updated. */
|
|
27177
|
-
lastChangedAt: number()
|
|
27178
|
-
});
|
|
27179
|
-
NavigationStatusSchema.extend({ lastFetchedAt: number() });
|
|
27180
|
-
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({
|
|
27181
|
-
deviceId: number(),
|
|
27182
|
-
actionId: NavigationActionIdSchema
|
|
27183
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27184
|
-
deviceId: number(),
|
|
27185
|
-
soundId: number().int()
|
|
27186
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27187
|
-
deviceId: number(),
|
|
27188
|
-
on: boolean()
|
|
27189
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27190
|
-
deviceId: number(),
|
|
27191
|
-
mode: NavigationLightModeSchema,
|
|
27192
|
-
level: number().min(40).max(100).optional()
|
|
27193
|
-
}), _void(), { kind: "mutation" }), method(object({
|
|
27194
|
-
deviceId: number(),
|
|
27195
|
-
level: number().min(40).max(100)
|
|
27196
|
-
}), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), NavigationFeaturesSchema), object({
|
|
27197
|
-
deviceId: number(),
|
|
27198
|
-
status: NavigationStatusSchema
|
|
27199
|
-
});
|
|
27200
27340
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
27201
27341
|
kind: "mutation",
|
|
27202
27342
|
auth: "admin"
|
|
@@ -34511,6 +34651,12 @@ Object.freeze({
|
|
|
34511
34651
|
addonId: null,
|
|
34512
34652
|
access: "view"
|
|
34513
34653
|
},
|
|
34654
|
+
"storage.listDrainProgress": {
|
|
34655
|
+
capName: "storage",
|
|
34656
|
+
capScope: "system",
|
|
34657
|
+
addonId: null,
|
|
34658
|
+
access: "view"
|
|
34659
|
+
},
|
|
34514
34660
|
"storage.listLocationDeclarations": {
|
|
34515
34661
|
capName: "storage",
|
|
34516
34662
|
capScope: "system",
|
|
@@ -34655,6 +34801,12 @@ Object.freeze({
|
|
|
34655
34801
|
addonId: null,
|
|
34656
34802
|
access: "view"
|
|
34657
34803
|
},
|
|
34804
|
+
"storageOccupancy.getOccupancy": {
|
|
34805
|
+
capName: "storage-occupancy",
|
|
34806
|
+
capScope: "system",
|
|
34807
|
+
addonId: null,
|
|
34808
|
+
access: "view"
|
|
34809
|
+
},
|
|
34658
34810
|
"storageProvider.abortUpload": {
|
|
34659
34811
|
capName: "storage-provider",
|
|
34660
34812
|
capScope: "system",
|