@camstack/addon-remote-storage 1.1.16 → 1.1.17
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-DAnfUk9-.js → shared-CWESrfMQ.js} +38 -1
- package/dist/{shared-adXJdGLb.mjs → shared-D9Aw9Suk.mjs} +38 -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-CWESrfMQ.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-D9Aw9Suk.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-CWESrfMQ.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-D9Aw9Suk.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
|
|
@@ -14905,7 +14905,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14905
14905
|
});
|
|
14906
14906
|
var AgentPipelineSettingsSchema = object({
|
|
14907
14907
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14908
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14908
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14909
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14910
|
+
detectWeight: number().positive().optional(),
|
|
14911
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14912
|
+
detect: boolean().optional(),
|
|
14913
|
+
/** Node is eligible to host decoder sessions. */
|
|
14914
|
+
decode: boolean().optional(),
|
|
14915
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
14916
|
+
audio: boolean().optional(),
|
|
14917
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
14918
|
+
ingest: boolean().optional()
|
|
14909
14919
|
});
|
|
14910
14920
|
var CameraPipelineForAgentSchema = object({
|
|
14911
14921
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15211,6 +15221,21 @@ method(object({
|
|
|
15211
15221
|
}), object({ success: literal(true) }), {
|
|
15212
15222
|
kind: "mutation",
|
|
15213
15223
|
auth: "admin"
|
|
15224
|
+
}), method(object({
|
|
15225
|
+
agentNodeId: string(),
|
|
15226
|
+
detectWeight: number().positive().nullable()
|
|
15227
|
+
}), object({ success: literal(true) }), {
|
|
15228
|
+
kind: "mutation",
|
|
15229
|
+
auth: "admin"
|
|
15230
|
+
}), method(object({
|
|
15231
|
+
agentNodeId: string(),
|
|
15232
|
+
detect: boolean().nullable().optional(),
|
|
15233
|
+
decode: boolean().nullable().optional(),
|
|
15234
|
+
audio: boolean().nullable().optional(),
|
|
15235
|
+
ingest: boolean().nullable().optional()
|
|
15236
|
+
}), object({ success: literal(true) }), {
|
|
15237
|
+
kind: "mutation",
|
|
15238
|
+
auth: "admin"
|
|
15214
15239
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15215
15240
|
deviceId: number(),
|
|
15216
15241
|
addonId: string(),
|
|
@@ -21115,6 +21140,18 @@ Object.freeze({
|
|
|
21115
21140
|
addonId: null,
|
|
21116
21141
|
access: "create"
|
|
21117
21142
|
},
|
|
21143
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21144
|
+
capName: "pipeline-orchestrator",
|
|
21145
|
+
capScope: "system",
|
|
21146
|
+
addonId: null,
|
|
21147
|
+
access: "create"
|
|
21148
|
+
},
|
|
21149
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21150
|
+
capName: "pipeline-orchestrator",
|
|
21151
|
+
capScope: "system",
|
|
21152
|
+
addonId: null,
|
|
21153
|
+
access: "create"
|
|
21154
|
+
},
|
|
21118
21155
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21119
21156
|
capName: "pipeline-orchestrator",
|
|
21120
21157
|
capScope: "system",
|
|
@@ -14882,7 +14882,17 @@ var AgentAddonConfigSchema = object({
|
|
|
14882
14882
|
});
|
|
14883
14883
|
var AgentPipelineSettingsSchema = object({
|
|
14884
14884
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
14885
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
14885
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
14886
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
14887
|
+
detectWeight: number().positive().optional(),
|
|
14888
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
14889
|
+
detect: boolean().optional(),
|
|
14890
|
+
/** Node is eligible to host decoder sessions. */
|
|
14891
|
+
decode: boolean().optional(),
|
|
14892
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
14893
|
+
audio: boolean().optional(),
|
|
14894
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
14895
|
+
ingest: boolean().optional()
|
|
14886
14896
|
});
|
|
14887
14897
|
var CameraPipelineForAgentSchema = object({
|
|
14888
14898
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15188,6 +15198,21 @@ method(object({
|
|
|
15188
15198
|
}), object({ success: literal(true) }), {
|
|
15189
15199
|
kind: "mutation",
|
|
15190
15200
|
auth: "admin"
|
|
15201
|
+
}), method(object({
|
|
15202
|
+
agentNodeId: string(),
|
|
15203
|
+
detectWeight: number().positive().nullable()
|
|
15204
|
+
}), object({ success: literal(true) }), {
|
|
15205
|
+
kind: "mutation",
|
|
15206
|
+
auth: "admin"
|
|
15207
|
+
}), method(object({
|
|
15208
|
+
agentNodeId: string(),
|
|
15209
|
+
detect: boolean().nullable().optional(),
|
|
15210
|
+
decode: boolean().nullable().optional(),
|
|
15211
|
+
audio: boolean().nullable().optional(),
|
|
15212
|
+
ingest: boolean().nullable().optional()
|
|
15213
|
+
}), object({ success: literal(true) }), {
|
|
15214
|
+
kind: "mutation",
|
|
15215
|
+
auth: "admin"
|
|
15191
15216
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15192
15217
|
deviceId: number(),
|
|
15193
15218
|
addonId: string(),
|
|
@@ -21092,6 +21117,18 @@ Object.freeze({
|
|
|
21092
21117
|
addonId: null,
|
|
21093
21118
|
access: "create"
|
|
21094
21119
|
},
|
|
21120
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21121
|
+
capName: "pipeline-orchestrator",
|
|
21122
|
+
capScope: "system",
|
|
21123
|
+
addonId: null,
|
|
21124
|
+
access: "create"
|
|
21125
|
+
},
|
|
21126
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21127
|
+
capName: "pipeline-orchestrator",
|
|
21128
|
+
capScope: "system",
|
|
21129
|
+
addonId: null,
|
|
21130
|
+
access: "create"
|
|
21131
|
+
},
|
|
21095
21132
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21096
21133
|
capName: "pipeline-orchestrator",
|
|
21097
21134
|
capScope: "system",
|
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-CWESrfMQ.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-D9Aw9Suk.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