@camstack/addon-provider-dreame 0.2.140 → 0.2.141
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
|
@@ -5459,7 +5459,7 @@ var ZodIssueCode$1 = {
|
|
|
5459
5459
|
var ZodFirstPartyTypeKind$1;
|
|
5460
5460
|
ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
|
|
5461
5461
|
//#endregion
|
|
5462
|
-
//#region ../types/dist/sleep-
|
|
5462
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5463
5463
|
/**
|
|
5464
5464
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5465
5465
|
* window to float samples (D455).
|
|
@@ -8007,7 +8007,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8007
8007
|
secretPaths: array(string().min(1)).default([]),
|
|
8008
8008
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8009
8009
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8010
|
-
/**
|
|
8010
|
+
/**
|
|
8011
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8012
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8013
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8014
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8015
|
+
* removal still sends it. Never set it.
|
|
8016
|
+
*/
|
|
8011
8017
|
adoptsFrom: string().min(1).optional(),
|
|
8012
8018
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8013
8019
|
transactFamily: string().min(1).optional(),
|
|
@@ -16693,11 +16699,12 @@ var DeclareKindResultSchema = object({
|
|
|
16693
16699
|
kindId: number().int(),
|
|
16694
16700
|
state: RecordKindStateSchema,
|
|
16695
16701
|
createdIndexes: array(string()),
|
|
16696
|
-
/**
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16702
|
+
/**
|
|
16703
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16704
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16705
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16706
|
+
*/
|
|
16707
|
+
adoptionPending: _null()
|
|
16701
16708
|
});
|
|
16702
16709
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16703
16710
|
var SecretRefsList = array(string());
|
|
@@ -16870,26 +16877,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16870
16877
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16871
16878
|
owner: string().min(1),
|
|
16872
16879
|
kind: RecordKindNameSchema
|
|
16873
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16874
|
-
owner: string().min(1),
|
|
16875
|
-
kind: RecordKindNameSchema,
|
|
16876
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16877
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16878
|
-
complete: boolean().optional()
|
|
16879
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16880
|
-
kind: "mutation",
|
|
16881
|
-
auth: "admin"
|
|
16882
|
-
}), method(object({
|
|
16883
|
-
collection: string().min(1),
|
|
16884
|
-
cursor: string().optional(),
|
|
16885
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16886
|
-
}), object({
|
|
16887
|
-
rows: array(object({
|
|
16888
|
-
id: string(),
|
|
16889
|
-
data: record(string(), unknown())
|
|
16890
|
-
})),
|
|
16891
|
-
nextCursor: string().nullable()
|
|
16892
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16880
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16893
16881
|
/**
|
|
16894
16882
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16895
16883
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69365,6 +69353,12 @@ Object.freeze({
|
|
|
69365
69353
|
addonId: null,
|
|
69366
69354
|
access: "view"
|
|
69367
69355
|
},
|
|
69356
|
+
"deviceHistory.queryMany": {
|
|
69357
|
+
capName: "device-history",
|
|
69358
|
+
capScope: "system",
|
|
69359
|
+
addonId: null,
|
|
69360
|
+
access: "view"
|
|
69361
|
+
},
|
|
69368
69362
|
"deviceHistory.queryNode": {
|
|
69369
69363
|
capName: "device-history",
|
|
69370
69364
|
capScope: "system",
|
|
@@ -74585,24 +74579,12 @@ Object.freeze({
|
|
|
74585
74579
|
addonId: null,
|
|
74586
74580
|
access: "create"
|
|
74587
74581
|
},
|
|
74588
|
-
"storageAdmin.adoptRecords": {
|
|
74589
|
-
capName: "storage-admin",
|
|
74590
|
-
capScope: "system",
|
|
74591
|
-
addonId: null,
|
|
74592
|
-
access: "create"
|
|
74593
|
-
},
|
|
74594
74582
|
"storageAdmin.dropCollection": {
|
|
74595
74583
|
capName: "storage-admin",
|
|
74596
74584
|
capScope: "system",
|
|
74597
74585
|
addonId: null,
|
|
74598
74586
|
access: "delete"
|
|
74599
74587
|
},
|
|
74600
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74601
|
-
capName: "storage-admin",
|
|
74602
|
-
capScope: "system",
|
|
74603
|
-
addonId: null,
|
|
74604
|
-
access: "view"
|
|
74605
|
-
},
|
|
74606
74588
|
"storageAdmin.listKinds": {
|
|
74607
74589
|
capName: "storage-admin",
|
|
74608
74590
|
capScope: "system",
|
|
@@ -74615,12 +74597,6 @@ Object.freeze({
|
|
|
74615
74597
|
addonId: null,
|
|
74616
74598
|
access: "view"
|
|
74617
74599
|
},
|
|
74618
|
-
"storageAdmin.readLegacyCollection": {
|
|
74619
|
-
capName: "storage-admin",
|
|
74620
|
-
capScope: "system",
|
|
74621
|
-
addonId: null,
|
|
74622
|
-
access: "view"
|
|
74623
|
-
},
|
|
74624
74600
|
"storageAdmin.readRecords": {
|
|
74625
74601
|
capName: "storage-admin",
|
|
74626
74602
|
capScope: "system",
|
|
@@ -78435,12 +78411,6 @@ Object.freeze({
|
|
|
78435
78411
|
form: "single",
|
|
78436
78412
|
optional: false
|
|
78437
78413
|
}],
|
|
78438
|
-
"storageAdmin.adoptRecords": [{
|
|
78439
|
-
name: "records",
|
|
78440
|
-
form: "object-array",
|
|
78441
|
-
optional: false,
|
|
78442
|
-
itemField: "deviceId"
|
|
78443
|
-
}],
|
|
78444
78414
|
"storageAdmin.readRecords": [{
|
|
78445
78415
|
name: "deviceId",
|
|
78446
78416
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5456,7 +5456,7 @@ var ZodIssueCode$1 = {
|
|
|
5456
5456
|
var ZodFirstPartyTypeKind$1;
|
|
5457
5457
|
ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
|
|
5458
5458
|
//#endregion
|
|
5459
|
-
//#region ../types/dist/sleep-
|
|
5459
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5460
5460
|
/**
|
|
5461
5461
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5462
5462
|
* window to float samples (D455).
|
|
@@ -8004,7 +8004,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8004
8004
|
secretPaths: array(string().min(1)).default([]),
|
|
8005
8005
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8006
8006
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8007
|
-
/**
|
|
8007
|
+
/**
|
|
8008
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8009
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8010
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8011
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8012
|
+
* removal still sends it. Never set it.
|
|
8013
|
+
*/
|
|
8008
8014
|
adoptsFrom: string().min(1).optional(),
|
|
8009
8015
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8010
8016
|
transactFamily: string().min(1).optional(),
|
|
@@ -16690,11 +16696,12 @@ var DeclareKindResultSchema = object({
|
|
|
16690
16696
|
kindId: number().int(),
|
|
16691
16697
|
state: RecordKindStateSchema,
|
|
16692
16698
|
createdIndexes: array(string()),
|
|
16693
|
-
/**
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16699
|
+
/**
|
|
16700
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16701
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16702
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16703
|
+
*/
|
|
16704
|
+
adoptionPending: _null()
|
|
16698
16705
|
});
|
|
16699
16706
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16700
16707
|
var SecretRefsList = array(string());
|
|
@@ -16867,26 +16874,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16867
16874
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16868
16875
|
owner: string().min(1),
|
|
16869
16876
|
kind: RecordKindNameSchema
|
|
16870
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16871
|
-
owner: string().min(1),
|
|
16872
|
-
kind: RecordKindNameSchema,
|
|
16873
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16874
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16875
|
-
complete: boolean().optional()
|
|
16876
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16877
|
-
kind: "mutation",
|
|
16878
|
-
auth: "admin"
|
|
16879
|
-
}), method(object({
|
|
16880
|
-
collection: string().min(1),
|
|
16881
|
-
cursor: string().optional(),
|
|
16882
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16883
|
-
}), object({
|
|
16884
|
-
rows: array(object({
|
|
16885
|
-
id: string(),
|
|
16886
|
-
data: record(string(), unknown())
|
|
16887
|
-
})),
|
|
16888
|
-
nextCursor: string().nullable()
|
|
16889
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16877
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16890
16878
|
/**
|
|
16891
16879
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16892
16880
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69362,6 +69350,12 @@ Object.freeze({
|
|
|
69362
69350
|
addonId: null,
|
|
69363
69351
|
access: "view"
|
|
69364
69352
|
},
|
|
69353
|
+
"deviceHistory.queryMany": {
|
|
69354
|
+
capName: "device-history",
|
|
69355
|
+
capScope: "system",
|
|
69356
|
+
addonId: null,
|
|
69357
|
+
access: "view"
|
|
69358
|
+
},
|
|
69365
69359
|
"deviceHistory.queryNode": {
|
|
69366
69360
|
capName: "device-history",
|
|
69367
69361
|
capScope: "system",
|
|
@@ -74582,24 +74576,12 @@ Object.freeze({
|
|
|
74582
74576
|
addonId: null,
|
|
74583
74577
|
access: "create"
|
|
74584
74578
|
},
|
|
74585
|
-
"storageAdmin.adoptRecords": {
|
|
74586
|
-
capName: "storage-admin",
|
|
74587
|
-
capScope: "system",
|
|
74588
|
-
addonId: null,
|
|
74589
|
-
access: "create"
|
|
74590
|
-
},
|
|
74591
74579
|
"storageAdmin.dropCollection": {
|
|
74592
74580
|
capName: "storage-admin",
|
|
74593
74581
|
capScope: "system",
|
|
74594
74582
|
addonId: null,
|
|
74595
74583
|
access: "delete"
|
|
74596
74584
|
},
|
|
74597
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74598
|
-
capName: "storage-admin",
|
|
74599
|
-
capScope: "system",
|
|
74600
|
-
addonId: null,
|
|
74601
|
-
access: "view"
|
|
74602
|
-
},
|
|
74603
74585
|
"storageAdmin.listKinds": {
|
|
74604
74586
|
capName: "storage-admin",
|
|
74605
74587
|
capScope: "system",
|
|
@@ -74612,12 +74594,6 @@ Object.freeze({
|
|
|
74612
74594
|
addonId: null,
|
|
74613
74595
|
access: "view"
|
|
74614
74596
|
},
|
|
74615
|
-
"storageAdmin.readLegacyCollection": {
|
|
74616
|
-
capName: "storage-admin",
|
|
74617
|
-
capScope: "system",
|
|
74618
|
-
addonId: null,
|
|
74619
|
-
access: "view"
|
|
74620
|
-
},
|
|
74621
74597
|
"storageAdmin.readRecords": {
|
|
74622
74598
|
capName: "storage-admin",
|
|
74623
74599
|
capScope: "system",
|
|
@@ -78432,12 +78408,6 @@ Object.freeze({
|
|
|
78432
78408
|
form: "single",
|
|
78433
78409
|
optional: false
|
|
78434
78410
|
}],
|
|
78435
|
-
"storageAdmin.adoptRecords": [{
|
|
78436
|
-
name: "records",
|
|
78437
|
-
form: "object-array",
|
|
78438
|
-
optional: false,
|
|
78439
|
-
itemField: "deviceId"
|
|
78440
|
-
}],
|
|
78441
78411
|
"storageAdmin.readRecords": [{
|
|
78442
78412
|
name: "deviceId",
|
|
78443
78413
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.141",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|