@camstack/addon-provider-reolink 1.2.194 → 1.2.196

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
@@ -5451,7 +5451,7 @@ var ZodIssueCode = {
5451
5451
  var ZodFirstPartyTypeKind;
5452
5452
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5453
5453
  //#endregion
5454
- //#region ../types/dist/sleep-BSuCCFjf.mjs
5454
+ //#region ../types/dist/sleep-CSuN0thG.mjs
5455
5455
  /**
5456
5456
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5457
5457
  * window to float samples (D455).
@@ -8003,7 +8003,13 @@ var RecordKindDeclarationSchema = object({
8003
8003
  secretPaths: array(string().min(1)).default([]),
8004
8004
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
8005
8005
  secretArrayKeys: record(string(), string()).default({}),
8006
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
8006
+ /**
8007
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8008
+ * migration. Nothing declares it any more and nothing reads it; the schema
8009
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8010
+ * (an orphaned kind is never redeclared) and an addon built before the
8011
+ * removal still sends it. Never set it.
8012
+ */
8007
8013
  adoptsFrom: string().min(1).optional(),
8008
8014
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8009
8015
  transactFamily: string().min(1).optional(),
@@ -17289,11 +17295,12 @@ var DeclareKindResultSchema = object({
17289
17295
  kindId: number().int(),
17290
17296
  state: RecordKindStateSchema,
17291
17297
  createdIndexes: array(string()),
17292
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17293
- adoptionPending: object({
17294
- legacyTable: string(),
17295
- legacyRows: number().int()
17296
- }).nullable()
17298
+ /**
17299
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17300
+ * it stays on the wire, null, because an addon built before the removal reads
17301
+ * an ABSENT field as "adoption pending" and refuses to start.
17302
+ */
17303
+ adoptionPending: _null()
17297
17304
  });
17298
17305
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17299
17306
  var SecretRefsList = array(string());
@@ -17466,26 +17473,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17466
17473
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17467
17474
  owner: string().min(1),
17468
17475
  kind: RecordKindNameSchema
17469
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17470
- owner: string().min(1),
17471
- kind: RecordKindNameSchema,
17472
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17473
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17474
- complete: boolean().optional()
17475
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17476
- kind: "mutation",
17477
- auth: "admin"
17478
- }), method(object({
17479
- collection: string().min(1),
17480
- cursor: string().optional(),
17481
- limit: number().int().min(1).max(1e3).optional()
17482
- }), object({
17483
- rows: array(object({
17484
- id: string(),
17485
- data: record(string(), unknown())
17486
- })),
17487
- nextCursor: string().nullable()
17488
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17476
+ }), RecordQueryResultSchema, { auth: "admin" });
17489
17477
  /**
17490
17478
  * record-entries - the ONE admin surface for every list of user-created entries
17491
17479
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -71003,6 +70991,12 @@ Object.freeze({
71003
70991
  addonId: null,
71004
70992
  access: "view"
71005
70993
  },
70994
+ "deviceHistory.queryMany": {
70995
+ capName: "device-history",
70996
+ capScope: "system",
70997
+ addonId: null,
70998
+ access: "view"
70999
+ },
71006
71000
  "deviceHistory.queryNode": {
71007
71001
  capName: "device-history",
71008
71002
  capScope: "system",
@@ -76223,24 +76217,12 @@ Object.freeze({
76223
76217
  addonId: null,
76224
76218
  access: "create"
76225
76219
  },
76226
- "storageAdmin.adoptRecords": {
76227
- capName: "storage-admin",
76228
- capScope: "system",
76229
- addonId: null,
76230
- access: "create"
76231
- },
76232
76220
  "storageAdmin.dropCollection": {
76233
76221
  capName: "storage-admin",
76234
76222
  capScope: "system",
76235
76223
  addonId: null,
76236
76224
  access: "delete"
76237
76225
  },
76238
- "storageAdmin.isAdoptedLegacyTable": {
76239
- capName: "storage-admin",
76240
- capScope: "system",
76241
- addonId: null,
76242
- access: "view"
76243
- },
76244
76226
  "storageAdmin.listKinds": {
76245
76227
  capName: "storage-admin",
76246
76228
  capScope: "system",
@@ -76253,12 +76235,6 @@ Object.freeze({
76253
76235
  addonId: null,
76254
76236
  access: "view"
76255
76237
  },
76256
- "storageAdmin.readLegacyCollection": {
76257
- capName: "storage-admin",
76258
- capScope: "system",
76259
- addonId: null,
76260
- access: "view"
76261
- },
76262
76238
  "storageAdmin.readRecords": {
76263
76239
  capName: "storage-admin",
76264
76240
  capScope: "system",
@@ -80225,12 +80201,6 @@ Object.freeze({
80225
80201
  form: "single",
80226
80202
  optional: false
80227
80203
  }],
80228
- "storageAdmin.adoptRecords": [{
80229
- name: "records",
80230
- form: "object-array",
80231
- optional: false,
80232
- itemField: "deviceId"
80233
- }],
80234
80204
  "storageAdmin.readRecords": [{
80235
80205
  name: "deviceId",
80236
80206
  form: "single",
package/dist/addon.mjs CHANGED
@@ -5443,7 +5443,7 @@ var ZodIssueCode = {
5443
5443
  var ZodFirstPartyTypeKind;
5444
5444
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5445
5445
  //#endregion
5446
- //#region ../types/dist/sleep-BSuCCFjf.mjs
5446
+ //#region ../types/dist/sleep-CSuN0thG.mjs
5447
5447
  /**
5448
5448
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5449
5449
  * window to float samples (D455).
@@ -7995,7 +7995,13 @@ var RecordKindDeclarationSchema = object({
7995
7995
  secretPaths: array(string().min(1)).default([]),
7996
7996
  /** The id key of each array that carries a secret (`{ headers: 'name' }`). */
