@camstack/addon-provider-rademacher 0.2.133 → 0.2.135

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
@@ -6399,7 +6399,7 @@ var ZodIssueCode = {
6399
6399
  var ZodFirstPartyTypeKind;
6400
6400
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6401
6401
  //#endregion
6402
- //#region ../types/dist/sleep-BSuCCFjf.mjs
6402
+ //#region ../types/dist/sleep-CSuN0thG.mjs
6403
6403
  /**
6404
6404
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6405
6405
  * window to float samples (D455).
@@ -8947,7 +8947,13 @@ var RecordKindDeclarationSchema = object({
8947
8947
  secretPaths: array(string().min(1)).default([]),
8948
8948
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
8949
8949
  secretArrayKeys: record(string(), string()).default({}),
8950
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
8950
+ /**
8951
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8952
+ * migration. Nothing declares it any more and nothing reads it; the schema
8953
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8954
+ * (an orphaned kind is never redeclared) and an addon built before the
8955
+ * removal still sends it. Never set it.
8956
+ */
8951
8957
  adoptsFrom: string().min(1).optional(),
8952
8958
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8953
8959
  transactFamily: string().min(1).optional(),
@@ -17619,11 +17625,12 @@ var DeclareKindResultSchema = object({
17619
17625
  kindId: number().int(),
17620
17626
  state: RecordKindStateSchema,
17621
17627
  createdIndexes: array(string()),
17622
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17623
- adoptionPending: object({
17624
- legacyTable: string(),
17625
- legacyRows: number().int()
17626
- }).nullable()
17628
+ /**
17629
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17630
+ * it stays on the wire, null, because an addon built before the removal reads
17631
+ * an ABSENT field as "adoption pending" and refuses to start.
17632
+ */
17633
+ adoptionPending: _null()
17627
17634
  });
17628
17635
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17629
17636
  var SecretRefsList = array(string());
@@ -17796,26 +17803,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17796
17803
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17797
17804
  owner: string().min(1),
17798
17805
  kind: RecordKindNameSchema
17799
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17800
- owner: string().min(1),
17801
- kind: RecordKindNameSchema,
17802
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17803
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17804
- complete: boolean().optional()
17805
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17806
- kind: "mutation",
17807
- auth: "admin"
17808
- }), method(object({
17809
- collection: string().min(1),
17810
- cursor: string().optional(),
17811
- limit: number().int().min(1).max(1e3).optional()
17812
- }), object({
17813
- rows: array(object({
17814
- id: string(),
17815
- data: record(string(), unknown())
17816
- })),
17817
- nextCursor: string().nullable()
17818
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17806
+ }), RecordQueryResultSchema, { auth: "admin" });
17819
17807
  /**
17820
17808
  * record-entries - the ONE admin surface for every list of user-created entries
17821
17809
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -70186,6 +70174,12 @@ Object.freeze({
70186
70174
  addonId: null,
70187
70175
  access: "view"
70188
70176
  },
70177
+ "deviceHistory.queryMany": {
70178
+ capName: "device-history",
70179
+ capScope: "system",
70180
+ addonId: null,
70181
+ access: "view"
70182
+ },
70189
70183
  "deviceHistory.queryNode": {
70190
70184
  capName: "device-history",
70191
70185
  capScope: "system",
@@ -75406,24 +75400,12 @@ Object.freeze({
75406
75400
  addonId: null,
75407
75401
  access: "create"
75408
75402
  },
75409
- "storageAdmin.adoptRecords": {
75410
- capName: "storage-admin",
75411
- capScope: "system",
75412
- addonId: null,
75413
- access: "create"
75414
- },
75415
75403
  "storageAdmin.dropCollection": {
75416
75404
  capName: "storage-admin",
75417
75405
  capScope: "system",
75418
75406
  addonId: null,
75419
75407
  access: "delete"
75420
75408
  },
75421
- "storageAdmin.isAdoptedLegacyTable": {
75422
- capName: "storage-admin",
75423
- capScope: "system",
75424
- addonId: null,
75425
- access: "view"
75426
- },
75427
75409
  "storageAdmin.listKinds": {
75428
75410
  capName: "storage-admin",
75429
75411
  capScope: "system",
@@ -75436,12 +75418,6 @@ Object.freeze({
75436
75418
  addonId: null,
75437
75419
  access: "view"
75438
75420
  },
75439
- "storageAdmin.readLegacyCollection": {
75440
- capName: "storage-admin",
75441
- capScope: "system",
75442
- addonId: null,
75443
- access: "view"
75444
- },
75445
75421
  "storageAdmin.readRecords": {
75446
75422
  capName: "storage-admin",
75447
75423
  capScope: "system",
@@ -79256,12 +79232,6 @@ Object.freeze({
79256
79232
  form: "single",
79257
79233
  optional: false
79258
79234
  }],
79259
- "storageAdmin.adoptRecords": [{
79260
- name: "records",
79261
- form: "object-array",
79262
- optional: false,
79263
- itemField: "deviceId"
79264
- }],
79265
79235
  "storageAdmin.readRecords": [{
79266
79236
  name: "deviceId",
79267
79237
  form: "single",
package/dist/addon.mjs CHANGED
@@ -6398,7 +6398,7 @@ var ZodIssueCode = {
6398
6398
  var ZodFirstPartyTypeKind;
6399
6399
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6400
6400
  //#endregion
6401
- //#region ../types/dist/sleep-BSuCCFjf.mjs
6401
+ //#region ../types/dist/sleep-CSuN0thG.mjs
6402
6402
  /**
6403
6403
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6404
6404
  * window to float samples (D455).
@@ -8946,7 +8946,13 @@ var RecordKindDeclarationSchema = object({
8946
8946
  secretPaths: array(string().min(1)).default([]),
8947
8947
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
8948
8948
  secretArrayKeys: record(string(), string()).default({}),
8949
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
8949
+ /**
8950
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8951
+ * migration. Nothing declares it any more and nothing reads it; the schema
8952
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8953
+ * (an orphaned kind is never redeclared) and an addon built before the
8954
+ * removal still sends it. Never set it.
8955
+ */
8950
8956
  adoptsFrom: string().min(1).optional(),
