@camstack/addon-provider-rtsp 1.2.133 → 1.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
@@ -5438,7 +5438,7 @@ var ZodIssueCode = {
5438
5438
  var ZodFirstPartyTypeKind;
5439
5439
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5440
5440
  //#endregion
5441
- //#region ../types/dist/sleep-BSuCCFjf.mjs
5441
+ //#region ../types/dist/sleep-CSuN0thG.mjs
5442
5442
  /**
5443
5443
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5444
5444
  * window to float samples (D455).
@@ -7986,7 +7986,13 @@ var RecordKindDeclarationSchema = object({
7986
7986
  secretPaths: array(string().min(1)).default([]),
7987
7987
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7988
7988
  secretArrayKeys: record(string(), string()).default({}),
7989
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
7989
+ /**
7990
+ * RETIRED (D900): the legacy table a kind adopted from during the records
7991
+ * migration. Nothing declares it any more and nothing reads it; the schema
7992
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
7993
+ * (an orphaned kind is never redeclared) and an addon built before the
7994
+ * removal still sends it. Never set it.
7995
+ */
7990
7996
  adoptsFrom: string().min(1).optional(),
7991
7997
  /** Kinds that must agree through `transact` sit in one file under one family name. */
7992
7998
  transactFamily: string().min(1).optional(),
@@ -16779,11 +16785,12 @@ var DeclareKindResultSchema = object({
16779
16785
  kindId: number().int(),
16780
16786
  state: RecordKindStateSchema,
16781
16787
  createdIndexes: array(string()),
16782
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16783
- adoptionPending: object({
16784
- legacyTable: string(),
16785
- legacyRows: number().int()
16786
- }).nullable()
16788
+ /**
16789
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16790
+ * it stays on the wire, null, because an addon built before the removal reads
16791
+ * an ABSENT field as "adoption pending" and refuses to start.
16792
+ */
16793
+ adoptionPending: _null()
16787
16794
  });
16788
16795
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16789
16796
  var SecretRefsList = array(string());
@@ -16956,26 +16963,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
16956
16963
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
16957
16964
  owner: string().min(1),
16958
16965
  kind: RecordKindNameSchema
16959
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
16960
- owner: string().min(1),
16961
- kind: RecordKindNameSchema,
16962
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
16963
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
16964
- complete: boolean().optional()
16965
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
16966
- kind: "mutation",
16967
- auth: "admin"
16968
- }), method(object({
16969
- collection: string().min(1),
16970
- cursor: string().optional(),
16971
- limit: number().int().min(1).max(1e3).optional()
16972
- }), object({
16973
- rows: array(object({
16974
- id: string(),
16975
- data: record(string(), unknown())
16976
- })),
16977
- nextCursor: string().nullable()
16978
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
16966
+ }), RecordQueryResultSchema, { auth: "admin" });
16979
16967
  /**
16980
16968
  * record-entries - the ONE admin surface for every list of user-created entries
16981
16969
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -69345,6 +69333,12 @@ Object.freeze({
69345
69333
  addonId: null,
69346
69334
  access: "view"
69347
69335
  },
69336
+ "deviceHistory.queryMany": {
69337
+ capName: "device-history",
69338
+ capScope: "system",
69339
+ addonId: null,
69340
+ access: "view"
69341
+ },
69348
69342
  "deviceHistory.queryNode": {
69349
69343
  capName: "device-history",
69350
69344
  capScope: "system",
@@ -74565,24 +74559,12 @@ Object.freeze({
74565
74559
  addonId: null,
74566
74560
  access: "create"
74567
74561
  },
74568
- "storageAdmin.adoptRecords": {
74569
- capName: "storage-admin",
74570
- capScope: "system",
74571
- addonId: null,
74572
- access: "create"
74573
- },
74574
74562
  "storageAdmin.dropCollection": {
74575
74563
  capName: "storage-admin",
74576
74564
  capScope: "system",
74577
74565
  addonId: null,
74578
74566
  access: "delete"
74579
74567
  },
74580
- "storageAdmin.isAdoptedLegacyTable": {
74581
- capName: "storage-admin",
74582
- capScope: "system",
74583
- addonId: null,
74584
- access: "view"
74585
- },
74586
74568
  "storageAdmin.listKinds": {
74587
74569
  capName: "storage-admin",
74588
74570
  capScope: "system",
@@ -74595,12 +74577,6 @@ Object.freeze({
74595
74577
  addonId: null,
74596
74578
  access: "view"
74597
74579
  },
74598
- "storageAdmin.readLegacyCollection": {
74599
- capName: "storage-admin",
74600
- capScope: "system",
74601
- addonId: null,
74602
- access: "view"
74603
- },
74604
74580
  "storageAdmin.readRecords": {
74605
74581
  capName: "storage-admin",
74606
74582
  capScope: "system",
@@ -78481,12 +78457,6 @@ Object.freeze({
78481
78457
  form: "single",
78482
78458
  optional: false
78483
78459
  }],
78484
- "storageAdmin.adoptRecords": [{
78485
- name: "records",
78486
- form: "object-array",
78487
- optional: false,
78488
- itemField: "deviceId"
78489
- }],
78490
78460
  "storageAdmin.readRecords": [{
78491
78461
  name: "deviceId",
78492
78462
  form: "single",
package/dist/addon.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).
@@ -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(),
@@ -16755,11 +16761,12 @@ var DeclareKindResultSchema = object({
16755
16761
  kindId: number().int(),
16756
16762
  state: RecordKindStateSchema,
16757
16763
  createdIndexes: array(string()),
16758
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
16759
- adoptionPending: object({
16760
- legacyTable: string(),
16761
- legacyRows: number().int()
16762
- }).nullable()
16764
+ /**
16765
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
16766
+ * it stays on the wire, null, because an addon built before the removal reads
16767
+ * an ABSENT field as "adoption pending" and refuses to start.
16768
+ */
16769
+ adoptionPending: _null()
16763
16770
  });
