@camstack/addon-provider-onvif 1.2.135 → 1.2.137
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
|
@@ -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
|
|
@@ -65050,6 +65038,12 @@ Object.freeze({
|
|
|
65050
65038
|
addonId: null,
|
|
65051
65039
|
access: "view"
|
|
65052
65040
|
},
|
|
65041
|
+
"deviceHistory.queryMany": {
|
|
65042
|
+
capName: "device-history",
|
|
65043
|
+
capScope: "system",
|
|
65044
|
+
addonId: null,
|
|
65045
|
+
access: "view"
|
|
65046
|
+
},
|
|
65053
65047
|
"deviceHistory.queryNode": {
|
|
65054
65048
|
capName: "device-history",
|
|
65055
65049
|
capScope: "system",
|
|
@@ -70270,24 +70264,12 @@ Object.freeze({
|
|
|
70270
70264
|
addonId: null,
|
|
70271
70265
|
access: "create"
|
|
70272
70266
|
},
|
|
70273
|
-
"storageAdmin.adoptRecords": {
|
|
70274
|
-
capName: "storage-admin",
|
|
70275
|
-
capScope: "system",
|
|
70276
|
-
addonId: null,
|
|
70277
|
-
access: "create"
|
|
70278
|
-
},
|
|
70279
70267
|
"storageAdmin.dropCollection": {
|
|
70280
70268
|
capName: "storage-admin",
|
|
70281
70269
|
capScope: "system",
|
|
70282
70270
|
addonId: null,
|
|
70283
70271
|
access: "delete"
|
|
70284
70272
|
},
|
|
70285
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
70286
|
-
capName: "storage-admin",
|
|
70287
|
-
capScope: "system",
|
|
70288
|
-
addonId: null,
|
|
70289
|
-
access: "view"
|
|
70290
|
-
},
|
|
70291
70273
|
"storageAdmin.listKinds": {
|
|
70292
70274
|
capName: "storage-admin",
|
|
70293
70275
|
capScope: "system",
|
|
@@ -70300,12 +70282,6 @@ Object.freeze({
|
|
|
70300
70282
|
addonId: null,
|
|
70301
70283
|
access: "view"
|
|
70302
70284
|
},
|
|
70303
|
-
"storageAdmin.readLegacyCollection": {
|
|
70304
|
-
capName: "storage-admin",
|
|
70305
|
-
capScope: "system",
|
|
70306
|
-
addonId: null,
|
|
70307
|
-
access: "view"
|
|
70308
|
-
},
|
|
70309
70285
|
"storageAdmin.readRecords": {
|
|
70310
70286
|
capName: "storage-admin",
|
|
70311
70287
|
capScope: "system",
|
|
@@ -74186,12 +74162,6 @@ Object.freeze({
|
|
|
74186
74162
|
form: "single",
|
|
74187
74163
|
optional: false
|
|
74188
74164
|
}],
|
|
74189
|
-
"storageAdmin.adoptRecords": [{
|
|
74190
|
-
name: "records",
|
|
74191
|
-
form: "object-array",
|
|
74192
|
-
optional: false,
|
|
74193
|
-
itemField: "deviceId"
|
|
74194
|
-
}],
|
|
74195
74165
|
"storageAdmin.readRecords": [{
|
|
74196
74166
|
name: "deviceId",
|
|
74197
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
|
|
@@ -65051,6 +65039,12 @@ Object.freeze({
|
|
|
65051
65039
|
addonId: null,
|
|
65052
65040
|
access: "view"
|
|
65053
65041
|
},
|
|
65042
|
+
"deviceHistory.queryMany": {
|
|
65043
|
+
capName: "device-history",
|
|
65044
|
+
capScope: "system",
|
|
65045
|
+
addonId: null,
|
|
65046
|
+
access: "view"
|
|
65047
|
+
},
|
|
65054
65048
|
"deviceHistory.queryNode": {
|
|
65055
65049
|
capName: "device-history",
|
|
65056
65050
|
capScope: "system",
|
|
@@ -70271,24 +70265,12 @@ Object.freeze({
|
|
|
70271
70265
|
addonId: null,
|
|
70272
70266
|
access: "create"
|
|
70273
70267
|
},
|
|
70274
|
-
"storageAdmin.adoptRecords": {
|
|
70275
|
-
capName: "storage-admin",
|
|
70276
|
-
capScope: "system",
|
|
70277
|
-
addonId: null,
|
|
70278
|
-
access: "create"
|
|
70279
|
-
},
|
|
70280
70268
|
"storageAdmin.dropCollection": {
|
|
70281
70269
|
capName: "storage-admin",
|
|
70282
70270
|
capScope: "system",
|
|
70283
70271
|
addonId: null,
|
|
70284
70272
|
access: "delete"
|
|
70285
70273
|
},
|
|
70286
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
70287
|
-
capName: "storage-admin",
|
|
70288
|
-
capScope: "system",
|
|
70289
|
-
addonId: null,
|
|
70290
|
-
access: "view"
|
|
70291
|
-
},
|
|
70292
70274
|
"storageAdmin.listKinds": {
|
|
70293
70275
|
capName: "storage-admin",
|
|
70294
70276
|
capScope: "system",
|
|
@@ -70301,12 +70283,6 @@ Object.freeze({
|
|
|
70301
70283
|
addonId: null,
|
|
70302
70284
|
access: "view"
|
|
70303
70285
|
},
|
|
70304
|
-
"storageAdmin.readLegacyCollection": {
|
|
70305
|
-
capName: "storage-admin",
|
|
70306
|
-
capScope: "system",
|
|
70307
|
-
addonId: null,
|
|
70308
|
-
access: "view"
|
|
70309
|
-
},
|
|
70310
70286
|
"storageAdmin.readRecords": {
|
|
70311
70287
|
capName: "storage-admin",
|
|
70312
70288
|
capScope: "system",
|
|
@@ -74187,12 +74163,6 @@ Object.freeze({
|
|
|
74187
74163
|
form: "single",
|
|
74188
74164
|
optional: false
|
|
74189
74165
|
}],
|
|
74190
|
-
"storageAdmin.adoptRecords": [{
|
|
74191
|
-
name: "records",
|
|
74192
|
-
form: "object-array",
|
|
74193
|
-
optional: false,
|
|
74194
|
-
itemField: "deviceId"
|
|
74195
|
-
}],
|
|
74196
74166
|
"storageAdmin.readRecords": [{
|
|
74197
74167
|
name: "deviceId",
|
|
74198
74168
|
form: "single",
|