@camstack/addon-remote-storage 1.2.85 → 1.2.86
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-BCR8fzfr.js → shared-4AFxH3Ch.js} +41 -1
- package/dist/{shared-ffok9GMz.mjs → shared-C1Q2-FHB.mjs} +41 -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-4AFxH3Ch.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-C1Q2-FHB.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-4AFxH3Ch.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-C1Q2-FHB.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
|
|
@@ -7635,6 +7635,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7635
7635
|
/** Unix ms when the group was composed server-side. */
|
|
7636
7636
|
fetchedAt: number()
|
|
7637
7637
|
});
|
|
7638
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7639
|
+
* they were looking at, after the track itself is gone. */
|
|
7640
|
+
var ArchivedDebugNoteSchema = object({
|
|
7641
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7642
|
+
* same sentence about the same track lands on the row already there. */
|
|
7643
|
+
id: string(),
|
|
7644
|
+
/** The operator's own words, verbatim. */
|
|
7645
|
+
note: string(),
|
|
7646
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7647
|
+
deviceId: number().int(),
|
|
7648
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7649
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7650
|
+
sourceTrackId: string(),
|
|
7651
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7652
|
+
archivedAt: number().int(),
|
|
7653
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7654
|
+
trackStartedAt: number().int().nullable(),
|
|
7655
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7656
|
+
trackClass: string().nullable(),
|
|
7657
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7658
|
+
trackLabel: string().nullable()
|
|
7659
|
+
});
|
|
7660
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7661
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7662
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7663
|
+
deviceId: number().int().optional(),
|
|
7664
|
+
/** Max rows returned, newest-first. */
|
|
7665
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7666
|
+
});
|
|
7638
7667
|
/**
|
|
7639
7668
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7640
7669
|
* recordings and events management surfaces.
|
|
@@ -19730,7 +19759,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19730
19759
|
deviceId: number(),
|
|
19731
19760
|
trackId: string(),
|
|
19732
19761
|
flags: TrackFlagsPatchSchema
|
|
19733
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
19762
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
19734
19763
|
kind: "query",
|
|
19735
19764
|
auth: "admin"
|
|
19736
19765
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -33188,6 +33217,12 @@ Object.freeze({
|
|
|
33188
33217
|
addonId: null,
|
|
33189
33218
|
access: "view"
|
|
33190
33219
|
},
|
|
33220
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
33221
|
+
capName: "pipeline-analytics",
|
|
33222
|
+
capScope: "device",
|
|
33223
|
+
addonId: null,
|
|
33224
|
+
access: "view"
|
|
33225
|
+
},
|
|
33191
33226
|
"pipelineAnalytics.listEventKinds": {
|
|
33192
33227
|
capName: "pipeline-analytics",
|
|
33193
33228
|
capScope: "device",
|
|
@@ -36975,6 +37010,11 @@ Object.freeze({
|
|
|
36975
37010
|
form: "array",
|
|
36976
37011
|
optional: true
|
|
36977
37012
|
}],
|
|
37013
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
37014
|
+
name: "deviceId",
|
|
37015
|
+
form: "single",
|
|
37016
|
+
optional: true
|
|
37017
|
+
}],
|
|
36978
37018
|
"pipelineAnalytics.listEventKinds": [{
|
|
36979
37019
|
name: "deviceId",
|
|
36980
37020
|
form: "single",
|
|
@@ -7612,6 +7612,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7612
7612
|
/** Unix ms when the group was composed server-side. */
|
|
7613
7613
|
fetchedAt: number()
|
|
7614
7614
|
});
|
|
7615
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7616
|
+
* they were looking at, after the track itself is gone. */
|
|
7617
|
+
var ArchivedDebugNoteSchema = object({
|
|
7618
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7619
|
+
* same sentence about the same track lands on the row already there. */
|
|
7620
|
+
id: string(),
|
|
7621
|
+
/** The operator's own words, verbatim. */
|
|
7622
|
+
note: string(),
|
|
7623
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7624
|
+
deviceId: number().int(),
|
|
7625
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7626
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7627
|
+
sourceTrackId: string(),
|
|
7628
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7629
|
+
archivedAt: number().int(),
|
|
7630
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7631
|
+
trackStartedAt: number().int().nullable(),
|
|
7632
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7633
|
+
trackClass: string().nullable(),
|
|
7634
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7635
|
+
trackLabel: string().nullable()
|
|
7636
|
+
});
|
|
7637
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7638
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7639
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7640
|
+
deviceId: number().int().optional(),
|
|
7641
|
+
/** Max rows returned, newest-first. */
|
|
7642
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7643
|
+
});
|
|
7615
7644
|
/**
|
|
7616
7645
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7617
7646
|
* recordings and events management surfaces.
|
|
@@ -19707,7 +19736,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19707
19736
|
deviceId: number(),
|
|
19708
19737
|
trackId: string(),
|
|
19709
19738
|
flags: TrackFlagsPatchSchema
|
|
19710
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
19739
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
19711
19740
|
kind: "query",
|
|
19712
19741
|
auth: "admin"
|
|
19713
19742
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -33165,6 +33194,12 @@ Object.freeze({
|
|
|
33165
33194
|
addonId: null,
|
|
33166
33195
|
access: "view"
|
|
33167
33196
|
},
|
|
33197
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
33198
|
+
capName: "pipeline-analytics",
|
|
33199
|
+
capScope: "device",
|
|
33200
|
+
addonId: null,
|
|
33201
|
+
access: "view"
|
|
33202
|
+
},
|
|
33168
33203
|
"pipelineAnalytics.listEventKinds": {
|
|
33169
33204
|
capName: "pipeline-analytics",
|
|
33170
33205
|
capScope: "device",
|
|
@@ -36952,6 +36987,11 @@ Object.freeze({
|
|
|
36952
36987
|
form: "array",
|
|
36953
36988
|
optional: true
|
|
36954
36989
|
}],
|
|
36990
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
36991
|
+
name: "deviceId",
|
|
36992
|
+
form: "single",
|
|
36993
|
+
optional: true
|
|
36994
|
+
}],
|
|
36955
36995
|
"pipelineAnalytics.listEventKinds": [{
|
|
36956
36996
|
name: "deviceId",
|
|
36957
36997
|
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-4AFxH3Ch.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-C1Q2-FHB.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-4AFxH3Ch.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-C1Q2-FHB.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