16764
16771
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
16765
16772
  var SecretRefsList = array(string());
@@ -16932,26 +16939,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
16932
16939
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
16933
16940
  owner: string().min(1),
16934
16941
  kind: RecordKindNameSchema
16935
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
16936
- owner: string().min(1),
16937
- kind: RecordKindNameSchema,
16938
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
16939
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
16940
- complete: boolean().optional()
16941
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
16942
- kind: "mutation",
16943
- auth: "admin"
16944
- }), method(object({
16945
- collection: string().min(1),
16946
- cursor: string().optional(),
16947
- limit: number().int().min(1).max(1e3).optional()
16948
- }), object({
16949
- rows: array(object({
16950
- id: string(),
16951
- data: record(string(), unknown())
16952
- })),
16953
- nextCursor: string().nullable()
16954
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
16942
+ }), RecordQueryResultSchema, { auth: "admin" });
16955
16943
  /**
16956
16944
  * record-entries - the ONE admin surface for every list of user-created entries
16957
16945
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -69321,6 +69309,12 @@ Object.freeze({
69321
69309
  addonId: null,
69322
69310
  access: "view"
69323
69311
  },
69312
+ "deviceHistory.queryMany": {
69313
+ capName: "device-history",
69314
+ capScope: "system",
69315
+ addonId: null,
69316
+ access: "view"
69317
+ },
69324
69318
  "deviceHistory.queryNode": {
69325
69319
  capName: "device-history",
69326
69320
  capScope: "system",
@@ -74541,24 +74535,12 @@ Object.freeze({
74541
74535
  addonId: null,
74542
74536
  access: "create"
74543
74537
  },
74544
- "storageAdmin.adoptRecords": {
74545
- capName: "storage-admin",
74546
- capScope: "system",
74547
- addonId: null,
74548
- access: "create"
74549
- },
74550
74538
  "storageAdmin.dropCollection": {
74551
74539
  capName: "storage-admin",
74552
74540
  capScope: "system",
74553
74541
  addonId: null,
74554
74542
  access: "delete"
74555
74543
  },
74556
- "storageAdmin.isAdoptedLegacyTable": {
74557
- capName: "storage-admin",
74558
- capScope: "system",
74559
- addonId: null,
74560
- access: "view"
74561
- },
74562
74544
  "storageAdmin.listKinds": {
74563
74545
  capName: "storage-admin",
74564
74546
  capScope: "system",
@@ -74571,12 +74553,6 @@ Object.freeze({
74571
74553
  addonId: null,
74572
74554
  access: "view"
74573
74555
  },
74574
- "storageAdmin.readLegacyCollection": {
74575
- capName: "storage-admin",
74576
- capScope: "system",
74577
- addonId: null,
74578
- access: "view"
74579
- },
74580
74556
  "storageAdmin.readRecords": {
74581
74557
  capName: "storage-admin",
74582
74558
  capScope: "system",
@@ -78457,12 +78433,6 @@ Object.freeze({
78457
78433
  form: "single",
78458
78434
  optional: false
78459
78435
  }],
78460
- "storageAdmin.adoptRecords": [{
78461
- name: "records",
78462
- form: "object-array",
78463
- optional: false,
78464
- itemField: "deviceId"
78465
- }],
78466
78436
  "storageAdmin.readRecords": [{
78467
78437
  name: "deviceId",
78468
78438
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.133",
3
+ "version": "1.2.135",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",