@camstack/addon-provider-velux 0.2.132 → 0.2.134
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
|
@@ -5414,7 +5414,7 @@ var ZodIssueCode = {
|
|
|
5414
5414
|
var ZodFirstPartyTypeKind;
|
|
5415
5415
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5416
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5417
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5418
5418
|
/**
|
|
5419
5419
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5420
|
* window to float samples (D455).
|
|
@@ -7962,7 +7962,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7962
7962
|
secretPaths: array(string().min(1)).default([]),
|
|
7963
7963
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7964
7964
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7965
|
-
/**
|
|
7965
|
+
/**
|
|
7966
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7967
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7968
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7969
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7970
|
+
* removal still sends it. Never set it.
|
|
7971
|
+
*/
|
|
7966
7972
|
adoptsFrom: string().min(1).optional(),
|
|
7967
7973
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7968
7974
|
transactFamily: string().min(1).optional(),
|
|
@@ -16648,11 +16654,12 @@ var DeclareKindResultSchema = object({
|
|
|
16648
16654
|
kindId: number().int(),
|
|
16649
16655
|
state: RecordKindStateSchema,
|
|
16650
16656
|
createdIndexes: array(string()),
|
|
16651
|
-
/**
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16657
|
+
/**
|
|
16658
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16659
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16660
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16661
|
+
*/
|
|
16662
|
+
adoptionPending: _null()
|
|
16656
16663
|
});
|
|
16657
16664
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16658
16665
|
var SecretRefsList = array(string());
|
|
@@ -16825,26 +16832,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16825
16832
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16826
16833
|
owner: string().min(1),
|
|
16827
16834
|
kind: RecordKindNameSchema
|
|
16828
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16829
|
-
owner: string().min(1),
|
|
16830
|
-
kind: RecordKindNameSchema,
|
|
16831
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16832
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16833
|
-
complete: boolean().optional()
|
|
16834
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16835
|
-
kind: "mutation",
|
|
16836
|
-
auth: "admin"
|
|
16837
|
-
}), method(object({
|
|
16838
|
-
collection: string().min(1),
|
|
16839
|
-
cursor: string().optional(),
|
|
16840
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16841
|
-
}), object({
|
|
16842
|
-
rows: array(object({
|
|
16843
|
-
id: string(),
|
|
16844
|
-
data: record(string(), unknown())
|
|
16845
|
-
})),
|
|
16846
|
-
nextCursor: string().nullable()
|
|
16847
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16835
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16848
16836
|
/**
|
|
16849
16837
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16850
16838
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60451,9 +60439,24 @@ var NpuInfoSchema = object({
|
|
|
60451
60439
|
name: string().optional(),
|
|
60452
60440
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60453
60441
|
});
|
|
60442
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60454
60443
|
var CoralInfoSchema = object({
|
|
60455
60444
|
type: literal("coral-edgetpu"),
|
|
60456
|
-
bus
|
|
60445
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60446
|
+
bus: string().optional(),
|
|
60447
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60448
|
+
count: number().int().nonnegative().optional(),
|
|
60449
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60450
|
+
units: array(object({
|
|
60451
|
+
bus: CoralBusSchema,
|
|
60452
|
+
count: number().int().nonnegative()
|
|
60453
|
+
})).readonly().optional(),
|
|
60454
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60455
|
+
unavailable: array(object({
|
|
60456
|
+
bus: CoralBusSchema,
|
|
60457
|
+
count: number().int().nonnegative(),
|
|
60458
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60459
|
+
})).readonly().optional()
|
|
60457
60460
|
});
|
|
60458
60461
|
var HardwareInfoSchema = object({
|
|
60459
60462
|
platform: HardwarePlatformSchema,
|
|
@@ -69200,6 +69203,12 @@ Object.freeze({
|
|
|
69200
69203
|
addonId: null,
|
|
69201
69204
|
access: "view"
|
|
69202
69205
|
},
|
|
69206
|
+
"deviceHistory.queryMany": {
|
|
69207
|
+
capName: "device-history",
|
|
69208
|
+
capScope: "system",
|
|
69209
|
+
addonId: null,
|
|
69210
|
+
access: "view"
|
|
69211
|
+
},
|
|
69203
69212
|
"deviceHistory.queryNode": {
|
|
69204
69213
|
capName: "device-history",
|
|
69205
69214
|
capScope: "system",
|
|
@@ -74420,24 +74429,12 @@ Object.freeze({
|
|
|
74420
74429
|
addonId: null,
|
|
74421
74430
|
access: "create"
|
|
74422
74431
|
},
|
|
74423
|
-
"storageAdmin.adoptRecords": {
|
|
74424
|
-
capName: "storage-admin",
|
|
74425
|
-
capScope: "system",
|
|
74426
|
-
addonId: null,
|
|
74427
|
-
access: "create"
|
|
74428
|
-
},
|
|
74429
74432
|
"storageAdmin.dropCollection": {
|
|
74430
74433
|
capName: "storage-admin",
|
|
74431
74434
|
capScope: "system",
|
|
74432
74435
|
addonId: null,
|
|
74433
74436
|
access: "delete"
|
|
74434
74437
|
},
|
|
74435
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74436
|
-
capName: "storage-admin",
|
|
74437
|
-
capScope: "system",
|
|
74438
|
-
addonId: null,
|
|
74439
|
-
access: "view"
|
|
74440
|
-
},
|
|
74441
74438
|
"storageAdmin.listKinds": {
|
|
74442
74439
|
capName: "storage-admin",
|
|
74443
74440
|
capScope: "system",
|
|
@@ -74450,12 +74447,6 @@ Object.freeze({
|
|
|
74450
74447
|
addonId: null,
|
|
74451
74448
|
access: "view"
|
|
74452
74449
|
},
|
|
74453
|
-
"storageAdmin.readLegacyCollection": {
|
|
74454
|
-
capName: "storage-admin",
|
|
74455
|
-
capScope: "system",
|
|
74456
|
-
addonId: null,
|
|
74457
|
-
access: "view"
|
|
74458
|
-
},
|
|
74459
74450
|
"storageAdmin.readRecords": {
|
|
74460
74451
|
capName: "storage-admin",
|
|
74461
74452
|
capScope: "system",
|
|
@@ -78270,12 +78261,6 @@ Object.freeze({
|
|
|
78270
78261
|
form: "single",
|
|
78271
78262
|
optional: false
|
|
78272
78263
|
}],
|
|
78273
|
-
"storageAdmin.adoptRecords": [{
|
|
78274
|
-
name: "records",
|
|
78275
|
-
form: "object-array",
|
|
78276
|
-
optional: false,
|
|
78277
|
-
itemField: "deviceId"
|
|
78278
|
-
}],
|
|
78279
78264
|
"storageAdmin.readRecords": [{
|
|
78280
78265
|
name: "deviceId",
|
|
78281
78266
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5413,7 +5413,7 @@ var ZodIssueCode = {
|
|
|
5413
5413
|
var ZodFirstPartyTypeKind;
|
|
5414
5414
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5415
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5416
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5417
5417
|
/**
|
|
5418
5418
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5419
|
* window to float samples (D455).
|
|
@@ -7961,7 +7961,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7961
7961
|
secretPaths: array(string().min(1)).default([]),
|
|
7962
7962
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7963
7963
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7964
|
-
/**
|
|
7964
|
+
/**
|
|
7965
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7966
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7967
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7968
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7969
|
+
* removal still sends it. Never set it.
|
|
7970
|
+
*/
|
|
7965
7971
|
adoptsFrom: string().min(1).optional(),
|
|
7966
7972
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7967
7973
|
transactFamily: string().min(1).optional(),
|
|
@@ -16647,11 +16653,12 @@ var DeclareKindResultSchema = object({
|
|
|
16647
16653
|
kindId: number().int(),
|
|
16648
16654
|
state: RecordKindStateSchema,
|
|
16649
16655
|
createdIndexes: array(string()),
|
|
16650
|
-
/**
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16656
|
+
/**
|
|
16657
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16658
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16659
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16660
|
+
*/
|
|
16661
|
+
adoptionPending: _null()
|
|
16655
16662
|
});
|
|
16656
16663
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16657
16664
|
var SecretRefsList = array(string());
|
|
@@ -16824,26 +16831,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16824
16831
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16825
16832
|
owner: string().min(1),
|
|
16826
16833
|
kind: RecordKindNameSchema
|
|
16827
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16828
|
-
owner: string().min(1),
|
|
16829
|
-
kind: RecordKindNameSchema,
|
|
16830
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16831
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16832
|
-
complete: boolean().optional()
|
|
16833
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16834
|
-
kind: "mutation",
|
|
16835
|
-
auth: "admin"
|
|
16836
|
-
}), method(object({
|
|
16837
|
-
collection: string().min(1),
|
|
16838
|
-
cursor: string().optional(),
|
|
16839
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16840
|
-
}), object({
|
|
16841
|
-
rows: array(object({
|
|
16842
|
-
id: string(),
|
|
16843
|
-
data: record(string(), unknown())
|
|
16844
|
-
})),
|
|
16845
|
-
nextCursor: string().nullable()
|
|
16846
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16834
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16847
16835
|
/**
|
|
16848
16836
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16849
16837
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -60450,9 +60438,24 @@ var NpuInfoSchema = object({
|
|
|
60450
60438
|
name: string().optional(),
|
|
60451
60439
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
60452
60440
|
});
|
|
60441
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
60453
60442
|
var CoralInfoSchema = object({
|
|
60454
60443
|
type: literal("coral-edgetpu"),
|
|
60455
|
-
bus
|
|
60444
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
60445
|
+
bus: string().optional(),
|
|
60446
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
60447
|
+
count: number().int().nonnegative().optional(),
|
|
60448
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
60449
|
+
units: array(object({
|
|
60450
|
+
bus: CoralBusSchema,
|
|
60451
|
+
count: number().int().nonnegative()
|
|
60452
|
+
})).readonly().optional(),
|
|
60453
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
60454
|
+
unavailable: array(object({
|
|
60455
|
+
bus: CoralBusSchema,
|
|
60456
|
+
count: number().int().nonnegative(),
|
|
60457
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
60458
|
+
})).readonly().optional()
|
|
60456
60459
|
});
|
|
60457
60460
|
var HardwareInfoSchema = object({
|
|
60458
60461
|
platform: HardwarePlatformSchema,
|
|
@@ -69199,6 +69202,12 @@ Object.freeze({
|
|
|
69199
69202
|
addonId: null,
|
|
69200
69203
|
access: "view"
|
|
69201
69204
|
},
|
|
69205
|
+
"deviceHistory.queryMany": {
|
|
69206
|
+
capName: "device-history",
|
|
69207
|
+
capScope: "system",
|
|
69208
|
+
addonId: null,
|
|
69209
|
+
access: "view"
|
|
69210
|
+
},
|
|
69202
69211
|
"deviceHistory.queryNode": {
|
|
69203
69212
|
capName: "device-history",
|
|
69204
69213
|
capScope: "system",
|
|
@@ -74419,24 +74428,12 @@ Object.freeze({
|
|
|
74419
74428
|
addonId: null,
|
|
74420
74429
|
access: "create"
|
|
74421
74430
|
},
|
|
74422
|
-
"storageAdmin.adoptRecords": {
|
|
74423
|
-
capName: "storage-admin",
|
|
74424
|
-
capScope: "system",
|
|
74425
|
-
addonId: null,
|
|
74426
|
-
access: "create"
|
|
74427
|
-
},
|
|
74428
74431
|
"storageAdmin.dropCollection": {
|
|
74429
74432
|
capName: "storage-admin",
|
|
74430
74433
|
capScope: "system",
|
|
74431
74434
|
addonId: null,
|
|
74432
74435
|
access: "delete"
|
|
74433
74436
|
},
|
|
74434
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74435
|
-
capName: "storage-admin",
|
|
74436
|
-
capScope: "system",
|
|
74437
|
-
addonId: null,
|
|
74438
|
-
access: "view"
|
|
74439
|
-
},
|
|
74440
74437
|
"storageAdmin.listKinds": {
|
|
74441
74438
|
capName: "storage-admin",
|
|
74442
74439
|
capScope: "system",
|
|
@@ -74449,12 +74446,6 @@ Object.freeze({
|
|
|
74449
74446
|
addonId: null,
|
|
74450
74447
|
access: "view"
|
|
74451
74448
|
},
|
|
74452
|
-
"storageAdmin.readLegacyCollection": {
|
|
74453
|
-
capName: "storage-admin",
|
|
74454
|
-
capScope: "system",
|
|
74455
|
-
addonId: null,
|
|
74456
|
-
access: "view"
|
|
74457
|
-
},
|
|
74458
74449
|
"storageAdmin.readRecords": {
|
|
74459
74450
|
capName: "storage-admin",
|
|
74460
74451
|
capScope: "system",
|
|
@@ -78269,12 +78260,6 @@ Object.freeze({
|
|
|
78269
78260
|
form: "single",
|
|
78270
78261
|
optional: false
|
|
78271
78262
|
}],
|
|
78272
|
-
"storageAdmin.adoptRecords": [{
|
|
78273
|
-
name: "records",
|
|
78274
|
-
form: "object-array",
|
|
78275
|
-
optional: false,
|
|
78276
|
-
itemField: "deviceId"
|
|
78277
|
-
}],
|
|
78278
78263
|
"storageAdmin.readRecords": [{
|
|
78279
78264
|
name: "deviceId",
|
|
78280
78265
|
form: "single",
|
package/package.json
CHANGED