@camstack/addon-provider-velux 0.2.133 → 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 CHANGED
@@ -5414,7 +5414,7 @@ var ZodIssueCode = {
5414
5414
  var ZodFirstPartyTypeKind;
5415
5415
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5416
5416
  //#endregion
5417
- //#region ../types/dist/sleep-BSuCCFjf.mjs
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
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
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
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16652
- adoptionPending: object({
16653
- legacyTable: string(),
16654
- legacyRows: number().int()
16655
- }).nullable()
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" }), method(object({
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
@@ -69215,6 +69203,12 @@ Object.freeze({
69215
69203
  addonId: null,
69216
69204
  access: "view"
69217
69205
  },
69206
+ "deviceHistory.queryMany": {
69207
+ capName: "device-history",
69208
+ capScope: "system",
69209
+ addonId: null,
69210
+ access: "view"
69211
+ },
69218
69212
  "deviceHistory.queryNode": {
69219
69213
  capName: "device-history",
69220
69214
  capScope: "system",
@@ -74435,24 +74429,12 @@ Object.freeze({
74435
74429
  addonId: null,
74436
74430
  access: "create"
74437
74431
  },
74438
- "storageAdmin.adoptRecords": {
74439
- capName: "storage-admin",
74440
- capScope: "system",
74441
- addonId: null,
74442
- access: "create"
74443
- },
74444
74432
  "storageAdmin.dropCollection": {
74445
74433
  capName: "storage-admin",
74446
74434
  capScope: "system",
74447
74435
  addonId: null,
74448
74436
  access: "delete"
74449
74437
  },
74450
- "storageAdmin.isAdoptedLegacyTable": {
74451
- capName: "storage-admin",
74452
- capScope: "system",
74453
- addonId: null,
74454
- access: "view"
74455
- },
74456
74438
  "storageAdmin.listKinds": {
74457
74439
  capName: "storage-admin",
74458
74440
  capScope: "system",
@@ -74465,12 +74447,6 @@ Object.freeze({
74465
74447
  addonId: null,
74466
74448
  access: "view"
74467
74449
  },
74468
- "storageAdmin.readLegacyCollection": {
74469
- capName: "storage-admin",
74470
- capScope: "system",
74471
- addonId: null,
74472
- access: "view"
74473
- },
74474
74450
  "storageAdmin.readRecords": {
74475
74451
  capName: "storage-admin",
74476
74452
  capScope: "system",
@@ -78285,12 +78261,6 @@ Object.freeze({
78285
78261
  form: "single",
78286
78262
  optional: false
78287
78263
  }],
78288
- "storageAdmin.adoptRecords": [{
78289
- name: "records",
78290
- form: "object-array",
78291
- optional: false,
78292
- itemField: "deviceId"
78293
- }],
78294
78264
  "storageAdmin.readRecords": [{
78295
78265
  name: "deviceId",
78296
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-BSuCCFjf.mjs
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
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
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
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16651
- adoptionPending: object({
16652
- legacyTable: string(),
16653
- legacyRows: number().int()
16654
- }).nullable()
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" }), method(object({
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
@@ -69214,6 +69202,12 @@ Object.freeze({
69214
69202
  addonId: null,
69215
69203
  access: "view"
69216
69204
  },
69205
+ "deviceHistory.queryMany": {
69206
+ capName: "device-history",
69207
+ capScope: "system",
69208
+ addonId: null,
69209
+ access: "view"
69210
+ },
69217
69211
  "deviceHistory.queryNode": {
69218
69212
  capName: "device-history",
69219
69213
  capScope: "system",
@@ -74434,24 +74428,12 @@ Object.freeze({
74434
74428
  addonId: null,
74435
74429
  access: "create"
74436
74430
  },
74437
- "storageAdmin.adoptRecords": {
74438
- capName: "storage-admin",
74439
- capScope: "system",
74440
- addonId: null,
74441
- access: "create"
74442
- },
74443
74431
  "storageAdmin.dropCollection": {
74444
74432
  capName: "storage-admin",
74445
74433
  capScope: "system",
74446
74434
  addonId: null,
74447
74435
  access: "delete"
74448
74436
  },
74449
- "storageAdmin.isAdoptedLegacyTable": {
74450
- capName: "storage-admin",
74451
- capScope: "system",
74452
- addonId: null,
74453
- access: "view"
74454
- },
74455
74437
  "storageAdmin.listKinds": {
74456
74438
  capName: "storage-admin",
74457
74439
  capScope: "system",
@@ -74464,12 +74446,6 @@ Object.freeze({
74464
74446
  addonId: null,
74465
74447
  access: "view"
74466
74448
  },
74467
- "storageAdmin.readLegacyCollection": {
74468
- capName: "storage-admin",
74469
- capScope: "system",
74470
- addonId: null,
74471
- access: "view"
74472
- },
74473
74449
  "storageAdmin.readRecords": {
74474
74450
  capName: "storage-admin",
74475
74451
  capScope: "system",
@@ -78284,12 +78260,6 @@ Object.freeze({
78284
78260
  form: "single",
78285
78261
  optional: false
78286
78262
  }],
78287
- "storageAdmin.adoptRecords": [{
78288
- name: "records",
78289
- form: "object-array",
78290
- optional: false,
78291
- itemField: "deviceId"
78292
- }],
78293
78263
  "storageAdmin.readRecords": [{
78294
78264
  name: "deviceId",
78295
78265
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.133",
3
+ "version": "0.2.134",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",