@camstack/addon-export-hap 1.2.39 → 1.2.40
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/hap-export.addon.js +249 -79
- package/dist/hap-export.addon.mjs +249 -79
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -6774,7 +6774,7 @@ function method(input, output, options) {
|
|
|
6774
6774
|
input,
|
|
6775
6775
|
output,
|
|
6776
6776
|
kind: options?.kind ?? "query",
|
|
6777
|
-
auth: options
|
|
6777
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6778
6778
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6779
6779
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6780
6780
|
timeoutMs: options?.timeoutMs
|
|
@@ -6794,7 +6794,7 @@ function systemMethod(input, output, options) {
|
|
|
6794
6794
|
}
|
|
6795
6795
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6796
6796
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6797
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6797
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6798
6798
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6799
6799
|
DeviceType["Camera"] = "camera";
|
|
6800
6800
|
DeviceType["Hub"] = "hub";
|
|
@@ -7115,7 +7115,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
7115
7115
|
}({});
|
|
7116
7116
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
7117
7117
|
var VersionOutputSchema = object({ version: string() });
|
|
7118
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
7118
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
7119
7119
|
/**
|
|
7120
7120
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
7121
7121
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -8267,24 +8267,6 @@ var RecordingRetentionSchema = object({
|
|
|
8267
8267
|
maxSizeGb: number().min(0).optional()
|
|
8268
8268
|
});
|
|
8269
8269
|
/**
|
|
8270
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
8271
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
8272
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
8273
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
8274
|
-
*
|
|
8275
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
8276
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
8277
|
-
* preset changed over time renders every historical window at the dims it was
|
|
8278
|
-
* written with.
|
|
8279
|
-
*/
|
|
8280
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
8281
|
-
"minimal",
|
|
8282
|
-
"low",
|
|
8283
|
-
"standard",
|
|
8284
|
-
"high",
|
|
8285
|
-
"max"
|
|
8286
|
-
]);
|
|
8287
|
-
/**
|
|
8288
8270
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
8289
8271
|
*
|
|
8290
8272
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -8292,7 +8274,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
8292
8274
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
8293
8275
|
*
|
|
8294
8276
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
8295
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
8277
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
8278
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
8279
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
8280
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
8281
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
8296
8282
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
8297
8283
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
8298
8284
|
*/
|
|
@@ -8315,14 +8301,7 @@ var RecordingConfigSchema = object({
|
|
|
8315
8301
|
* "off" is the absence of a covering band, never a band value.
|
|
8316
8302
|
*/
|
|
8317
8303
|
bands: array(RecordingBandSchema).default([]),
|
|
8318
|
-
retention: RecordingRetentionSchema.optional()
|
|
8319
|
-
/**
|
|
8320
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
8321
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
8322
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
8323
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
8324
|
-
*/
|
|
8325
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
8304
|
+
retention: RecordingRetentionSchema.optional()
|
|
8326
8305
|
}).strict();
|
|
8327
8306
|
/**
|
|
8328
8307
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -8398,10 +8377,11 @@ var RelocateFootageInputSchema = object({
|
|
|
8398
8377
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
8399
8378
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
8400
8379
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
8401
|
-
var
|
|
8380
|
+
var RelocateMediaInputSchema = object({
|
|
8402
8381
|
toLocationId: string(),
|
|
8403
8382
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
8404
|
-
})
|
|
8383
|
+
});
|
|
8384
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8405
8385
|
/** The independently selectable logical storage classes. `recordings`
|
|
8406
8386
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
8407
8387
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8750,7 +8730,26 @@ var LabelDefinitionSchema = object({
|
|
|
8750
8730
|
description: string().optional(),
|
|
8751
8731
|
icon: string().optional()
|
|
8752
8732
|
});
|
|
8753
|
-
|
|
8733
|
+
/**
|
|
8734
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8735
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8736
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8737
|
+
* detection pipeline executor actually routes.
|
|
8738
|
+
*
|
|
8739
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8740
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8741
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8742
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8743
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8744
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8745
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8746
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8747
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8748
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8749
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8750
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8751
|
+
*/
|
|
8752
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8754
8753
|
mapping: record(string(), _enum([
|
|
8755
8754
|
"person",
|
|
8756
8755
|
"vehicle",
|
|
@@ -8955,7 +8954,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8955
8954
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8956
8955
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8957
8956
|
*/
|
|
8958
|
-
classMap:
|
|
8957
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8959
8958
|
});
|
|
8960
8959
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8961
8960
|
format: literal("openvino"),
|
|
@@ -8985,7 +8984,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8985
8984
|
"segmentation"
|
|
8986
8985
|
]),
|
|
8987
8986
|
faceAlignment: boolean().optional(),
|
|
8988
|
-
classMap:
|
|
8987
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8989
8988
|
});
|
|
8990
8989
|
var ConvertResultSchema = object({
|
|
8991
8990
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9848,7 +9847,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9848
9847
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9849
9848
|
sectionLabel: string().optional()
|
|
9850
9849
|
});
|
|
9851
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9850
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9852
9851
|
var AddonHttpRouteSchema = object({
|
|
9853
9852
|
method: _enum([
|
|
9854
9853
|
"GET",
|
|
@@ -10083,7 +10082,7 @@ var WidgetMetadataSchema = object({
|
|
|
10083
10082
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
10084
10083
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
10085
10084
|
});
|
|
10086
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
10085
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
10087
10086
|
/**
|
|
10088
10087
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
10089
10088
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -11605,7 +11604,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
11605
11604
|
stepId: string(),
|
|
11606
11605
|
entry: ModelCatalogEntrySchema
|
|
11607
11606
|
});
|
|
11608
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
11607
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
11609
11608
|
/**
|
|
11610
11609
|
* Query filter for settings-store collections.
|
|
11611
11610
|
*/
|
|
@@ -11692,7 +11691,8 @@ method(object({
|
|
|
11692
11691
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11693
11692
|
namespace: string().optional(),
|
|
11694
11693
|
collection: string(),
|
|
11695
|
-
filter: QueryFilterSchema.optional()
|
|
11694
|
+
filter: QueryFilterSchema.optional(),
|
|
11695
|
+
columns: array(string()).readonly().optional()
|
|
11696
11696
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11697
11697
|
namespace: string().optional(),
|
|
11698
11698
|
collection: string(),
|
|
@@ -11755,46 +11755,87 @@ var EngineInfoSchema = object({
|
|
|
11755
11755
|
kind: _enum(["relational", "vector"]),
|
|
11756
11756
|
displayName: string()
|
|
11757
11757
|
});
|
|
11758
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11758
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11759
11759
|
namespace: string().optional(),
|
|
11760
11760
|
collection: string(),
|
|
11761
11761
|
key: string()
|
|
11762
|
-
}), unknown()), method(object({
|
|
11762
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11763
11763
|
namespace: string().optional(),
|
|
11764
11764
|
collection: string(),
|
|
11765
11765
|
key: string(),
|
|
11766
11766
|
value: unknown()
|
|
11767
|
-
}), _void(), {
|
|
11767
|
+
}), _void(), {
|
|
11768
|
+
kind: "mutation",
|
|
11769
|
+
auth: "admin"
|
|
11770
|
+
}), method(object({
|
|
11768
11771
|
namespace: string().optional(),
|
|
11769
11772
|
collection: string(),
|
|
11770
|
-
filter: QueryFilterSchema.optional()
|
|
11771
|
-
|
|
11773
|
+
filter: QueryFilterSchema.optional(),
|
|
11774
|
+
/**
|
|
11775
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11776
|
+
*
|
|
11777
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11778
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11779
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11780
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11781
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11782
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11783
|
+
*
|
|
11784
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11785
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11786
|
+
* interface the engine destructures from. The field existed on both
|
|
11787
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11788
|
+
* registered provider against `InferProvider<cap>` —
|
|
11789
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11790
|
+
*
|
|
11791
|
+
* It is declared here anyway, and must stay in step with
|
|
11792
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11793
|
+
* to be able to see that this call carries a projection.
|
|
11794
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11795
|
+
*/
|
|
11796
|
+
columns: array(string()).readonly().optional()
|
|
11797
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11772
11798
|
namespace: string().optional(),
|
|
11773
11799
|
collection: string(),
|
|
11774
11800
|
record: SettingsRecordSchema
|
|
11775
|
-
}), _void(), {
|
|
11801
|
+
}), _void(), {
|
|
11802
|
+
kind: "mutation",
|
|
11803
|
+
auth: "admin"
|
|
11804
|
+
}), method(object({
|
|
11776
11805
|
namespace: string().optional(),
|
|
11777
11806
|
collection: string(),
|
|
11778
11807
|
id: string(),
|
|
11779
11808
|
data: record(string(), unknown())
|
|
11780
|
-
}), _void(), {
|
|
11809
|
+
}), _void(), {
|
|
11810
|
+
kind: "mutation",
|
|
11811
|
+
auth: "admin"
|
|
11812
|
+
}), method(object({
|
|
11781
11813
|
namespace: string().optional(),
|
|
11782
11814
|
collection: string(),
|
|
11783
11815
|
key: string()
|
|
11784
|
-
}), _void(), {
|
|
11816
|
+
}), _void(), {
|
|
11817
|
+
kind: "mutation",
|
|
11818
|
+
auth: "admin"
|
|
11819
|
+
}), method(object({
|
|
11785
11820
|
namespace: string().optional(),
|
|
11786
11821
|
collection: string(),
|
|
11787
11822
|
filter: MutationFilterSchema
|
|
11788
|
-
}), object({ deleted: number().int() }), {
|
|
11823
|
+
}), object({ deleted: number().int() }), {
|
|
11824
|
+
kind: "mutation",
|
|
11825
|
+
auth: "admin"
|
|
11826
|
+
}), method(object({
|
|
11789
11827
|
namespace: string().optional(),
|
|
11790
11828
|
collection: string(),
|
|
11791
11829
|
filter: MutationFilterSchema,
|
|
11792
11830
|
data: record(string(), unknown())
|
|
11793
|
-
}), object({ updated: number().int() }), {
|
|
11831
|
+
}), object({ updated: number().int() }), {
|
|
11832
|
+
kind: "mutation",
|
|
11833
|
+
auth: "admin"
|
|
11834
|
+
}), method(object({
|
|
11794
11835
|
namespace: string().optional(),
|
|
11795
11836
|
collection: string(),
|
|
11796
11837
|
filter: QueryFilterSchema.optional()
|
|
11797
|
-
}), number()), method(object({
|
|
11838
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11798
11839
|
namespace: string().optional(),
|
|
11799
11840
|
collection: string(),
|
|
11800
11841
|
field: string(),
|
|
@@ -11804,15 +11845,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11804
11845
|
}), array(object({
|
|
11805
11846
|
bucket: number().int(),
|
|
11806
11847
|
count: number().int()
|
|
11807
|
-
})).readonly()), method(object({
|
|
11848
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11808
11849
|
namespace: string().optional(),
|
|
11809
11850
|
collection: string()
|
|
11810
|
-
}), boolean()), method(object({
|
|
11851
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11811
11852
|
namespace: string().optional(),
|
|
11812
11853
|
collection: string(),
|
|
11813
11854
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11814
11855
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11815
|
-
}), _void(), {
|
|
11856
|
+
}), _void(), {
|
|
11857
|
+
kind: "mutation",
|
|
11858
|
+
auth: "admin"
|
|
11859
|
+
});
|
|
11816
11860
|
/**
|
|
11817
11861
|
* Stable UI option list for the `hwaccel` setting. Decoder addons
|
|
11818
11862
|
* reuse this for `globalSettingsSchema()` so the dropdown is
|
|
@@ -13021,7 +13065,7 @@ method(object({
|
|
|
13021
13065
|
crop: _instanceof(Uint8Array),
|
|
13022
13066
|
width: number(),
|
|
13023
13067
|
height: number()
|
|
13024
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
13068
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
13025
13069
|
/**
|
|
13026
13070
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
13027
13071
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -13314,19 +13358,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
13314
13358
|
runtime: ManagedRuntimeConfigSchema,
|
|
13315
13359
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
13316
13360
|
timeoutMs: number().int().positive().optional()
|
|
13317
|
-
}), LlmGenerateResultSchema, {
|
|
13361
|
+
}), LlmGenerateResultSchema, {
|
|
13362
|
+
kind: "mutation",
|
|
13363
|
+
auth: "admin"
|
|
13364
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
13318
13365
|
kind: "mutation",
|
|
13319
13366
|
auth: "admin"
|
|
13320
13367
|
}), method(object({}), _void(), {
|
|
13321
13368
|
kind: "mutation",
|
|
13322
13369
|
auth: "admin"
|
|
13323
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
13370
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
13324
13371
|
kind: "mutation",
|
|
13325
13372
|
auth: "admin"
|
|
13326
13373
|
}), method(object({ file: string() }), _void(), {
|
|
13327
13374
|
kind: "mutation",
|
|
13328
13375
|
auth: "admin"
|
|
13329
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
13376
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
13330
13377
|
/**
|
|
13331
13378
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
13332
13379
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16799,7 +16846,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16799
16846
|
*/
|
|
16800
16847
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16801
16848
|
});
|
|
16802
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16849
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16803
16850
|
/**
|
|
16804
16851
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16805
16852
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17994,6 +18041,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17994
18041
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17995
18042
|
kind: "mutation",
|
|
17996
18043
|
auth: "admin"
|
|
18044
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
18045
|
+
kind: "mutation",
|
|
18046
|
+
auth: "admin"
|
|
18047
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
18048
|
+
kind: "query",
|
|
18049
|
+
auth: "admin"
|
|
18050
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
18051
|
+
kind: "mutation",
|
|
18052
|
+
auth: "admin"
|
|
17997
18053
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17998
18054
|
kind: "query",
|
|
17999
18055
|
auth: "admin"
|
|
@@ -18148,6 +18204,11 @@ object({
|
|
|
18148
18204
|
"jpeg"
|
|
18149
18205
|
])
|
|
18150
18206
|
});
|
|
18207
|
+
/**
|
|
18208
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
18209
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
18210
|
+
* other process or execution group.
|
|
18211
|
+
*/
|
|
18151
18212
|
var FrameRefSchema = object({
|
|
18152
18213
|
registryId: string().min(1),
|
|
18153
18214
|
id: string().min(1),
|
|
@@ -20313,7 +20374,7 @@ method(object({
|
|
|
20313
20374
|
* linking rather than produce an eternal token.
|
|
20314
20375
|
*/
|
|
20315
20376
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
20316
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
20377
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
20317
20378
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
20318
20379
|
providerId: string().min(1),
|
|
20319
20380
|
displayName: string().min(1),
|
|
@@ -20408,10 +20469,13 @@ var EvictResultSchema = object({
|
|
|
20408
20469
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
20409
20470
|
exhausted: boolean()
|
|
20410
20471
|
});
|
|
20411
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
20472
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
20412
20473
|
locationId: string(),
|
|
20413
20474
|
targetBytes: number().int().positive()
|
|
20414
|
-
}), EvictResultSchema, {
|
|
20475
|
+
}), EvictResultSchema, {
|
|
20476
|
+
kind: "mutation",
|
|
20477
|
+
auth: "admin"
|
|
20478
|
+
});
|
|
20415
20479
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
20416
20480
|
kind: "mutation",
|
|
20417
20481
|
auth: "admin"
|
|
@@ -20471,26 +20535,50 @@ var ReadChunkInputSchema = object({
|
|
|
20471
20535
|
length: number()
|
|
20472
20536
|
});
|
|
20473
20537
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
20474
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20538
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20475
20539
|
location: StorageLocationSchema,
|
|
20476
20540
|
relativePath: string()
|
|
20477
|
-
}), string()), method(object({
|
|
20541
|
+
}), string(), { auth: "admin" }), method(object({
|
|
20478
20542
|
location: StorageLocationSchema,
|
|
20479
20543
|
relativePath: string(),
|
|
20480
20544
|
data: _instanceof(Uint8Array)
|
|
20481
|
-
}), _void(), {
|
|
20545
|
+
}), _void(), {
|
|
20546
|
+
kind: "mutation",
|
|
20547
|
+
auth: "admin"
|
|
20548
|
+
}), method(object({
|
|
20482
20549
|
location: StorageLocationSchema,
|
|
20483
20550
|
relativePath: string()
|
|
20484
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
20551
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
20485
20552
|
location: StorageLocationSchema,
|
|
20486
20553
|
relativePath: string()
|
|
20487
|
-
}), boolean()), method(object({
|
|
20554
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
20488
20555
|
location: StorageLocationSchema,
|
|
20489
20556
|
prefix: string().optional()
|
|
20490
|
-
}), array(string()).readonly()), method(object({
|
|
20557
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
20491
20558
|
location: StorageLocationSchema,
|
|
20492
20559
|
relativePath: string()
|
|
20493
|
-
}), _void(), {
|
|
20560
|
+
}), _void(), {
|
|
20561
|
+
kind: "mutation",
|
|
20562
|
+
auth: "admin"
|
|
20563
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
20564
|
+
kind: "mutation",
|
|
20565
|
+
auth: "admin"
|
|
20566
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
20567
|
+
kind: "mutation",
|
|
20568
|
+
auth: "admin"
|
|
20569
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
20570
|
+
kind: "mutation",
|
|
20571
|
+
auth: "admin"
|
|
20572
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
20573
|
+
kind: "mutation",
|
|
20574
|
+
auth: "admin"
|
|
20575
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
20576
|
+
kind: "mutation",
|
|
20577
|
+
auth: "admin"
|
|
20578
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
20579
|
+
kind: "mutation",
|
|
20580
|
+
auth: "admin"
|
|
20581
|
+
});
|
|
20494
20582
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
20495
20583
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
20496
20584
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20748,7 +20836,8 @@ method(object({
|
|
|
20748
20836
|
access: "create"
|
|
20749
20837
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20750
20838
|
kind: "mutation",
|
|
20751
|
-
access: "view"
|
|
20839
|
+
access: "view",
|
|
20840
|
+
auth: "admin"
|
|
20752
20841
|
}), method(object({
|
|
20753
20842
|
/** Required — the user the assertion belongs to (verified). */
|
|
20754
20843
|
userId: string(),
|
|
@@ -20756,10 +20845,12 @@ method(object({
|
|
|
20756
20845
|
response: record(string(), unknown())
|
|
20757
20846
|
}), object({ verified: boolean() }), {
|
|
20758
20847
|
kind: "mutation",
|
|
20759
|
-
access: "view"
|
|
20848
|
+
access: "view",
|
|
20849
|
+
auth: "admin"
|
|
20760
20850
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20761
20851
|
kind: "mutation",
|
|
20762
|
-
access: "view"
|
|
20852
|
+
access: "view",
|
|
20853
|
+
auth: "admin"
|
|
20763
20854
|
}), method(object({
|
|
20764
20855
|
/** AuthenticationResponseJSON from the browser. */
|
|
20765
20856
|
response: record(string(), unknown()) }), object({
|
|
@@ -20767,7 +20858,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20767
20858
|
userId: string().nullable()
|
|
20768
20859
|
}), {
|
|
20769
20860
|
kind: "mutation",
|
|
20770
|
-
access: "view"
|
|
20861
|
+
access: "view",
|
|
20862
|
+
auth: "admin"
|
|
20771
20863
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20772
20864
|
userId: string(),
|
|
20773
20865
|
credentialId: string()
|
|
@@ -20939,7 +21031,19 @@ var VectorStatsResultSchema = object({
|
|
|
20939
21031
|
/** False when the backend ranks approximately. */
|
|
20940
21032
|
exact: boolean()
|
|
20941
21033
|
});
|
|
20942
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
21034
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
21035
|
+
kind: "mutation",
|
|
21036
|
+
auth: "admin"
|
|
21037
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
21038
|
+
kind: "mutation",
|
|
21039
|
+
auth: "admin"
|
|
21040
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
21041
|
+
kind: "mutation",
|
|
21042
|
+
auth: "admin"
|
|
21043
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
21044
|
+
kind: "mutation",
|
|
21045
|
+
auth: "admin"
|
|
21046
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20943
21047
|
var ClipSchema = object({
|
|
20944
21048
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20945
21049
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22682,7 +22786,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22682
22786
|
sizeBytes: number(),
|
|
22683
22787
|
timestamp: number()
|
|
22684
22788
|
});
|
|
22685
|
-
method(
|
|
22789
|
+
method(object({
|
|
22790
|
+
/**
|
|
22791
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
22792
|
+
*
|
|
22793
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
22794
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
22795
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
22796
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
22797
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
22798
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
22799
|
+
*
|
|
22800
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
22801
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
22802
|
+
*
|
|
22803
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
22804
|
+
* next train** — the hub router validates cap inputs against its own
|
|
22805
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
22806
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
22807
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
22808
|
+
*/
|
|
22809
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22686
22810
|
kind: "mutation",
|
|
22687
22811
|
auth: "admin"
|
|
22688
22812
|
}), method(object({
|
|
@@ -24857,8 +24981,10 @@ var PlateInfoSchema = object({
|
|
|
24857
24981
|
keyFrameMediaKey: string().optional(),
|
|
24858
24982
|
base64: string().optional(),
|
|
24859
24983
|
/**
|
|
24860
|
-
* Same crop as a data-plane URL
|
|
24861
|
-
* never inlines JPEG; `listPlates`
|
|
24984
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
24985
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
24986
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
24987
|
+
* left at its `true` default.
|
|
24862
24988
|
*/
|
|
24863
24989
|
cropUrl: string().optional()
|
|
24864
24990
|
});
|
|
@@ -24878,14 +25004,34 @@ var PlateClusterSchema = object({
|
|
|
24878
25004
|
});
|
|
24879
25005
|
method(object({
|
|
24880
25006
|
deviceId: number().int().optional(),
|
|
24881
|
-
limit: number().int().positive().optional()
|
|
25007
|
+
limit: number().int().positive().optional(),
|
|
25008
|
+
/**
|
|
25009
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
25010
|
+
* behaviour, kept so no caller breaks.
|
|
25011
|
+
*
|
|
25012
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
25013
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
25014
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
25015
|
+
* metadata without them — and the browser then caches the images.
|
|
25016
|
+
*
|
|
25017
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
25018
|
+
* plates were the one gallery list left without it.
|
|
25019
|
+
*
|
|
25020
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
25021
|
+
* next train.** The hub router validates cap inputs against its own
|
|
25022
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
25023
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
25024
|
+
*/
|
|
25025
|
+
includeCrops: boolean().optional()
|
|
24882
25026
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
24883
25027
|
deviceId: number().int(),
|
|
24884
25028
|
trackId: string()
|
|
24885
25029
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
24886
25030
|
text: string().min(1),
|
|
24887
25031
|
maxDistance: number().int().min(0).optional(),
|
|
24888
|
-
limit: number().int().positive().optional()
|
|
25032
|
+
limit: number().int().positive().optional(),
|
|
25033
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
25034
|
+
includeCrops: boolean().optional()
|
|
24889
25035
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
24890
25036
|
maxDistance: number().int().min(0).optional(),
|
|
24891
25037
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -24899,7 +25045,13 @@ method(object({
|
|
|
24899
25045
|
}), method(object({ plateId: string() }), _void(), {
|
|
24900
25046
|
kind: "mutation",
|
|
24901
25047
|
auth: "admin"
|
|
24902
|
-
}), method(
|
|
25048
|
+
}), method(object({
|
|
25049
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
25050
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
25051
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
25052
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
25053
|
+
* resolves to `false` and is exactly the intended default. */
|
|
25054
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
24903
25055
|
kind: "mutation",
|
|
24904
25056
|
auth: "admin"
|
|
24905
25057
|
}), method(object({
|
|
@@ -30301,6 +30453,12 @@ Object.freeze({
|
|
|
30301
30453
|
addonId: null,
|
|
30302
30454
|
access: "create"
|
|
30303
30455
|
},
|
|
30456
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
30457
|
+
capName: "pipeline-analytics",
|
|
30458
|
+
capScope: "device",
|
|
30459
|
+
addonId: null,
|
|
30460
|
+
access: "create"
|
|
30461
|
+
},
|
|
30304
30462
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
30305
30463
|
capName: "pipeline-analytics",
|
|
30306
30464
|
capScope: "device",
|
|
@@ -30475,6 +30633,12 @@ Object.freeze({
|
|
|
30475
30633
|
addonId: null,
|
|
30476
30634
|
access: "view"
|
|
30477
30635
|
},
|
|
30636
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
30637
|
+
capName: "pipeline-analytics",
|
|
30638
|
+
capScope: "device",
|
|
30639
|
+
addonId: null,
|
|
30640
|
+
access: "view"
|
|
30641
|
+
},
|
|
30478
30642
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
30479
30643
|
capName: "pipeline-analytics",
|
|
30480
30644
|
capScope: "device",
|
|
@@ -30553,6 +30717,12 @@ Object.freeze({
|
|
|
30553
30717
|
addonId: null,
|
|
30554
30718
|
access: "create"
|
|
30555
30719
|
},
|
|
30720
|
+
"pipelineAnalytics.relocateMedia": {
|
|
30721
|
+
capName: "pipeline-analytics",
|
|
30722
|
+
capScope: "device",
|
|
30723
|
+
addonId: null,
|
|
30724
|
+
access: "create"
|
|
30725
|
+
},
|
|
30556
30726
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
30557
30727
|
capName: "pipeline-analytics",
|
|
30558
30728
|
capScope: "device",
|
|
@@ -6762,7 +6762,7 @@ function method(input, output, options) {
|
|
|
6762
6762
|
input,
|
|
6763
6763
|
output,
|
|
6764
6764
|
kind: options?.kind ?? "query",
|
|
6765
|
-
auth: options
|
|
6765
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6766
6766
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6767
6767
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6768
6768
|
timeoutMs: options?.timeoutMs
|
|
@@ -6782,7 +6782,7 @@ function systemMethod(input, output, options) {
|
|
|
6782
6782
|
}
|
|
6783
6783
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6784
6784
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6785
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6785
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6786
6786
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6787
6787
|
DeviceType["Camera"] = "camera";
|
|
6788
6788
|
DeviceType["Hub"] = "hub";
|
|
@@ -7103,7 +7103,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
7103
7103
|
}({});
|
|
7104
7104
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
7105
7105
|
var VersionOutputSchema = object({ version: string() });
|
|
7106
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
7106
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
7107
7107
|
/**
|
|
7108
7108
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
7109
7109
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -8255,24 +8255,6 @@ var RecordingRetentionSchema = object({
|
|
|
8255
8255
|
maxSizeGb: number().min(0).optional()
|
|
8256
8256
|
});
|
|
8257
8257
|
/**
|
|
8258
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
8259
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
8260
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
8261
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
8262
|
-
*
|
|
8263
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
8264
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
8265
|
-
* preset changed over time renders every historical window at the dims it was
|
|
8266
|
-
* written with.
|
|
8267
|
-
*/
|
|
8268
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
8269
|
-
"minimal",
|
|
8270
|
-
"low",
|
|
8271
|
-
"standard",
|
|
8272
|
-
"high",
|
|
8273
|
-
"max"
|
|
8274
|
-
]);
|
|
8275
|
-
/**
|
|
8276
8258
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
8277
8259
|
*
|
|
8278
8260
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -8280,7 +8262,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
8280
8262
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
8281
8263
|
*
|
|
8282
8264
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
8283
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
8265
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
8266
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
8267
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
8268
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
8269
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
8284
8270
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
8285
8271
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
8286
8272
|
*/
|
|
@@ -8303,14 +8289,7 @@ var RecordingConfigSchema = object({
|
|
|
8303
8289
|
* "off" is the absence of a covering band, never a band value.
|
|
8304
8290
|
*/
|
|
8305
8291
|
bands: array(RecordingBandSchema).default([]),
|
|
8306
|
-
retention: RecordingRetentionSchema.optional()
|
|
8307
|
-
/**
|
|
8308
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
8309
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
8310
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
8311
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
8312
|
-
*/
|
|
8313
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
8292
|
+
retention: RecordingRetentionSchema.optional()
|
|
8314
8293
|
}).strict();
|
|
8315
8294
|
/**
|
|
8316
8295
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -8386,10 +8365,11 @@ var RelocateFootageInputSchema = object({
|
|
|
8386
8365
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
8387
8366
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
8388
8367
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
8389
|
-
var
|
|
8368
|
+
var RelocateMediaInputSchema = object({
|
|
8390
8369
|
toLocationId: string(),
|
|
8391
8370
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
8392
|
-
})
|
|
8371
|
+
});
|
|
8372
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
8393
8373
|
/** The independently selectable logical storage classes. `recordings`
|
|
8394
8374
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
8395
8375
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8738,7 +8718,26 @@ var LabelDefinitionSchema = object({
|
|
|
8738
8718
|
description: string().optional(),
|
|
8739
8719
|
icon: string().optional()
|
|
8740
8720
|
});
|
|
8741
|
-
|
|
8721
|
+
/**
|
|
8722
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8723
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8724
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8725
|
+
* detection pipeline executor actually routes.
|
|
8726
|
+
*
|
|
8727
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8728
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8729
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8730
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8731
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8732
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8733
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8734
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8735
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8736
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8737
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8738
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8739
|
+
*/
|
|
8740
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8742
8741
|
mapping: record(string(), _enum([
|
|
8743
8742
|
"person",
|
|
8744
8743
|
"vehicle",
|
|
@@ -8943,7 +8942,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8943
8942
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8944
8943
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8945
8944
|
*/
|
|
8946
|
-
classMap:
|
|
8945
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8947
8946
|
});
|
|
8948
8947
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8949
8948
|
format: literal("openvino"),
|
|
@@ -8973,7 +8972,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8973
8972
|
"segmentation"
|
|
8974
8973
|
]),
|
|
8975
8974
|
faceAlignment: boolean().optional(),
|
|
8976
|
-
classMap:
|
|
8975
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8977
8976
|
});
|
|
8978
8977
|
var ConvertResultSchema = object({
|
|
8979
8978
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9836,7 +9835,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9836
9835
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9837
9836
|
sectionLabel: string().optional()
|
|
9838
9837
|
});
|
|
9839
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9838
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9840
9839
|
var AddonHttpRouteSchema = object({
|
|
9841
9840
|
method: _enum([
|
|
9842
9841
|
"GET",
|
|
@@ -10071,7 +10070,7 @@ var WidgetMetadataSchema = object({
|
|
|
10071
10070
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
10072
10071
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
10073
10072
|
});
|
|
10074
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
10073
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
10075
10074
|
/**
|
|
10076
10075
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
10077
10076
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -11593,7 +11592,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
11593
11592
|
stepId: string(),
|
|
11594
11593
|
entry: ModelCatalogEntrySchema
|
|
11595
11594
|
});
|
|
11596
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
11595
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
11597
11596
|
/**
|
|
11598
11597
|
* Query filter for settings-store collections.
|
|
11599
11598
|
*/
|
|
@@ -11680,7 +11679,8 @@ method(object({
|
|
|
11680
11679
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11681
11680
|
namespace: string().optional(),
|
|
11682
11681
|
collection: string(),
|
|
11683
|
-
filter: QueryFilterSchema.optional()
|
|
11682
|
+
filter: QueryFilterSchema.optional(),
|
|
11683
|
+
columns: array(string()).readonly().optional()
|
|
11684
11684
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11685
11685
|
namespace: string().optional(),
|
|
11686
11686
|
collection: string(),
|
|
@@ -11743,46 +11743,87 @@ var EngineInfoSchema = object({
|
|
|
11743
11743
|
kind: _enum(["relational", "vector"]),
|
|
11744
11744
|
displayName: string()
|
|
11745
11745
|
});
|
|
11746
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11746
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11747
11747
|
namespace: string().optional(),
|
|
11748
11748
|
collection: string(),
|
|
11749
11749
|
key: string()
|
|
11750
|
-
}), unknown()), method(object({
|
|
11750
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11751
11751
|
namespace: string().optional(),
|
|
11752
11752
|
collection: string(),
|
|
11753
11753
|
key: string(),
|
|
11754
11754
|
value: unknown()
|
|
11755
|
-
}), _void(), {
|
|
11755
|
+
}), _void(), {
|
|
11756
|
+
kind: "mutation",
|
|
11757
|
+
auth: "admin"
|
|
11758
|
+
}), method(object({
|
|
11756
11759
|
namespace: string().optional(),
|
|
11757
11760
|
collection: string(),
|
|
11758
|
-
filter: QueryFilterSchema.optional()
|
|
11759
|
-
|
|
11761
|
+
filter: QueryFilterSchema.optional(),
|
|
11762
|
+
/**
|
|
11763
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11764
|
+
*
|
|
11765
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11766
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11767
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11768
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11769
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11770
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11771
|
+
*
|
|
11772
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11773
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11774
|
+
* interface the engine destructures from. The field existed on both
|
|
11775
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11776
|
+
* registered provider against `InferProvider<cap>` —
|
|
11777
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11778
|
+
*
|
|
11779
|
+
* It is declared here anyway, and must stay in step with
|
|
11780
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11781
|
+
* to be able to see that this call carries a projection.
|
|
11782
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11783
|
+
*/
|
|
11784
|
+
columns: array(string()).readonly().optional()
|
|
11785
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11760
11786
|
namespace: string().optional(),
|
|
11761
11787
|
collection: string(),
|
|
11762
11788
|
record: SettingsRecordSchema
|
|
11763
|
-
}), _void(), {
|
|
11789
|
+
}), _void(), {
|
|
11790
|
+
kind: "mutation",
|
|
11791
|
+
auth: "admin"
|
|
11792
|
+
}), method(object({
|
|
11764
11793
|
namespace: string().optional(),
|
|
11765
11794
|
collection: string(),
|
|
11766
11795
|
id: string(),
|
|
11767
11796
|
data: record(string(), unknown())
|
|
11768
|
-
}), _void(), {
|
|
11797
|
+
}), _void(), {
|
|
11798
|
+
kind: "mutation",
|
|
11799
|
+
auth: "admin"
|
|
11800
|
+
}), method(object({
|
|
11769
11801
|
namespace: string().optional(),
|
|
11770
11802
|
collection: string(),
|
|
11771
11803
|
key: string()
|
|
11772
|
-
}), _void(), {
|
|
11804
|
+
}), _void(), {
|
|
11805
|
+
kind: "mutation",
|
|
11806
|
+
auth: "admin"
|
|
11807
|
+
}), method(object({
|
|
11773
11808
|
namespace: string().optional(),
|
|
11774
11809
|
collection: string(),
|
|
11775
11810
|
filter: MutationFilterSchema
|
|
11776
|
-
}), object({ deleted: number().int() }), {
|
|
11811
|
+
}), object({ deleted: number().int() }), {
|
|
11812
|
+
kind: "mutation",
|
|
11813
|
+
auth: "admin"
|
|
11814
|
+
}), method(object({
|
|
11777
11815
|
namespace: string().optional(),
|
|
11778
11816
|
collection: string(),
|
|
11779
11817
|
filter: MutationFilterSchema,
|
|
11780
11818
|
data: record(string(), unknown())
|
|
11781
|
-
}), object({ updated: number().int() }), {
|
|
11819
|
+
}), object({ updated: number().int() }), {
|
|
11820
|
+
kind: "mutation",
|
|
11821
|
+
auth: "admin"
|
|
11822
|
+
}), method(object({
|
|
11782
11823
|
namespace: string().optional(),
|
|
11783
11824
|
collection: string(),
|
|
11784
11825
|
filter: QueryFilterSchema.optional()
|
|
11785
|
-
}), number()), method(object({
|
|
11826
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11786
11827
|
namespace: string().optional(),
|
|
11787
11828
|
collection: string(),
|
|
11788
11829
|
field: string(),
|
|
@@ -11792,15 +11833,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11792
11833
|
}), array(object({
|
|
11793
11834
|
bucket: number().int(),
|
|
11794
11835
|
count: number().int()
|
|
11795
|
-
})).readonly()), method(object({
|
|
11836
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11796
11837
|
namespace: string().optional(),
|
|
11797
11838
|
collection: string()
|
|
11798
|
-
}), boolean()), method(object({
|
|
11839
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11799
11840
|
namespace: string().optional(),
|
|
11800
11841
|
collection: string(),
|
|
11801
11842
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11802
11843
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11803
|
-
}), _void(), {
|
|
11844
|
+
}), _void(), {
|
|
11845
|
+
kind: "mutation",
|
|
11846
|
+
auth: "admin"
|
|
11847
|
+
});
|
|
11804
11848
|
/**
|
|
11805
11849
|
* Stable UI option list for the `hwaccel` setting. Decoder addons
|
|
11806
11850
|
* reuse this for `globalSettingsSchema()` so the dropdown is
|
|
@@ -13009,7 +13053,7 @@ method(object({
|
|
|
13009
13053
|
crop: _instanceof(Uint8Array),
|
|
13010
13054
|
width: number(),
|
|
13011
13055
|
height: number()
|
|
13012
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
13056
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
13013
13057
|
/**
|
|
13014
13058
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
13015
13059
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -13302,19 +13346,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
13302
13346
|
runtime: ManagedRuntimeConfigSchema,
|
|
13303
13347
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
13304
13348
|
timeoutMs: number().int().positive().optional()
|
|
13305
|
-
}), LlmGenerateResultSchema, {
|
|
13349
|
+
}), LlmGenerateResultSchema, {
|
|
13350
|
+
kind: "mutation",
|
|
13351
|
+
auth: "admin"
|
|
13352
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
13306
13353
|
kind: "mutation",
|
|
13307
13354
|
auth: "admin"
|
|
13308
13355
|
}), method(object({}), _void(), {
|
|
13309
13356
|
kind: "mutation",
|
|
13310
13357
|
auth: "admin"
|
|
13311
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
13358
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
13312
13359
|
kind: "mutation",
|
|
13313
13360
|
auth: "admin"
|
|
13314
13361
|
}), method(object({ file: string() }), _void(), {
|
|
13315
13362
|
kind: "mutation",
|
|
13316
13363
|
auth: "admin"
|
|
13317
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
13364
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
13318
13365
|
/**
|
|
13319
13366
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
13320
13367
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16787,7 +16834,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16787
16834
|
*/
|
|
16788
16835
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16789
16836
|
});
|
|
16790
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16837
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16791
16838
|
/**
|
|
16792
16839
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16793
16840
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17982,6 +18029,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17982
18029
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17983
18030
|
kind: "mutation",
|
|
17984
18031
|
auth: "admin"
|
|
18032
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
18033
|
+
kind: "mutation",
|
|
18034
|
+
auth: "admin"
|
|
18035
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
18036
|
+
kind: "query",
|
|
18037
|
+
auth: "admin"
|
|
18038
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
18039
|
+
kind: "mutation",
|
|
18040
|
+
auth: "admin"
|
|
17985
18041
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17986
18042
|
kind: "query",
|
|
17987
18043
|
auth: "admin"
|
|
@@ -18136,6 +18192,11 @@ object({
|
|
|
18136
18192
|
"jpeg"
|
|
18137
18193
|
])
|
|
18138
18194
|
});
|
|
18195
|
+
/**
|
|
18196
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
18197
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
18198
|
+
* other process or execution group.
|
|
18199
|
+
*/
|
|
18139
18200
|
var FrameRefSchema = object({
|
|
18140
18201
|
registryId: string().min(1),
|
|
18141
18202
|
id: string().min(1),
|
|
@@ -20301,7 +20362,7 @@ method(object({
|
|
|
20301
20362
|
* linking rather than produce an eternal token.
|
|
20302
20363
|
*/
|
|
20303
20364
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
20304
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
20365
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
20305
20366
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
20306
20367
|
providerId: string().min(1),
|
|
20307
20368
|
displayName: string().min(1),
|
|
@@ -20396,10 +20457,13 @@ var EvictResultSchema = object({
|
|
|
20396
20457
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
20397
20458
|
exhausted: boolean()
|
|
20398
20459
|
});
|
|
20399
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
20460
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
20400
20461
|
locationId: string(),
|
|
20401
20462
|
targetBytes: number().int().positive()
|
|
20402
|
-
}), EvictResultSchema, {
|
|
20463
|
+
}), EvictResultSchema, {
|
|
20464
|
+
kind: "mutation",
|
|
20465
|
+
auth: "admin"
|
|
20466
|
+
});
|
|
20403
20467
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
20404
20468
|
kind: "mutation",
|
|
20405
20469
|
auth: "admin"
|
|
@@ -20459,26 +20523,50 @@ var ReadChunkInputSchema = object({
|
|
|
20459
20523
|
length: number()
|
|
20460
20524
|
});
|
|
20461
20525
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
20462
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20526
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
20463
20527
|
location: StorageLocationSchema,
|
|
20464
20528
|
relativePath: string()
|
|
20465
|
-
}), string()), method(object({
|
|
20529
|
+
}), string(), { auth: "admin" }), method(object({
|
|
20466
20530
|
location: StorageLocationSchema,
|
|
20467
20531
|
relativePath: string(),
|
|
20468
20532
|
data: _instanceof(Uint8Array)
|
|
20469
|
-
}), _void(), {
|
|
20533
|
+
}), _void(), {
|
|
20534
|
+
kind: "mutation",
|
|
20535
|
+
auth: "admin"
|
|
20536
|
+
}), method(object({
|
|
20470
20537
|
location: StorageLocationSchema,
|
|
20471
20538
|
relativePath: string()
|
|
20472
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
20539
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
20473
20540
|
location: StorageLocationSchema,
|
|
20474
20541
|
relativePath: string()
|
|
20475
|
-
}), boolean()), method(object({
|
|
20542
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
20476
20543
|
location: StorageLocationSchema,
|
|
20477
20544
|
prefix: string().optional()
|
|
20478
|
-
}), array(string()).readonly()), method(object({
|
|
20545
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
20479
20546
|
location: StorageLocationSchema,
|
|
20480
20547
|
relativePath: string()
|
|
20481
|
-
}), _void(), {
|
|
20548
|
+
}), _void(), {
|
|
20549
|
+
kind: "mutation",
|
|
20550
|
+
auth: "admin"
|
|
20551
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
20552
|
+
kind: "mutation",
|
|
20553
|
+
auth: "admin"
|
|
20554
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
20555
|
+
kind: "mutation",
|
|
20556
|
+
auth: "admin"
|
|
20557
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
20558
|
+
kind: "mutation",
|
|
20559
|
+
auth: "admin"
|
|
20560
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
20561
|
+
kind: "mutation",
|
|
20562
|
+
auth: "admin"
|
|
20563
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
20564
|
+
kind: "mutation",
|
|
20565
|
+
auth: "admin"
|
|
20566
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
20567
|
+
kind: "mutation",
|
|
20568
|
+
auth: "admin"
|
|
20569
|
+
});
|
|
20482
20570
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
20483
20571
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
20484
20572
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20736,7 +20824,8 @@ method(object({
|
|
|
20736
20824
|
access: "create"
|
|
20737
20825
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20738
20826
|
kind: "mutation",
|
|
20739
|
-
access: "view"
|
|
20827
|
+
access: "view",
|
|
20828
|
+
auth: "admin"
|
|
20740
20829
|
}), method(object({
|
|
20741
20830
|
/** Required — the user the assertion belongs to (verified). */
|
|
20742
20831
|
userId: string(),
|
|
@@ -20744,10 +20833,12 @@ method(object({
|
|
|
20744
20833
|
response: record(string(), unknown())
|
|
20745
20834
|
}), object({ verified: boolean() }), {
|
|
20746
20835
|
kind: "mutation",
|
|
20747
|
-
access: "view"
|
|
20836
|
+
access: "view",
|
|
20837
|
+
auth: "admin"
|
|
20748
20838
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20749
20839
|
kind: "mutation",
|
|
20750
|
-
access: "view"
|
|
20840
|
+
access: "view",
|
|
20841
|
+
auth: "admin"
|
|
20751
20842
|
}), method(object({
|
|
20752
20843
|
/** AuthenticationResponseJSON from the browser. */
|
|
20753
20844
|
response: record(string(), unknown()) }), object({
|
|
@@ -20755,7 +20846,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20755
20846
|
userId: string().nullable()
|
|
20756
20847
|
}), {
|
|
20757
20848
|
kind: "mutation",
|
|
20758
|
-
access: "view"
|
|
20849
|
+
access: "view",
|
|
20850
|
+
auth: "admin"
|
|
20759
20851
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20760
20852
|
userId: string(),
|
|
20761
20853
|
credentialId: string()
|
|
@@ -20927,7 +21019,19 @@ var VectorStatsResultSchema = object({
|
|
|
20927
21019
|
/** False when the backend ranks approximately. */
|
|
20928
21020
|
exact: boolean()
|
|
20929
21021
|
});
|
|
20930
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
21022
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
21023
|
+
kind: "mutation",
|
|
21024
|
+
auth: "admin"
|
|
21025
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
21026
|
+
kind: "mutation",
|
|
21027
|
+
auth: "admin"
|
|
21028
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
21029
|
+
kind: "mutation",
|
|
21030
|
+
auth: "admin"
|
|
21031
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
21032
|
+
kind: "mutation",
|
|
21033
|
+
auth: "admin"
|
|
21034
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20931
21035
|
var ClipSchema = object({
|
|
20932
21036
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20933
21037
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22670,7 +22774,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22670
22774
|
sizeBytes: number(),
|
|
22671
22775
|
timestamp: number()
|
|
22672
22776
|
});
|
|
22673
|
-
method(
|
|
22777
|
+
method(object({
|
|
22778
|
+
/**
|
|
22779
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
22780
|
+
*
|
|
22781
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
22782
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
22783
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
22784
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
22785
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
22786
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
22787
|
+
*
|
|
22788
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
22789
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
22790
|
+
*
|
|
22791
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
22792
|
+
* next train** — the hub router validates cap inputs against its own
|
|
22793
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
22794
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
22795
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
22796
|
+
*/
|
|
22797
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22674
22798
|
kind: "mutation",
|
|
22675
22799
|
auth: "admin"
|
|
22676
22800
|
}), method(object({
|
|
@@ -24845,8 +24969,10 @@ var PlateInfoSchema = object({
|
|
|
24845
24969
|
keyFrameMediaKey: string().optional(),
|
|
24846
24970
|
base64: string().optional(),
|
|
24847
24971
|
/**
|
|
24848
|
-
* Same crop as a data-plane URL
|
|
24849
|
-
* never inlines JPEG; `listPlates`
|
|
24972
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
24973
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
24974
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
24975
|
+
* left at its `true` default.
|
|
24850
24976
|
*/
|
|
24851
24977
|
cropUrl: string().optional()
|
|
24852
24978
|
});
|
|
@@ -24866,14 +24992,34 @@ var PlateClusterSchema = object({
|
|
|
24866
24992
|
});
|
|
24867
24993
|
method(object({
|
|
24868
24994
|
deviceId: number().int().optional(),
|
|
24869
|
-
limit: number().int().positive().optional()
|
|
24995
|
+
limit: number().int().positive().optional(),
|
|
24996
|
+
/**
|
|
24997
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
24998
|
+
* behaviour, kept so no caller breaks.
|
|
24999
|
+
*
|
|
25000
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
25001
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
25002
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
25003
|
+
* metadata without them — and the browser then caches the images.
|
|
25004
|
+
*
|
|
25005
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
25006
|
+
* plates were the one gallery list left without it.
|
|
25007
|
+
*
|
|
25008
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
25009
|
+
* next train.** The hub router validates cap inputs against its own
|
|
25010
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
25011
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
25012
|
+
*/
|
|
25013
|
+
includeCrops: boolean().optional()
|
|
24870
25014
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
24871
25015
|
deviceId: number().int(),
|
|
24872
25016
|
trackId: string()
|
|
24873
25017
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
24874
25018
|
text: string().min(1),
|
|
24875
25019
|
maxDistance: number().int().min(0).optional(),
|
|
24876
|
-
limit: number().int().positive().optional()
|
|
25020
|
+
limit: number().int().positive().optional(),
|
|
25021
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
25022
|
+
includeCrops: boolean().optional()
|
|
24877
25023
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
24878
25024
|
maxDistance: number().int().min(0).optional(),
|
|
24879
25025
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -24887,7 +25033,13 @@ method(object({
|
|
|
24887
25033
|
}), method(object({ plateId: string() }), _void(), {
|
|
24888
25034
|
kind: "mutation",
|
|
24889
25035
|
auth: "admin"
|
|
24890
|
-
}), method(
|
|
25036
|
+
}), method(object({
|
|
25037
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
25038
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
25039
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
25040
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
25041
|
+
* resolves to `false` and is exactly the intended default. */
|
|
25042
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
24891
25043
|
kind: "mutation",
|
|
24892
25044
|
auth: "admin"
|
|
24893
25045
|
}), method(object({
|
|
@@ -30289,6 +30441,12 @@ Object.freeze({
|
|
|
30289
30441
|
addonId: null,
|
|
30290
30442
|
access: "create"
|
|
30291
30443
|
},
|
|
30444
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
30445
|
+
capName: "pipeline-analytics",
|
|
30446
|
+
capScope: "device",
|
|
30447
|
+
addonId: null,
|
|
30448
|
+
access: "create"
|
|
30449
|
+
},
|
|
30292
30450
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
30293
30451
|
capName: "pipeline-analytics",
|
|
30294
30452
|
capScope: "device",
|
|
@@ -30463,6 +30621,12 @@ Object.freeze({
|
|
|
30463
30621
|
addonId: null,
|
|
30464
30622
|
access: "view"
|
|
30465
30623
|
},
|
|
30624
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
30625
|
+
capName: "pipeline-analytics",
|
|
30626
|
+
capScope: "device",
|
|
30627
|
+
addonId: null,
|
|
30628
|
+
access: "view"
|
|
30629
|
+
},
|
|
30466
30630
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
30467
30631
|
capName: "pipeline-analytics",
|
|
30468
30632
|
capScope: "device",
|
|
@@ -30541,6 +30705,12 @@ Object.freeze({
|
|
|
30541
30705
|
addonId: null,
|
|
30542
30706
|
access: "create"
|
|
30543
30707
|
},
|
|
30708
|
+
"pipelineAnalytics.relocateMedia": {
|
|
30709
|
+
capName: "pipeline-analytics",
|
|
30710
|
+
capScope: "device",
|
|
30711
|
+
addonId: null,
|
|
30712
|
+
access: "create"
|
|
30713
|
+
},
|
|
30544
30714
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
30545
30715
|
capName: "pipeline-analytics",
|
|
30546
30716
|
capScope: "device",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.40",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|