@camstack/addon-provider-hikvision 1.2.101 → 1.2.103
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
|
@@ -16777,6 +16777,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16777
16777
|
"addon-crash-loop",
|
|
16778
16778
|
"addon-update-available",
|
|
16779
16779
|
"server-update-available",
|
|
16780
|
+
"wrapper-update-available",
|
|
16780
16781
|
"alarm-triggered",
|
|
16781
16782
|
"alarm-armed",
|
|
16782
16783
|
"alarm-disarmed",
|
|
@@ -22333,6 +22334,53 @@ var ImageContractSchema = object({
|
|
|
22333
22334
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22334
22335
|
message: string()
|
|
22335
22336
|
});
|
|
22337
|
+
/**
|
|
22338
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22339
|
+
* produced it.
|
|
22340
|
+
*
|
|
22341
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22342
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22343
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22344
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22345
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22346
|
+
*/
|
|
22347
|
+
var WrapperIdentitySchema = object({
|
|
22348
|
+
kind: _enum([
|
|
22349
|
+
"docker",
|
|
22350
|
+
"electron",
|
|
22351
|
+
"native",
|
|
22352
|
+
"contradictory",
|
|
22353
|
+
"unknown"
|
|
22354
|
+
]),
|
|
22355
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22356
|
+
evidence: array(object({
|
|
22357
|
+
/** Which probe this row reports. */
|
|
22358
|
+
fact: _enum([
|
|
22359
|
+
"dockerenv-file",
|
|
22360
|
+
"proc-1-cgroup",
|
|
22361
|
+
"platform",
|
|
22362
|
+
"electron-app-version-env"
|
|
22363
|
+
]),
|
|
22364
|
+
/**
|
|
22365
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22366
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22367
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22368
|
+
*/
|
|
22369
|
+
mode: _enum(["observed", "declared"]),
|
|
22370
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22371
|
+
holds: boolean(),
|
|
22372
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22373
|
+
detail: string()
|
|
22374
|
+
})),
|
|
22375
|
+
/**
|
|
22376
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22377
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22378
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22379
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22380
|
+
* known there.
|
|
22381
|
+
*/
|
|
22382
|
+
currentVersion: string().nullable()
|
|
22383
|
+
});
|
|
22336
22384
|
var ServerRollbackInfoSchema = object({
|
|
22337
22385
|
/** The version that failed (or was manually rolled back). */
|
|
22338
22386
|
fromVersion: string(),
|
|
@@ -22374,7 +22422,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22374
22422
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22375
22423
|
* version skew: an older provider's payload simply omits it.
|
|
22376
22424
|
*/
|
|
22377
|
-
imageContract: ImageContractSchema.optional()
|
|
22425
|
+
imageContract: ImageContractSchema.optional(),
|
|
22426
|
+
/**
|
|
22427
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22428
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22429
|
+
* absent wrapper is unknown — never `native`.
|
|
22430
|
+
*/
|
|
22431
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22378
22432
|
});
|
|
22379
22433
|
var ServerUpdateCheckResultSchema = object({
|
|
22380
22434
|
packageName: string(),
|
|
@@ -26230,8 +26284,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26230
26284
|
*
|
|
26231
26285
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
26232
26286
|
* "every camera". A request for no devices is a request, not an
|
|
26233
|
-
* omission; same contract as `deviceManager.
|
|
26234
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26287
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26288
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
26235
26289
|
*
|
|
26236
26290
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
26237
26291
|
*/
|
package/dist/addon.mjs
CHANGED
|
@@ -16778,6 +16778,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16778
16778
|
"addon-crash-loop",
|
|
16779
16779
|
"addon-update-available",
|
|
16780
16780
|
"server-update-available",
|
|
16781
|
+
"wrapper-update-available",
|
|
16781
16782
|
"alarm-triggered",
|
|
16782
16783
|
"alarm-armed",
|
|
16783
16784
|
"alarm-disarmed",
|
|
@@ -22334,6 +22335,53 @@ var ImageContractSchema = object({
|
|
|
22334
22335
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22335
22336
|
message: string()
|
|
22336
22337
|
});
|
|
22338
|
+
/**
|
|
22339
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22340
|
+
* produced it.
|
|
22341
|
+
*
|
|
22342
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22343
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22344
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22345
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22346
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22347
|
+
*/
|
|
22348
|
+
var WrapperIdentitySchema = object({
|
|
22349
|
+
kind: _enum([
|
|
22350
|
+
"docker",
|
|
22351
|
+
"electron",
|
|
22352
|
+
"native",
|
|
22353
|
+
"contradictory",
|
|
22354
|
+
"unknown"
|
|
22355
|
+
]),
|
|
22356
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22357
|
+
evidence: array(object({
|
|
22358
|
+
/** Which probe this row reports. */
|
|
22359
|
+
fact: _enum([
|
|
22360
|
+
"dockerenv-file",
|
|
22361
|
+
"proc-1-cgroup",
|
|
22362
|
+
"platform",
|
|
22363
|
+
"electron-app-version-env"
|
|
22364
|
+
]),
|
|
22365
|
+
/**
|
|
22366
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22367
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22368
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22369
|
+
*/
|
|
22370
|
+
mode: _enum(["observed", "declared"]),
|
|
22371
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22372
|
+
holds: boolean(),
|
|
22373
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22374
|
+
detail: string()
|
|
22375
|
+
})),
|
|
22376
|
+
/**
|
|
22377
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22378
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22379
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22380
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22381
|
+
* known there.
|
|
22382
|
+
*/
|
|
22383
|
+
currentVersion: string().nullable()
|
|
22384
|
+
});
|
|
22337
22385
|
var ServerRollbackInfoSchema = object({
|
|
22338
22386
|
/** The version that failed (or was manually rolled back). */
|
|
22339
22387
|
fromVersion: string(),
|
|
@@ -22375,7 +22423,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22375
22423
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22376
22424
|
* version skew: an older provider's payload simply omits it.
|
|
22377
22425
|
*/
|
|
22378
|
-
imageContract: ImageContractSchema.optional()
|
|
22426
|
+
imageContract: ImageContractSchema.optional(),
|
|
22427
|
+
/**
|
|
22428
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22429
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22430
|
+
* absent wrapper is unknown — never `native`.
|
|
22431
|
+
*/
|
|
22432
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22379
22433
|
});
|
|
22380
22434
|
var ServerUpdateCheckResultSchema = object({
|
|
22381
22435
|
packageName: string(),
|
|
@@ -26231,8 +26285,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26231
26285
|
*
|
|
26232
26286
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
26233
26287
|
* "every camera". A request for no devices is a request, not an
|
|
26234
|
-
* omission; same contract as `deviceManager.
|
|
26235
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26288
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26289
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
26236
26290
|
*
|
|
26237
26291
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
26238
26292
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.103",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|