@camstack/addon-provider-bosch 0.1.11 → 0.1.13

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.
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-Dwa_n1ZO.js");
1
+ const require_dist = require("./dist-CPBdrxct.js");
2
2
  //#region src/shared/oauth-callback.ts
3
3
  /** A code on its own: no scheme, no query, no separators. */
4
4
  var BARE_CODE = /^[A-Za-z0-9._~-]+$/;
@@ -1,4 +1,4 @@
1
- import { b as errMsg } from "./dist-EaW3D8xD.mjs";
1
+ import { b as errMsg } from "./dist-CWDKl4Cl.mjs";
2
2
  //#region src/shared/oauth-callback.ts
3
3
  /** A code on its own: no scheme, no query, no separators. */
4
4
  var BARE_CODE = /^[A-Za-z0-9._~-]+$/;
@@ -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,16 +5542,16 @@ 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
  /** Anything carrying a `$secret` key — a stored marker or a UI view of one. */
5550
5550
  function isSecretMarkerLike(value) {
5551
- return isRecord$5(value) && Object.prototype.hasOwnProperty.call(value, "$secret");
5551
+ return isRecord$6(value) && Object.prototype.hasOwnProperty.call(value, "$secret");
5552
5552
  }
5553
5553
  function isSecretClear(value) {
5554
- return isRecord$5(value) && value["$secretClear"] === true;
5554
+ return isRecord$6(value) && value["$secretClear"] === true;
5555
5555
  }
5556
5556
  /**
5557
5557
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6161,7 +6161,7 @@ var KeychainWriteRefusedError = class extends Error {
6161
6161
  }
6162
6162
  };
6163
6163
  var KEEP = { kind: "keep" };
6164
- function isRecord$4(value) {
6164
+ function isRecord$5(value) {
6165
6165
  return typeof value === "object" && value !== null && !Array.isArray(value);
6166
6166
  }
6167
6167
  function defaultMintId() {
@@ -6174,7 +6174,7 @@ function collectSecretMarkerRefs(value, out = []) {
6174
6174
  return out;
6175
6175
  }
6176
6176
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6177
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6177
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6178
6178
  return out;
6179
6179
  }
6180
6180
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6229,7 +6229,7 @@ function rowId(row, idKey) {
6229
6229
  return null;
6230
6230
  }
6231
6231
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6232
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6232
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6233
6233
  if (!Array.isArray(incoming)) {
6234
6234
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6235
6235
  return {
@@ -6245,7 +6245,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6245
6245
  const kept = /* @__PURE__ */ new Set();
6246
6246
  const rows = [];
