@camstack/addon-provider-reolink 1.2.193 → 1.2.195
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
|
@@ -5451,7 +5451,7 @@ var ZodIssueCode = {
|
|
|
5451
5451
|
var ZodFirstPartyTypeKind;
|
|
5452
5452
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5453
5453
|
//#endregion
|
|
5454
|
-
//#region ../types/dist/sleep-
|
|
5454
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5455
5455
|
/**
|
|
5456
5456
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5457
5457
|
* window to float samples (D455).
|
|
@@ -8003,7 +8003,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8003
8003
|
secretPaths: array(string().min(1)).default([]),
|
|
8004
8004
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8005
8005
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8006
|
-
/**
|
|
8006
|
+
/**
|
|
8007
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8008
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8009
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8010
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8011
|
+
* removal still sends it. Never set it.
|
|
8012
|
+
*/
|
|
8007
8013
|
adoptsFrom: string().min(1).optional(),
|
|
8008
8014
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8009
8015
|
transactFamily: string().min(1).optional(),
|
|
@@ -17289,11 +17295,12 @@ var DeclareKindResultSchema = object({
|
|
|
17289
17295
|
kindId: number().int(),
|
|
17290
17296
|
state: RecordKindStateSchema,
|
|
17291
17297
|
createdIndexes: array(string()),
|
|
17292
|
-
/**
|
|
17293
|
-
|
|
17294
|
-
|
|
17295
|
-
|
|
17296
|
-
|
|
17298
|
+
/**
|
|
17299
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
17300
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
17301
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
17302
|
+
*/
|
|
17303
|
+
adoptionPending: _null()
|
|
17297
17304
|
});
|
|
17298
17305
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
17299
17306
|
var SecretRefsList = array(string());
|
|
@@ -17466,26 +17473,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17466
17473
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17467
17474
|
owner: string().min(1),
|
|
17468
17475
|
kind: RecordKindNameSchema
|
|
17469
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17470
|
-
owner: string().min(1),
|
|
17471
|
-
kind: RecordKindNameSchema,
|
|
17472
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17473
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17474
|
-
complete: boolean().optional()
|
|
17475
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17476
|
-
kind: "mutation",
|
|
17477
|
-
auth: "admin"
|
|
17478
|
-
}), method(object({
|
|
17479
|
-
collection: string().min(1),
|
|
17480
|
-
cursor: string().optional(),
|
|
17481
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17482
|
-
}), object({
|
|
17483
|
-
rows: array(object({
|
|
17484
|
-
id: string(),
|
|
17485
|
-
data: record(string(), unknown())
|
|
17486
|
-
})),
|
|
17487
|
-
nextCursor: string().nullable()
|
|
17488
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17476
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17489
17477
|
/**
|
|
17490
17478
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17491
17479
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -61720,9 +61708,24 @@ var NpuInfoSchema = object({
|
|
|
61720
61708
|
name: string().optional(),
|
|
61721
61709
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
61722
61710
|
});
|
|
61711
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
61723
61712
|
var CoralInfoSchema = object({
|
|
61724
61713
|
type: literal("coral-edgetpu"),
|
|
61725
|
-
bus
|
|
61714
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
61715
|
+
bus: string().optional(),
|
|
61716
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
61717
|
+
count: number().int().nonnegative().optional(),
|
|
61718
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
61719
|
+
units: array(object({
|
|
61720
|
+
bus: CoralBusSchema,
|
|
61721
|
+
count: number().int().nonnegative()
|
|
61722
|
+
})).readonly().optional(),
|
|
61723
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
61724
|
+
unavailable: array(object({
|
|
61725
|
+
bus: CoralBusSchema,
|
|
61726
|
+
count: number().int().nonnegative(),
|
|
61727
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
61728
|
+
})).readonly().optional()
|
|
61726
61729
|
});
|
|
61727
61730
|
var HardwareInfoSchema = object({
|
|
61728
61731
|
platform: HardwarePlatformSchema,
|
|
@@ -70988,6 +70991,12 @@ Object.freeze({
|
|
|
70988
70991
|
addonId: null,
|
|
70989
70992
|
access: "view"
|
|
70990
70993
|
},
|
|
70994
|
+
"deviceHistory.queryMany": {
|
|
70995
|
+
capName: "device-history",
|
|
70996
|
+
capScope: "system",
|
|
70997
|
+
addonId: null,
|
|
70998
|
+
access: "view"
|
|
70999
|
+
},
|
|
70991
71000
|
"deviceHistory.queryNode": {
|
|
70992
71001
|
capName: "device-history",
|
|
70993
71002
|
capScope: "system",
|
|
@@ -76208,24 +76217,12 @@ Object.freeze({
|
|
|
76208
76217
|
addonId: null,
|
|
76209
76218
|
access: "create"
|
|
76210
76219
|
},
|
|
76211
|
-
"storageAdmin.adoptRecords": {
|
|
76212
|
-
capName: "storage-admin",
|
|
76213
|
-
capScope: "system",
|
|
76214
|
-
addonId: null,
|
|
76215
|
-
access: "create"
|
|
76216
|
-
},
|
|
76217
76220
|
"storageAdmin.dropCollection": {
|
|
76218
76221
|
capName: "storage-admin",
|
|
76219
76222
|
capScope: "system",
|
|
76220
76223
|
addonId: null,
|
|
76221
76224
|
access: "delete"
|
|
76222
76225
|
},
|
|
76223
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
76224
|
-
capName: "storage-admin",
|
|
76225
|
-
capScope: "system",
|
|
76226
|
-
addonId: null,
|
|
76227
|
-
access: "view"
|
|
76228
|
-
},
|
|
76229
76226
|
"storageAdmin.listKinds": {
|
|
76230
76227
|
capName: "storage-admin",
|
|
76231
76228
|
capScope: "system",
|
|
@@ -76238,12 +76235,6 @@ Object.freeze({
|
|
|
76238
76235
|
addonId: null,
|
|
76239
76236
|
access: "view"
|
|
76240
76237
|
},
|
|
76241
|
-
"storageAdmin.readLegacyCollection": {
|
|
76242
|
-
capName: "storage-admin",
|
|
76243
|
-
capScope: "system",
|
|
76244
|
-
addonId: null,
|
|
76245
|
-
access: "view"
|
|
76246
|
-
},
|
|
76247
76238
|
"storageAdmin.readRecords": {
|
|
76248
76239
|
capName: "storage-admin",
|
|
76249
76240
|
capScope: "system",
|
|
@@ -80210,12 +80201,6 @@ Object.freeze({
|
|
|
80210
80201
|
form: "single",
|
|
80211
80202
|
optional: false
|
|
80212
80203
|
}],
|
|
80213
|
-
"storageAdmin.adoptRecords": [{
|
|
80214
|
-
name: "records",
|
|
80215
|
-
form: "object-array",
|
|
80216
|
-
optional: false,
|
|
80217
|
-
itemField: "deviceId"
|
|
80218
|
-
}],
|
|
80219
80204
|
"storageAdmin.readRecords": [{
|
|
80220
80205
|
name: "deviceId",
|
|
80221
80206
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5443,7 +5443,7 @@ var ZodIssueCode = {
|
|
|
5443
5443
|
var ZodFirstPartyTypeKind;
|
|
5444
5444
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5445
5445
|
//#endregion
|
|
5446
|
-
//#region ../types/dist/sleep-
|
|
5446
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5447
5447
|
/**
|
|
5448
5448
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5449
5449
|
* window to float samples (D455).
|
|
@@ -7995,7 +7995,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7995
7995
|
secretPaths: array(string().min(1)).default([]),
|
|
7996
7996
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7997
7997
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7998
|
-
/**
|
|
7998
|
+
/**
|
|
7999
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8000
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8001
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8002
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8003
|
+
* removal still sends it. Never set it.
|
|
8004
|
+
*/
|
|
7999
8005
|
adoptsFrom: string().min(1).optional(),
|
|
8000
8006
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8001
8007
|
transactFamily: string().min(1).optional(),
|
|
@@ -17281,11 +17287,12 @@ var DeclareKindResultSchema = object({
|
|
|
17281
17287
|
kindId: number().int(),
|
|
17282
17288
|
state: RecordKindStateSchema,
|
|
17283
17289
|
createdIndexes: array(string()),
|
|
17284
|
-
/**
|
|
17285
|
-
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17290
|
+
/**
|
|
17291
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
17292
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
17293
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
17294
|
+
*/
|
|
17295
|
+
adoptionPending: _null()
|
|
17289
17296
|
});
|
|
17290
17297
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
17291
17298
|
var SecretRefsList = array(string());
|
|
@@ -17458,26 +17465,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17458
17465
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17459
17466
|
owner: string().min(1),
|
|
17460
17467
|
kind: RecordKindNameSchema
|
|
17461
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17462
|
-
owner: string().min(1),
|
|
17463
|
-
kind: RecordKindNameSchema,
|
|
17464
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17465
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17466
|
-
complete: boolean().optional()
|
|
17467
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17468
|
-
kind: "mutation",
|
|
17469
|
-
auth: "admin"
|
|
17470
|
-
}), method(object({
|
|
17471
|
-
collection: string().min(1),
|
|
17472
|
-
cursor: string().optional(),
|
|
17473
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17474
|
-
}), object({
|
|
17475
|
-
rows: array(object({
|
|
17476
|
-
id: string(),
|
|
17477
|
-
data: record(string(), unknown())
|
|
17478
|
-
})),
|
|
17479
|
-
nextCursor: string().nullable()
|
|
17480
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17468
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17481
17469
|
/**
|
|
17482
17470
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17483
17471
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -61712,9 +61700,24 @@ var NpuInfoSchema = object({
|
|
|
61712
61700
|
name: string().optional(),
|
|
61713
61701
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
61714
61702
|
});
|
|
61703
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
61715
61704
|
var CoralInfoSchema = object({
|
|
61716
61705
|
type: literal("coral-edgetpu"),
|
|
61717
|
-
bus
|
|
61706
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
61707
|
+
bus: string().optional(),
|
|
61708
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
61709
|
+
count: number().int().nonnegative().optional(),
|
|
61710
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
61711
|
+
units: array(object({
|
|
61712
|
+
bus: CoralBusSchema,
|
|
61713
|
+
count: number().int().nonnegative()
|
|
61714
|
+
})).readonly().optional(),
|
|
61715
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
61716
|
+
unavailable: array(object({
|
|
61717
|
+
bus: CoralBusSchema,
|
|
61718
|
+
count: number().int().nonnegative(),
|
|
61719
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
61720
|
+
})).readonly().optional()
|
|
61718
61721
|
});
|
|
61719
61722
|
var HardwareInfoSchema = object({
|
|
61720
61723
|
platform: HardwarePlatformSchema,
|
|
@@ -70980,6 +70983,12 @@ Object.freeze({
|
|
|
70980
70983
|
addonId: null,
|
|
70981
70984
|
access: "view"
|
|
70982
70985
|
},
|
|
70986
|
+
"deviceHistory.queryMany": {
|
|
70987
|
+
capName: "device-history",
|
|
70988
|
+
capScope: "system",
|
|
70989
|
+
addonId: null,
|
|
70990
|
+
access: "view"
|
|
70991
|
+
},
|
|
70983
70992
|
"deviceHistory.queryNode": {
|
|
70984
70993
|
capName: "device-history",
|
|
70985
70994
|
capScope: "system",
|
|
@@ -76200,24 +76209,12 @@ Object.freeze({
|
|
|
76200
76209
|
addonId: null,
|
|
76201
76210
|
access: "create"
|
|
76202
76211
|
},
|
|
76203
|
-
"storageAdmin.adoptRecords": {
|
|
76204
|
-
capName: "storage-admin",
|
|
76205
|
-
capScope: "system",
|
|
76206
|
-
addonId: null,
|
|
76207
|
-
access: "create"
|
|
76208
|
-
},
|
|
76209
76212
|
"storageAdmin.dropCollection": {
|
|
76210
76213
|
capName: "storage-admin",
|
|
76211
76214
|
capScope: "system",
|
|
76212
76215
|
addonId: null,
|
|
76213
76216
|
access: "delete"
|
|
76214
76217
|
},
|
|
76215
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
76216
|
-
capName: "storage-admin",
|
|
76217
|
-
capScope: "system",
|
|
76218
|
-
addonId: null,
|
|
76219
|
-
access: "view"
|
|
76220
|
-
},
|
|
76221
76218
|
"storageAdmin.listKinds": {
|
|
76222
76219
|
capName: "storage-admin",
|
|
76223
76220
|
capScope: "system",
|
|
@@ -76230,12 +76227,6 @@ Object.freeze({
|
|
|
76230
76227
|
addonId: null,
|
|
76231
76228
|
access: "view"
|
|
76232
76229
|
},
|
|
76233
|
-
"storageAdmin.readLegacyCollection": {
|
|
76234
|
-
capName: "storage-admin",
|
|
76235
|
-
capScope: "system",
|
|
76236
|
-
addonId: null,
|
|
76237
|
-
access: "view"
|
|
76238
|
-
},
|
|
76239
76230
|
"storageAdmin.readRecords": {
|
|
76240
76231
|
capName: "storage-admin",
|
|
76241
76232
|
capScope: "system",
|
|
@@ -80202,12 +80193,6 @@ Object.freeze({
|
|
|
80202
80193
|
form: "single",
|
|
80203
80194
|
optional: false
|
|
80204
80195
|
}],
|
|
80205
|
-
"storageAdmin.adoptRecords": [{
|
|
80206
|
-
name: "records",
|
|
80207
|
-
form: "object-array",
|
|
80208
|
-
optional: false,
|
|
80209
|
-
itemField: "deviceId"
|
|
80210
|
-
}],
|
|
80211
80196
|
"storageAdmin.readRecords": [{
|
|
80212
80197
|
name: "deviceId",
|
|
80213
80198
|
form: "single",
|