@camstack/addon-provider-onvif 1.2.134 → 1.2.136
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 +37 -52
- package/dist/addon.mjs +37 -52
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5417,7 +5417,7 @@ var ZodIssueCode = {
|
|
|
5417
5417
|
var ZodFirstPartyTypeKind;
|
|
5418
5418
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5419
5419
|
//#endregion
|
|
5420
|
-
//#region ../types/dist/sleep-
|
|
5420
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5421
5421
|
/**
|
|
5422
5422
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5423
5423
|
* window to float samples (D455).
|
|
@@ -7898,7 +7898,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7898
7898
|
secretPaths: array(string().min(1)).default([]),
|
|
7899
7899
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7900
7900
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7901
|
-
/**
|
|
7901
|
+
/**
|
|
7902
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7903
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7904
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7905
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7906
|
+
* removal still sends it. Never set it.
|
|
7907
|
+
*/
|
|
7902
7908
|
adoptsFrom: string().min(1).optional(),
|
|
7903
7909
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7904
7910
|
transactFamily: string().min(1).optional(),
|
|
@@ -16460,11 +16466,12 @@ var DeclareKindResultSchema = object({
|
|
|
16460
16466
|
kindId: number().int(),
|
|
16461
16467
|
state: RecordKindStateSchema,
|
|
16462
16468
|
createdIndexes: array(string()),
|
|
16463
|
-
/**
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16469
|
+
/**
|
|
16470
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16471
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16472
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16473
|
+
*/
|
|
16474
|
+
adoptionPending: _null()
|
|
16468
16475
|
});
|
|
16469
16476
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16470
16477
|
var SecretRefsList = array(string());
|
|
@@ -16637,26 +16644,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16637
16644
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16638
16645
|
owner: string().min(1),
|
|
16639
16646
|
kind: RecordKindNameSchema
|
|
16640
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16641
|
-
owner: string().min(1),
|
|
16642
|
-
kind: RecordKindNameSchema,
|
|
16643
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16644
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16645
|
-
complete: boolean().optional()
|
|
16646
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16647
|
-
kind: "mutation",
|
|
16648
|
-
auth: "admin"
|
|
16649
|
-
}), method(object({
|
|
16650
|
-
collection: string().min(1),
|
|
16651
|
-
cursor: string().optional(),
|
|
16652
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16653
|
-
}), object({
|
|
16654
|
-
rows: array(object({
|
|
16655
|
-
id: string(),
|
|
16656
|
-
data: record(string(), unknown())
|
|
16657
|
-
})),
|
|
16658
|
-
nextCursor: string().nullable()
|
|
16659
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16647
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16660
16648
|
/**
|
|
16661
16649
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16662
16650
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58116,9 +58104,24 @@ var NpuInfoSchema = object({
|
|
|
58116
58104
|
name: string().optional(),
|
|
58117
58105
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58118
58106
|
});
|
|
58107
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58119
58108
|
var CoralInfoSchema = object({
|
|
58120
58109
|
type: literal("coral-edgetpu"),
|
|
58121
|
-
bus
|
|
58110
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58111
|
+
bus: string().optional(),
|
|
58112
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58113
|
+
count: number().int().nonnegative().optional(),
|
|
58114
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58115
|
+
units: array(object({
|
|
58116
|
+
bus: CoralBusSchema,
|
|
58117
|
+
count: number().int().nonnegative()
|
|
58118
|
+
})).readonly().optional(),
|
|
58119
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58120
|
+
unavailable: array(object({
|
|
58121
|
+
bus: CoralBusSchema,
|
|
58122
|
+
count: number().int().nonnegative(),
|
|
58123
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58124
|
+
})).readonly().optional()
|
|
58122
58125
|
});
|
|
58123
58126
|
var HardwareInfoSchema = object({
|
|
58124
58127
|
platform: HardwarePlatformSchema,
|
|
@@ -65035,6 +65038,12 @@ Object.freeze({
|
|
|
65035
65038
|
addonId: null,
|
|
65036
65039
|
access: "view"
|
|
65037
65040
|
},
|
|
65041
|
+
"deviceHistory.queryMany": {
|
|
65042
|
+
capName: "device-history",
|
|
65043
|
+
capScope: "system",
|
|
65044
|
+
addonId: null,
|
|
65045
|
+
access: "view"
|
|
65046
|
+
},
|
|
65038
65047
|
"deviceHistory.queryNode": {
|
|
65039
65048
|
capName: "device-history",
|
|
65040
65049
|
capScope: "system",
|
|
@@ -70255,24 +70264,12 @@ Object.freeze({
|
|
|
70255
70264
|
addonId: null,
|
|
70256
70265
|
access: "create"
|
|
70257
70266
|
},
|
|
70258
|
-
"storageAdmin.adoptRecords": {
|
|
70259
|
-
capName: "storage-admin",
|
|
70260
|
-
capScope: "system",
|
|
70261
|
-
addonId: null,
|
|
70262
|
-
access: "create"
|
|
70263
|
-
},
|
|
70264
70267
|
"storageAdmin.dropCollection": {
|
|
70265
70268
|
capName: "storage-admin",
|
|
70266
70269
|
capScope: "system",
|
|
70267
70270
|
addonId: null,
|
|
70268
70271
|
access: "delete"
|
|
70269
70272
|
},
|
|
70270
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
70271
|
-
capName: "storage-admin",
|
|
70272
|
-
capScope: "system",
|
|
70273
|
-
addonId: null,
|
|
70274
|
-
access: "view"
|
|
70275
|
-
},
|
|
70276
70273
|
"storageAdmin.listKinds": {
|
|
70277
70274
|
capName: "storage-admin",
|
|
70278
70275
|
capScope: "system",
|
|
@@ -70285,12 +70282,6 @@ Object.freeze({
|
|
|
70285
70282
|
addonId: null,
|
|
70286
70283
|
access: "view"
|
|
70287
70284
|
},
|
|
70288
|
-
"storageAdmin.readLegacyCollection": {
|
|
70289
|
-
capName: "storage-admin",
|
|
70290
|
-
capScope: "system",
|
|
70291
|
-
addonId: null,
|
|
70292
|
-
access: "view"
|
|
70293
|
-
},
|
|
70294
70285
|
"storageAdmin.readRecords": {
|
|
70295
70286
|
capName: "storage-admin",
|
|
70296
70287
|
capScope: "system",
|
|
@@ -74171,12 +74162,6 @@ Object.freeze({
|
|
|
74171
74162
|
form: "single",
|
|
74172
74163
|
optional: false
|
|
74173
74164
|
}],
|
|
74174
|
-
"storageAdmin.adoptRecords": [{
|
|
74175
|
-
name: "records",
|
|
74176
|
-
form: "object-array",
|
|
74177
|
-
optional: false,
|
|
74178
|
-
itemField: "deviceId"
|
|
74179
|
-
}],
|
|
74180
74165
|
"storageAdmin.readRecords": [{
|
|
74181
74166
|
name: "deviceId",
|
|
74182
74167
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5418,7 +5418,7 @@ var ZodIssueCode = {
|
|
|
5418
5418
|
var ZodFirstPartyTypeKind;
|
|
5419
5419
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5420
5420
|
//#endregion
|
|
5421
|
-
//#region ../types/dist/sleep-
|
|
5421
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5422
5422
|
/**
|
|
5423
5423
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5424
5424
|
* window to float samples (D455).
|
|
@@ -7899,7 +7899,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7899
7899
|
secretPaths: array(string().min(1)).default([]),
|
|
7900
7900
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7901
7901
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7902
|
-
/**
|
|
7902
|
+
/**
|
|
7903
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7904
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7905
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7906
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7907
|
+
* removal still sends it. Never set it.
|
|
7908
|
+
*/
|
|
7903
7909
|
adoptsFrom: string().min(1).optional(),
|
|
7904
7910
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7905
7911
|
transactFamily: string().min(1).optional(),
|
|
@@ -16461,11 +16467,12 @@ var DeclareKindResultSchema = object({
|
|
|
16461
16467
|
kindId: number().int(),
|
|
16462
16468
|
state: RecordKindStateSchema,
|
|
16463
16469
|
createdIndexes: array(string()),
|
|
16464
|
-
/**
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
|
|
16470
|
+
/**
|
|
16471
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16472
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16473
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16474
|
+
*/
|
|
16475
|
+
adoptionPending: _null()
|
|
16469
16476
|
});
|
|
16470
16477
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16471
16478
|
var SecretRefsList = array(string());
|
|
@@ -16638,26 +16645,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16638
16645
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16639
16646
|
owner: string().min(1),
|
|
16640
16647
|
kind: RecordKindNameSchema
|
|
16641
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16642
|
-
owner: string().min(1),
|
|
16643
|
-
kind: RecordKindNameSchema,
|
|
16644
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16645
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16646
|
-
complete: boolean().optional()
|
|
16647
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16648
|
-
kind: "mutation",
|
|
16649
|
-
auth: "admin"
|
|
16650
|
-
}), method(object({
|
|
16651
|
-
collection: string().min(1),
|
|
16652
|
-
cursor: string().optional(),
|
|
16653
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16654
|
-
}), object({
|
|
16655
|
-
rows: array(object({
|
|
16656
|
-
id: string(),
|
|
16657
|
-
data: record(string(), unknown())
|
|
16658
|
-
})),
|
|
16659
|
-
nextCursor: string().nullable()
|
|
16660
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16648
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16661
16649
|
/**
|
|
16662
16650
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16663
16651
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58117,9 +58105,24 @@ var NpuInfoSchema = object({
|
|
|
58117
58105
|
name: string().optional(),
|
|
58118
58106
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58119
58107
|
});
|
|
58108
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58120
58109
|
var CoralInfoSchema = object({
|
|
58121
58110
|
type: literal("coral-edgetpu"),
|
|
58122
|
-
bus
|
|
58111
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58112
|
+
bus: string().optional(),
|
|
58113
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58114
|
+
count: number().int().nonnegative().optional(),
|
|
58115
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58116
|
+
units: array(object({
|
|
58117
|
+
bus: CoralBusSchema,
|
|
58118
|
+
count: number().int().nonnegative()
|
|
58119
|
+
})).readonly().optional(),
|
|
58120
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58121
|
+
unavailable: array(object({
|
|
58122
|
+
bus: CoralBusSchema,
|
|
58123
|
+
count: number().int().nonnegative(),
|
|
58124
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58125
|
+
})).readonly().optional()
|
|
58123
58126
|
});
|
|
58124
58127
|
var HardwareInfoSchema = object({
|
|
58125
58128
|
platform: HardwarePlatformSchema,
|
|
@@ -65036,6 +65039,12 @@ Object.freeze({
|
|
|
65036
65039
|
addonId: null,
|
|
65037
65040
|
access: "view"
|
|
65038
65041
|
},
|
|
65042
|
+
"deviceHistory.queryMany": {
|
|
65043
|
+
capName: "device-history",
|
|
65044
|
+
capScope: "system",
|
|
65045
|
+
addonId: null,
|
|
65046
|
+
access: "view"
|
|
65047
|
+
},
|
|
65039
65048
|
"deviceHistory.queryNode": {
|
|
65040
65049
|
capName: "device-history",
|
|
65041
65050
|
capScope: "system",
|
|
@@ -70256,24 +70265,12 @@ Object.freeze({
|
|
|
70256
70265
|
addonId: null,
|
|
70257
70266
|
access: "create"
|
|
70258
70267
|
},
|
|
70259
|
-
"storageAdmin.adoptRecords": {
|
|
70260
|
-
capName: "storage-admin",
|
|
70261
|
-
capScope: "system",
|
|
70262
|
-
addonId: null,
|
|
70263
|
-
access: "create"
|
|
70264
|
-
},
|
|
70265
70268
|
"storageAdmin.dropCollection": {
|
|
70266
70269
|
capName: "storage-admin",
|
|
70267
70270
|
capScope: "system",
|
|
70268
70271
|
addonId: null,
|
|
70269
70272
|
access: "delete"
|
|
70270
70273
|
},
|
|
70271
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
70272
|
-
capName: "storage-admin",
|
|
70273
|
-
capScope: "system",
|
|
70274
|
-
addonId: null,
|
|
70275
|
-
access: "view"
|
|
70276
|
-
},
|
|
70277
70274
|
"storageAdmin.listKinds": {
|
|
70278
70275
|
capName: "storage-admin",
|
|
70279
70276
|
capScope: "system",
|
|
@@ -70286,12 +70283,6 @@ Object.freeze({
|
|
|
70286
70283
|
addonId: null,
|
|
70287
70284
|
access: "view"
|
|
70288
70285
|
},
|
|
70289
|
-
"storageAdmin.readLegacyCollection": {
|
|
70290
|
-
capName: "storage-admin",
|
|
70291
|
-
capScope: "system",
|
|
70292
|
-
addonId: null,
|
|
70293
|
-
access: "view"
|
|
70294
|
-
},
|
|
70295
70286
|
"storageAdmin.readRecords": {
|
|
70296
70287
|
capName: "storage-admin",
|
|
70297
70288
|
capScope: "system",
|
|
@@ -74172,12 +74163,6 @@ Object.freeze({
|
|
|
74172
74163
|
form: "single",
|
|
74173
74164
|
optional: false
|
|
74174
74165
|
}],
|
|
74175
|
-
"storageAdmin.adoptRecords": [{
|
|
74176
|
-
name: "records",
|
|
74177
|
-
form: "object-array",
|
|
74178
|
-
optional: false,
|
|
74179
|
-
itemField: "deviceId"
|
|
74180
|
-
}],
|
|
74181
74166
|
"storageAdmin.readRecords": [{
|
|
74182
74167
|
name: "deviceId",
|
|
74183
74168
|
form: "single",
|