@camstack/addon-auth 1.2.99 → 1.2.100

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.
@@ -19720,7 +19720,17 @@ var EventDensityBucketSchema = object({
19720
19720
  bucketStart: number(),
19721
19721
  motion: number().int(),
19722
19722
  object: number().int(),
19723
- audio: number().int()
19723
+ audio: number().int(),
19724
+ /**
19725
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19726
+ * as opposed to `audio`, which is their COUNT (D431).
19727
+ *
19728
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19729
+ * measured", which is not the same claim as silence, and a lane that cannot
19730
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19731
+ * the count-on-a-level-meter did.
19732
+ */
19733
+ audioDbfs: number().optional()
19724
19734
  });
19725
19735
  /**
19726
19736
  * One camera's row in a `getEventDensityBatch` answer.
@@ -27922,7 +27932,23 @@ var RecordingRangeSchema = object({
27922
27932
  });
27923
27933
  var RecordingAvailabilitySchema = object({
27924
27934
  deviceId: number(),
27925
- ranges: array(RecordingRangeSchema)
27935
+ ranges: array(RecordingRangeSchema),
27936
+ /**
27937
+ * Every profile this camera has footage in — not only the one `ranges`
27938
+ * describes (D433).
27939
+ *
27940
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
27941
+ * and enumerating all of them triples the directory reads for a bar that
27942
+ * would look identical. But the answer used to say nothing about that, so a
27943
+ * caller asking "what can I export?" read the single preferred profile as
27944
+ * the only one that exists — on this deployment every camera records `high`
27945
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
27946
+ * UI could not see it.
27947
+ *
27948
+ * Cheap: it is the same shallow directory read the profile CHOICE already
27949
+ * makes. Ask for a specific profile's ranges with the `profile` input.
27950
+ */
27951
+ profilesWithFootage: array(string())
27926
27952
  });
