@camstack/types 1.2.238 → 1.2.239

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.
@@ -494,6 +494,18 @@ export declare const recordingCapability: {
494
494
  totalBytes: z.ZodNullable<z.ZodNumber>;
495
495
  }, z.core.$strip>>>;
496
496
  }, z.core.$strip>, "query">;
497
+ /**
498
+ * READ the camera's recording intent.
499
+ *
500
+ * `protected`, not `admin`, since 2026-09-21. It is the only per-camera
501
+ * source of the recording mode the viewer has, and the camera status dot
502
+ * asks for it on a screen every read-only user sees. As `admin` it answered
503
+ * FORBIDDEN, the viewer collapsed that to `null` and `null` to `'off'`, and
504
+ * a recording camera was drawn GREEN — a failed measurement rendered as a
505
+ * value (D315, D393, D590). It carries schedules and retention, no secret,
506
+ * and the per-device gate in `scope-access.ts` still applies; `setDeviceConfig`
507
+ * stays `admin`.
508
+ */
497
509
  readonly getDeviceConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
498
510
  deviceId: z.ZodNumber;
499
511
  }, z.core.$strip>, z.ZodObject<{
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 1059 method paths across 131 capabilities.
9
+ * Coverage: 1164 method paths across 158 capabilities.
10
10
  */
11
11
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
12
12
  export interface MethodAccessRecord {