@camstack/addon-remote-storage 1.2.56 → 1.2.57
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-DpPZpjEi.mjs → shared-SaMdZBGZ.mjs} +30 -3
- package/dist/{shared-BEUEkXEj.js → shared-wn3VaEXo.js} +30 -3
- 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-wn3VaEXo.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-SaMdZBGZ.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-wn3VaEXo.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-SaMdZBGZ.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
|
|
@@ -18826,7 +18826,20 @@ var RecentTracksQueryInput = object({
|
|
|
18826
18826
|
projection: TrackProjectionSchema.optional(),
|
|
18827
18827
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18828
18828
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18829
|
-
includeStationary: boolean().optional()
|
|
18829
|
+
includeStationary: boolean().optional(),
|
|
18830
|
+
/**
|
|
18831
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18832
|
+
*
|
|
18833
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18834
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18835
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18836
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18837
|
+
*
|
|
18838
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18839
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18840
|
+
* exact one.
|
|
18841
|
+
*/
|
|
18842
|
+
classes: array(string()).optional()
|
|
18830
18843
|
});
|
|
18831
18844
|
var RecentTracksPageSchema = object({
|
|
18832
18845
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22924,8 +22937,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22924
22937
|
* threshold.
|
|
22925
22938
|
*/
|
|
22926
22939
|
var BatteryStatusSchema = object({
|
|
22927
|
-
/**
|
|
22928
|
-
|
|
22940
|
+
/**
|
|
22941
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22942
|
+
* provider has registered the capability but no reading has landed.
|
|
22943
|
+
*
|
|
22944
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22945
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22946
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22947
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22948
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22949
|
+
* reading the difference is an alarm.
|
|
22950
|
+
*
|
|
22951
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22952
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22953
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22954
|
+
*/
|
|
22955
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22929
22956
|
/**
|
|
22930
22957
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22931
22958
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -18849,7 +18849,20 @@ var RecentTracksQueryInput = object({
|
|
|
18849
18849
|
projection: TrackProjectionSchema.optional(),
|
|
18850
18850
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18851
18851
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18852
|
-
includeStationary: boolean().optional()
|
|
18852
|
+
includeStationary: boolean().optional(),
|
|
18853
|
+
/**
|
|
18854
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18855
|
+
*
|
|
18856
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18857
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18858
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18859
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18860
|
+
*
|
|
18861
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18862
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18863
|
+
* exact one.
|
|
18864
|
+
*/
|
|
18865
|
+
classes: array(string()).optional()
|
|
18853
18866
|
});
|
|
18854
18867
|
var RecentTracksPageSchema = object({
|
|
18855
18868
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -22947,8 +22960,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
22947
22960
|
* threshold.
|
|
22948
22961
|
*/
|
|
22949
22962
|
var BatteryStatusSchema = object({
|
|
22950
|
-
/**
|
|
22951
|
-
|
|
22963
|
+
/**
|
|
22964
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
22965
|
+
* provider has registered the capability but no reading has landed.
|
|
22966
|
+
*
|
|
22967
|
+
* It is nullable because it was not, and the only value a provider could
|
|
22968
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
22969
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
22970
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
22971
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
22972
|
+
* reading the difference is an alarm.
|
|
22973
|
+
*
|
|
22974
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
22975
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
22976
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
22977
|
+
*/
|
|
22978
|
+
percentage: number().min(0).max(100).nullable(),
|
|
22952
22979
|
/**
|
|
22953
22980
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
22954
22981
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
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-wn3VaEXo.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-SaMdZBGZ.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-wn3VaEXo.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-SaMdZBGZ.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