7997
7997
  secretArrayKeys: record(string(), string()).default({}),
7998
- /** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
7998
+ /**
7999
+ * RETIRED (D900): the legacy table a kind adopted from during the records
8000
+ * migration. Nothing declares it any more and nothing reads it; the schema
8001
+ * still ACCEPTS it because the catalog rows the migration wrote carry it
8002
+ * (an orphaned kind is never redeclared) and an addon built before the
8003
+ * removal still sends it. Never set it.
8004
+ */
7999
8005
  adoptsFrom: string().min(1).optional(),
8000
8006
  /** Kinds that must agree through `transact` sit in one file under one family name. */
8001
8007
  transactFamily: string().min(1).optional(),
@@ -17281,11 +17287,12 @@ var DeclareKindResultSchema = object({
17281
17287
  kindId: number().int(),
17282
17288
  state: RecordKindStateSchema,
17283
17289
  createdIndexes: array(string()),
17284
- /** The boot guard: the kind is empty while its legacy table still holds rows. */
17285
- adoptionPending: object({
17286
- legacyTable: string(),
17287
- legacyRows: number().int()
17288
- }).nullable()
17290
+ /**
17291
+ * RETIRED (D900): always `null`. It carried the records-migration boot guard;
17292
+ * it stays on the wire, null, because an addon built before the removal reads
17293
+ * an ABSENT field as "adoption pending" and refuses to start.
17294
+ */
17295
+ adoptionPending: _null()
17289
17296
  });
17290
17297
  /** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
17291
17298
  var SecretRefsList = array(string());
@@ -17458,26 +17465,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
17458
17465
  }), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
17459
17466
  owner: string().min(1),
17460
17467
  kind: RecordKindNameSchema
17461
- }), RecordQueryResultSchema, { auth: "admin" }), method(object({
17462
- owner: string().min(1),
17463
- kind: RecordKindNameSchema,
17464
- records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
17465
- /** The LAST batch: the copy is complete, the boot guard stops asking. */
17466
- complete: boolean().optional()
17467
- }).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
17468
- kind: "mutation",
17469
- auth: "admin"
17470
- }), method(object({
17471
- collection: string().min(1),
17472
- cursor: string().optional(),
17473
- limit: number().int().min(1).max(1e3).optional()
17474
- }), object({
17475
- rows: array(object({
17476
- id: string(),
17477
- data: record(string(), unknown())
17478
- })),
17479
- nextCursor: string().nullable()
17480
- }), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
17468
+ }), RecordQueryResultSchema, { auth: "admin" });
17481
17469
  /**
17482
17470
  * record-entries - the ONE admin surface for every list of user-created entries
17483
17471
  * (D881): notification targets, brokers, LLM profiles, anything an addon
@@ -70995,6 +70983,12 @@ Object.freeze({
70995
70983
  addonId: null,
70996
70984
  access: "view"
70997
70985
  },
70986
+ "deviceHistory.queryMany": {
70987
+ capName: "device-history",
70988
+ capScope: "system",
70989
+ addonId: null,
70990
+ access: "view"
70991
+ },
70998
70992
  "deviceHistory.queryNode": {
70999
70993
  capName: "device-history",
71000
70994
  capScope: "system",
@@ -76215,24 +76209,12 @@ Object.freeze({
76215
76209
  addonId: null,
76216
76210
  access: "create"
76217
76211
  },
76218
- "storageAdmin.adoptRecords": {
76219
- capName: "storage-admin",
76220
- capScope: "system",
76221
- addonId: null,
76222
- access: "create"
76223
- },
76224
76212
  "storageAdmin.dropCollection": {
76225
76213
  capName: "storage-admin",
76226
76214
  capScope: "system",
76227
76215
  addonId: null,
76228
76216
  access: "delete"
76229
76217
  },
76230
- "storageAdmin.isAdoptedLegacyTable": {
76231
- capName: "storage-admin",
76232
- capScope: "system",
76233
- addonId: null,
76234
- access: "view"
76235
- },
76236
76218
  "storageAdmin.listKinds": {
76237
76219
  capName: "storage-admin",
76238
76220
  capScope: "system",
@@ -76245,12 +76227,6 @@ Object.freeze({
76245
76227
  addonId: null,
76246
76228
  access: "view"
76247
76229
  },
76248
- "storageAdmin.readLegacyCollection": {
76249
- capName: "storage-admin",
76250
- capScope: "system",
76251
- addonId: null,
76252
- access: "view"
76253
- },
76254
76230
  "storageAdmin.readRecords": {
76255
76231
  capName: "storage-admin",
76256
76232
  capScope: "system",
@@ -80217,12 +80193,6 @@ Object.freeze({
80217
80193
  form: "single",
80218
80194
  optional: false
80219
80195
  }],
80220
- "storageAdmin.adoptRecords": [{
80221
- name: "records",
80222
- form: "object-array",
80223
- optional: false,
80224
- itemField: "deviceId"
80225
- }],
80226
80196
  "storageAdmin.readRecords": [{
80227
80197
  name: "deviceId",
80228
80198
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.194",
3
+ "version": "1.2.196",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",