@camstack/addon-provider-rtsp 1.2.137 → 1.2.139

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-CSuN0thG.mjs
5441
+ //#region ../types/dist/sleep-_sV1BE2f.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).
@@ -5555,7 +5555,7 @@ function isKeychainStoredField(field) {
5555
5555
  var SECRET_CLEAR = { $secretClear: true };
5556
5556
  /** The `'***'` token D634 redaction writes for non-admins. */
5557
5557
  var LEGACY_DEVICE_REDACTION = "***";
5558
- function isRecord$5(value) {
5558
+ function isRecord$6(value) {
5559
5559
  return typeof value === "object" && value !== null && !Array.isArray(value);
5560
5560
  }
5561
5561
  function makeSecretMarker(ref) {
@@ -5566,12 +5566,12 @@ function makeSecretMarker(ref) {
5566
5566
  }
5567
5567
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5568
5568
  function isSecretMarker(value) {
5569
- if (!isRecord$5(value)) return false;
5569
+ if (!isRecord$6(value)) return false;
5570
5570
  const ref = value["$secret"];
5571
5571
  return typeof ref === "string" && ref.length > 0;
5572
5572
  }
5573
5573
  function isSecretClear(value) {
5574
- return isRecord$5(value) && value["$secretClear"] === true;
5574
+ return isRecord$6(value) && value["$secretClear"] === true;
5575
5575
  }
5576
5576
  /**
5577
5577
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6181,7 +6181,7 @@ var KeychainWriteRefusedError = class extends Error {
6181
6181
  }
6182
6182
  };
6183
6183
  var KEEP = { kind: "keep" };
6184
- function isRecord$4(value) {
6184
+ function isRecord$5(value) {
6185
6185
  return typeof value === "object" && value !== null && !Array.isArray(value);
6186
6186
  }
6187
6187
  function defaultMintId() {
@@ -6194,7 +6194,7 @@ function collectSecretMarkerRefs(value, out = []) {
6194
6194
  return out;
6195
6195
  }
6196
6196
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6197
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6197
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6198
6198
  return out;
6199
6199
  }
6200
6200
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6249,7 +6249,7 @@ function rowId(row, idKey) {
6249
6249
  return null;
6250
6250
  }
6251
6251
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6252
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6252
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6253
6253
  if (!Array.isArray(incoming)) {
6254
6254
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6255
6255
  return {
@@ -6265,7 +6265,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6265
6265
  const kept = /* @__PURE__ */ new Set();
6266
6266
  const rows = [];
6267
6267
  for (const row of incoming) {
6268
- if (!isRecord$4(row)) {
6268
+ if (!isRecord$5(row)) {
6269
6269
  rows.push(row);
6270
6270
  continue;
6271
6271
  }
@@ -6290,7 +6290,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6290
6290
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6291
6291
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6292
6292
  case "object": {
6293
- if (!isRecord$4(incoming)) {
6293
+ if (!isRecord$5(incoming)) {
6294
6294
  if (incoming === void 0) return KEEP;
6295
6295
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6296
6296
  return {
@@ -6298,7 +6298,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6298
6298
  value: incoming
6299
6299
  };
6300
6300
  }
6301
- const storedObj = isRecord$4(stored) ? stored : {};
6301
+ const storedObj = isRecord$5(stored) ? stored : {};
6302
6302
  return {
6303
6303
  kind: "value",
6304
6304
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6421,7 +6421,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6421
6421
  value: items
6422
6422
  };
6423
6423
  }
6424
- if (isRecord$4(v)) {
6424
+ if (isRecord$5(v)) {
6425
6425
  const out = {};
6426
6426
  for (const [k, child] of Object.entries(v)) {
6427
6427
  const s = substitute(child);
@@ -6453,7 +6453,7 @@ var SecretOverwriteRefusedError = class extends Error {
6453
6453
  this.name = "SecretOverwriteRefusedError";
6454
6454
  }
6455
6455
  };
6456
- function isRecord$3(value) {
6456
+ function isRecord$4(value) {
6457
6457
  return typeof value === "object" && value !== null && !Array.isArray(value);
6458
6458
  }
6459
6459
  function resolvedValue(pass, marker) {
@@ -6482,7 +6482,7 @@ function inArray(pass, incoming, stored) {
6482
6482
  return incoming.map((item, index) => {
6483
6483
  const twin = stored[index];
6484
6484
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6485
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6485
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6486
6486
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6487
6487
  return item;
6488
6488
  });
@@ -6493,7 +6493,7 @@ function inArrayRow(pass, incoming, stored) {
6493
6493
  const twin = stored[key];
6494
6494
  if (isSecretMarker(twin)) {
6495
6495
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6496
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6496
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6497
6497
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6498
6498
  }
6499
6499
  return out;
@@ -6501,7 +6501,7 @@ function inArrayRow(pass, incoming, stored) {
6501
6501
  async function walk(pass, incoming, stored) {
6502
6502
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6503
6503
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6504
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6504
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6505
6505
  const out = { ...incoming };
6506
6506
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
6507
6507
  return out;
@@ -6532,7 +6532,7 @@ async function restoreUnchangedSecrets(input) {
6532
6532
  function isJsonEqual(a, b) {
6533
6533
  if (Object.is(a, b)) return true;
6534
6534
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6535
- if (isRecord$3(a) && isRecord$3(b)) {
6535
+ if (isRecord$4(a) && isRecord$4(b)) {
6536
6536
  const keys = Object.keys(a);
6537
6537
  if (keys.length !== Object.keys(b).length) return false;
6538
6538
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6556,7 +6556,7 @@ function markerKeysOf(blob, owner) {
6556
6556
  }
6557
6557
  function nodeFromStored(value, owner) {
6558
6558
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6559
- if (!isRecord$3(value)) return null;
6559
+ if (!isRecord$4(value)) return null;
6560
6560
  const children = /* @__PURE__ */ new Map();
6561
6561
  for (const [key, child] of Object.entries(value)) {
6562
6562
  const node = nodeFromStored(child, owner);
@@ -16948,15 +16948,6 @@ var StorageKindSchema = object({
16948
16948
  declaration: RecordKindDeclarationSchema
16949
16949
  });
16950
16950
  method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
16951
- collection: string().min(1),
16952
- expectRows: number().int().nonnegative()
16953
- }), object({
16954
- dropped: literal(true),
16955
- rows: number().int().nonnegative()
16956
- }), {
16957
- kind: "mutation",
16958
- auth: "admin"
16959
- }), method(object({
16960
16951
  owner: string().min(1).optional(),
16961
16952
  /** `false` skips the per-kind row count (a catalog read only). Default true. */
16962
16953
  counts: boolean().optional()
@@ -43314,6 +43305,15 @@ var NcMediaPolicySchema = object({
43314
43305
  * Replaces `zoneCrop`.
43315
43306
  */
43316
43307
  showTriggerZone: boolean().optional(),
43308
+ /**
43309
+ * Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
43310
+ * through the track's positions up to the frame shown, the same path the
43311
+ * debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
43312
+ * is drawn on: a `crop` maps the path into the crop and clips it. Valid only
43313
+ * on a rule whose subject is a tracked object (refused on a sound rule);
43314
+ * dropped on `image: 'none'`. Absent = off.
43315
+ */
43316
+ showSubjectPath: boolean().optional(),
43317
43317
  /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43318
43318
  attach: _enum([
43319
43319
  "best",
@@ -74559,12 +74559,6 @@ Object.freeze({
74559
74559
  addonId: null,
74560
74560
  access: "create"
74561
74561
  },
74562
- "storageAdmin.dropCollection": {
74563
- capName: "storage-admin",
74564
- capScope: "system",
74565
- addonId: null,
74566
- access: "delete"
74567
- },
74568
74562
  "storageAdmin.listKinds": {
74569
74563
  capName: "storage-admin",
74570
74564
  capScope: "system",
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-CSuN0thG.mjs
5417
+ //#region ../types/dist/sleep-_sV1BE2f.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).
@@ -5531,7 +5531,7 @@ function isKeychainStoredField(field) {
5531
5531
  var SECRET_CLEAR = { $secretClear: true };
5532
5532
  /** The `'***'` token D634 redaction writes for non-admins. */
5533
5533
  var LEGACY_DEVICE_REDACTION = "***";
5534
- function isRecord$5(value) {
5534
+ function isRecord$6(value) {
5535
5535
  return typeof value === "object" && value !== null && !Array.isArray(value);
5536
5536
  }
5537
5537
  function makeSecretMarker(ref) {
@@ -5542,12 +5542,12 @@ function makeSecretMarker(ref) {
5542
5542
  }
5543
5543
  /** A stored marker: an object whose `$secret` is a non-empty string. */
5544
5544
  function isSecretMarker(value) {
5545
- if (!isRecord$5(value)) return false;
5545
+ if (!isRecord$6(value)) return false;
5546
5546
  const ref = value["$secret"];
5547
5547
  return typeof ref === "string" && ref.length > 0;
5548
5548
  }
5549
5549
  function isSecretClear(value) {
5550
- return isRecord$5(value) && value["$secretClear"] === true;
5550
+ return isRecord$6(value) && value["$secretClear"] === true;
5551
5551
  }
5552
5552
  /**
5553
5553
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6157,7 +6157,7 @@ var KeychainWriteRefusedError = class extends Error {
6157
6157
  }
6158
6158
  };
6159
6159
  var KEEP = { kind: "keep" };
6160
- function isRecord$4(value) {
6160
+ function isRecord$5(value) {
6161
6161
  return typeof value === "object" && value !== null && !Array.isArray(value);
6162
6162
  }
6163
6163
  function defaultMintId() {
@@ -6170,7 +6170,7 @@ function collectSecretMarkerRefs(value, out = []) {
6170
6170
  return out;
6171
6171
  }
6172
6172
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6173
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6173
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6174
6174
  return out;
6175
6175
  }
6176
6176
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6225,7 +6225,7 @@ function rowId(row, idKey) {
6225
6225
  return null;
6226
6226
  }
6227
6227
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6228
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6228
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6229
6229
  if (!Array.isArray(incoming)) {
6230
6230
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6231
6231
  return {
@@ -6241,7 +6241,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6241
6241
  const kept = /* @__PURE__ */ new Set();
6242
6242
  const rows = [];
6243
6243
  for (const row of incoming) {
6244
- if (!isRecord$4(row)) {
6244
+ if (!isRecord$5(row)) {
6245
6245
  rows.push(row);
6246
6246
  continue;
6247
6247
  }
@@ -6266,7 +6266,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6266
6266
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6267
6267
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6268
6268
  case "object": {
6269
- if (!isRecord$4(incoming)) {
6269
+ if (!isRecord$5(incoming)) {
6270
6270
  if (incoming === void 0) return KEEP;
6271
6271
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6272
6272
  return {
@@ -6274,7 +6274,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6274
6274
  value: incoming
6275
6275
  };
6276
6276
  }
6277
- const storedObj = isRecord$4(stored) ? stored : {};
6277
+ const storedObj = isRecord$5(stored) ? stored : {};
6278
6278
  return {
6279
6279
  kind: "value",
6280
6280
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6397,7 +6397,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6397
6397
  value: items
6398
6398
  };
6399
6399
  }
6400
- if (isRecord$4(v)) {
6400
+ if (isRecord$5(v)) {
6401
6401
  const out = {};
6402
6402
  for (const [k, child] of Object.entries(v)) {
6403
6403
  const s = substitute(child);
@@ -6429,7 +6429,7 @@ var SecretOverwriteRefusedError = class extends Error {
6429
6429
  this.name = "SecretOverwriteRefusedError";
6430
6430
  }
6431
6431
  };
6432
- function isRecord$3(value) {
6432
+ function isRecord$4(value) {
6433
6433
  return typeof value === "object" && value !== null && !Array.isArray(value);
6434
6434
  }
6435
6435
  function resolvedValue(pass, marker) {
@@ -6458,7 +6458,7 @@ function inArray(pass, incoming, stored) {
6458
6458
  return incoming.map((item, index) => {
6459
6459
  const twin = stored[index];
6460
6460
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6461
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6461
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6462
6462
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6463
6463
  return item;
6464
6464
  });
@@ -6469,7 +6469,7 @@ function inArrayRow(pass, incoming, stored) {
6469
6469
  const twin = stored[key];
6470
6470
  if (isSecretMarker(twin)) {
6471
6471
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6472
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6472
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6473
6473
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6474
6474
  }
6475
6475
  return out;
@@ -6477,7 +6477,7 @@ function inArrayRow(pass, incoming, stored) {
6477
6477
  async function walk(pass, incoming, stored) {
6478
6478
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6479
6479
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6480
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6480
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6481
6481
  const out = { ...incoming };
6482
6482
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
6483
6483
  return out;
@@ -6508,7 +6508,7 @@ async function restoreUnchangedSecrets(input) {
6508
6508
  function isJsonEqual(a, b) {
6509
6509
  if (Object.is(a, b)) return true;
6510
6510
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6511
- if (isRecord$3(a) && isRecord$3(b)) {
6511
+ if (isRecord$4(a) && isRecord$4(b)) {
6512
6512
  const keys = Object.keys(a);
6513
6513
  if (keys.length !== Object.keys(b).length) return false;
6514
6514
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6532,7 +6532,7 @@ function markerKeysOf(blob, owner) {
6532
6532
  }
6533
6533
  function nodeFromStored(value, owner) {
6534
6534
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6535
- if (!isRecord$3(value)) return null;
6535
+ if (!isRecord$4(value)) return null;
6536
6536
  const children = /* @__PURE__ */ new Map();
6537
6537
  for (const [key, child] of Object.entries(value)) {
6538
6538
  const node = nodeFromStored(child, owner);
@@ -16924,15 +16924,6 @@ var StorageKindSchema = object({
16924
16924
  declaration: RecordKindDeclarationSchema
16925
16925
  });
16926
16926
  method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
16927
- collection: string().min(1),
16928
- expectRows: number().int().nonnegative()
16929
- }), object({
16930
- dropped: literal(true),
16931
- rows: number().int().nonnegative()
16932
- }), {
16933
- kind: "mutation",
16934
- auth: "admin"
16935
- }), method(object({
16936
16927
  owner: string().min(1).optional(),
16937
16928
  /** `false` skips the per-kind row count (a catalog read only). Default true. */
16938
16929
  counts: boolean().optional()
@@ -43290,6 +43281,15 @@ var NcMediaPolicySchema = object({
43290
43281
  * Replaces `zoneCrop`.
43291
43282
  */
43292
43283
  showTriggerZone: boolean().optional(),
43284
+ /**
43285
+ * Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
43286
+ * through the track's positions up to the frame shown, the same path the
43287
+ * debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
43288
+ * is drawn on: a `crop` maps the path into the crop and clips it. Valid only
43289
+ * on a rule whose subject is a tracked object (refused on a sound rule);
43290
+ * dropped on `image: 'none'`. Absent = off.
43291
+ */
43292
+ showSubjectPath: boolean().optional(),
43293
43293
  /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43294
43294
  attach: _enum([
43295
43295
  "best",
@@ -74535,12 +74535,6 @@ Object.freeze({
74535
74535
  addonId: null,
74536
74536
  access: "create"
74537
74537
  },
74538
- "storageAdmin.dropCollection": {
74539
- capName: "storage-admin",
74540
- capScope: "system",
74541
- addonId: null,
74542
- access: "delete"
74543
- },
74544
74538
  "storageAdmin.listKinds": {
74545
74539
  capName: "storage-admin",
74546
74540
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.137",
3
+ "version": "1.2.139",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",