@camstack/addon-remote-storage 1.2.92 → 1.2.94
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-Cle4oyGQ.mjs → shared-BYRTGLQ5.mjs} +57 -3
- package/dist/{shared-cpT4iCZr.js → shared-Bw28dZgY.js} +57 -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-Bw28dZgY.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-BYRTGLQ5.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-Bw28dZgY.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-BYRTGLQ5.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
|
|
@@ -16127,6 +16127,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16127
16127
|
"addon-crash-loop",
|
|
16128
16128
|
"addon-update-available",
|
|
16129
16129
|
"server-update-available",
|
|
16130
|
+
"wrapper-update-available",
|
|
16130
16131
|
"alarm-triggered",
|
|
16131
16132
|
"alarm-armed",
|
|
16132
16133
|
"alarm-disarmed",
|
|
@@ -21643,6 +21644,53 @@ var ImageContractSchema = object({
|
|
|
21643
21644
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21644
21645
|
message: string()
|
|
21645
21646
|
});
|
|
21647
|
+
/**
|
|
21648
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21649
|
+
* produced it.
|
|
21650
|
+
*
|
|
21651
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21652
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21653
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21654
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21655
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21656
|
+
*/
|
|
21657
|
+
var WrapperIdentitySchema = object({
|
|
21658
|
+
kind: _enum([
|
|
21659
|
+
"docker",
|
|
21660
|
+
"electron",
|
|
21661
|
+
"native",
|
|
21662
|
+
"contradictory",
|
|
21663
|
+
"unknown"
|
|
21664
|
+
]),
|
|
21665
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21666
|
+
evidence: array(object({
|
|
21667
|
+
/** Which probe this row reports. */
|
|
21668
|
+
fact: _enum([
|
|
21669
|
+
"dockerenv-file",
|
|
21670
|
+
"proc-1-cgroup",
|
|
21671
|
+
"platform",
|
|
21672
|
+
"electron-app-version-env"
|
|
21673
|
+
]),
|
|
21674
|
+
/**
|
|
21675
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21676
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21677
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21678
|
+
*/
|
|
21679
|
+
mode: _enum(["observed", "declared"]),
|
|
21680
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21681
|
+
holds: boolean(),
|
|
21682
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21683
|
+
detail: string()
|
|
21684
|
+
})),
|
|
21685
|
+
/**
|
|
21686
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21687
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21688
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21689
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21690
|
+
* known there.
|
|
21691
|
+
*/
|
|
21692
|
+
currentVersion: string().nullable()
|
|
21693
|
+
});
|
|
21646
21694
|
var ServerRollbackInfoSchema = object({
|
|
21647
21695
|
/** The version that failed (or was manually rolled back). */
|
|
21648
21696
|
fromVersion: string(),
|
|
@@ -21684,7 +21732,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21684
21732
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21685
21733
|
* version skew: an older provider's payload simply omits it.
|
|
21686
21734
|
*/
|
|
21687
|
-
imageContract: ImageContractSchema.optional()
|
|
21735
|
+
imageContract: ImageContractSchema.optional(),
|
|
21736
|
+
/**
|
|
21737
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21738
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21739
|
+
* absent wrapper is unknown — never `native`.
|
|
21740
|
+
*/
|
|
21741
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21688
21742
|
});
|
|
21689
21743
|
var ServerUpdateCheckResultSchema = object({
|
|
21690
21744
|
packageName: string(),
|
|
@@ -24766,8 +24820,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24766
24820
|
*
|
|
24767
24821
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24768
24822
|
* "every camera". A request for no devices is a request, not an
|
|
24769
|
-
* omission; same contract as `deviceManager.
|
|
24770
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24823
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24824
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24771
24825
|
*
|
|
24772
24826
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24773
24827
|
*/
|
|
@@ -16150,6 +16150,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16150
16150
|
"addon-crash-loop",
|
|
16151
16151
|
"addon-update-available",
|
|
16152
16152
|
"server-update-available",
|
|
16153
|
+
"wrapper-update-available",
|
|
16153
16154
|
"alarm-triggered",
|
|
16154
16155
|
"alarm-armed",
|
|
16155
16156
|
"alarm-disarmed",
|
|
@@ -21666,6 +21667,53 @@ var ImageContractSchema = object({
|
|
|
21666
21667
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21667
21668
|
message: string()
|
|
21668
21669
|
});
|
|
21670
|
+
/**
|
|
21671
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21672
|
+
* produced it.
|
|
21673
|
+
*
|
|
21674
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21675
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21676
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21677
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21678
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21679
|
+
*/
|
|
21680
|
+
var WrapperIdentitySchema = object({
|
|
21681
|
+
kind: _enum([
|
|
21682
|
+
"docker",
|
|
21683
|
+
"electron",
|
|
21684
|
+
"native",
|
|
21685
|
+
"contradictory",
|
|
21686
|
+
"unknown"
|
|
21687
|
+
]),
|
|
21688
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21689
|
+
evidence: array(object({
|
|
21690
|
+
/** Which probe this row reports. */
|
|
21691
|
+
fact: _enum([
|
|
21692
|
+
"dockerenv-file",
|
|
21693
|
+
"proc-1-cgroup",
|
|
21694
|
+
"platform",
|
|
21695
|
+
"electron-app-version-env"
|
|
21696
|
+
]),
|
|
21697
|
+
/**
|
|
21698
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21699
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21700
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21701
|
+
*/
|
|
21702
|
+
mode: _enum(["observed", "declared"]),
|
|
21703
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21704
|
+
holds: boolean(),
|
|
21705
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21706
|
+
detail: string()
|
|
21707
|
+
})),
|
|
21708
|
+
/**
|
|
21709
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21710
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21711
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21712
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21713
|
+
* known there.
|
|
21714
|
+
*/
|
|
21715
|
+
currentVersion: string().nullable()
|
|
21716
|
+
});
|
|
21669
21717
|
var ServerRollbackInfoSchema = object({
|
|
21670
21718
|
/** The version that failed (or was manually rolled back). */
|
|
21671
21719
|
fromVersion: string(),
|
|
@@ -21707,7 +21755,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21707
21755
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21708
21756
|
* version skew: an older provider's payload simply omits it.
|
|
21709
21757
|
*/
|
|
21710
|
-
imageContract: ImageContractSchema.optional()
|
|
21758
|
+
imageContract: ImageContractSchema.optional(),
|
|
21759
|
+
/**
|
|
21760
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21761
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21762
|
+
* absent wrapper is unknown — never `native`.
|
|
21763
|
+
*/
|
|
21764
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21711
21765
|
});
|
|
21712
21766
|
var ServerUpdateCheckResultSchema = object({
|
|
21713
21767
|
packageName: string(),
|
|
@@ -24789,8 +24843,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24789
24843
|
*
|
|
24790
24844
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24791
24845
|
* "every camera". A request for no devices is a request, not an
|
|
24792
|
-
* omission; same contract as `deviceManager.
|
|
24793
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24846
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24847
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24794
24848
|
*
|
|
24795
24849
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24796
24850
|
*/
|
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-Bw28dZgY.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-BYRTGLQ5.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-Bw28dZgY.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-BYRTGLQ5.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