@camstack/addon-remote-storage 1.2.112 → 1.2.113
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-Bbtrn8xA.mjs} +154 -1
- package/dist/{shared-BzcxiP7X.js → shared-CNybMYvw.js} +154 -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-CNybMYvw.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-Bbtrn8xA.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-CNybMYvw.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-Bbtrn8xA.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-Bs3xPtSh.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,114 @@ 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 — which is exactly where the
|
|
27245
|
+
* framework already puts a widget, when the widget is declared on a CAPABILITY.
|
|
27246
|
+
* `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
|
|
27247
|
+
* all use it): the framework emits the structural section and the widget
|
|
27248
|
+
* self-persists through the cap's own mutations.
|
|
27249
|
+
*
|
|
27250
|
+
* ## Why one addon may implement it
|
|
27251
|
+
*
|
|
27252
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
27253
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
27254
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
27255
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
27256
|
+
* reached only by a caller that already knew the addon id.
|
|
27257
|
+
*
|
|
27258
|
+
* ## The tab
|
|
27259
|
+
*
|
|
27260
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
27261
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
27262
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
27263
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
27264
|
+
* next to "PTZ").
|
|
27265
|
+
*/
|
|
27266
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
27267
|
+
var GridNormalizedRectSchema = object({
|
|
27268
|
+
x: number().min(0).max(1),
|
|
27269
|
+
y: number().min(0).max(1),
|
|
27270
|
+
width: number().gt(0).max(1),
|
|
27271
|
+
height: number().gt(0).max(1)
|
|
27272
|
+
});
|
|
27273
|
+
/**
|
|
27274
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
27275
|
+
*
|
|
27276
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
27277
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
27278
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
27279
|
+
* which is the class of bug nobody files.
|
|
27280
|
+
*/
|
|
27281
|
+
var GridLayoutCellSchema = object({
|
|
27282
|
+
deviceId: number().int().positive(),
|
|
27283
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
27284
|
+
source: GridNormalizedRectSchema,
|
|
27285
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
27286
|
+
cell: GridNormalizedRectSchema
|
|
27287
|
+
});
|
|
27288
|
+
/**
|
|
27289
|
+
* Which profiles this grid can actually compose, and why not.
|
|
27290
|
+
*
|
|
27291
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
27292
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
27293
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
27294
|
+
* low" is, and it is the one an operator can act on.
|
|
27295
|
+
*/
|
|
27296
|
+
var GridProfileOfferSchema = object({
|
|
27297
|
+
profile: _enum([
|
|
27298
|
+
"high",
|
|
27299
|
+
"mid",
|
|
27300
|
+
"low"
|
|
27301
|
+
]),
|
|
27302
|
+
offered: boolean(),
|
|
27303
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
27304
|
+
missingSources: array(number().int().positive())
|
|
27305
|
+
});
|
|
27306
|
+
var GridLayoutViewSchema = object({
|
|
27307
|
+
/** The persisted grid row this camera was declared from. */
|
|
27308
|
+
instanceId: string(),
|
|
27309
|
+
deviceId: number().int().nonnegative(),
|
|
27310
|
+
name: string(),
|
|
27311
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
27312
|
+
width: number().int(),
|
|
27313
|
+
height: number().int(),
|
|
27314
|
+
fps: number().int(),
|
|
27315
|
+
cells: array(GridLayoutCellSchema),
|
|
27316
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
27317
|
+
profiles: array(GridProfileOfferSchema)
|
|
27318
|
+
});
|
|
27319
|
+
var GridLayoutPatchSchema = object({
|
|
27320
|
+
deviceId: number().int().nonnegative(),
|
|
27321
|
+
name: string().min(1).max(160).optional(),
|
|
27322
|
+
width: number().int().min(160).max(7680).optional(),
|
|
27323
|
+
height: number().int().min(120).max(4320).optional(),
|
|
27324
|
+
fps: number().int().min(1).max(60).optional(),
|
|
27325
|
+
/**
|
|
27326
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
27327
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
27328
|
+
* for.
|
|
27329
|
+
*/
|
|
27330
|
+
cells: array(GridLayoutCellSchema).max(16)
|
|
27331
|
+
});
|
|
27332
|
+
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
27333
|
+
kind: "mutation",
|
|
27334
|
+
auth: "admin"
|
|
27335
|
+
});
|
|
27336
|
+
/**
|
|
27211
27337
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
27212
27338
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
27213
27339
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32236,6 +32362,18 @@ Object.freeze({
|
|
|
32236
32362
|
addonId: null,
|
|
32237
32363
|
access: "view"
|
|
32238
32364
|
},
|
|
32365
|
+
"cameraGridLayout.getLayout": {
|
|
32366
|
+
capName: "camera-grid-layout",
|
|
32367
|
+
capScope: "device",
|
|
32368
|
+
addonId: null,
|
|
32369
|
+
access: "view"
|
|
32370
|
+
},
|
|
32371
|
+
"cameraGridLayout.saveLayout": {
|
|
32372
|
+
capName: "camera-grid-layout",
|
|
32373
|
+
capScope: "device",
|
|
32374
|
+
addonId: null,
|
|
32375
|
+
access: "create"
|
|
32376
|
+
},
|
|
32239
32377
|
"cameraStreams.getBrokerStreams": {
|
|
32240
32378
|
capName: "camera-streams",
|
|
32241
32379
|
capScope: "device",
|
|
@@ -37935,6 +38073,21 @@ Object.freeze({
|
|
|
37935
38073
|
form: "single",
|
|
37936
38074
|
optional: false
|
|
37937
38075
|
}],
|
|
38076
|
+
"cameraGridLayout.getLayout": [{
|
|
38077
|
+
name: "deviceId",
|
|
38078
|
+
form: "single",
|
|
38079
|
+
optional: false
|
|
38080
|
+
}],
|
|
38081
|
+
"cameraGridLayout.saveLayout": [{
|
|
38082
|
+
name: "cells",
|
|
38083
|
+
form: "object-array",
|
|
38084
|
+
optional: false,
|
|
38085
|
+
itemField: "deviceId"
|
|
38086
|
+
}, {
|
|
38087
|
+
name: "deviceId",
|
|
38088
|
+
form: "single",
|
|
38089
|
+
optional: false
|
|
38090
|
+
}],
|
|
37938
38091
|
"cameraStreams.getBrokerStreams": [{
|
|
37939
38092
|
name: "deviceId",
|
|
37940
38093
|
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-Bs3xPtSh.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,114 @@ 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 — which is exactly where the
|
|
27268
|
+
* framework already puts a widget, when the widget is declared on a CAPABILITY.
|
|
27269
|
+
* `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
|
|
27270
|
+
* all use it): the framework emits the structural section and the widget
|
|
27271
|
+
* self-persists through the cap's own mutations.
|
|
27272
|
+
*
|
|
27273
|
+
* ## Why one addon may implement it
|
|
27274
|
+
*
|
|
27275
|
+
* It is a device-scoped NATIVE cap, registered by the grid camera device
|
|
27276
|
+
* itself. Nothing else declares a composite camera, so nothing else has a
|
|
27277
|
+
* layout — and the device-scoped route means the widget asks THE camera, not
|
|
27278
|
+
* "the camera-grid addon", which is what let the old custom-action pair be
|
|
27279
|
+
* reached only by a caller that already knew the addon id.
|
|
27280
|
+
*
|
|
27281
|
+
* ## The tab
|
|
27282
|
+
*
|
|
27283
|
+
* `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
|
|
27284
|
+
* is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
|
|
27285
|
+
* entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
|
|
27286
|
+
* label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
|
|
27287
|
+
* next to "PTZ").
|
|
27288
|
+
*/
|
|
27289
|
+
/** A rectangle in normalized [0,1] coordinates of whatever contains it. */
|
|
27290
|
+
var GridNormalizedRectSchema = object({
|
|
27291
|
+
x: number().min(0).max(1),
|
|
27292
|
+
y: number().min(0).max(1),
|
|
27293
|
+
width: number().gt(0).max(1),
|
|
27294
|
+
height: number().gt(0).max(1)
|
|
27295
|
+
});
|
|
27296
|
+
/**
|
|
27297
|
+
* One source camera, the part of its picture taken, and where that part lands.
|
|
27298
|
+
*
|
|
27299
|
+
* Both rectangles are NORMALIZED (D519): a source camera can change resolution
|
|
27300
|
+
* — a profile switch, a firmware update, a substream that comes back different
|
|
27301
|
+
* — and a stored PIXEL rectangle would quietly start cutting the wrong region,
|
|
27302
|
+
* which is the class of bug nobody files.
|
|
27303
|
+
*/
|
|
27304
|
+
var GridLayoutCellSchema = object({
|
|
27305
|
+
deviceId: number().int().positive(),
|
|
27306
|
+
/** The part of the SOURCE taken, normalized against the source. */
|
|
27307
|
+
source: GridNormalizedRectSchema,
|
|
27308
|
+
/** Where it lands, normalized against the CANVAS. */
|
|
27309
|
+
cell: GridNormalizedRectSchema
|
|
27310
|
+
});
|
|
27311
|
+
/**
|
|
27312
|
+
* Which profiles this grid can actually compose, and why not.
|
|
27313
|
+
*
|
|
27314
|
+
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
27315
|
+
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
27316
|
+
* the sources, because "this grid has no low" is not a finding — "615 has no
|
|
27317
|
+
* low" is, and it is the one an operator can act on.
|
|
27318
|
+
*/
|
|
27319
|
+
var GridProfileOfferSchema = object({
|
|
27320
|
+
profile: _enum([
|
|
27321
|
+
"high",
|
|
27322
|
+
"mid",
|
|
27323
|
+
"low"
|
|
27324
|
+
]),
|
|
27325
|
+
offered: boolean(),
|
|
27326
|
+
/** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
|
|
27327
|
+
missingSources: array(number().int().positive())
|
|
27328
|
+
});
|
|
27329
|
+
var GridLayoutViewSchema = object({
|
|
27330
|
+
/** The persisted grid row this camera was declared from. */
|
|
27331
|
+
instanceId: string(),
|
|
27332
|
+
deviceId: number().int().nonnegative(),
|
|
27333
|
+
name: string(),
|
|
27334
|
+
/** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
|
|
27335
|
+
width: number().int(),
|
|
27336
|
+
height: number().int(),
|
|
27337
|
+
fps: number().int(),
|
|
27338
|
+
cells: array(GridLayoutCellSchema),
|
|
27339
|
+
/** What the catalog will publish, and what it refuses to. Read-only. */
|
|
27340
|
+
profiles: array(GridProfileOfferSchema)
|
|
27341
|
+
});
|
|
27342
|
+
var GridLayoutPatchSchema = object({
|
|
27343
|
+
deviceId: number().int().nonnegative(),
|
|
27344
|
+
name: string().min(1).max(160).optional(),
|
|
27345
|
+
width: number().int().min(160).max(7680).optional(),
|
|
27346
|
+
height: number().int().min(120).max(4320).optional(),
|
|
27347
|
+
fps: number().int().min(1).max(60).optional(),
|
|
27348
|
+
/**
|
|
27349
|
+
* The whole cell list at once. A per-cell patch would need an ordering the
|
|
27350
|
+
* editor does not have, and a half-applied layout is a picture nobody asked
|
|
27351
|
+
* for.
|
|
27352
|
+
*/
|
|
27353
|
+
cells: array(GridLayoutCellSchema).max(16)
|
|
27354
|
+
});
|
|
27355
|
+
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
|
|
27356
|
+
kind: "mutation",
|
|
27357
|
+
auth: "admin"
|
|
27358
|
+
});
|
|
27359
|
+
/**
|
|
27234
27360
|
* Motion-zones share the same MaskShape vocabulary as privacy-mask — the
|
|
27235
27361
|
* on-camera motion-detection mask is a single `grid` region (a row-major
|
|
27236
27362
|
* boolean cell lattice the camera's onboard VMD evaluates). Composing it as
|
|
@@ -32259,6 +32385,18 @@ Object.freeze({
|
|
|
32259
32385
|
addonId: null,
|
|
32260
32386
|
access: "view"
|
|
32261
32387
|
},
|
|
32388
|
+
"cameraGridLayout.getLayout": {
|
|
32389
|
+
capName: "camera-grid-layout",
|
|
32390
|
+
capScope: "device",
|
|
32391
|
+
addonId: null,
|
|
32392
|
+
access: "view"
|
|
32393
|
+
},
|
|
32394
|
+
"cameraGridLayout.saveLayout": {
|
|
32395
|
+
capName: "camera-grid-layout",
|
|
32396
|
+
capScope: "device",
|
|
32397
|
+
addonId: null,
|
|
32398
|
+
access: "create"
|
|
32399
|
+
},
|
|
32262
32400
|
"cameraStreams.getBrokerStreams": {
|
|
32263
32401
|
capName: "camera-streams",
|
|
32264
32402
|
capScope: "device",
|
|
@@ -37958,6 +38096,21 @@ Object.freeze({
|
|
|
37958
38096
|
form: "single",
|
|
37959
38097
|
optional: false
|
|
37960
38098
|
}],
|
|
38099
|
+
"cameraGridLayout.getLayout": [{
|
|
38100
|
+
name: "deviceId",
|
|
38101
|
+
form: "single",
|
|
38102
|
+
optional: false
|
|
38103
|
+
}],
|
|
38104
|
+
"cameraGridLayout.saveLayout": [{
|
|
38105
|
+
name: "cells",
|
|
38106
|
+
form: "object-array",
|
|
38107
|
+
optional: false,
|
|
38108
|
+
itemField: "deviceId"
|
|
38109
|
+
}, {
|
|
38110
|
+
name: "deviceId",
|
|
38111
|
+
form: "single",
|
|
38112
|
+
optional: false
|
|
38113
|
+
}],
|
|
37961
38114
|
"cameraStreams.getBrokerStreams": [{
|
|
37962
38115
|
name: "deviceId",
|
|
37963
38116
|
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-CNybMYvw.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-Bbtrn8xA.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-CNybMYvw.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-Bbtrn8xA.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