@camstack/addon-provider-hikvision 1.2.159 → 1.2.161
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 +21 -51
- package/dist/addon.mjs +21 -51
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
|
|
|
5449
5449
|
var ZodFirstPartyTypeKind;
|
|
5450
5450
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5451
5451
|
//#endregion
|
|
5452
|
-
//#region ../types/dist/sleep-
|
|
5452
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5453
5453
|
/**
|
|
5454
5454
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5455
5455
|
* window to float samples (D455).
|
|
@@ -7997,7 +7997,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7997
7997
|
secretPaths: array(string().min(1)).default([]),
|
|
7998
7998
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7999
7999
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8000
|
-
/**
|
|
8000
|
+
/**
|
|
8001
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8002
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8003
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8004
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8005
|
+
* removal still sends it. Never set it.
|
|
8006
|
+
*/
|
|
8001
8007
|
adoptsFrom: string().min(1).optional(),
|
|
8002
8008
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8003
8009
|
transactFamily: string().min(1).optional(),
|
|
@@ -16986,11 +16992,12 @@ var DeclareKindResultSchema = object({
|
|
|
16986
16992
|
kindId: number().int(),
|
|
16987
16993
|
state: RecordKindStateSchema,
|
|
16988
16994
|
createdIndexes: array(string()),
|
|
16989
|
-
/**
|
|
16990
|
-
|
|
16991
|
-
|
|
16992
|
-
|
|
16993
|
-
|
|
16995
|
+
/**
|
|
16996
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16997
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16998
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16999
|
+
*/
|
|
17000
|
+
adoptionPending: _null()
|
|
16994
17001
|
});
|
|
16995
17002
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16996
17003
|
var SecretRefsList = array(string());
|
|
@@ -17163,26 +17170,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17163
17170
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17164
17171
|
owner: string().min(1),
|
|
17165
17172
|
kind: RecordKindNameSchema
|
|
17166
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17167
|
-
owner: string().min(1),
|
|
17168
|
-
kind: RecordKindNameSchema,
|
|
17169
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17170
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17171
|
-
complete: boolean().optional()
|
|
17172
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17173
|
-
kind: "mutation",
|
|
17174
|
-
auth: "admin"
|
|
17175
|
-
}), method(object({
|
|
17176
|
-
collection: string().min(1),
|
|
17177
|
-
cursor: string().optional(),
|
|
17178
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17179
|
-
}), object({
|
|
17180
|
-
rows: array(object({
|
|
17181
|
-
id: string(),
|
|
17182
|
-
data: record(string(), unknown())
|
|
17183
|
-
})),
|
|
17184
|
-
nextCursor: string().nullable()
|
|
17185
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17173
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17186
17174
|
/**
|
|
17187
17175
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17188
17176
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -70674,6 +70662,12 @@ Object.freeze({
|
|
|
70674
70662
|
addonId: null,
|
|
70675
70663
|
access: "view"
|
|
70676
70664
|
},
|
|
70665
|
+
"deviceHistory.queryMany": {
|
|
70666
|
+
capName: "device-history",
|
|
70667
|
+
capScope: "system",
|
|
70668
|
+
addonId: null,
|
|
70669
|
+
access: "view"
|
|
70670
|
+
},
|
|
70677
70671
|
"deviceHistory.queryNode": {
|
|
70678
70672
|
capName: "device-history",
|
|
70679
70673
|
capScope: "system",
|
|
@@ -75894,24 +75888,12 @@ Object.freeze({
|
|
|
75894
75888
|
addonId: null,
|
|
75895
75889
|
access: "create"
|
|
75896
75890
|
},
|
|
75897
|
-
"storageAdmin.adoptRecords": {
|
|
75898
|
-
capName: "storage-admin",
|
|
75899
|
-
capScope: "system",
|
|
75900
|
-
addonId: null,
|
|
75901
|
-
access: "create"
|
|
75902
|
-
},
|
|
75903
75891
|
"storageAdmin.dropCollection": {
|
|
75904
75892
|
capName: "storage-admin",
|
|
75905
75893
|
capScope: "system",
|
|
75906
75894
|
addonId: null,
|
|
75907
75895
|
access: "delete"
|
|
75908
75896
|
},
|
|
75909
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
75910
|
-
capName: "storage-admin",
|
|
75911
|
-
capScope: "system",
|
|
75912
|
-
addonId: null,
|
|
75913
|
-
access: "view"
|
|
75914
|
-
},
|
|
75915
75897
|
"storageAdmin.listKinds": {
|
|
75916
75898
|
capName: "storage-admin",
|
|
75917
75899
|
capScope: "system",
|
|
@@ -75924,12 +75906,6 @@ Object.freeze({
|
|
|
75924
75906
|
addonId: null,
|
|
75925
75907
|
access: "view"
|
|
75926
75908
|
},
|
|
75927
|
-
"storageAdmin.readLegacyCollection": {
|
|
75928
|
-
capName: "storage-admin",
|
|
75929
|
-
capScope: "system",
|
|
75930
|
-
addonId: null,
|
|
75931
|
-
access: "view"
|
|
75932
|
-
},
|
|
75933
75909
|
"storageAdmin.readRecords": {
|
|
75934
75910
|
capName: "storage-admin",
|
|
75935
75911
|
capScope: "system",
|
|
@@ -79962,12 +79938,6 @@ Object.freeze({
|
|
|
79962
79938
|
form: "single",
|
|
79963
79939
|
optional: false
|
|
79964
79940
|
}],
|
|
79965
|
-
"storageAdmin.adoptRecords": [{
|
|
79966
|
-
name: "records",
|
|
79967
|
-
form: "object-array",
|
|
79968
|
-
optional: false,
|
|
79969
|
-
itemField: "deviceId"
|
|
79970
|
-
}],
|
|
79971
79941
|
"storageAdmin.readRecords": [{
|
|
79972
79942
|
name: "deviceId",
|
|
79973
79943
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5428,7 +5428,7 @@ var ZodIssueCode = {
|
|
|
5428
5428
|
var ZodFirstPartyTypeKind;
|
|
5429
5429
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5430
5430
|
//#endregion
|
|
5431
|
-
//#region ../types/dist/sleep-
|
|
5431
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5432
5432
|
/**
|
|
5433
5433
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5434
5434
|
* window to float samples (D455).
|
|
@@ -7976,7 +7976,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7976
7976
|
secretPaths: array(string().min(1)).default([]),
|
|
7977
7977
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7978
7978
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7979
|
-
/**
|
|
7979
|
+
/**
|
|
7980
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7981
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7982
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7983
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7984
|
+
* removal still sends it. Never set it.
|
|
7985
|
+
*/
|
|
7980
7986
|
adoptsFrom: string().min(1).optional(),
|
|
7981
7987
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7982
7988
|
transactFamily: string().min(1).optional(),
|
|
@@ -16965,11 +16971,12 @@ var DeclareKindResultSchema = object({
|
|
|
16965
16971
|
kindId: number().int(),
|
|
16966
16972
|
state: RecordKindStateSchema,
|
|
16967
16973
|
createdIndexes: array(string()),
|
|
16968
|
-
/**
|
|
16969
|
-
|
|
16970
|
-
|
|
16971
|
-
|
|
16972
|
-
|
|
16974
|
+
/**
|
|
16975
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16976
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16977
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16978
|
+
*/
|
|
16979
|
+
adoptionPending: _null()
|
|
16973
16980
|
});
|
|
16974
16981
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16975
16982
|
var SecretRefsList = array(string());
|
|
@@ -17142,26 +17149,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17142
17149
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17143
17150
|
owner: string().min(1),
|
|
17144
17151
|
kind: RecordKindNameSchema
|
|
17145
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17146
|
-
owner: string().min(1),
|
|
17147
|
-
kind: RecordKindNameSchema,
|
|
17148
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17149
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17150
|
-
complete: boolean().optional()
|
|
17151
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17152
|
-
kind: "mutation",
|
|
17153
|
-
auth: "admin"
|
|
17154
|
-
}), method(object({
|
|
17155
|
-
collection: string().min(1),
|
|
17156
|
-
cursor: string().optional(),
|
|
17157
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17158
|
-
}), object({
|
|
17159
|
-
rows: array(object({
|
|
17160
|
-
id: string(),
|
|
17161
|
-
data: record(string(), unknown())
|
|
17162
|
-
})),
|
|
17163
|
-
nextCursor: string().nullable()
|
|
17164
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17152
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17165
17153
|
/**
|
|
17166
17154
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17167
17155
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -70653,6 +70641,12 @@ Object.freeze({
|
|
|
70653
70641
|
addonId: null,
|
|
70654
70642
|
access: "view"
|
|
70655
70643
|
},
|
|
70644
|
+
"deviceHistory.queryMany": {
|
|
70645
|
+
capName: "device-history",
|
|
70646
|
+
capScope: "system",
|
|
70647
|
+
addonId: null,
|
|
70648
|
+
access: "view"
|
|
70649
|
+
},
|
|
70656
70650
|
"deviceHistory.queryNode": {
|
|
70657
70651
|
capName: "device-history",
|
|
70658
70652
|
capScope: "system",
|
|
@@ -75873,24 +75867,12 @@ Object.freeze({
|
|
|
75873
75867
|
addonId: null,
|
|
75874
75868
|
access: "create"
|
|
75875
75869
|
},
|
|
75876
|
-
"storageAdmin.adoptRecords": {
|
|
75877
|
-
capName: "storage-admin",
|
|
75878
|
-
capScope: "system",
|
|
75879
|
-
addonId: null,
|
|
75880
|
-
access: "create"
|
|
75881
|
-
},
|
|
75882
75870
|
"storageAdmin.dropCollection": {
|
|
75883
75871
|
capName: "storage-admin",
|
|
75884
75872
|
capScope: "system",
|
|
75885
75873
|
addonId: null,
|
|
75886
75874
|
access: "delete"
|
|
75887
75875
|
},
|
|
75888
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
75889
|
-
capName: "storage-admin",
|
|
75890
|
-
capScope: "system",
|
|
75891
|
-
addonId: null,
|
|
75892
|
-
access: "view"
|
|
75893
|
-
},
|
|
75894
75876
|
"storageAdmin.listKinds": {
|
|
75895
75877
|
capName: "storage-admin",
|
|
75896
75878
|
capScope: "system",
|
|
@@ -75903,12 +75885,6 @@ Object.freeze({
|
|
|
75903
75885
|
addonId: null,
|
|
75904
75886
|
access: "view"
|
|
75905
75887
|
},
|
|
75906
|
-
"storageAdmin.readLegacyCollection": {
|
|
75907
|
-
capName: "storage-admin",
|
|
75908
|
-
capScope: "system",
|
|
75909
|
-
addonId: null,
|
|
75910
|
-
access: "view"
|
|
75911
|
-
},
|
|
75912
75888
|
"storageAdmin.readRecords": {
|
|
75913
75889
|
capName: "storage-admin",
|
|
75914
75890
|
capScope: "system",
|
|
@@ -79941,12 +79917,6 @@ Object.freeze({
|
|
|
79941
79917
|
form: "single",
|
|
79942
79918
|
optional: false
|
|
79943
79919
|
}],
|
|
79944
|
-
"storageAdmin.adoptRecords": [{
|
|
79945
|
-
name: "records",
|
|
79946
|
-
form: "object-array",
|
|
79947
|
-
optional: false,
|
|
79948
|
-
itemField: "deviceId"
|
|
79949
|
-
}],
|
|
79950
79920
|
"storageAdmin.readRecords": [{
|
|
79951
79921
|
name: "deviceId",
|
|
79952
79922
|
form: "single",
|
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.161",
|
|
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",
|