6247
6247
  for (const row of incoming) {
6248
- if (!isRecord$4(row)) {
6248
+ if (!isRecord$5(row)) {
6249
6249
  rows.push(row);
6250
6250
  continue;
6251
6251
  }
@@ -6270,7 +6270,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6270
6270
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6271
6271
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6272
6272
  case "object": {
6273
- if (!isRecord$4(incoming)) {
6273
+ if (!isRecord$5(incoming)) {
6274
6274
  if (incoming === void 0) return KEEP;
6275
6275
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6276
6276
  return {
@@ -6278,7 +6278,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6278
6278
  value: incoming
6279
6279
  };
6280
6280
  }
6281
- const storedObj = isRecord$4(stored) ? stored : {};
6281
+ const storedObj = isRecord$5(stored) ? stored : {};
6282
6282
  return {
6283
6283
  kind: "value",
6284
6284
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6401,7 +6401,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6401
6401
  value: items
6402
6402
  };
6403
6403
  }
6404
- if (isRecord$4(v)) {
6404
+ if (isRecord$5(v)) {
6405
6405
  const out = {};
6406
6406
  for (const [k, child] of Object.entries(v)) {
6407
6407
  const s = substitute(child);
@@ -6433,7 +6433,7 @@ var SecretOverwriteRefusedError = class extends Error {
6433
6433
  this.name = "SecretOverwriteRefusedError";
6434
6434
  }
6435
6435
  };
6436
- function isRecord$3(value) {
6436
+ function isRecord$4(value) {
6437
6437
  return typeof value === "object" && value !== null && !Array.isArray(value);
6438
6438
  }
6439
6439
  function resolvedValue(pass, marker) {
@@ -6462,7 +6462,7 @@ function inArray(pass, incoming, stored) {
6462
6462
  return incoming.map((item, index) => {
6463
6463
  const twin = stored[index];
6464
6464
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6465
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6465
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6466
6466
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6467
6467
  return item;
6468
6468
  });
@@ -6473,7 +6473,7 @@ function inArrayRow(pass, incoming, stored) {
6473
6473
  const twin = stored[key];
6474
6474
  if (isSecretMarker(twin)) {
6475
6475
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6476
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6476
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6477
6477
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6478
6478
  }
6479
6479
  return out;
@@ -6481,7 +6481,7 @@ function inArrayRow(pass, incoming, stored) {
6481
6481
  async function walk(pass, incoming, stored) {
6482
6482
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6483
6483
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6484
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6484
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6485
6485
  const out = { ...incoming };
6486
6486
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
6487
6487
  return out;
@@ -6512,7 +6512,7 @@ async function restoreUnchangedSecrets(input) {
6512
6512
  function isJsonEqual(a, b) {
6513
6513
  if (Object.is(a, b)) return true;
6514
6514
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6515
- if (isRecord$3(a) && isRecord$3(b)) {
6515
+ if (isRecord$4(a) && isRecord$4(b)) {
6516
6516
  const keys = Object.keys(a);
6517
6517
  if (keys.length !== Object.keys(b).length) return false;
6518
6518
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6536,7 +6536,7 @@ function markerKeysOf(blob, owner) {
6536
6536
  }
6537
6537
  function nodeFromStored(value, owner) {
6538
6538
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6539
- if (!isRecord$3(value)) return null;
6539
+ if (!isRecord$4(value)) return null;
6540
6540
  const children = /* @__PURE__ */ new Map();
6541
6541
  for (const [key, child] of Object.entries(value)) {
6542
6542
  const node = nodeFromStored(child, owner);
@@ -16829,15 +16829,6 @@ var StorageKindSchema = object({
16829
16829
  declaration: RecordKindDeclarationSchema
16830
16830
  });
16831
16831
  method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
16832
- collection: string().min(1),
16833
- expectRows: number().int().nonnegative()
16834
- }), object({
16835
- dropped: literal(true),
16836
- rows: number().int().nonnegative()
16837
- }), {
16838
- kind: "mutation",
16839
- auth: "admin"
16840
- }), method(object({
16841
16832
  owner: string().min(1).optional(),
16842
16833
  /** `false` skips the per-kind row count (a catalog read only). Default true. */
16843
16834
  counts: boolean().optional()
@@ -43212,6 +43203,15 @@ var NcMediaPolicySchema = object({
43212
43203
  * Replaces `zoneCrop`.
43213
43204
  */
43214
43205
  showTriggerZone: boolean().optional(),
43206
+ /**
43207
+ * Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
43208
+ * through the track's positions up to the frame shown, the same path the
43209
+ * debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
43210
+ * is drawn on: a `crop` maps the path into the crop and clips it. Valid only
43211
+ * on a rule whose subject is a tracked object (refused on a sound rule);
43212
+ * dropped on `image: 'none'`. Absent = off.
43213
+ */
43214
+ showSubjectPath: boolean().optional(),
43215
43215
  /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43216
43216
  attach: _enum([
43217
43217
  "best",
@@ -74353,12 +74353,6 @@ Object.freeze({
74353
74353
  addonId: null,
74354
74354
  access: "create"
74355
74355
  },
74356
- "storageAdmin.dropCollection": {
74357
- capName: "storage-admin",
74358
- capScope: "system",
74359
- addonId: null,
74360
- access: "delete"
74361
- },
74362
74356
  "storageAdmin.listKinds": {
74363
74357
  capName: "storage-admin",
74364
74358
  capScope: "system",
@@ -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,16 +5542,16 @@ 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
  /** Anything carrying a `$secret` key — a stored marker or a UI view of one. */
5550
5550
  function isSecretMarkerLike(value) {
5551
- return isRecord$5(value) && Object.prototype.hasOwnProperty.call(value, "$secret");
5551
+ return isRecord$6(value) && Object.prototype.hasOwnProperty.call(value, "$secret");
5552
5552
  }
5553
5553
  function isSecretClear(value) {
5554
- return isRecord$5(value) && value["$secretClear"] === true;
5554
+ return isRecord$6(value) && value["$secretClear"] === true;
5555
5555
  }
5556
5556
  /**
5557
5557
  * The UI view of a stored secret field value: a marker becomes "set", inline
@@ -6161,7 +6161,7 @@ var KeychainWriteRefusedError = class extends Error {
6161
6161
  }
6162
6162
  };
6163
6163
  var KEEP = { kind: "keep" };
6164
- function isRecord$4(value) {
6164
+ function isRecord$5(value) {
6165
6165
  return typeof value === "object" && value !== null && !Array.isArray(value);
6166
6166
  }
6167
6167
  function defaultMintId() {
@@ -6174,7 +6174,7 @@ function collectSecretMarkerRefs(value, out = []) {
6174
6174
  return out;
6175
6175
  }
6176
6176
  if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
6177
- else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6177
+ else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
6178
6178
  return out;
6179
6179
  }
6180
6180
  async function storedValueEquals(secrets, marker, candidate) {
@@ -6229,7 +6229,7 @@ function rowId(row, idKey) {
6229
6229
  return null;
6230
6230
  }
6231
6231
  async function writeArray(ctx, node, incoming, stored, fieldPath) {
6232
- const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
6232
+ const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
6233
6233
  if (!Array.isArray(incoming)) {
6234
6234
  ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
6235
6235
  return {
@@ -6245,7 +6245,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
6245
6245
  const kept = /* @__PURE__ */ new Set();
6246
6246
  const rows = [];
6247
6247
  for (const row of incoming) {
6248
- if (!isRecord$4(row)) {
6248
+ if (!isRecord$5(row)) {
6249
6249
  rows.push(row);
6250
6250
  continue;
6251
6251
  }
@@ -6270,7 +6270,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6270
6270
  case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
6271
6271
  case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
6272
6272
  case "object": {
6273
- if (!isRecord$4(incoming)) {
6273
+ if (!isRecord$5(incoming)) {
6274
6274
  if (incoming === void 0) return KEEP;
6275
6275
  ctx.deletes.push(...collectSecretMarkerRefs(stored));
6276
6276
  return {
@@ -6278,7 +6278,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
6278
6278
  value: incoming
6279
6279
  };
6280
6280
  }
6281
- const storedObj = isRecord$4(stored) ? stored : {};
6281
+ const storedObj = isRecord$5(stored) ? stored : {};
6282
6282
  return {
6283
6283
  kind: "value",
6284
6284
  value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
@@ -6401,7 +6401,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
6401
6401
  value: items
6402
6402
  };
6403
6403
  }
6404
- if (isRecord$4(v)) {
6404
+ if (isRecord$5(v)) {
6405
6405
  const out = {};
6406
6406
  for (const [k, child] of Object.entries(v)) {
6407
6407
  const s = substitute(child);
@@ -6433,7 +6433,7 @@ var SecretOverwriteRefusedError = class extends Error {
6433
6433
  this.name = "SecretOverwriteRefusedError";
6434
6434
  }
6435
6435
  };
6436
- function isRecord$3(value) {
6436
+ function isRecord$4(value) {
6437
6437
  return typeof value === "object" && value !== null && !Array.isArray(value);
6438
6438
  }
6439
6439
  function resolvedValue(pass, marker) {
@@ -6462,7 +6462,7 @@ function inArray(pass, incoming, stored) {
6462
6462
  return incoming.map((item, index) => {
6463
6463
  const twin = stored[index];
6464
6464
  if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
6465
- if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
6465
+ if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
6466
6466
  if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
6467
6467
  return item;
6468
6468
  });
@@ -6473,7 +6473,7 @@ function inArrayRow(pass, incoming, stored) {
6473
6473
  const twin = stored[key];
6474
6474
  if (isSecretMarker(twin)) {
6475
6475
  if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
6476
- } else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
6476
+ } else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
6477
6477
  else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
6478
6478
  }
6479
6479
  return out;
@@ -6481,7 +6481,7 @@ function inArrayRow(pass, incoming, stored) {
6481
6481
  async function walk(pass, incoming, stored) {
6482
6482
  if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
6483
6483
  if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
6484
- if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
6484
+ if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
6485
6485
  const out = { ...incoming };
6486
6486
  for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
6487
6487
  return out;
@@ -6512,7 +6512,7 @@ async function restoreUnchangedSecrets(input) {
6512
6512
  function isJsonEqual(a, b) {
6513
6513
  if (Object.is(a, b)) return true;
6514
6514
  if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
6515
- if (isRecord$3(a) && isRecord$3(b)) {
6515
+ if (isRecord$4(a) && isRecord$4(b)) {
6516
6516
  const keys = Object.keys(a);
6517
6517
  if (keys.length !== Object.keys(b).length) return false;
6518
6518
  return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
@@ -6536,7 +6536,7 @@ function markerKeysOf(blob, owner) {
6536
6536
  }
6537
6537
  function nodeFromStored(value, owner) {
6538
6538
  if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
6539
- if (!isRecord$3(value)) return null;
6539
+ if (!isRecord$4(value)) return null;
6540
6540
  const children = /* @__PURE__ */ new Map();
6541
6541
  for (const [key, child] of Object.entries(value)) {
6542
6542
  const node = nodeFromStored(child, owner);
@@ -16829,15 +16829,6 @@ var StorageKindSchema = object({
16829
16829
  declaration: RecordKindDeclarationSchema
16830
16830
  });
16831
16831
  method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
16832
- collection: string().min(1),
16833
- expectRows: number().int().nonnegative()
16834
- }), object({
16835
- dropped: literal(true),
16836
- rows: number().int().nonnegative()
16837
- }), {
16838
- kind: "mutation",
16839
- auth: "admin"
16840
- }), method(object({
16841
16832
  owner: string().min(1).optional(),
16842
16833
  /** `false` skips the per-kind row count (a catalog read only). Default true. */
16843
16834
  counts: boolean().optional()
@@ -43212,6 +43203,15 @@ var NcMediaPolicySchema = object({
43212
43203
  * Replaces `zoneCrop`.
43213
43204
  */
43214
43205
  showTriggerZone: boolean().optional(),
43206
+ /**
43207
+ * Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
43208
+ * through the track's positions up to the frame shown, the same path the
43209
+ * debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
43210
+ * is drawn on: a `crop` maps the path into the crop and clips it. Valid only
43211
+ * on a rule whose subject is a tracked object (refused on a sound rule);
43212
+ * dropped on `image: 'none'`. Absent = off.
43213
+ */
43214
+ showSubjectPath: boolean().optional(),
43215
43215
  /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43216
43216
  attach: _enum([
43217
43217
  "best",
@@ -74353,12 +74353,6 @@ Object.freeze({
74353
74353
  addonId: null,
74354
74354
  access: "create"
74355
74355
  },
74356
- "storageAdmin.dropCollection": {
74357
- capName: "storage-admin",
74358
- capScope: "system",
74359
- addonId: null,
74360
- access: "delete"
74361
- },
74362
74356
  "storageAdmin.listKinds": {
74363
74357
  capName: "storage-admin",
74364
74358
  capScope: "system",