@camstack/addon-decoder-nodeav 1.2.129 → 1.2.130

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/index.js CHANGED
@@ -5418,7 +5418,7 @@ var ZodIssueCode = {
5418
5418
  var ZodFirstPartyTypeKind;
5419
5419
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5420
5420
  //#endregion
5421
- //#region ../types/dist/sleep-BSuCCFjf.mjs
5421
+ //#region ../types/dist/sleep-CSuN0thG.mjs
5422
5422
  /**
5423
5423
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5424
5424
  * window to float samples (D455).
@@ -7899,7 +7899,13 @@ var RecordKindDeclarationSchema = object({
7899
7899
  secretPaths: array(string().min(1)).default([]),
7900
7900
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7901
7901
  secretArrayKeys: record(string(), string()).default({}),
7902
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
7902
+ /**
7903
+ * RETIRED (D900): the legacy table a kind adopted from during the records
7904
+ * migration. Nothing declares it any more and nothing reads it; the schema
7905
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
7906
+ * (an orphaned kind is never redeclared) and an addon built before the
7907
+ * removal still sends it. Never set it.
7908
+ */
7903
7909
  adoptsFrom: string().min(1).optional(),
7904
7910
  /** Kinds that must agree through `transact` sit in one file under one family name. */
7905
7911
  transactFamily: string().min(1).optional(),
@@ -16498,11 +16504,12 @@ var DeclareKindResultSchema = object({
16498
16504
  kindId: number().int(),
16499
16505
  state: RecordKindStateSchema,
16500
16506
  createdIndexes: array(string()),
16501
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16502
- adoptionPending: object({
16503
- legacyTable: string(),
16504
- legacyRows: number().int()
16505
- }).nullable()
16507
+ /**
16508
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16509
+ * it stays on the wire, null, because an addon built before the removal reads
16510
+ * an ABSENT field as "adoption pending" and refuses to start.
16511
+ */
16512
+ adoptionPending: _null()
16506
16513
  });
16507
16514
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16508
16515
  var SecretRefsList = array(string());
@@ -16675,26 +16682,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
16675
16682
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
16676
16683
  owner: string().min(1),
16677
16684
  kind: RecordKindNameSchema
16678
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
16679
- owner: string().min(1),
16680
- kind: RecordKindNameSchema,
16681
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
16682
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
16683
- complete: boolean().optional()
16684
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
16685
- kind: "mutation",
16686
- auth: "admin"
16687
- }), method(object({
16688
- collection: string().min(1),
16689
- cursor: string().optional(),
16690
- limit: number().int().min(1).max(1e3).optional()
16691
- }), object({
16692
- rows: array(object({
16693
- id: string(),
16694
- data: record(string(), unknown())
16695
- })),
16696
- nextCursor: string().nullable()
16697
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
16685
+ }), RecordQueryResultSchema, { auth: "admin" });
16698
16686
  /**
16699
16687
  * record-entries - the ONE admin surface for every list of user-created entries
16700
16688
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -63954,6 +63942,12 @@ Object.freeze({
63954
63942
  addonId: null,
63955
63943
  access: "view"
63956
63944
  },
63945
+ "deviceHistory.queryMany": {
63946
+ capName: "device-history",
63947
+ capScope: "system",
63948
+ addonId: null,
63949
+ access: "view"
63950
+ },
63957
63951
  "deviceHistory.queryNode": {
63958
63952
  capName: "device-history",
63959
63953
  capScope: "system",
@@ -69174,24 +69168,12 @@ Object.freeze({
69174
69168
  addonId: null,
69175
69169
  access: "create"
69176
69170
  },
69177
- "storageAdmin.adoptRecords": {
69178
- capName: "storage-admin",
69179
- capScope: "system",
69180
- addonId: null,
69181
- access: "create"
69182
- },
69183
69171
  "storageAdmin.dropCollection": {
69184
69172
  capName: "storage-admin",
69185
69173
  capScope: "system",
69186
69174
  addonId: null,
69187
69175
  access: "delete"
69188
69176
  },
69189
- "storageAdmin.isAdoptedLegacyTable": {
69190
- capName: "storage-admin",
69191
- capScope: "system",
69192
- addonId: null,
69193
- access: "view"
69194
- },
69195
69177
  "storageAdmin.listKinds": {
69196
69178
  capName: "storage-admin",
69197
69179
  capScope: "system",
@@ -69204,12 +69186,6 @@ Object.freeze({
69204
69186
  addonId: null,
69205
69187
  access: "view"
69206
69188
  },
69207
- "storageAdmin.readLegacyCollection": {
69208
- capName: "storage-admin",
69209
- capScope: "system",
69210
- addonId: null,
69211
- access: "view"
69212
- },
69213
69189
  "storageAdmin.readRecords": {
69214
69190
  capName: "storage-admin",
69215
69191
  capScope: "system",
@@ -73024,12 +73000,6 @@ Object.freeze({
73024
73000
  form: "single",
73025
73001
  optional: false
73026
73002
  }],
73027
- "storageAdmin.adoptRecords": [{
73028
- name: "records",
73029
- form: "object-array",
73030
- optional: false,
73031
- itemField: "deviceId"
73032
- }],
73033
73003
  "storageAdmin.readRecords": [{
73034
73004
  name: "deviceId",
73035
73005
  form: "single",
package/dist/index.mjs 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).
@@ -7895,7 +7895,13 @@ var RecordKindDeclarationSchema = object({
7895
7895
  secretPaths: array(string().min(1)).default([]),
7896
7896
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7897
7897
  secretArrayKeys: record(string(), string()).default({}),
7898
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
7898
+ /**
7899
+ * RETIRED (D900): the legacy table a kind adopted from during the records
7900
+ * migration. Nothing declares it any more and nothing reads it; the schema
7901
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
7902
+ * (an orphaned kind is never redeclared) and an addon built before the
7903
+ * removal still sends it. Never set it.
7904
+ */
7899
7905
  adoptsFrom: string().min(1).optional(),
