@camstack/addon-remote-storage 1.2.112 → 1.2.114
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/s3.addon.js +1 -1
- package/dist/s3.addon.mjs +1 -1
- package/dist/sftp.addon.js +1 -1
- package/dist/sftp.addon.mjs +1 -1
- package/dist/{shared-C7q4_9GC.mjs → shared-DBJ6em8r.mjs} +158 -1
- package/dist/{shared-BzcxiP7X.js → shared-nm_rgxsb.js} +158 -1
- package/dist/smb.addon.js +1 -1
- package/dist/smb.addon.mjs +1 -1
- package/dist/webdav.addon.js +1 -1
- package/dist/webdav.addon.mjs +1 -1
- package/package.json +1 -1
package/dist/s3.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-nm_rgxsb.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
|
|
8
8
|
let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
|
package/dist/s3.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-DBJ6em8r.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
|
|
4
4
|
import { Upload } from "@aws-sdk/lib-storage";
|
package/dist/sftp.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-nm_rgxsb.js");
|
|
6
6
|
let ssh2 = require("ssh2");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
package/dist/sftp.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-DBJ6em8r.mjs";
|
|
2
2
|
import { Client } from "ssh2";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
//#region src/providers/sftp/sftp-config-schema.ts
|
|
@@ -5361,7 +5361,7 @@ var ZodIssueCode = {
|
|
|
5361
5361
|
var ZodFirstPartyTypeKind;
|
|
5362
5362
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5363
5363
|
//#endregion
|
|
5364
|
-
//#region ../types/dist/sleep-
|
|
5364
|
+
//#region ../types/dist/sleep-GU_us3DG.mjs
|
|
5365
5365
|
/**
|
|
5366
5366
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5367
5367
|
* window to float samples (D455).
|
|
@@ -11806,6 +11806,24 @@ var GetStreamWithCodecInputSchema = object({
|
|
|
11806
11806
|
});
|
|
11807
11807
|
var RtpSourceSchema = object({
|
|
11808
11808
|
url: string(),
|
|
11809
|
+
/**
|
|
11810
|
+
* The SENTRY counterpart of {@link url} — the dial that asks for the stream
|
|
11811
|
+
* WITHOUT asking for the camera — or `null` when this camera offers none.
|
|
11812
|
+
*
|
|
11813
|
+
* The broker answers it because the broker is the only thing that can:
|
|
11814
|
+
* eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
|
|
11815
|
+
* cap), asked of facts only the broker holds. A consumer re-deriving it from
|
|
11816
|
+
* cap bindings would be a second authority, and two authorities on the same
|
|
11817
|
+
* question is how a composite camera ends up dialling a sleeping camera
|
|
11818
|
+
* because its own copy of the rule was a release behind.
|
|
11819
|
+
*
|
|
11820
|
+
* `null` is a real answer and is never a live url in disguise: a consumer
|
|
11821
|
+
* that silently fell back to {@link url} would perform exactly the wake this
|
|
11822
|
+
* field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
|
|
11823
|
+
* transcode hands back an egress the broker is feeding itself, which has no
|
|
11824
|
+
* sentry counterpart.
|
|
11825
|
+
*/
|
|
11826
|
+
sentryUrl: string().nullable().optional(),
|
|
11809
11827
|
videoCodec: _enum(["H264", "H265"]),
|
|
11810
11828
|
audioCodec: string(),
|
|
11811
11829
|
resolution: object({
|
|
@@ -27208,6 +27226,118 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
27208
27226
|
lastChangedAt: number()
|
|
27209
27227
|
});
|
|
27210
27228
|
/**
|
|
27229
|
+
* camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
|
|
27230
|
+
* page.
|
|
27231
|
+
*
|
|
27232
|
+
* ## Why this is a capability and not an addon settings schema
|
|
27233
|
+
*
|
|
27234
|
+
* It was one, and it did not render. The addon declared the editor as a
|
|
27235
|
+
* `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
|
|
27236
|
+
* returned that section correctly and `ConfigFormField` renders `type:'widget'`
|
|
27237
|
+
* perfectly well — and nothing ever asked camera-grid for it. The Cluster →
|
|
27238
|
+
* Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
|
|
27239
|
+
* addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
|
|
27240
|
+
* not on it "falls off silently".
|
|
27241
|
+
*
|
|
27242
|
+
* Adding a fifth name to that list would have been the wrong fix twice over:
|
|
27243
|
+
* that page is per-camera DETECTION tuning, and a grid's geometry belongs
|
|
27244
|
+
* beside PTZ and motion zones on the camera itself. The device page is
|
|
27245
|
+
* BINDING-driven (D12), so the way in is a capability bound to the device —
|
|
27246
|
+
* and this cap carries its section the way `recording` does, by RETURNING it
|
|
27247
|
+
* from `getDeviceSettingsContribution`.
|
|
27248
|
+
*
|
|
27249
|
+
* Seven other widgets are still declared the other way, through a
|
|
27250
|
+
* `deviceConfig.ui` block the framework derives a section from. That route
|
|
27251
|
+
* gives the addon no say in where its own panel lands and no way to decline
|
|
27252
|
+
* for a device the panel does not suit, which is why this one does not use it.
|
|
27253
|
+
*
|
|
27254
|
+
* ## Why one addon may implement it
|
|
27255
|
+
*
|
|
27256
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
27257
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
27258
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
27259
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
27260
|
+
* reached only by a caller that already knew the addon id.
|
|
27261
|
+
*
|
|
27262
|
+
* ## The tab
|
|
27263
|
+
*
|
|
27264
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
27265
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
27266
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
27267
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
27268
|
+
* next to "PTZ").
|
|
27269
|
+
*/
|
|
27270
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
27271
|
+
var GridNormalizedRectSchema = object({
|
|
27272
|
+
x: number().min(0).max(1),
|
|
27273
|
+
y: number().min(0).max(1),
|
|
27274
|
+
width: number().gt(0).max(1),
|
|
27275
|
+
height: number().gt(0).max(1)
|
|
27276
|
+
});
|
|
27277
|
+
/**
|
|
27278
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
27279
|
+
*
|
|
27280
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
27281
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
27282
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
27283
|
+
* which is the class of bug nobody files.
|
|
27284
|
+
*/
|
|
27285
|
+
var GridLayoutCellSchema = object({
|
|
27286
|
+
deviceId: number().int().positive(),
|
|
27287
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
27288
|
+
source: GridNormalizedRectSchema,
|
|
27289
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
27290
|
+
cell: GridNormalizedRectSchema
|
|
27291
|
+
});
|
|
27292
|
+
/**
|
|
27293
|
+
* Which profiles this grid can actually compose, and why not.
|
|
27294
|
+
*
|
|
27295
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
27296
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
27297
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
27298
|
+
* low" is, and it is the one an operator can act on.
|
|
27299
|
+
*/
|
|
27300
|
+
var GridProfileOfferSchema = object({
|
|
27301
|
+
profile: _enum([
|
|
27302
|
+
"high",
|
|
27303
|
+
"mid",
|
|
27304
|
+
"low"
|
|
27305
|
+
]),
|
|
27306
|
+
offered: boolean(),
|
|
27307
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
27308
|
+
missingSources: array(number().int().positive())
|
|
27309
|
+
});
|
|
27310
|
+
var GridLayoutViewSchema = object({
|
|
27311
|
+
/** The persisted grid row this camera was declared from. */
|
|
27312
|
+
instanceId: string(),
|
|
27313
|
+
deviceId: number().int().nonnegative(),
|
|
27314
|
+
name: string(),
|
|
27315
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
27316
|
+
width: number().int(),
|
|
27317
|
+
height: number().int(),
|
|
27318
|
+
fps: number().int(),
|
|
27319
|
+
cells: array(GridLayoutCellSchema),
|
|
27320
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
27321
|
+
profiles: array(GridProfileOfferSchema)
|
|
27322
|
+
});
|
|
27323
|
+
var GridLayoutPatchSchema = object({
|
|
27324
|
+
deviceId: number().int().nonnegative(),
|
|
27325
|
+
name: string().min(1).max(160).optional(),
|
|
27326
|
+
width: number().int().min(160).max(7680).optional(),
|
|
27327
|
+
height: number().int().min(120).max(4320).optional(),
|
|
27328
|
+
fps: number().int().min(1).max(60).optional(),
|
|
27329
|
+
/**
|
|
27330
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
27331
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
27332
|
+
* for.
|
|
27333
|
+
*/
|
|
27334
|
+
cells: array(GridLayoutCellSchema).max(16)
|
|
27335
|
+
});
|
|
27336
|
+
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
27337
|
+
kind: "mutation",
|
|
27338
|
+
auth: "admin"
|
|
27339
|
+
});
|
|
27340
|
+
/**
|
|
27211
27341
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
27212
27342
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
27213
27343
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32236,6 +32366,18 @@ Object.freeze({
|
|
|
32236
32366
|
addonId: null,
|
|
32237
32367
|
access: "view"
|
|
32238
32368
|
},
|
|
32369
|
+
"cameraGridLayout.getLayout": {
|
|
32370
|
+
capName: "camera-grid-layout",
|
|
32371
|
+
capScope: "device",
|
|
32372
|
+
addonId: null,
|
|
32373
|
+
access: "view"
|
|
32374
|
+
},
|
|
32375
|
+
"cameraGridLayout.saveLayout": {
|
|
32376
|
+
capName: "camera-grid-layout",
|
|
32377
|
+
capScope: "device",
|
|
32378
|
+
addonId: null,
|
|
32379
|
+
access: "create"
|
|
32380
|
+
},
|
|
32239
32381
|
"cameraStreams.getBrokerStreams": {
|
|
32240
32382
|
capName: "camera-streams",
|
|
32241
32383
|
capScope: "device",
|
|
@@ -37935,6 +38077,21 @@ Object.freeze({
|
|
|
37935
38077
|
form: "single",
|
|
37936
38078
|
optional: false
|
|
37937
38079
|
}],
|
|
38080
|
+
"cameraGridLayout.getLayout": [{
|
|
38081
|
+
name: "deviceId",
|
|
38082
|
+
form: "single",
|
|
38083
|
+
optional: false
|
|
38084
|
+
}],
|
|
38085
|
+
"cameraGridLayout.saveLayout": [{
|
|
38086
|
+
name: "cells",
|
|
38087
|
+
form: "object-array",
|
|
38088
|
+
optional: false,
|
|
38089
|
+
itemField: "deviceId"
|
|
38090
|
+
}, {
|
|
38091
|
+
name: "deviceId",
|
|
38092
|
+
form: "single",
|
|
38093
|
+
optional: false
|
|
38094
|
+
}],
|
|
37938
38095
|
"cameraStreams.getBrokerStreams": [{
|
|
37939
38096
|
name: "deviceId",
|
|
37940
38097
|
form: "single",
|
|
@@ -5384,7 +5384,7 @@ var ZodIssueCode = {
|
|
|
5384
5384
|
var ZodFirstPartyTypeKind;
|
|
5385
5385
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5386
5386
|
//#endregion
|
|
5387
|
-
//#region ../types/dist/sleep-
|
|
5387
|
+
//#region ../types/dist/sleep-GU_us3DG.mjs
|
|
5388
5388
|
/**
|
|
5389
5389
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5390
5390
|
* window to float samples (D455).
|
|
@@ -11829,6 +11829,24 @@ var GetStreamWithCodecInputSchema = object({
|
|
|
11829
11829
|
});
|
|
11830
11830
|
var RtpSourceSchema = object({
|
|
11831
11831
|
url: string(),
|
|
11832
|
+
/**
|
|
11833
|
+
* The SENTRY counterpart of {@link url} — the dial that asks for the stream
|
|
11834
|
+
* WITHOUT asking for the camera — or `null` when this camera offers none.
|
|
11835
|
+
*
|
|
11836
|
+
* The broker answers it because the broker is the only thing that can:
|
|
11837
|
+
* eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
|
|
11838
|
+
* cap), asked of facts only the broker holds. A consumer re-deriving it from
|
|
11839
|
+
* cap bindings would be a second authority, and two authorities on the same
|
|
11840
|
+
* question is how a composite camera ends up dialling a sleeping camera
|
|
11841
|
+
* because its own copy of the rule was a release behind.
|
|
11842
|
+
*
|
|
11843
|
+
* `null` is a real answer and is never a live url in disguise: a consumer
|
|
11844
|
+
* that silently fell back to {@link url} would perform exactly the wake this
|
|
11845
|
+
* field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
|
|
11846
|
+
* transcode hands back an egress the broker is feeding itself, which has no
|
|
11847
|
+
* sentry counterpart.
|
|
11848
|
+
*/
|
|
11849
|
+
sentryUrl: string().nullable().optional(),
|
|
11832
11850
|
videoCodec: _enum(["H264", "H265"]),
|
|
11833
11851
|
audioCodec: string(),
|
|
11834
11852
|
resolution: object({
|
|
@@ -27231,6 +27249,118 @@ DeviceType.Light, DeviceType.Siren, DeviceType.Switch, method(object({
|
|
|
27231
27249
|
lastChangedAt: number()
|
|
27232
27250
|
});
|
|
27233
27251
|
/**
|
|
27252
|
+
* camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
|
|
27253
|
+
* page.
|
|
27254
|
+
*
|
|
27255
|
+
* ## Why this is a capability and not an addon settings schema
|
|
27256
|
+
*
|
|
27257
|
+
* It was one, and it did not render. The addon declared the editor as a
|
|
27258
|
+
* `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
|
|
27259
|
+
* returned that section correctly and `ConfigFormField` renders `type:'widget'`
|
|
27260
|
+
* perfectly well — and nothing ever asked camera-grid for it. The Cluster →
|
|
27261
|
+
* Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
|
|
27262
|
+
* addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
|
|
27263
|
+
* not on it "falls off silently".
|
|
27264
|
+
*
|
|
27265
|
+
* Adding a fifth name to that list would have been the wrong fix twice over:
|
|
27266
|
+
* that page is per-camera DETECTION tuning, and a grid's geometry belongs
|
|
27267
|
+
* beside PTZ and motion zones on the camera itself. The device page is
|
|
27268
|
+
* BINDING-driven (D12), so the way in is a capability bound to the device —
|
|
27269
|
+
* and this cap carries its section the way `recording` does, by RETURNING it
|
|
27270
|
+
* from `getDeviceSettingsContribution`.
|
|
27271
|
+
*
|
|
27272
|
+
* Seven other widgets are still declared the other way, through a
|
|
27273
|
+
* `deviceConfig.ui` block the framework derives a section from. That route
|
|
27274
|
+
* gives the addon no say in where its own panel lands and no way to decline
|
|
27275
|
+
* for a device the panel does not suit, which is why this one does not use it.
|
|
27276
|
+
*
|
|
27277
|
+
* ## Why one addon may implement it
|
|
27278
|
+
*
|
|
27279
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
27280
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
27281
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
27282
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
27283
|
+
* reached only by a caller that already knew the addon id.
|
|
27284
|
+
*
|
|
27285
|
+
* ## The tab
|
|
27286
|
+
*
|
|
27287
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
27288
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
27289
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
27290
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
27291
|
+
* next to "PTZ").
|
|
27292
|
+
*/
|
|
27293
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
27294
|
+
var GridNormalizedRectSchema = object({
|
|
27295
|
+
x: number().min(0).max(1),
|
|
27296
|
+
y: number().min(0).max(1),
|
|
27297
|
+
width: number().gt(0).max(1),
|
|
27298
|
+
height: number().gt(0).max(1)
|
|
27299
|
+
});
|
|
27300
|
+
/**
|
|
27301
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
27302
|
+
*
|
|
27303
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
27304
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
27305
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
27306
|
+
* which is the class of bug nobody files.
|
|
27307
|
+
*/
|
|
27308
|
+
var GridLayoutCellSchema = object({
|
|
27309
|
+
deviceId: number().int().positive(),
|
|
27310
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
27311
|
+
source: GridNormalizedRectSchema,
|
|
27312
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
27313
|
+
cell: GridNormalizedRectSchema
|
|
27314
|
+
});
|
|
27315
|
+
/**
|
|
27316
|
+
* Which profiles this grid can actually compose, and why not.
|
|
27317
|
+
*
|
|
27318
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
27319
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
27320
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
27321
|
+
* low" is, and it is the one an operator can act on.
|
|
27322
|
+
*/
|
|
27323
|
+
var GridProfileOfferSchema = object({
|
|
27324
|
+
profile: _enum([
|
|
27325
|
+
"high",
|
|
27326
|
+
"mid",
|
|
27327
|
+
"low"
|
|
27328
|
+
]),
|
|
27329
|
+
offered: boolean(),
|
|
27330
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
27331
|
+
missingSources: array(number().int().positive())
|
|
27332
|
+
});
|
|
27333
|
+
var GridLayoutViewSchema = object({
|
|
27334
|
+
/** The persisted grid row this camera was declared from. */
|
|
27335
|
+
instanceId: string(),
|
|
27336
|
+
deviceId: number().int().nonnegative(),
|
|
27337
|
+
name: string(),
|
|
27338
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
27339
|
+
width: number().int(),
|
|
27340
|
+
height: number().int(),
|
|
27341
|
+
fps: number().int(),
|
|
27342
|
+
cells: array(GridLayoutCellSchema),
|
|
27343
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
27344
|
+
profiles: array(GridProfileOfferSchema)
|
|
27345
|
+
});
|
|
27346
|
+
var GridLayoutPatchSchema = object({
|
|
27347
|
+
deviceId: number().int().nonnegative(),
|
|
27348
|
+
name: string().min(1).max(160).optional(),
|
|
27349
|
+
width: number().int().min(160).max(7680).optional(),
|
|
27350
|
+
height: number().int().min(120).max(4320).optional(),
|
|
27351
|
+
fps: number().int().min(1).max(60).optional(),
|
|
27352
|
+
/**
|
|
27353
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
27354
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
27355
|
+
* for.
|
|
27356
|
+
*/
|
|
27357
|
+
cells: array(GridLayoutCellSchema).max(16)
|
|
27358
|
+
});
|
|
27359
|
+
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
27360
|
+
kind: "mutation",
|
|
27361
|
+
auth: "admin"
|
|
27362
|
+
});
|
|
27363
|
+
/**
|
|
27234
27364
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
27235
27365
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
27236
27366
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32259,6 +32389,18 @@ Object.freeze({
|
|
|
32259
32389
|
addonId: null,
|
|
32260
32390
|
access: "view"
|
|
32261
32391
|
},
|
|
32392
|
+
"cameraGridLayout.getLayout": {
|
|
32393
|
+
capName: "camera-grid-layout",
|
|
32394
|
+
capScope: "device",
|
|
32395
|
+
addonId: null,
|
|
32396
|
+
access: "view"
|
|
32397
|
+
},
|
|
32398
|
+
"cameraGridLayout.saveLayout": {
|
|
32399
|
+
capName: "camera-grid-layout",
|
|
32400
|
+
capScope: "device",
|
|
32401
|
+
addonId: null,
|
|
32402
|
+
access: "create"
|
|
32403
|
+
},
|
|
32262
32404
|
"cameraStreams.getBrokerStreams": {
|
|
32263
32405
|
capName: "camera-streams",
|
|
32264
32406
|
capScope: "device",
|
|
@@ -37958,6 +38100,21 @@ Object.freeze({
|
|
|
37958
38100
|
form: "single",
|
|
37959
38101
|
optional: false
|
|
37960
38102
|
}],
|
|
38103
|
+
"cameraGridLayout.getLayout": [{
|
|
38104
|
+
name: "deviceId",
|
|
38105
|
+
form: "single",
|
|
38106
|
+
optional: false
|
|
38107
|
+
}],
|
|
38108
|
+
"cameraGridLayout.saveLayout": [{
|
|
38109
|
+
name: "cells",
|
|
38110
|
+
form: "object-array",
|
|
38111
|
+
optional: false,
|
|
38112
|
+
itemField: "deviceId"
|
|
38113
|
+
}, {
|
|
38114
|
+
name: "deviceId",
|
|
38115
|
+
form: "single",
|
|
38116
|
+
optional: false
|
|
38117
|
+
}],
|
|
37961
38118
|
"cameraStreams.getBrokerStreams": [{
|
|
37962
38119
|
name: "deviceId",
|
|
37963
38120
|
form: "single",
|
package/dist/smb.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-nm_rgxsb.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_path = require("node:path");
|
|
8
8
|
node_path = require_shared.__toESM(node_path);
|
package/dist/smb.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-
|
|
1
|
+
import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-DBJ6em8r.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import * as path from "node:path";
|
|
4
4
|
import * as fsp from "node:fs/promises";
|
package/dist/webdav.addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_shared = require("./shared-
|
|
5
|
+
const require_shared = require("./shared-nm_rgxsb.js");
|
|
6
6
|
let node_stream = require("node:stream");
|
|
7
7
|
let webdav = require("webdav");
|
|
8
8
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/dist/webdav.addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-
|
|
1
|
+
import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-DBJ6em8r.mjs";
|
|
2
2
|
import { PassThrough } from "node:stream";
|
|
3
3
|
import { AuthType, createClient } from "webdav";
|
|
4
4
|
//#region src/providers/webdav/webdav-config-schema.ts
|
package/package.json
CHANGED