@camstack/addon-remote-storage 1.1.11 → 1.1.13
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-fV3ZB0lu.mjs → shared-DwqiKj85.mjs} +19 -1
- package/dist/{shared-BpumIDGo.js → shared-a5hRX888.js} +19 -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-a5hRX888.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-DwqiKj85.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-a5hRX888.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-DwqiKj85.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
|
|
@@ -7034,7 +7034,21 @@ var StorageLocationDeclarationSchema = object({
|
|
|
7034
7034
|
* slots (e.g. `recordingsLow` → `recordings`) so operators only need to
|
|
7035
7035
|
* configure the primary location.
|
|
7036
7036
|
*/
|
|
7037
|
-
defaultsTo: string().optional()
|
|
7037
|
+
defaultsTo: string().optional(),
|
|
7038
|
+
/**
|
|
7039
|
+
* Which node root the seeded `<id>:default` instance is placed under on a
|
|
7040
|
+
* FRESH install:
|
|
7041
|
+
* - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
|
|
7042
|
+
* the appData volume. Right for small/durable data (backups, logs, models).
|
|
7043
|
+
* - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
|
|
7044
|
+
* env is set, else falls back to the data root. Right for bulky, hot media
|
|
7045
|
+
* (recordings, event media) that should stay off the appData disk.
|
|
7046
|
+
*
|
|
7047
|
+
* Only affects the seeded default's `basePath`; operators can repoint any
|
|
7048
|
+
* location afterwards, and a `defaultsTo` slot inherits its parent's root
|
|
7049
|
+
* regardless of this field. Absent (the common case) is treated as `'data'`.
|
|
7050
|
+
*/
|
|
7051
|
+
defaultRoot: _enum(["data", "media"]).optional()
|
|
7038
7052
|
});
|
|
7039
7053
|
var DecoderStatsSchema = object({
|
|
7040
7054
|
inputFps: number(),
|
|
@@ -7881,6 +7895,10 @@ var RtspRestreamEntrySchema = object({
|
|
|
7881
7895
|
var BrokerRtspClientSchema = object({
|
|
7882
7896
|
sessionId: string(),
|
|
7883
7897
|
remoteAddr: string(),
|
|
7898
|
+
/** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
|
|
7899
|
+
* null/absent when the client sent none. Lets the UI label a consumer by
|
|
7900
|
+
* purpose. Optional so a client built against an older schema stays valid. */
|
|
7901
|
+
userAgent: string().nullish(),
|
|
7884
7902
|
playing: boolean(),
|
|
7885
7903
|
muted: boolean(),
|
|
7886
7904
|
connectedAt: number(),
|
|
@@ -7057,7 +7057,21 @@ var StorageLocationDeclarationSchema = object({
|
|
|
7057
7057
|
* slots (e.g. `recordingsLow` → `recordings`) so operators only need to
|
|
7058
7058
|
* configure the primary location.
|
|
7059
7059
|
*/
|
|
7060
|
-
defaultsTo: string().optional()
|
|
7060
|
+
defaultsTo: string().optional(),
|
|
7061
|
+
/**
|
|
7062
|
+
* Which node root the seeded `<id>:default` instance is placed under on a
|
|
7063
|
+
* FRESH install:
|
|
7064
|
+
* - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
|
|
7065
|
+
* the appData volume. Right for small/durable data (backups, logs, models).
|
|
7066
|
+
* - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
|
|
7067
|
+
* env is set, else falls back to the data root. Right for bulky, hot media
|
|
7068
|
+
* (recordings, event media) that should stay off the appData disk.
|
|
7069
|
+
*
|
|
7070
|
+
* Only affects the seeded default's `basePath`; operators can repoint any
|
|
7071
|
+
* location afterwards, and a `defaultsTo` slot inherits its parent's root
|
|
7072
|
+
* regardless of this field. Absent (the common case) is treated as `'data'`.
|
|
7073
|
+
*/
|
|
7074
|
+
defaultRoot: _enum(["data", "media"]).optional()
|
|
7061
7075
|
});
|
|
7062
7076
|
var DecoderStatsSchema = object({
|
|
7063
7077
|
inputFps: number(),
|
|
@@ -7904,6 +7918,10 @@ var RtspRestreamEntrySchema = object({
|
|
|
7904
7918
|
var BrokerRtspClientSchema = object({
|
|
7905
7919
|
sessionId: string(),
|
|
7906
7920
|
remoteAddr: string(),
|
|
7921
|
+
/** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
|
|
7922
|
+
* null/absent when the client sent none. Lets the UI label a consumer by
|
|
7923
|
+
* purpose. Optional so a client built against an older schema stays valid. */
|
|
7924
|
+
userAgent: string().nullish(),
|
|
7907
7925
|
playing: boolean(),
|
|
7908
7926
|
muted: boolean(),
|
|
7909
7927
|
connectedAt: number(),
|
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-a5hRX888.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-DwqiKj85.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