@camstack/addon-provider-mqtt-ha 0.1.11 → 0.1.13
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
|
@@ -5448,7 +5448,7 @@ var ZodIssueCode = {
|
|
|
5448
5448
|
var ZodFirstPartyTypeKind;
|
|
5449
5449
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5450
5450
|
//#endregion
|
|
5451
|
-
//#region ../types/dist/sleep-
|
|
5451
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5452
5452
|
/**
|
|
5453
5453
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5454
5454
|
* window to float samples (D455).
|
|
@@ -7996,7 +7996,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7996
7996
|
secretPaths: array(string().min(1)).default([]),
|
|
7997
7997
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7998
7998
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7999
|
-
/**
|
|
7999
|
+
/**
|
|
8000
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8001
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8002
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8003
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8004
|
+
* removal still sends it. Never set it.
|
|
8005
|
+
*/
|
|
8000
8006
|
adoptsFrom: string().min(1).optional(),
|
|
8001
8007
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8002
8008
|
transactFamily: string().min(1).optional(),
|
|
@@ -16668,11 +16674,12 @@ var DeclareKindResultSchema = object({
|
|
|
16668
16674
|
kindId: number().int(),
|
|
16669
16675
|
state: RecordKindStateSchema,
|
|
16670
16676
|
createdIndexes: array(string()),
|
|
16671
|
-
/**
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16677
|
+
/**
|
|
16678
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16679
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16680
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16681
|
+
*/
|
|
16682
|
+
adoptionPending: _null()
|
|
16676
16683
|
});
|
|
16677
16684
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16678
16685
|
var SecretRefsList = array(string());
|
|
@@ -16845,26 +16852,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16845
16852
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16846
16853
|
owner: string().min(1),
|
|
16847
16854
|
kind: RecordKindNameSchema
|
|
16848
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16849
|
-
owner: string().min(1),
|
|
16850
|
-
kind: RecordKindNameSchema,
|
|
16851
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16852
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16853
|
-
complete: boolean().optional()
|
|
16854
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16855
|
-
kind: "mutation",
|
|
16856
|
-
auth: "admin"
|
|
16857
|
-
}), method(object({
|
|
16858
|
-
collection: string().min(1),
|
|
16859
|
-
cursor: string().optional(),
|
|
16860
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16861
|
-
}), object({
|
|
16862
|
-
rows: array(object({
|
|
16863
|
-
id: string(),
|
|
16864
|
-
data: record(string(), unknown())
|
|
16865
|
-
})),
|
|
16866
|
-
nextCursor: string().nullable()
|
|
16867
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16855
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16868
16856
|
/**
|
|
16869
16857
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16870
16858
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69139,6 +69127,12 @@ Object.freeze({
|
|
|
69139
69127
|
addonId: null,
|
|
69140
69128
|
access: "view"
|
|
69141
69129
|
},
|
|
69130
|
+
"deviceHistory.queryMany": {
|
|
69131
|
+
capName: "device-history",
|
|
69132
|
+
capScope: "system",
|
|
69133
|
+
addonId: null,
|
|
69134
|
+
access: "view"
|
|
69135
|
+
},
|
|
69142
69136
|
"deviceHistory.queryNode": {
|
|
69143
69137
|
capName: "device-history",
|
|
69144
69138
|
capScope: "system",
|
|
@@ -74359,24 +74353,12 @@ Object.freeze({
|
|
|
74359
74353
|
addonId: null,
|
|
74360
74354
|
access: "create"
|
|
74361
74355
|
},
|
|
74362
|
-
"storageAdmin.adoptRecords": {
|
|
74363
|
-
capName: "storage-admin",
|
|
74364
|
-
capScope: "system",
|
|
74365
|
-
addonId: null,
|
|
74366
|
-
access: "create"
|
|
74367
|
-
},
|
|
74368
74356
|
"storageAdmin.dropCollection": {
|
|
74369
74357
|
capName: "storage-admin",
|
|
74370
74358
|
capScope: "system",
|
|
74371
74359
|
addonId: null,
|
|
74372
74360
|
access: "delete"
|
|
74373
74361
|
},
|
|
74374
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74375
|
-
capName: "storage-admin",
|
|
74376
|
-
capScope: "system",
|
|
74377
|
-
addonId: null,
|
|
74378
|
-
access: "view"
|
|
74379
|
-
},
|
|
74380
74362
|
"storageAdmin.listKinds": {
|
|
74381
74363
|
capName: "storage-admin",
|
|
74382
74364
|
capScope: "system",
|
|
@@ -74389,12 +74371,6 @@ Object.freeze({
|
|
|
74389
74371
|
addonId: null,
|
|
74390
74372
|
access: "view"
|
|
74391
74373
|
},
|
|
74392
|
-
"storageAdmin.readLegacyCollection": {
|
|
74393
|
-
capName: "storage-admin",
|
|
74394
|
-
capScope: "system",
|
|
74395
|
-
addonId: null,
|
|
74396
|
-
access: "view"
|
|
74397
|
-
},
|
|
74398
74374
|
"storageAdmin.readRecords": {
|
|
74399
74375
|
capName: "storage-admin",
|
|
74400
74376
|
capScope: "system",
|
|
@@ -78209,12 +78185,6 @@ Object.freeze({
|
|
|
78209
78185
|
form: "single",
|
|
78210
78186
|
optional: false
|
|
78211
78187
|
}],
|
|
78212
|
-
"storageAdmin.adoptRecords": [{
|
|
78213
|
-
name: "records",
|
|
78214
|
-
form: "object-array",
|
|
78215
|
-
optional: false,
|
|
78216
|
-
itemField: "deviceId"
|
|
78217
|
-
}],
|
|
78218
78188
|
"storageAdmin.readRecords": [{
|
|
78219
78189
|
name: "deviceId",
|
|
78220
78190
|
form: "single",
|
package/dist/addon.mjs
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(),
|
|
@@ -16669,11 +16675,12 @@ var DeclareKindResultSchema = object({
|
|
|
16669
16675
|
kindId: number().int(),
|
|
16670
16676
|
state: RecordKindStateSchema,
|
|
16671
16677
|
createdIndexes: array(string()),
|
|
16672
|
-
/**
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16678
|
+
/**
|
|
16679
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16680
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16681
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16682
|
+
*/
|
|
16683
|
+
adoptionPending: _null()
|
|
16677
16684
|
});
|
|
16678
16685
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16679
16686
|
var SecretRefsList = array(string());
|
|
@@ -16846,26 +16853,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16846
16853
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16847
16854
|
owner: string().min(1),
|
|
16848
16855
|
kind: RecordKindNameSchema
|
|
16849
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16850
|
-
owner: string().min(1),
|
|
16851
|
-
kind: RecordKindNameSchema,
|
|
16852
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16853
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16854
|
-
complete: boolean().optional()
|
|
16855
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16856
|
-
kind: "mutation",
|
|
16857
|
-
auth: "admin"
|
|
16858
|
-
}), method(object({
|
|
16859
|
-
collection: string().min(1),
|
|
16860
|
-
cursor: string().optional(),
|
|
16861
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16862
|
-
}), object({
|
|
16863
|
-
rows: array(object({
|
|
16864
|
-
id: string(),
|
|
16865
|
-
data: record(string(), unknown())
|
|
16866
|
-
})),
|
|
16867
|
-
nextCursor: string().nullable()
|
|
16868
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16856
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16869
16857
|
/**
|
|
16870
16858
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16871
16859
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69140,6 +69128,12 @@ Object.freeze({
|
|
|
69140
69128
|
addonId: null,
|
|
69141
69129
|
access: "view"
|
|
69142
69130
|
},
|
|
69131
|
+
"deviceHistory.queryMany": {
|
|
69132
|
+
capName: "device-history",
|
|
69133
|
+
capScope: "system",
|
|
69134
|
+
addonId: null,
|
|
69135
|
+
access: "view"
|
|
69136
|
+
},
|
|
69143
69137
|
"deviceHistory.queryNode": {
|
|
69144
69138
|
capName: "device-history",
|
|
69145
69139
|
capScope: "system",
|
|
@@ -74360,24 +74354,12 @@ Object.freeze({
|
|
|
74360
74354
|
addonId: null,
|
|
74361
74355
|
access: "create"
|
|
74362
74356
|
},
|
|
74363
|
-
"storageAdmin.adoptRecords": {
|
|
74364
|
-
capName: "storage-admin",
|
|
74365
|
-
capScope: "system",
|
|
74366
|
-
addonId: null,
|
|
74367
|
-
access: "create"
|
|
74368
|
-
},
|
|
74369
74357
|
"storageAdmin.dropCollection": {
|
|
74370
74358
|
capName: "storage-admin",
|
|
74371
74359
|
capScope: "system",
|
|
74372
74360
|
addonId: null,
|
|
74373
74361
|
access: "delete"
|
|
74374
74362
|
},
|
|
74375
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74376
|
-
capName: "storage-admin",
|
|
74377
|
-
capScope: "system",
|
|
74378
|
-
addonId: null,
|
|
74379
|
-
access: "view"
|
|
74380
|
-
},
|
|
74381
74363
|
"storageAdmin.listKinds": {
|
|
74382
74364
|
capName: "storage-admin",
|
|
74383
74365
|
capScope: "system",
|
|
@@ -74390,12 +74372,6 @@ Object.freeze({
|
|
|
74390
74372
|
addonId: null,
|
|
74391
74373
|
access: "view"
|
|
74392
74374
|
},
|
|
74393
|
-
"storageAdmin.readLegacyCollection": {
|
|
74394
|
-
capName: "storage-admin",
|
|
74395
|
-
capScope: "system",
|
|
74396
|
-
addonId: null,
|
|
74397
|
-
access: "view"
|
|
74398
|
-
},
|
|
74399
74375
|
"storageAdmin.readRecords": {
|
|
74400
74376
|
capName: "storage-admin",
|
|
74401
74377
|
capScope: "system",
|
|
@@ -78210,12 +78186,6 @@ Object.freeze({
|
|
|
78210
78186
|
form: "single",
|
|
78211
78187
|
optional: false
|
|
78212
78188
|
}],
|
|
78213
|
-
"storageAdmin.adoptRecords": [{
|
|
78214
|
-
name: "records",
|
|
78215
|
-
form: "object-array",
|
|
78216
|
-
optional: false,
|
|
78217
|
-
itemField: "deviceId"
|
|
78218
|
-
}],
|
|
78219
78189
|
"storageAdmin.readRecords": [{
|
|
78220
78190
|
name: "deviceId",
|
|
78221
78191
|
form: "single",
|
package/package.json
CHANGED