@camstack/addon-provider-onvif 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/addon.js +57 -3
- package/dist/addon.mjs +57 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -16222,6 +16222,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16222
16222
|
"addon-crash-loop",
|
|
16223
16223
|
"addon-update-available",
|
|
16224
16224
|
"server-update-available",
|
|
16225
|
+
"wrapper-update-available",
|
|
16225
16226
|
"alarm-triggered",
|
|
16226
16227
|
"alarm-armed",
|
|
16227
16228
|
"alarm-disarmed",
|
|
@@ -21738,6 +21739,53 @@ var ImageContractSchema = object({
|
|
|
21738
21739
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21739
21740
|
message: string()
|
|
21740
21741
|
});
|
|
21742
|
+
/**
|
|
21743
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21744
|
+
* produced it.
|
|
21745
|
+
*
|
|
21746
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21747
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21748
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21749
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21750
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21751
|
+
*/
|
|
21752
|
+
var WrapperIdentitySchema = object({
|
|
21753
|
+
kind: _enum([
|
|
21754
|
+
"docker",
|
|
21755
|
+
"electron",
|
|
21756
|
+
"native",
|
|
21757
|
+
"contradictory",
|
|
21758
|
+
"unknown"
|
|
21759
|
+
]),
|
|
21760
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21761
|
+
evidence: array(object({
|
|
21762
|
+
/** Which probe this row reports. */
|
|
21763
|
+
fact: _enum([
|
|
21764
|
+
"dockerenv-file",
|
|
21765
|
+
"proc-1-cgroup",
|
|
21766
|
+
"platform",
|
|
21767
|
+
"electron-app-version-env"
|
|
21768
|
+
]),
|
|
21769
|
+
/**
|
|
21770
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21771
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21772
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21773
|
+
*/
|
|
21774
|
+
mode: _enum(["observed", "declared"]),
|
|
21775
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21776
|
+
holds: boolean(),
|
|
21777
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21778
|
+
detail: string()
|
|
21779
|
+
})),
|
|
21780
|
+
/**
|
|
21781
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21782
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21783
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21784
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21785
|
+
* known there.
|
|
21786
|
+
*/
|
|
21787
|
+
currentVersion: string().nullable()
|
|
21788
|
+
});
|
|
21741
21789
|
var ServerRollbackInfoSchema = object({
|
|
21742
21790
|
/** The version that failed (or was manually rolled back). */
|
|
21743
21791
|
fromVersion: string(),
|
|
@@ -21779,7 +21827,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21779
21827
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21780
21828
|
* version skew: an older provider's payload simply omits it.
|
|
21781
21829
|
*/
|
|
21782
|
-
imageContract: ImageContractSchema.optional()
|
|
21830
|
+
imageContract: ImageContractSchema.optional(),
|
|
21831
|
+
/**
|
|
21832
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21833
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21834
|
+
* absent wrapper is unknown — never `native`.
|
|
21835
|
+
*/
|
|
21836
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21783
21837
|
});
|
|
21784
21838
|
var ServerUpdateCheckResultSchema = object({
|
|
21785
21839
|
packageName: string(),
|
|
@@ -24905,8 +24959,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24905
24959
|
*
|
|
24906
24960
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24907
24961
|
* "every camera". A request for no devices is a request, not an
|
|
24908
|
-
* omission; same contract as `deviceManager.
|
|
24909
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24962
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24963
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24910
24964
|
*
|
|
24911
24965
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24912
24966
|
*/
|
package/dist/addon.mjs
CHANGED
|
@@ -16223,6 +16223,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16223
16223
|
"addon-crash-loop",
|
|
16224
16224
|
"addon-update-available",
|
|
16225
16225
|
"server-update-available",
|
|
16226
|
+
"wrapper-update-available",
|
|
16226
16227
|
"alarm-triggered",
|
|
16227
16228
|
"alarm-armed",
|
|
16228
16229
|
"alarm-disarmed",
|
|
@@ -21739,6 +21740,53 @@ var ImageContractSchema = object({
|
|
|
21739
21740
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21740
21741
|
message: string()
|
|
21741
21742
|
});
|
|
21743
|
+
/**
|
|
21744
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21745
|
+
* produced it.
|
|
21746
|
+
*
|
|
21747
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21748
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21749
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21750
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21751
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21752
|
+
*/
|
|
21753
|
+
var WrapperIdentitySchema = object({
|
|
21754
|
+
kind: _enum([
|
|
21755
|
+
"docker",
|
|
21756
|
+
"electron",
|
|
21757
|
+
"native",
|
|
21758
|
+
"contradictory",
|
|
21759
|
+
"unknown"
|
|
21760
|
+
]),
|
|
21761
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21762
|
+
evidence: array(object({
|
|
21763
|
+
/** Which probe this row reports. */
|
|
21764
|
+
fact: _enum([
|
|
21765
|
+
"dockerenv-file",
|
|
21766
|
+
"proc-1-cgroup",
|
|
21767
|
+
"platform",
|
|
21768
|
+
"electron-app-version-env"
|
|
21769
|
+
]),
|
|
21770
|
+
/**
|
|
21771
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21772
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21773
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21774
|
+
*/
|
|
21775
|
+
mode: _enum(["observed", "declared"]),
|
|
21776
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21777
|
+
holds: boolean(),
|
|
21778
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21779
|
+
detail: string()
|
|
21780
|
+
})),
|
|
21781
|
+
/**
|
|
21782
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21783
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21784
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21785
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21786
|
+
* known there.
|
|
21787
|
+
*/
|
|
21788
|
+
currentVersion: string().nullable()
|
|
21789
|
+
});
|
|
21742
21790
|
var ServerRollbackInfoSchema = object({
|
|
21743
21791
|
/** The version that failed (or was manually rolled back). */
|
|
21744
21792
|
fromVersion: string(),
|
|
@@ -21780,7 +21828,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21780
21828
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21781
21829
|
* version skew: an older provider's payload simply omits it.
|
|
21782
21830
|
*/
|
|
21783
|
-
imageContract: ImageContractSchema.optional()
|
|
21831
|
+
imageContract: ImageContractSchema.optional(),
|
|
21832
|
+
/**
|
|
21833
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21834
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21835
|
+
* absent wrapper is unknown — never `native`.
|
|
21836
|
+
*/
|
|
21837
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21784
21838
|
});
|
|
21785
21839
|
var ServerUpdateCheckResultSchema = object({
|
|
21786
21840
|
packageName: string(),
|
|
@@ -24906,8 +24960,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24906
24960
|
*
|
|
24907
24961
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24908
24962
|
* "every camera". A request for no devices is a request, not an
|
|
24909
|
-
* omission; same contract as `deviceManager.
|
|
24910
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24963
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24964
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24911
24965
|
*
|
|
24912
24966
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24913
24967
|
*/
|