27927
27953
  var RecordingDaysSchema = object({
27928
27954
  deviceId: number(),
@@ -27948,7 +27974,11 @@ var RecordingDaysSchema = object({
27948
27974
  var RecordingAvailabilityForDeviceSchema = object({
27949
27975
  deviceId: number(),
27950
27976
  read: _enum(["read", "unreadable"]),
27951
- ranges: array(RecordingRangeSchema).readonly()
27977
+ ranges: array(RecordingRangeSchema).readonly(),
27978
+ /** Same field, same meaning, as the singular answer (D433). A row that
27979
+ * dropped it would tell a grid caller the archive holds one profile.
27980
+ * Empty on an `'unreadable'` row: nobody looked. */
27981
+ profilesWithFootage: array(string()).readonly()
27952
27982
  });
27953
27983
  /**
27954
27984
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -28238,7 +28268,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
28238
28268
  method(object({
28239
28269
  deviceId: number(),
28240
28270
  fromMs: number(),
28241
- toMs: number()
28271
+ toMs: number(),
28272
+ /**
28273
+ * Answer for THIS profile instead of the preferred one (D433). Absent
28274
+ * keeps the timeline's behaviour — one bar, one profile, one set of
28275
+ * reads. `profilesWithFootage` on the answer says what may be asked
28276
+ * for.
28277
+ */
28278
+ profile: string().optional()
28242
28279
  }), RecordingAvailabilitySchema, {
28243
28280
  kind: "query",
28244
28281
  auth: "protected"
@@ -19720,7 +19720,17 @@ var EventDensityBucketSchema = object({
19720
19720
  bucketStart: number(),
19721
19721
  motion: number().int(),
19722
19722
  object: number().int(),
19723
- audio: number().int()
19723
+ audio: number().int(),
19724
+ /**
19725
+ * Energy-weighted mean dBFS of the audio events in this bucket — the LEVEL,
19726
+ * as opposed to `audio`, which is their COUNT (D431).
19727
+ *
19728
+ * ABSENT when the bucket holds no audio event. Absence means "nothing was
19729
+ * measured", which is not the same claim as silence, and a lane that cannot
19730
+ * tell them apart paints a quiet hour at full scale — which is exactly what
19731
+ * the count-on-a-level-meter did.
19732
+ */
19733
+ audioDbfs: number().optional()
19724
19734
  });
19725
19735
  /**
19726
19736
  * One camera's row in a `getEventDensityBatch` answer.
@@ -27922,7 +27932,23 @@ var RecordingRangeSchema = object({
27922
27932
  });
27923
27933
  var RecordingAvailabilitySchema = object({
27924
27934
  deviceId: number(),
27925
- ranges: array(RecordingRangeSchema)
27935
+ ranges: array(RecordingRangeSchema),
27936
+ /**
27937
+ * Every profile this camera has footage in — not only the one `ranges`
27938
+ * describes (D433).
27939
+ *
27940
+ * `ranges` answers for ONE profile by design: the timeline is a single bar,
27941
+ * and enumerating all of them triples the directory reads for a bar that
27942
+ * would look identical. But the answer used to say nothing about that, so a
27943
+ * caller asking "what can I export?" read the single preferred profile as
27944
+ * the only one that exists — on this deployment every camera records `high`
27945
+ * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
27946
+ * UI could not see it.
27947
+ *
27948
+ * Cheap: it is the same shallow directory read the profile CHOICE already
27949
+ * makes. Ask for a specific profile's ranges with the `profile` input.
27950
+ */
27951
+ profilesWithFootage: array(string())
27926
27952
  });
27927
27953
  var RecordingDaysSchema = object({
27928
27954
  deviceId: number(),
@@ -27948,7 +27974,11 @@ var RecordingDaysSchema = object({
27948
27974
  var RecordingAvailabilityForDeviceSchema = object({
27949
27975
  deviceId: number(),
27950
27976
  read: _enum(["read", "unreadable"]),
27951
- ranges: array(RecordingRangeSchema).readonly()
27977
+ ranges: array(RecordingRangeSchema).readonly(),
27978
+ /** Same field, same meaning, as the singular answer (D433). A row that
27979
+ * dropped it would tell a grid caller the archive holds one profile.
27980
+ * Empty on an `'unreadable'` row: nobody looked. */
27981
+ profilesWithFootage: array(string()).readonly()
27952
27982
  });
27953
27983
  /**
27954
27984
  * One camera's row in a `getDaysWithRecordingsBatch` answer. Same rule as
@@ -28238,7 +28268,14 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
28238
28268
  method(object({
28239
28269
  deviceId: number(),
28240
28270
  fromMs: number(),
28241
- toMs: number()
28271
+ toMs: number(),
28272
+ /**
28273
+ * Answer for THIS profile instead of the preferred one (D433). Absent
28274
+ * keeps the timeline's behaviour — one bar, one profile, one set of
28275
+ * reads. `profilesWithFootage` on the answer says what may be asked
28276
+ * for.
28277
+ */
28278
+ profile: string().optional()
28242
28279
  }), RecordingAvailabilitySchema, {
28243
28280
  kind: "query",
28244
28281
  auth: "protected"
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-Cv6M4721.js");
6
+ const require_dist = require("../dist-mBKDEzix.js");
7
7
  //#region src/magic-link/auth-magic-link.addon.ts
8
8
  /**
9
9
  * Magic-link authentication addon.
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-B4csIGFJ.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-BYBXKrVA.mjs";
2
2
  //#region src/magic-link/auth-magic-link.addon.ts
3
3
  /**
4
4
  * Magic-link authentication addon.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-Cv6M4721.js");
6
+ const require_dist = require("../dist-mBKDEzix.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-B4csIGFJ.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-BYBXKrVA.mjs";
2
2
  import * as crypto$1 from "node:crypto";
3
3
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
4
4
  var encoder = new TextEncoder();
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.95",
6
+ version: "1.2.96",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_auth_webauthn_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.175",
21
+ version: "1.2.176",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_auth_webauthn_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.143",
36
+ version: "1.2.144",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_auth_webauthn_widgets",
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-Cv6M4721.js");
6
+ const require_dist = require("../dist-mBKDEzix.js");
7
7
  let stream = require("stream");
8
8
  stream = require_chunk.__toESM(stream, 1);
9
9
  let http = require("http");
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-B4csIGFJ.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-BYBXKrVA.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import Stream from "stream";
4
4
  import http from "http";
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.175",
39
+ version: "1.2.176",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.95",
48
+ version: "1.2.96",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.143",
84
+ version: "1.2.144",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-BNgTaJNA.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-0AyzvnQW.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-auth",
3
- "version": "1.2.99",
3
+ "version": "1.2.100",
4
4
  "description": "Authentication bundle — magic-link, OIDC, and WebAuthn/passkey. Multi-entry npm package shipping 3 addons under a single bundle; each addon keeps its own id, capabilities, and runner.",
5
5
  "keywords": [
6
6
  "camstack",