7900
7906
  /** Kinds that must agree through `transact` sit in one file under one family name. */
7901
7907
  transactFamily: string().min(1).optional(),
@@ -16494,11 +16500,12 @@ var DeclareKindResultSchema = object({
16494
16500
  kindId: number().int(),
16495
16501
  state: RecordKindStateSchema,
16496
16502
  createdIndexes: array(string()),
16497
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16498
- adoptionPending: object({
16499
- legacyTable: string(),
16500
- legacyRows: number().int()
16501
- }).nullable()
16503
+ /**
16504
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16505
+ * it stays on the wire, null, because an addon built before the removal reads
16506
+ * an ABSENT field as "adoption pending" and refuses to start.
16507
+ */
16508
+ adoptionPending: _null()
16502
16509
  });
16503
16510
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16504
16511
  var SecretRefsList = array(string());
@@ -16671,26 +16678,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
16671
16678
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
16672
16679
  owner: string().min(1),
16673
16680
  kind: RecordKindNameSchema
16674
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
16675
- owner: string().min(1),
16676
- kind: RecordKindNameSchema,
16677
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
16678
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
16679
- complete: boolean().optional()
16680
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
16681
- kind: "mutation",
16682
- auth: "admin"
16683
- }), method(object({
16684
- collection: string().min(1),
16685
- cursor: string().optional(),
16686
- limit: number().int().min(1).max(1e3).optional()
16687
- }), object({
16688
- rows: array(object({
16689
- id: string(),
16690
- data: record(string(), unknown())
16691
- })),
16692
- nextCursor: string().nullable()
16693
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
16681
+ }), RecordQueryResultSchema, { auth: "admin" });
16694
16682
  /**
16695
16683
  * record-entries - the ONE admin surface for every list of user-created entries
16696
16684
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -63950,6 +63938,12 @@ Object.freeze({
63950
63938
  addonId: null,
63951
63939
  access: "view"
63952
63940
  },
63941
+ "deviceHistory.queryMany": {
63942
+ capName: "device-history",
63943
+ capScope: "system",
63944
+ addonId: null,
63945
+ access: "view"
63946
+ },
63953
63947
  "deviceHistory.queryNode": {
63954
63948
  capName: "device-history",
63955
63949
  capScope: "system",
@@ -69170,24 +69164,12 @@ Object.freeze({
69170
69164
  addonId: null,
69171
69165
  access: "create"
69172
69166
  },
69173
- "storageAdmin.adoptRecords": {
69174
- capName: "storage-admin",
69175
- capScope: "system",
69176
- addonId: null,
69177
- access: "create"
69178
- },
69179
69167
  "storageAdmin.dropCollection": {
69180
69168
  capName: "storage-admin",
69181
69169
  capScope: "system",
69182
69170
  addonId: null,
69183
69171
  access: "delete"
69184
69172
  },
69185
- "storageAdmin.isAdoptedLegacyTable": {
69186
- capName: "storage-admin",
69187
- capScope: "system",
69188
- addonId: null,
69189
- access: "view"
69190
- },
69191
69173
  "storageAdmin.listKinds": {
69192
69174
  capName: "storage-admin",
69193
69175
  capScope: "system",
@@ -69200,12 +69182,6 @@ Object.freeze({
69200
69182
  addonId: null,
69201
69183
  access: "view"
69202
69184
  },
69203
- "storageAdmin.readLegacyCollection": {
69204
- capName: "storage-admin",
69205
- capScope: "system",
69206
- addonId: null,
69207
- access: "view"
69208
- },
69209
69185
  "storageAdmin.readRecords": {
69210
69186
  capName: "storage-admin",
69211
69187
  capScope: "system",
@@ -73020,12 +72996,6 @@ Object.freeze({
73020
72996
  form: "single",
73021
72997
  optional: false
73022
72998
  }],
73023
- "storageAdmin.adoptRecords": [{
73024
- name: "records",
73025
- form: "object-array",
73026
- optional: false,
73027
- itemField: "deviceId"
73028
- }],
73029
72999
  "storageAdmin.readRecords": [{
73030
73000
  name: "deviceId",
73031
73001
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.129",
3
+ "version": "1.2.130",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",