8951
8957
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8952
8958
  transactFamily: string().min(1).optional(),
@@ -17618,11 +17624,12 @@ var DeclareKindResultSchema = object({
17618
17624
  kindId: number().int(),
17619
17625
  state: RecordKindStateSchema,
17620
17626
  createdIndexes: array(string()),
17621
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17622
- adoptionPending: object({
17623
- legacyTable: string(),
17624
- legacyRows: number().int()
17625
- }).nullable()
17627
+ /**
17628
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17629
+ * it stays on the wire, null, because an addon built before the removal reads
17630
+ * an ABSENT field as "adoption pending" and refuses to start.
17631
+ */
17632
+ adoptionPending: _null()
17626
17633
  });
17627
17634
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17628
17635
  var SecretRefsList = array(string());
@@ -17795,26 +17802,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17795
17802
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17796
17803
  owner: string().min(1),
17797
17804
  kind: RecordKindNameSchema
17798
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17799
- owner: string().min(1),
17800
- kind: RecordKindNameSchema,
17801
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17802
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17803
- complete: boolean().optional()
17804
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17805
- kind: "mutation",
17806
- auth: "admin"
17807
- }), method(object({
17808
- collection: string().min(1),
17809
- cursor: string().optional(),
17810
- limit: number().int().min(1).max(1e3).optional()
17811
- }), object({
17812
- rows: array(object({
17813
- id: string(),
17814
- data: record(string(), unknown())
17815
- })),
17816
- nextCursor: string().nullable()
17817
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17805
+ }), RecordQueryResultSchema, { auth: "admin" });
17818
17806
  /**
17819
17807
  * record-entries - the ONE admin surface for every list of user-created entries
17820
17808
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -70185,6 +70173,12 @@ Object.freeze({
70185
70173
  addonId: null,
70186
70174
  access: "view"
70187
70175
  },
70176
+ "deviceHistory.queryMany": {
70177
+ capName: "device-history",
70178
+ capScope: "system",
70179
+ addonId: null,
70180
+ access: "view"
70181
+ },
70188
70182
  "deviceHistory.queryNode": {
70189
70183
  capName: "device-history",
70190
70184
  capScope: "system",
@@ -75405,24 +75399,12 @@ Object.freeze({
75405
75399
  addonId: null,
75406
75400
  access: "create"
75407
75401
  },
75408
- "storageAdmin.adoptRecords": {
75409
- capName: "storage-admin",
75410
- capScope: "system",
75411
- addonId: null,
75412
- access: "create"
75413
- },
75414
75402
  "storageAdmin.dropCollection": {
75415
75403
  capName: "storage-admin",
75416
75404
  capScope: "system",
75417
75405
  addonId: null,
75418
75406
  access: "delete"
75419
75407
  },
75420
- "storageAdmin.isAdoptedLegacyTable": {
75421
- capName: "storage-admin",
75422
- capScope: "system",
75423
- addonId: null,
75424
- access: "view"
75425
- },
75426
75408
  "storageAdmin.listKinds": {
75427
75409
  capName: "storage-admin",
75428
75410
  capScope: "system",
@@ -75435,12 +75417,6 @@ Object.freeze({
75435
75417
  addonId: null,
75436
75418
  access: "view"
75437
75419
  },
75438
- "storageAdmin.readLegacyCollection": {
75439
- capName: "storage-admin",
75440
- capScope: "system",
75441
- addonId: null,
75442
- access: "view"
75443
- },
75444
75420
  "storageAdmin.readRecords": {
75445
75421
  capName: "storage-admin",
75446
75422
  capScope: "system",
@@ -79255,12 +79231,6 @@ Object.freeze({
79255
79231
  form: "single",
79256
79232
  optional: false
79257
79233
  }],
79258
- "storageAdmin.adoptRecords": [{
79259
- name: "records",
79260
- form: "object-array",
79261
- optional: false,
79262
- itemField: "deviceId"
79263
- }],
79264
79234
  "storageAdmin.readRecords": [{
79265
79235
  name: "deviceId",
79266
79236
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.133",
3
+ "version": "0.2.135",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",