@camstack/addon-notifiers 1.2.32 → 1.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +249 -79
- package/dist/addon.mjs +249 -79
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -6660,7 +6660,7 @@ function method(input, output, options) {
|
|
|
6660
6660
|
input,
|
|
6661
6661
|
output,
|
|
6662
6662
|
kind: options?.kind ?? "query",
|
|
6663
|
-
auth: options
|
|
6663
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6664
6664
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6665
6665
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6666
6666
|
timeoutMs: options?.timeoutMs
|
|
@@ -6680,7 +6680,7 @@ function systemMethod(input, output, options) {
|
|
|
6680
6680
|
}
|
|
6681
6681
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6682
6682
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6683
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6683
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6684
6684
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6685
6685
|
DeviceType["Camera"] = "camera";
|
|
6686
6686
|
DeviceType["Hub"] = "hub";
|
|
@@ -7001,7 +7001,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
7001
7001
|
}({});
|
|
7002
7002
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
7003
7003
|
var VersionOutputSchema = object({ version: string() });
|
|
7004
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
7004
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
7005
7005
|
/**
|
|
7006
7006
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
7007
7007
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -7734,24 +7734,6 @@ var RecordingRetentionSchema = object({
|
|
|
7734
7734
|
maxSizeGb: number().min(0).optional()
|
|
7735
7735
|
});
|
|
7736
7736
|
/**
|
|
7737
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
7738
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
7739
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
7740
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
7741
|
-
*
|
|
7742
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
7743
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
7744
|
-
* preset changed over time renders every historical window at the dims it was
|
|
7745
|
-
* written with.
|
|
7746
|
-
*/
|
|
7747
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
7748
|
-
"minimal",
|
|
7749
|
-
"low",
|
|
7750
|
-
"standard",
|
|
7751
|
-
"high",
|
|
7752
|
-
"max"
|
|
7753
|
-
]);
|
|
7754
|
-
/**
|
|
7755
7737
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7756
7738
|
*
|
|
7757
7739
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -7759,7 +7741,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7759
7741
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7760
7742
|
*
|
|
7761
7743
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7762
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
7744
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
7745
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
7746
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
7747
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
7748
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
7763
7749
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7764
7750
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7765
7751
|
*/
|
|
@@ -7782,14 +7768,7 @@ var RecordingConfigSchema = object({
|
|
|
7782
7768
|
* "off" is the absence of a covering band, never a band value.
|
|
7783
7769
|
*/
|
|
7784
7770
|
bands: array(RecordingBandSchema).default([]),
|
|
7785
|
-
retention: RecordingRetentionSchema.optional()
|
|
7786
|
-
/**
|
|
7787
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
7788
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
7789
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
7790
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7791
|
-
*/
|
|
7792
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7771
|
+
retention: RecordingRetentionSchema.optional()
|
|
7793
7772
|
}).strict();
|
|
7794
7773
|
/**
|
|
7795
7774
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -7865,10 +7844,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7865
7844
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
7866
7845
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
7867
7846
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
7868
|
-
var
|
|
7847
|
+
var RelocateMediaInputSchema = object({
|
|
7869
7848
|
toLocationId: string(),
|
|
7870
7849
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
7871
|
-
})
|
|
7850
|
+
});
|
|
7851
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
7872
7852
|
/** The independently selectable logical storage classes. `recordings`
|
|
7873
7853
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
7874
7854
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8163,7 +8143,26 @@ var LabelDefinitionSchema = object({
|
|
|
8163
8143
|
description: string().optional(),
|
|
8164
8144
|
icon: string().optional()
|
|
8165
8145
|
});
|
|
8166
|
-
|
|
8146
|
+
/**
|
|
8147
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8148
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8149
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8150
|
+
* detection pipeline executor actually routes.
|
|
8151
|
+
*
|
|
8152
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8153
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8154
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8155
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8156
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8157
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8158
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8159
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8160
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8161
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8162
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8163
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8164
|
+
*/
|
|
8165
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8167
8166
|
mapping: record(string(), _enum([
|
|
8168
8167
|
"person",
|
|
8169
8168
|
"vehicle",
|
|
@@ -8368,7 +8367,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8368
8367
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8369
8368
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8370
8369
|
*/
|
|
8371
|
-
classMap:
|
|
8370
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8372
8371
|
});
|
|
8373
8372
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8374
8373
|
format: literal("openvino"),
|
|
@@ -8398,7 +8397,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8398
8397
|
"segmentation"
|
|
8399
8398
|
]),
|
|
8400
8399
|
faceAlignment: boolean().optional(),
|
|
8401
|
-
classMap:
|
|
8400
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8402
8401
|
});
|
|
8403
8402
|
var ConvertResultSchema = object({
|
|
8404
8403
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9261,7 +9260,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9261
9260
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9262
9261
|
sectionLabel: string().optional()
|
|
9263
9262
|
});
|
|
9264
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9263
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9265
9264
|
var AddonHttpRouteSchema = object({
|
|
9266
9265
|
method: _enum([
|
|
9267
9266
|
"GET",
|
|
@@ -9515,7 +9514,7 @@ var WidgetMetadataSchema = object({
|
|
|
9515
9514
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
9516
9515
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
9517
9516
|
});
|
|
9518
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
9517
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
9519
9518
|
/**
|
|
9520
9519
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
9521
9520
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -11059,7 +11058,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
11059
11058
|
stepId: string(),
|
|
11060
11059
|
entry: ModelCatalogEntrySchema
|
|
11061
11060
|
});
|
|
11062
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
11061
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
11063
11062
|
/**
|
|
11064
11063
|
* Query filter for settings-store collections.
|
|
11065
11064
|
*/
|
|
@@ -11146,7 +11145,8 @@ method(object({
|
|
|
11146
11145
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11147
11146
|
namespace: string().optional(),
|
|
11148
11147
|
collection: string(),
|
|
11149
|
-
filter: QueryFilterSchema.optional()
|
|
11148
|
+
filter: QueryFilterSchema.optional(),
|
|
11149
|
+
columns: array(string()).readonly().optional()
|
|
11150
11150
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11151
11151
|
namespace: string().optional(),
|
|
11152
11152
|
collection: string(),
|
|
@@ -11209,46 +11209,87 @@ var EngineInfoSchema = object({
|
|
|
11209
11209
|
kind: _enum(["relational", "vector"]),
|
|
11210
11210
|
displayName: string()
|
|
11211
11211
|
});
|
|
11212
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11212
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11213
11213
|
namespace: string().optional(),
|
|
11214
11214
|
collection: string(),
|
|
11215
11215
|
key: string()
|
|
11216
|
-
}), unknown()), method(object({
|
|
11216
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11217
11217
|
namespace: string().optional(),
|
|
11218
11218
|
collection: string(),
|
|
11219
11219
|
key: string(),
|
|
11220
11220
|
value: unknown()
|
|
11221
|
-
}), _void(), {
|
|
11221
|
+
}), _void(), {
|
|
11222
|
+
kind: "mutation",
|
|
11223
|
+
auth: "admin"
|
|
11224
|
+
}), method(object({
|
|
11222
11225
|
namespace: string().optional(),
|
|
11223
11226
|
collection: string(),
|
|
11224
|
-
filter: QueryFilterSchema.optional()
|
|
11225
|
-
|
|
11227
|
+
filter: QueryFilterSchema.optional(),
|
|
11228
|
+
/**
|
|
11229
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11230
|
+
*
|
|
11231
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11232
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11233
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11234
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11235
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11236
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11237
|
+
*
|
|
11238
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11239
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11240
|
+
* interface the engine destructures from. The field existed on both
|
|
11241
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11242
|
+
* registered provider against `InferProvider<cap>` —
|
|
11243
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11244
|
+
*
|
|
11245
|
+
* It is declared here anyway, and must stay in step with
|
|
11246
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11247
|
+
* to be able to see that this call carries a projection.
|
|
11248
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11249
|
+
*/
|
|
11250
|
+
columns: array(string()).readonly().optional()
|
|
11251
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11226
11252
|
namespace: string().optional(),
|
|
11227
11253
|
collection: string(),
|
|
11228
11254
|
record: SettingsRecordSchema
|
|
11229
|
-
}), _void(), {
|
|
11255
|
+
}), _void(), {
|
|
11256
|
+
kind: "mutation",
|
|
11257
|
+
auth: "admin"
|
|
11258
|
+
}), method(object({
|
|
11230
11259
|
namespace: string().optional(),
|
|
11231
11260
|
collection: string(),
|
|
11232
11261
|
id: string(),
|
|
11233
11262
|
data: record(string(), unknown())
|
|
11234
|
-
}), _void(), {
|
|
11263
|
+
}), _void(), {
|
|
11264
|
+
kind: "mutation",
|
|
11265
|
+
auth: "admin"
|
|
11266
|
+
}), method(object({
|
|
11235
11267
|
namespace: string().optional(),
|
|
11236
11268
|
collection: string(),
|
|
11237
11269
|
key: string()
|
|
11238
|
-
}), _void(), {
|
|
11270
|
+
}), _void(), {
|
|
11271
|
+
kind: "mutation",
|
|
11272
|
+
auth: "admin"
|
|
11273
|
+
}), method(object({
|
|
11239
11274
|
namespace: string().optional(),
|
|
11240
11275
|
collection: string(),
|
|
11241
11276
|
filter: MutationFilterSchema
|
|
11242
|
-
}), object({ deleted: number().int() }), {
|
|
11277
|
+
}), object({ deleted: number().int() }), {
|
|
11278
|
+
kind: "mutation",
|
|
11279
|
+
auth: "admin"
|
|
11280
|
+
}), method(object({
|
|
11243
11281
|
namespace: string().optional(),
|
|
11244
11282
|
collection: string(),
|
|
11245
11283
|
filter: MutationFilterSchema,
|
|
11246
11284
|
data: record(string(), unknown())
|
|
11247
|
-
}), object({ updated: number().int() }), {
|
|
11285
|
+
}), object({ updated: number().int() }), {
|
|
11286
|
+
kind: "mutation",
|
|
11287
|
+
auth: "admin"
|
|
11288
|
+
}), method(object({
|
|
11248
11289
|
namespace: string().optional(),
|
|
11249
11290
|
collection: string(),
|
|
11250
11291
|
filter: QueryFilterSchema.optional()
|
|
11251
|
-
}), number()), method(object({
|
|
11292
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11252
11293
|
namespace: string().optional(),
|
|
11253
11294
|
collection: string(),
|
|
11254
11295
|
field: string(),
|
|
@@ -11258,15 +11299,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11258
11299
|
}), array(object({
|
|
11259
11300
|
bucket: number().int(),
|
|
11260
11301
|
count: number().int()
|
|
11261
|
-
})).readonly()), method(object({
|
|
11302
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11262
11303
|
namespace: string().optional(),
|
|
11263
11304
|
collection: string()
|
|
11264
|
-
}), boolean()), method(object({
|
|
11305
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11265
11306
|
namespace: string().optional(),
|
|
11266
11307
|
collection: string(),
|
|
11267
11308
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11268
11309
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11269
|
-
}), _void(), {
|
|
11310
|
+
}), _void(), {
|
|
11311
|
+
kind: "mutation",
|
|
11312
|
+
auth: "admin"
|
|
11313
|
+
});
|
|
11270
11314
|
/**
|
|
11271
11315
|
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
11272
11316
|
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
@@ -12394,7 +12438,7 @@ method(object({
|
|
|
12394
12438
|
crop: _instanceof(Uint8Array),
|
|
12395
12439
|
width: number(),
|
|
12396
12440
|
height: number()
|
|
12397
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
12441
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
12398
12442
|
/**
|
|
12399
12443
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
12400
12444
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -12687,19 +12731,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
12687
12731
|
runtime: ManagedRuntimeConfigSchema,
|
|
12688
12732
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
12689
12733
|
timeoutMs: number().int().positive().optional()
|
|
12690
|
-
}), LlmGenerateResultSchema, {
|
|
12734
|
+
}), LlmGenerateResultSchema, {
|
|
12735
|
+
kind: "mutation",
|
|
12736
|
+
auth: "admin"
|
|
12737
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
12691
12738
|
kind: "mutation",
|
|
12692
12739
|
auth: "admin"
|
|
12693
12740
|
}), method(object({}), _void(), {
|
|
12694
12741
|
kind: "mutation",
|
|
12695
12742
|
auth: "admin"
|
|
12696
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12743
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12697
12744
|
kind: "mutation",
|
|
12698
12745
|
auth: "admin"
|
|
12699
12746
|
}), method(object({ file: string() }), _void(), {
|
|
12700
12747
|
kind: "mutation",
|
|
12701
12748
|
auth: "admin"
|
|
12702
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
12749
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
12703
12750
|
/**
|
|
12704
12751
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
12705
12752
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16186,7 +16233,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16186
16233
|
*/
|
|
16187
16234
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16188
16235
|
});
|
|
16189
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16236
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16190
16237
|
/**
|
|
16191
16238
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16192
16239
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17381,6 +17428,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17381
17428
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17382
17429
|
kind: "mutation",
|
|
17383
17430
|
auth: "admin"
|
|
17431
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17432
|
+
kind: "mutation",
|
|
17433
|
+
auth: "admin"
|
|
17434
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17435
|
+
kind: "query",
|
|
17436
|
+
auth: "admin"
|
|
17437
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17438
|
+
kind: "mutation",
|
|
17439
|
+
auth: "admin"
|
|
17384
17440
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17385
17441
|
kind: "query",
|
|
17386
17442
|
auth: "admin"
|
|
@@ -17535,6 +17591,11 @@ object({
|
|
|
17535
17591
|
"jpeg"
|
|
17536
17592
|
])
|
|
17537
17593
|
});
|
|
17594
|
+
/**
|
|
17595
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
17596
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
17597
|
+
* other process or execution group.
|
|
17598
|
+
*/
|
|
17538
17599
|
var FrameRefSchema = object({
|
|
17539
17600
|
registryId: string().min(1),
|
|
17540
17601
|
id: string().min(1),
|
|
@@ -19700,7 +19761,7 @@ method(object({
|
|
|
19700
19761
|
* linking rather than produce an eternal token.
|
|
19701
19762
|
*/
|
|
19702
19763
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
19703
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
19764
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
19704
19765
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
19705
19766
|
providerId: string().min(1),
|
|
19706
19767
|
displayName: string().min(1),
|
|
@@ -19795,10 +19856,13 @@ var EvictResultSchema = object({
|
|
|
19795
19856
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
19796
19857
|
exhausted: boolean()
|
|
19797
19858
|
});
|
|
19798
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
19859
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
19799
19860
|
locationId: string(),
|
|
19800
19861
|
targetBytes: number().int().positive()
|
|
19801
|
-
}), EvictResultSchema, {
|
|
19862
|
+
}), EvictResultSchema, {
|
|
19863
|
+
kind: "mutation",
|
|
19864
|
+
auth: "admin"
|
|
19865
|
+
});
|
|
19802
19866
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
19803
19867
|
kind: "mutation",
|
|
19804
19868
|
auth: "admin"
|
|
@@ -19858,26 +19922,50 @@ var ReadChunkInputSchema = object({
|
|
|
19858
19922
|
length: number()
|
|
19859
19923
|
});
|
|
19860
19924
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
19861
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
19925
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
19862
19926
|
location: StorageLocationSchema,
|
|
19863
19927
|
relativePath: string()
|
|
19864
|
-
}), string()), method(object({
|
|
19928
|
+
}), string(), { auth: "admin" }), method(object({
|
|
19865
19929
|
location: StorageLocationSchema,
|
|
19866
19930
|
relativePath: string(),
|
|
19867
19931
|
data: _instanceof(Uint8Array)
|
|
19868
|
-
}), _void(), {
|
|
19932
|
+
}), _void(), {
|
|
19933
|
+
kind: "mutation",
|
|
19934
|
+
auth: "admin"
|
|
19935
|
+
}), method(object({
|
|
19869
19936
|
location: StorageLocationSchema,
|
|
19870
19937
|
relativePath: string()
|
|
19871
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
19938
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
19872
19939
|
location: StorageLocationSchema,
|
|
19873
19940
|
relativePath: string()
|
|
19874
|
-
}), boolean()), method(object({
|
|
19941
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
19875
19942
|
location: StorageLocationSchema,
|
|
19876
19943
|
prefix: string().optional()
|
|
19877
|
-
}), array(string()).readonly()), method(object({
|
|
19944
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
19878
19945
|
location: StorageLocationSchema,
|
|
19879
19946
|
relativePath: string()
|
|
19880
|
-
}), _void(), {
|
|
19947
|
+
}), _void(), {
|
|
19948
|
+
kind: "mutation",
|
|
19949
|
+
auth: "admin"
|
|
19950
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
19951
|
+
kind: "mutation",
|
|
19952
|
+
auth: "admin"
|
|
19953
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
19954
|
+
kind: "mutation",
|
|
19955
|
+
auth: "admin"
|
|
19956
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
19957
|
+
kind: "mutation",
|
|
19958
|
+
auth: "admin"
|
|
19959
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
19960
|
+
kind: "mutation",
|
|
19961
|
+
auth: "admin"
|
|
19962
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
19963
|
+
kind: "mutation",
|
|
19964
|
+
auth: "admin"
|
|
19965
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
19966
|
+
kind: "mutation",
|
|
19967
|
+
auth: "admin"
|
|
19968
|
+
});
|
|
19881
19969
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
19882
19970
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
19883
19971
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20135,7 +20223,8 @@ method(object({
|
|
|
20135
20223
|
access: "create"
|
|
20136
20224
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20137
20225
|
kind: "mutation",
|
|
20138
|
-
access: "view"
|
|
20226
|
+
access: "view",
|
|
20227
|
+
auth: "admin"
|
|
20139
20228
|
}), method(object({
|
|
20140
20229
|
/** Required — the user the assertion belongs to (verified). */
|
|
20141
20230
|
userId: string(),
|
|
@@ -20143,10 +20232,12 @@ method(object({
|
|
|
20143
20232
|
response: record(string(), unknown())
|
|
20144
20233
|
}), object({ verified: boolean() }), {
|
|
20145
20234
|
kind: "mutation",
|
|
20146
|
-
access: "view"
|
|
20235
|
+
access: "view",
|
|
20236
|
+
auth: "admin"
|
|
20147
20237
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20148
20238
|
kind: "mutation",
|
|
20149
|
-
access: "view"
|
|
20239
|
+
access: "view",
|
|
20240
|
+
auth: "admin"
|
|
20150
20241
|
}), method(object({
|
|
20151
20242
|
/** AuthenticationResponseJSON from the browser. */
|
|
20152
20243
|
response: record(string(), unknown()) }), object({
|
|
@@ -20154,7 +20245,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20154
20245
|
userId: string().nullable()
|
|
20155
20246
|
}), {
|
|
20156
20247
|
kind: "mutation",
|
|
20157
|
-
access: "view"
|
|
20248
|
+
access: "view",
|
|
20249
|
+
auth: "admin"
|
|
20158
20250
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20159
20251
|
userId: string(),
|
|
20160
20252
|
credentialId: string()
|
|
@@ -20326,7 +20418,19 @@ var VectorStatsResultSchema = object({
|
|
|
20326
20418
|
/** False when the backend ranks approximately. */
|
|
20327
20419
|
exact: boolean()
|
|
20328
20420
|
});
|
|
20329
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20421
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20422
|
+
kind: "mutation",
|
|
20423
|
+
auth: "admin"
|
|
20424
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
20425
|
+
kind: "mutation",
|
|
20426
|
+
auth: "admin"
|
|
20427
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
20428
|
+
kind: "mutation",
|
|
20429
|
+
auth: "admin"
|
|
20430
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
20431
|
+
kind: "mutation",
|
|
20432
|
+
auth: "admin"
|
|
20433
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20330
20434
|
var ClipSchema = object({
|
|
20331
20435
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20332
20436
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22049,7 +22153,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22049
22153
|
sizeBytes: number(),
|
|
22050
22154
|
timestamp: number()
|
|
22051
22155
|
});
|
|
22052
|
-
method(
|
|
22156
|
+
method(object({
|
|
22157
|
+
/**
|
|
22158
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
22159
|
+
*
|
|
22160
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
22161
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
22162
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
22163
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
22164
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
22165
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
22166
|
+
*
|
|
22167
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
22168
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
22169
|
+
*
|
|
22170
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
22171
|
+
* next train** — the hub router validates cap inputs against its own
|
|
22172
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
22173
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
22174
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
22175
|
+
*/
|
|
22176
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22053
22177
|
kind: "mutation",
|
|
22054
22178
|
auth: "admin"
|
|
22055
22179
|
}), method(object({
|
|
@@ -24196,8 +24320,10 @@ var PlateInfoSchema = object({
|
|
|
24196
24320
|
keyFrameMediaKey: string().optional(),
|
|
24197
24321
|
base64: string().optional(),
|
|
24198
24322
|
/**
|
|
24199
|
-
* Same crop as a data-plane URL
|
|
24200
|
-
* never inlines JPEG; `listPlates`
|
|
24323
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
24324
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
24325
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
24326
|
+
* left at its `true` default.
|
|
24201
24327
|
*/
|
|
24202
24328
|
cropUrl: string().optional()
|
|
24203
24329
|
});
|
|
@@ -24217,14 +24343,34 @@ var PlateClusterSchema = object({
|
|
|
24217
24343
|
});
|
|
24218
24344
|
method(object({
|
|
24219
24345
|
deviceId: number().int().optional(),
|
|
24220
|
-
limit: number().int().positive().optional()
|
|
24346
|
+
limit: number().int().positive().optional(),
|
|
24347
|
+
/**
|
|
24348
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
24349
|
+
* behaviour, kept so no caller breaks.
|
|
24350
|
+
*
|
|
24351
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
24352
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
24353
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
24354
|
+
* metadata without them — and the browser then caches the images.
|
|
24355
|
+
*
|
|
24356
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
24357
|
+
* plates were the one gallery list left without it.
|
|
24358
|
+
*
|
|
24359
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
24360
|
+
* next train.** The hub router validates cap inputs against its own
|
|
24361
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
24362
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
24363
|
+
*/
|
|
24364
|
+
includeCrops: boolean().optional()
|
|
24221
24365
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
24222
24366
|
deviceId: number().int(),
|
|
24223
24367
|
trackId: string()
|
|
24224
24368
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
24225
24369
|
text: string().min(1),
|
|
24226
24370
|
maxDistance: number().int().min(0).optional(),
|
|
24227
|
-
limit: number().int().positive().optional()
|
|
24371
|
+
limit: number().int().positive().optional(),
|
|
24372
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
24373
|
+
includeCrops: boolean().optional()
|
|
24228
24374
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
24229
24375
|
maxDistance: number().int().min(0).optional(),
|
|
24230
24376
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -24238,7 +24384,13 @@ method(object({
|
|
|
24238
24384
|
}), method(object({ plateId: string() }), _void(), {
|
|
24239
24385
|
kind: "mutation",
|
|
24240
24386
|
auth: "admin"
|
|
24241
|
-
}), method(
|
|
24387
|
+
}), method(object({
|
|
24388
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
24389
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
24390
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
24391
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
24392
|
+
* resolves to `false` and is exactly the intended default. */
|
|
24393
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
24242
24394
|
kind: "mutation",
|
|
24243
24395
|
auth: "admin"
|
|
24244
24396
|
}), method(object({
|
|
@@ -29615,6 +29767,12 @@ Object.freeze({
|
|
|
29615
29767
|
addonId: null,
|
|
29616
29768
|
access: "create"
|
|
29617
29769
|
},
|
|
29770
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
29771
|
+
capName: "pipeline-analytics",
|
|
29772
|
+
capScope: "device",
|
|
29773
|
+
addonId: null,
|
|
29774
|
+
access: "create"
|
|
29775
|
+
},
|
|
29618
29776
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
29619
29777
|
capName: "pipeline-analytics",
|
|
29620
29778
|
capScope: "device",
|
|
@@ -29789,6 +29947,12 @@ Object.freeze({
|
|
|
29789
29947
|
addonId: null,
|
|
29790
29948
|
access: "view"
|
|
29791
29949
|
},
|
|
29950
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
29951
|
+
capName: "pipeline-analytics",
|
|
29952
|
+
capScope: "device",
|
|
29953
|
+
addonId: null,
|
|
29954
|
+
access: "view"
|
|
29955
|
+
},
|
|
29792
29956
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
29793
29957
|
capName: "pipeline-analytics",
|
|
29794
29958
|
capScope: "device",
|
|
@@ -29867,6 +30031,12 @@ Object.freeze({
|
|
|
29867
30031
|
addonId: null,
|
|
29868
30032
|
access: "create"
|
|
29869
30033
|
},
|
|
30034
|
+
"pipelineAnalytics.relocateMedia": {
|
|
30035
|
+
capName: "pipeline-analytics",
|
|
30036
|
+
capScope: "device",
|
|
30037
|
+
addonId: null,
|
|
30038
|
+
access: "create"
|
|
30039
|
+
},
|
|
29870
30040
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
29871
30041
|
capName: "pipeline-analytics",
|
|
29872
30042
|
capScope: "device",
|
package/dist/addon.mjs
CHANGED
|
@@ -6633,7 +6633,7 @@ function method(input, output, options) {
|
|
|
6633
6633
|
input,
|
|
6634
6634
|
output,
|
|
6635
6635
|
kind: options?.kind ?? "query",
|
|
6636
|
-
auth: options
|
|
6636
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
6637
6637
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
6638
6638
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
6639
6639
|
timeoutMs: options?.timeoutMs
|
|
@@ -6653,7 +6653,7 @@ function systemMethod(input, output, options) {
|
|
|
6653
6653
|
}
|
|
6654
6654
|
var StaticDirOutputSchema$1 = object({ staticDir: string() });
|
|
6655
6655
|
var VersionOutputSchema$1 = object({ version: string() });
|
|
6656
|
-
method(_void(), StaticDirOutputSchema$1), method(_void(), VersionOutputSchema$1);
|
|
6656
|
+
method(_void(), StaticDirOutputSchema$1, { auth: "admin" }), method(_void(), VersionOutputSchema$1, { auth: "admin" });
|
|
6657
6657
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
6658
6658
|
DeviceType["Camera"] = "camera";
|
|
6659
6659
|
DeviceType["Hub"] = "hub";
|
|
@@ -6974,7 +6974,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
6974
6974
|
}({});
|
|
6975
6975
|
var StaticDirOutputSchema = object({ staticDir: string() });
|
|
6976
6976
|
var VersionOutputSchema = object({ version: string() });
|
|
6977
|
-
method(_void(), StaticDirOutputSchema), method(_void(), VersionOutputSchema);
|
|
6977
|
+
method(_void(), StaticDirOutputSchema, { auth: "admin" }), method(_void(), VersionOutputSchema, { auth: "admin" });
|
|
6978
6978
|
/**
|
|
6979
6979
|
* device-ops — device-scoped cap that unifies the per-IDevice operations
|
|
6980
6980
|
* previously routed through the `.device-ops` Moleculer bridge service.
|
|
@@ -7707,24 +7707,6 @@ var RecordingRetentionSchema = object({
|
|
|
7707
7707
|
maxSizeGb: number().min(0).optional()
|
|
7708
7708
|
});
|
|
7709
7709
|
/**
|
|
7710
|
-
* Scrub-thumbnail fidelity preset — the single per-camera selector bundling the
|
|
7711
|
-
* sprite tile RESOLUTION + JPEG QUALITY the recorder packs timeline-scrub
|
|
7712
|
-
* previews at. Five graduated steps; absent on a config = `standard` (the
|
|
7713
|
-
* shipped default, matching `sheet-geometry`/`sheet-composer`).
|
|
7714
|
-
*
|
|
7715
|
-
* Existing sheets are IMMUTABLE — a changed preset applies to NEW windows only.
|
|
7716
|
-
* Each window's index sidecar carries its own tile dims, so a camera whose
|
|
7717
|
-
* preset changed over time renders every historical window at the dims it was
|
|
7718
|
-
* written with.
|
|
7719
|
-
*/
|
|
7720
|
-
var ScrubThumbnailPresetSchema = _enum([
|
|
7721
|
-
"minimal",
|
|
7722
|
-
"low",
|
|
7723
|
-
"standard",
|
|
7724
|
-
"high",
|
|
7725
|
-
"max"
|
|
7726
|
-
]);
|
|
7727
|
-
/**
|
|
7728
7710
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7729
7711
|
*
|
|
7730
7712
|
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
@@ -7732,7 +7714,11 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7732
7714
|
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7733
7715
|
*
|
|
7734
7716
|
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7735
|
-
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30
|
|
7717
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30,
|
|
7718
|
+
* and `scrubThumbnails` — a five-step fidelity knob for a sprite tier that was
|
|
7719
|
+
* deleted on 2026-07-24 and had ZERO consumers in the recorder — on 2026-08-25
|
|
7720
|
+
* (D62: a switch that writes a store nobody reads is worse than no switch).
|
|
7721
|
+
* Stored rows keep loading: the READ schema is `.strip()` (config-store.ts).
|
|
7736
7722
|
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7737
7723
|
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7738
7724
|
*/
|
|
@@ -7755,14 +7741,7 @@ var RecordingConfigSchema = object({
|
|
|
7755
7741
|
* "off" is the absence of a covering band, never a band value.
|
|
7756
7742
|
*/
|
|
7757
7743
|
bands: array(RecordingBandSchema).default([]),
|
|
7758
|
-
retention: RecordingRetentionSchema.optional()
|
|
7759
|
-
/**
|
|
7760
|
-
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
7761
|
-
* timeline-scrub sprite previews). Absent = `standard`. Applies to NEW
|
|
7762
|
-
* windows only — existing sheets are immutable, and each window's index
|
|
7763
|
-
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7764
|
-
*/
|
|
7765
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7744
|
+
retention: RecordingRetentionSchema.optional()
|
|
7766
7745
|
}).strict();
|
|
7767
7746
|
/**
|
|
7768
7747
|
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
@@ -7838,10 +7817,11 @@ var RelocateFootageInputSchema = object({
|
|
|
7838
7817
|
* `RecordingConfig.enabled` or camera wrapper bindings. */
|
|
7839
7818
|
var StorageMigrationLeaseInputSchema = object({ leaseId: string().min(1) });
|
|
7840
7819
|
var StorageMigrationFootageMoveInputSchema = RelocateFootageInputSchema.extend({ leaseId: string().min(1) });
|
|
7841
|
-
var
|
|
7820
|
+
var RelocateMediaInputSchema = object({
|
|
7842
7821
|
toLocationId: string(),
|
|
7843
7822
|
throttleMbps: number().min(1).max(1e3).optional()
|
|
7844
|
-
})
|
|
7823
|
+
});
|
|
7824
|
+
var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: string().min(1) });
|
|
7845
7825
|
/** The independently selectable logical storage classes. `recordings`
|
|
7846
7826
|
* encompasses the high and mid segment profiles; `recordingsLow` is low
|
|
7847
7827
|
* segments; `eventMedia` is post-analysis blobs. */
|
|
@@ -8136,7 +8116,26 @@ var LabelDefinitionSchema = object({
|
|
|
8136
8116
|
description: string().optional(),
|
|
8137
8117
|
icon: string().optional()
|
|
8138
8118
|
});
|
|
8139
|
-
|
|
8119
|
+
/**
|
|
8120
|
+
* Wire schema for a per-model CATALOG classMap override
|
|
8121
|
+
* (`ModelCatalogEntry.classMap` / `ModelConvertMetadata.classMap`) —
|
|
8122
|
+
* restricted to {@link CLASS_MAP_MACRO_TARGETS}, the only macros the
|
|
8123
|
+
* detection pipeline executor actually routes.
|
|
8124
|
+
*
|
|
8125
|
+
* This is deliberately a DIFFERENT, narrower shape than the general-purpose
|
|
8126
|
+
* `ClassMapDefinition` interface above (e.g. `IDetectionAddon.getClassMap()`
|
|
8127
|
+
* and the audio `YAMNET_TO_MACRO` catalog both use macro targets outside this
|
|
8128
|
+
* enum) — the two used to share the name `ClassMapDefinition`/
|
|
8129
|
+
* `ClassMapDefinitionSchema`, which made the schema-type-twin guard
|
|
8130
|
+
* (`scripts/check-schema-type-twins.ts`) flag them as a duplicated shape. They
|
|
8131
|
+
* are not: it is two different concepts colliding on a name. Keep this type
|
|
8132
|
+
* under its own name rather than reusing `ClassMapDefinition` — reusing it
|
|
8133
|
+
* would either narrow every `ClassMapDefinition` consumer to the four
|
|
8134
|
+
* detection macros (breaking `YAMNET_TO_MACRO`) or drop the validation this
|
|
8135
|
+
* schema exists for (see the "rejects a classMap whose target is not a
|
|
8136
|
+
* detection macro" test in `model-catalog-schema.test.ts`).
|
|
8137
|
+
*/
|
|
8138
|
+
var DetectionCatalogClassMapSchema = object({
|
|
8140
8139
|
mapping: record(string(), _enum([
|
|
8141
8140
|
"person",
|
|
8142
8141
|
"vehicle",
|
|
@@ -8341,7 +8340,7 @@ var ModelCatalogEntrySchema = object({
|
|
|
8341
8340
|
* applies (Frigate / COCO public catalog). Set on a custom model whose raw
|
|
8342
8341
|
* labels already ARE the CamStack macros (Scrypted identity map).
|
|
8343
8342
|
*/
|
|
8344
|
-
classMap:
|
|
8343
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8345
8344
|
});
|
|
8346
8345
|
var ConvertTargetSchema = discriminatedUnion("format", [object({
|
|
8347
8346
|
format: literal("openvino"),
|
|
@@ -8371,7 +8370,7 @@ var ModelConvertMetadataSchema = object({
|
|
|
8371
8370
|
"segmentation"
|
|
8372
8371
|
]),
|
|
8373
8372
|
faceAlignment: boolean().optional(),
|
|
8374
|
-
classMap:
|
|
8373
|
+
classMap: DetectionCatalogClassMapSchema.optional()
|
|
8375
8374
|
});
|
|
8376
8375
|
var ConvertResultSchema = object({
|
|
8377
8376
|
entry: ModelCatalogEntrySchema,
|
|
@@ -9234,7 +9233,7 @@ var AddonPageDeclarationSchema = object({
|
|
|
9234
9233
|
/** Display label for a CUSTOM `section` id (ignored for well-known ids). */
|
|
9235
9234
|
sectionLabel: string().optional()
|
|
9236
9235
|
});
|
|
9237
|
-
method(_void(), array(AddonPageDeclarationSchema).readonly());
|
|
9236
|
+
method(_void(), array(AddonPageDeclarationSchema).readonly(), { auth: "admin" });
|
|
9238
9237
|
var AddonHttpRouteSchema = object({
|
|
9239
9238
|
method: _enum([
|
|
9240
9239
|
"GET",
|
|
@@ -9488,7 +9487,7 @@ var WidgetMetadataSchema = object({
|
|
|
9488
9487
|
defaultColumns: number().int().min(1).max(12).default(6),
|
|
9489
9488
|
defaultRows: number().int().min(1).max(12).default(1)
|
|
9490
9489
|
});
|
|
9491
|
-
method(_void(), array(WidgetMetadataSchema).readonly());
|
|
9490
|
+
method(_void(), array(WidgetMetadataSchema).readonly(), { auth: "admin" });
|
|
9492
9491
|
/**
|
|
9493
9492
|
* `addon-widgets` — system-scoped singleton aggregator cap. Public-facing
|
|
9494
9493
|
* surface that admin-ui consumes through `useAddonWidgetsListWidgets()`.
|
|
@@ -11032,7 +11031,7 @@ var CustomModelDescriptorSchema = object({
|
|
|
11032
11031
|
stepId: string(),
|
|
11033
11032
|
entry: ModelCatalogEntrySchema
|
|
11034
11033
|
});
|
|
11035
|
-
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
11034
|
+
method(_void(), array(CustomModelDescriptorSchema).readonly(), { auth: "admin" });
|
|
11036
11035
|
/**
|
|
11037
11036
|
* Query filter for settings-store collections.
|
|
11038
11037
|
*/
|
|
@@ -11119,7 +11118,8 @@ method(object({
|
|
|
11119
11118
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11120
11119
|
namespace: string().optional(),
|
|
11121
11120
|
collection: string(),
|
|
11122
|
-
filter: QueryFilterSchema.optional()
|
|
11121
|
+
filter: QueryFilterSchema.optional(),
|
|
11122
|
+
columns: array(string()).readonly().optional()
|
|
11123
11123
|
}), array(SettingsRecordSchema).readonly()), method(object({
|
|
11124
11124
|
namespace: string().optional(),
|
|
11125
11125
|
collection: string(),
|
|
@@ -11182,46 +11182,87 @@ var EngineInfoSchema = object({
|
|
|
11182
11182
|
kind: _enum(["relational", "vector"]),
|
|
11183
11183
|
displayName: string()
|
|
11184
11184
|
});
|
|
11185
|
-
method(_void(), EngineInfoSchema), method(object({
|
|
11185
|
+
method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
11186
11186
|
namespace: string().optional(),
|
|
11187
11187
|
collection: string(),
|
|
11188
11188
|
key: string()
|
|
11189
|
-
}), unknown()), method(object({
|
|
11189
|
+
}), unknown(), { auth: "admin" }), method(object({
|
|
11190
11190
|
namespace: string().optional(),
|
|
11191
11191
|
collection: string(),
|
|
11192
11192
|
key: string(),
|
|
11193
11193
|
value: unknown()
|
|
11194
|
-
}), _void(), {
|
|
11194
|
+
}), _void(), {
|
|
11195
|
+
kind: "mutation",
|
|
11196
|
+
auth: "admin"
|
|
11197
|
+
}), method(object({
|
|
11195
11198
|
namespace: string().optional(),
|
|
11196
11199
|
collection: string(),
|
|
11197
|
-
filter: QueryFilterSchema.optional()
|
|
11198
|
-
|
|
11200
|
+
filter: QueryFilterSchema.optional(),
|
|
11201
|
+
/**
|
|
11202
|
+
* SQL-level column projection — MUST mirror `settings-store.query`.
|
|
11203
|
+
*
|
|
11204
|
+
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
11205
|
+
* was wrong — corrected 2026-08-26 after the hop map
|
|
11206
|
+
* (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
|
|
11207
|
+
* There is **no Zod parse at all** between the door and the engine: the
|
|
11208
|
+
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
11209
|
+
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
11210
|
+
*
|
|
11211
|
+
* What actually lost `columns` was the THIRD declaration of this shape:
|
|
11212
|
+
* `SettingsQueryInput` in `interfaces/storage.ts`, a hand-written TS
|
|
11213
|
+
* interface the engine destructures from. The field existed on both
|
|
11214
|
+
* schemas and the engine still never read it, because nothing checks a
|
|
11215
|
+
* registered provider against `InferProvider<cap>` —
|
|
11216
|
+
* `ProviderRegistration.provider` is typed `object`.
|
|
11217
|
+
*
|
|
11218
|
+
* It is declared here anyway, and must stay in step with
|
|
11219
|
+
* `settings-store.query`: a caller reading only the cap definitions has
|
|
11220
|
+
* to be able to see that this call carries a projection.
|
|
11221
|
+
* `data-door-schema-parity.spec.ts` keeps the two aligned.
|
|
11222
|
+
*/
|
|
11223
|
+
columns: array(string()).readonly().optional()
|
|
11224
|
+
}), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
|
|
11199
11225
|
namespace: string().optional(),
|
|
11200
11226
|
collection: string(),
|
|
11201
11227
|
record: SettingsRecordSchema
|
|
11202
|
-
}), _void(), {
|
|
11228
|
+
}), _void(), {
|
|
11229
|
+
kind: "mutation",
|
|
11230
|
+
auth: "admin"
|
|
11231
|
+
}), method(object({
|
|
11203
11232
|
namespace: string().optional(),
|
|
11204
11233
|
collection: string(),
|
|
11205
11234
|
id: string(),
|
|
11206
11235
|
data: record(string(), unknown())
|
|
11207
|
-
}), _void(), {
|
|
11236
|
+
}), _void(), {
|
|
11237
|
+
kind: "mutation",
|
|
11238
|
+
auth: "admin"
|
|
11239
|
+
}), method(object({
|
|
11208
11240
|
namespace: string().optional(),
|
|
11209
11241
|
collection: string(),
|
|
11210
11242
|
key: string()
|
|
11211
|
-
}), _void(), {
|
|
11243
|
+
}), _void(), {
|
|
11244
|
+
kind: "mutation",
|
|
11245
|
+
auth: "admin"
|
|
11246
|
+
}), method(object({
|
|
11212
11247
|
namespace: string().optional(),
|
|
11213
11248
|
collection: string(),
|
|
11214
11249
|
filter: MutationFilterSchema
|
|
11215
|
-
}), object({ deleted: number().int() }), {
|
|
11250
|
+
}), object({ deleted: number().int() }), {
|
|
11251
|
+
kind: "mutation",
|
|
11252
|
+
auth: "admin"
|
|
11253
|
+
}), method(object({
|
|
11216
11254
|
namespace: string().optional(),
|
|
11217
11255
|
collection: string(),
|
|
11218
11256
|
filter: MutationFilterSchema,
|
|
11219
11257
|
data: record(string(), unknown())
|
|
11220
|
-
}), object({ updated: number().int() }), {
|
|
11258
|
+
}), object({ updated: number().int() }), {
|
|
11259
|
+
kind: "mutation",
|
|
11260
|
+
auth: "admin"
|
|
11261
|
+
}), method(object({
|
|
11221
11262
|
namespace: string().optional(),
|
|
11222
11263
|
collection: string(),
|
|
11223
11264
|
filter: QueryFilterSchema.optional()
|
|
11224
|
-
}), number()), method(object({
|
|
11265
|
+
}), number(), { auth: "admin" }), method(object({
|
|
11225
11266
|
namespace: string().optional(),
|
|
11226
11267
|
collection: string(),
|
|
11227
11268
|
field: string(),
|
|
@@ -11231,15 +11272,18 @@ method(_void(), EngineInfoSchema), method(object({
|
|
|
11231
11272
|
}), array(object({
|
|
11232
11273
|
bucket: number().int(),
|
|
11233
11274
|
count: number().int()
|
|
11234
|
-
})).readonly()), method(object({
|
|
11275
|
+
})).readonly(), { auth: "admin" }), method(object({
|
|
11235
11276
|
namespace: string().optional(),
|
|
11236
11277
|
collection: string()
|
|
11237
|
-
}), boolean()), method(object({
|
|
11278
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
11238
11279
|
namespace: string().optional(),
|
|
11239
11280
|
collection: string(),
|
|
11240
11281
|
columns: array(CollectionColumnSchema).readonly(),
|
|
11241
11282
|
indexes: array(CollectionIndexSchema).readonly().optional()
|
|
11242
|
-
}), _void(), {
|
|
11283
|
+
}), _void(), {
|
|
11284
|
+
kind: "mutation",
|
|
11285
|
+
auth: "admin"
|
|
11286
|
+
});
|
|
11243
11287
|
/**
|
|
11244
11288
|
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
11245
11289
|
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
@@ -12367,7 +12411,7 @@ method(object({
|
|
|
12367
12411
|
crop: _instanceof(Uint8Array),
|
|
12368
12412
|
width: number(),
|
|
12369
12413
|
height: number()
|
|
12370
|
-
}), EmbeddingResultSchema), method(object({ text: string() }), EmbeddingResultSchema), method(_void(), EmbeddingInfoSchema);
|
|
12414
|
+
}), EmbeddingResultSchema, { auth: "admin" }), method(object({ text: string() }), EmbeddingResultSchema, { auth: "admin" }), method(_void(), EmbeddingInfoSchema, { auth: "admin" });
|
|
12371
12415
|
/**
|
|
12372
12416
|
* filesystem-browse — per-node capability for browsing the node's local
|
|
12373
12417
|
* filesystem. Reads are unconfined (whole filesystem, from `/` down); WRITES
|
|
@@ -12660,19 +12704,22 @@ method(LlmGenerateBaseInputSchema.extend({
|
|
|
12660
12704
|
runtime: ManagedRuntimeConfigSchema,
|
|
12661
12705
|
/** The managed profile's timeout, threaded by the hub provider. */
|
|
12662
12706
|
timeoutMs: number().int().positive().optional()
|
|
12663
|
-
}), LlmGenerateResultSchema, {
|
|
12707
|
+
}), LlmGenerateResultSchema, {
|
|
12708
|
+
kind: "mutation",
|
|
12709
|
+
auth: "admin"
|
|
12710
|
+
}), method(object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
12664
12711
|
kind: "mutation",
|
|
12665
12712
|
auth: "admin"
|
|
12666
12713
|
}), method(object({}), _void(), {
|
|
12667
12714
|
kind: "mutation",
|
|
12668
12715
|
auth: "admin"
|
|
12669
|
-
}), method(object({}), LlmRuntimeStatusSchema), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12716
|
+
}), method(object({}), LlmRuntimeStatusSchema, { auth: "admin" }), method(object({ model: ManagedModelRefSchema }), _void(), {
|
|
12670
12717
|
kind: "mutation",
|
|
12671
12718
|
auth: "admin"
|
|
12672
12719
|
}), method(object({ file: string() }), _void(), {
|
|
12673
12720
|
kind: "mutation",
|
|
12674
12721
|
auth: "admin"
|
|
12675
|
-
}), method(object({}), array(LlmNodeModelSchema)), method(object({}), LlmRuntimeDiskUsageSchema);
|
|
12722
|
+
}), method(object({}), array(LlmNodeModelSchema), { auth: "admin" }), method(object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" });
|
|
12676
12723
|
/**
|
|
12677
12724
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
12678
12725
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
@@ -16159,7 +16206,7 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
16159
16206
|
*/
|
|
16160
16207
|
refreshTokenTtlSec: union([number().int().positive(), literal("never")]).optional()
|
|
16161
16208
|
});
|
|
16162
|
-
method(_void(), OauthIntegrationDescriptorSchema);
|
|
16209
|
+
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
16163
16210
|
/**
|
|
16164
16211
|
* pipeline-analytics — device-scoped wrapper cap. Refines raw
|
|
16165
16212
|
* per-frame detections emitted by the pipeline runner into tracked
|
|
@@ -17354,6 +17401,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17354
17401
|
}), method(object({ jobId: string() }), RelocateJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17355
17402
|
kind: "mutation",
|
|
17356
17403
|
auth: "admin"
|
|
17404
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17405
|
+
kind: "mutation",
|
|
17406
|
+
auth: "admin"
|
|
17407
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17408
|
+
kind: "query",
|
|
17409
|
+
auth: "admin"
|
|
17410
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17411
|
+
kind: "mutation",
|
|
17412
|
+
auth: "admin"
|
|
17357
17413
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17358
17414
|
kind: "query",
|
|
17359
17415
|
auth: "admin"
|
|
@@ -17508,6 +17564,11 @@ object({
|
|
|
17508
17564
|
"jpeg"
|
|
17509
17565
|
])
|
|
17510
17566
|
});
|
|
17567
|
+
/**
|
|
17568
|
+
* Process-local frame identity. It is serializable so it can ride an in-process
|
|
17569
|
+
* capability call, but `registryId` deliberately prevents resolution in any
|
|
17570
|
+
* other process or execution group.
|
|
17571
|
+
*/
|
|
17511
17572
|
var FrameRefSchema = object({
|
|
17512
17573
|
registryId: string().min(1),
|
|
17513
17574
|
id: string().min(1),
|
|
@@ -19673,7 +19734,7 @@ method(object({
|
|
|
19673
19734
|
* linking rather than produce an eternal token.
|
|
19674
19735
|
*/
|
|
19675
19736
|
ttlSec: union([number().int().positive(), literal("never")]).optional()
|
|
19676
|
-
}), object({ token: string() })), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable());
|
|
19737
|
+
}), object({ token: string() }), { auth: "admin" }), method(object({ token: string() }), SsoBridgeClaimsSchema.nullable(), { auth: "admin" });
|
|
19677
19738
|
var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
19678
19739
|
providerId: string().min(1),
|
|
19679
19740
|
displayName: string().min(1),
|
|
@@ -19768,10 +19829,13 @@ var EvictResultSchema = object({
|
|
|
19768
19829
|
/** True when the provider has nothing left it is willing to drop on this location. */
|
|
19769
19830
|
exhausted: boolean()
|
|
19770
19831
|
});
|
|
19771
|
-
method(object({ locationId: string() }), EvictableUsageSchema), method(object({
|
|
19832
|
+
method(object({ locationId: string() }), EvictableUsageSchema, { auth: "admin" }), method(object({
|
|
19772
19833
|
locationId: string(),
|
|
19773
19834
|
targetBytes: number().int().positive()
|
|
19774
|
-
}), EvictResultSchema, {
|
|
19835
|
+
}), EvictResultSchema, {
|
|
19836
|
+
kind: "mutation",
|
|
19837
|
+
auth: "admin"
|
|
19838
|
+
});
|
|
19775
19839
|
method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin" }), method(StorageMigrationInputSchema, object({ jobId: string() }), {
|
|
19776
19840
|
kind: "mutation",
|
|
19777
19841
|
auth: "admin"
|
|
@@ -19831,26 +19895,50 @@ var ReadChunkInputSchema = object({
|
|
|
19831
19895
|
length: number()
|
|
19832
19896
|
});
|
|
19833
19897
|
var EndDownloadInputSchema = object({ downloadId: string() });
|
|
19834
|
-
method(_void(), ProviderInfoSchema), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
19898
|
+
method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config: record(string(), unknown()) }), TestLocationResultSchema, { auth: "admin" }), method(object({
|
|
19835
19899
|
location: StorageLocationSchema,
|
|
19836
19900
|
relativePath: string()
|
|
19837
|
-
}), string()), method(object({
|
|
19901
|
+
}), string(), { auth: "admin" }), method(object({
|
|
19838
19902
|
location: StorageLocationSchema,
|
|
19839
19903
|
relativePath: string(),
|
|
19840
19904
|
data: _instanceof(Uint8Array)
|
|
19841
|
-
}), _void(), {
|
|
19905
|
+
}), _void(), {
|
|
19906
|
+
kind: "mutation",
|
|
19907
|
+
auth: "admin"
|
|
19908
|
+
}), method(object({
|
|
19842
19909
|
location: StorageLocationSchema,
|
|
19843
19910
|
relativePath: string()
|
|
19844
|
-
}), _instanceof(Uint8Array)), method(object({
|
|
19911
|
+
}), _instanceof(Uint8Array), { auth: "admin" }), method(object({
|
|
19845
19912
|
location: StorageLocationSchema,
|
|
19846
19913
|
relativePath: string()
|
|
19847
|
-
}), boolean()), method(object({
|
|
19914
|
+
}), boolean(), { auth: "admin" }), method(object({
|
|
19848
19915
|
location: StorageLocationSchema,
|
|
19849
19916
|
prefix: string().optional()
|
|
19850
|
-
}), array(string()).readonly()), method(object({
|
|
19917
|
+
}), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
19851
19918
|
location: StorageLocationSchema,
|
|
19852
19919
|
relativePath: string()
|
|
19853
|
-
}), _void(), {
|
|
19920
|
+
}), _void(), {
|
|
19921
|
+
kind: "mutation",
|
|
19922
|
+
auth: "admin"
|
|
19923
|
+
}), method(object({ location: StorageLocationSchema }), number().nullable(), { auth: "admin" }), method(BeginUploadInputSchema, BeginUploadResultSchema, {
|
|
19924
|
+
kind: "mutation",
|
|
19925
|
+
auth: "admin"
|
|
19926
|
+
}), method(WriteChunkInputSchema, _void(), {
|
|
19927
|
+
kind: "mutation",
|
|
19928
|
+
auth: "admin"
|
|
19929
|
+
}), method(FinalizeUploadInputSchema, _void(), {
|
|
19930
|
+
kind: "mutation",
|
|
19931
|
+
auth: "admin"
|
|
19932
|
+
}), method(AbortUploadInputSchema, _void(), {
|
|
19933
|
+
kind: "mutation",
|
|
19934
|
+
auth: "admin"
|
|
19935
|
+
}), method(BeginDownloadInputSchema, BeginDownloadResultSchema, {
|
|
19936
|
+
kind: "mutation",
|
|
19937
|
+
auth: "admin"
|
|
19938
|
+
}), method(ReadChunkInputSchema, _instanceof(Uint8Array), { auth: "admin" }), method(EndDownloadInputSchema, _void(), {
|
|
19939
|
+
kind: "mutation",
|
|
19940
|
+
auth: "admin"
|
|
19941
|
+
});
|
|
19854
19942
|
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
19855
19943
|
var ProfileSettingsSchemaBridge = unknown().nullable();
|
|
19856
19944
|
var ProfileSettingsBagSchema = record(string(), unknown());
|
|
@@ -20108,7 +20196,8 @@ method(object({
|
|
|
20108
20196
|
access: "create"
|
|
20109
20197
|
}), method(object({ userId: string().optional() }), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20110
20198
|
kind: "mutation",
|
|
20111
|
-
access: "view"
|
|
20199
|
+
access: "view",
|
|
20200
|
+
auth: "admin"
|
|
20112
20201
|
}), method(object({
|
|
20113
20202
|
/** Required — the user the assertion belongs to (verified). */
|
|
20114
20203
|
userId: string(),
|
|
@@ -20116,10 +20205,12 @@ method(object({
|
|
|
20116
20205
|
response: record(string(), unknown())
|
|
20117
20206
|
}), object({ verified: boolean() }), {
|
|
20118
20207
|
kind: "mutation",
|
|
20119
|
-
access: "view"
|
|
20208
|
+
access: "view",
|
|
20209
|
+
auth: "admin"
|
|
20120
20210
|
}), method(object({}), object({ optionsJSON: record(string(), unknown()) }), {
|
|
20121
20211
|
kind: "mutation",
|
|
20122
|
-
access: "view"
|
|
20212
|
+
access: "view",
|
|
20213
|
+
auth: "admin"
|
|
20123
20214
|
}), method(object({
|
|
20124
20215
|
/** AuthenticationResponseJSON from the browser. */
|
|
20125
20216
|
response: record(string(), unknown()) }), object({
|
|
@@ -20127,7 +20218,8 @@ response: record(string(), unknown()) }), object({
|
|
|
20127
20218
|
userId: string().nullable()
|
|
20128
20219
|
}), {
|
|
20129
20220
|
kind: "mutation",
|
|
20130
|
-
access: "view"
|
|
20221
|
+
access: "view",
|
|
20222
|
+
auth: "admin"
|
|
20131
20223
|
}), method(object({ userId: string() }), array(PasskeySummarySchema), { auth: "admin" }), method(object({
|
|
20132
20224
|
userId: string(),
|
|
20133
20225
|
credentialId: string()
|
|
@@ -20299,7 +20391,19 @@ var VectorStatsResultSchema = object({
|
|
|
20299
20391
|
/** False when the backend ranks approximately. */
|
|
20300
20392
|
exact: boolean()
|
|
20301
20393
|
});
|
|
20302
|
-
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20394
|
+
method(VectorDeclareIndexInputSchema, _void(), {
|
|
20395
|
+
kind: "mutation",
|
|
20396
|
+
auth: "admin"
|
|
20397
|
+
}), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
|
|
20398
|
+
kind: "mutation",
|
|
20399
|
+
auth: "admin"
|
|
20400
|
+
}), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
|
|
20401
|
+
kind: "mutation",
|
|
20402
|
+
auth: "admin"
|
|
20403
|
+
}), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
|
|
20404
|
+
kind: "mutation",
|
|
20405
|
+
auth: "admin"
|
|
20406
|
+
}), method(VectorStatsInputSchema, VectorStatsResultSchema, { auth: "admin" });
|
|
20303
20407
|
var ClipSchema = object({
|
|
20304
20408
|
/** Opaque, provider-namespaced id. The default provider encodes the time
|
|
20305
20409
|
* window so `getClipPlayback` is self-contained (no event re-query). */
|
|
@@ -22022,7 +22126,27 @@ var MediaFileLiteSchema$1 = object({
|
|
|
22022
22126
|
sizeBytes: number(),
|
|
22023
22127
|
timestamp: number()
|
|
22024
22128
|
});
|
|
22025
|
-
method(
|
|
22129
|
+
method(object({
|
|
22130
|
+
/**
|
|
22131
|
+
* Inline {@link IdentitySchema.coverBase64} on every row.
|
|
22132
|
+
*
|
|
22133
|
+
* Default `false`, the same inversion `listRecentFaces` and
|
|
22134
|
+
* `listPlates` took on 2026-08-25 (see `include-crops-default.ts` for
|
|
22135
|
+
* why the burden belongs on the caller that WANTS the bytes). Measured
|
|
22136
|
+
* on the live hub the same day: four identities cost 40,979 B with the
|
|
22137
|
+
* covers inline, ~10 KB of base64 per row, on a query this UI mounts
|
|
22138
|
+
* four times and the viewer holds at `staleTime: 30_000`.
|
|
22139
|
+
*
|
|
22140
|
+
* Nothing loses its avatar: `coverMediaKey` is already on every row and
|
|
22141
|
+
* the `event-media` plane serves that key `immutable` with an ETag.
|
|
22142
|
+
*
|
|
22143
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
22144
|
+
* next train** — the hub router validates cap inputs against its own
|
|
22145
|
+
* compiled Zod and strips a key it does not know. Until then the
|
|
22146
|
+
* provider sees `undefined`, which resolves to `false`: the cheap shape
|
|
22147
|
+
* is what ships, and the opt-in becomes reachable when the train lands.
|
|
22148
|
+
*/
|
|
22149
|
+
includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly()), method(object({ name: string().min(1) }), IdentitySchema, {
|
|
22026
22150
|
kind: "mutation",
|
|
22027
22151
|
auth: "admin"
|
|
22028
22152
|
}), method(object({
|
|
@@ -24169,8 +24293,10 @@ var PlateInfoSchema = object({
|
|
|
24169
24293
|
keyFrameMediaKey: string().optional(),
|
|
24170
24294
|
base64: string().optional(),
|
|
24171
24295
|
/**
|
|
24172
|
-
* Same crop as a data-plane URL
|
|
24173
|
-
* never inlines JPEG; `listPlates`
|
|
24296
|
+
* Same crop as a data-plane URL, always present when the plate has a stored
|
|
24297
|
+
* crop. `getPlateByTrack` returns this and never inlines JPEG; `listPlates`
|
|
24298
|
+
* and `searchPlates` inline the crop only when their `includeCrops` input is
|
|
24299
|
+
* left at its `true` default.
|
|
24174
24300
|
*/
|
|
24175
24301
|
cropUrl: string().optional()
|
|
24176
24302
|
});
|
|
@@ -24190,14 +24316,34 @@ var PlateClusterSchema = object({
|
|
|
24190
24316
|
});
|
|
24191
24317
|
method(object({
|
|
24192
24318
|
deviceId: number().int().optional(),
|
|
24193
|
-
limit: number().int().positive().optional()
|
|
24319
|
+
limit: number().int().positive().optional(),
|
|
24320
|
+
/**
|
|
24321
|
+
* Inline the base64 crop on every row. Default `true` — the existing
|
|
24322
|
+
* behaviour, kept so no caller breaks.
|
|
24323
|
+
*
|
|
24324
|
+
* Set `false` once the caller renders {@link PlateInfo.cropUrl}.
|
|
24325
|
+
* Measured on the live hub at the 500 rows the Plates view asks for:
|
|
24326
|
+
* 879,403 B and 27.7 s with the crops inline, against a few KiB of
|
|
24327
|
+
* metadata without them — and the browser then caches the images.
|
|
24328
|
+
*
|
|
24329
|
+
* This is the plate twin of `faceGallery.listRecentFaces`'s option;
|
|
24330
|
+
* plates were the one gallery list left without it.
|
|
24331
|
+
*
|
|
24332
|
+
* **This is an INPUT field, so it does not reach the addon until the
|
|
24333
|
+
* next train.** The hub router validates cap inputs against its own
|
|
24334
|
+
* compiled Zod and strips a key it does not know. Until the train
|
|
24335
|
+
* ships, sending `false` is harmless and keeps the crops inline.
|
|
24336
|
+
*/
|
|
24337
|
+
includeCrops: boolean().optional()
|
|
24194
24338
|
}).optional(), array(PlateInfoSchema).readonly()), method(object({
|
|
24195
24339
|
deviceId: number().int(),
|
|
24196
24340
|
trackId: string()
|
|
24197
24341
|
}), PlateInfoSchema.nullable()), method(object({ plateId: string() }), array(MediaFileLiteSchema).readonly()), method(object({
|
|
24198
24342
|
text: string().min(1),
|
|
24199
24343
|
maxDistance: number().int().min(0).optional(),
|
|
24200
|
-
limit: number().int().positive().optional()
|
|
24344
|
+
limit: number().int().positive().optional(),
|
|
24345
|
+
/** See `listPlates.includeCrops`. Default `true`. */
|
|
24346
|
+
includeCrops: boolean().optional()
|
|
24201
24347
|
}), array(PlateInfoSchema).readonly()), method(object({
|
|
24202
24348
|
maxDistance: number().int().min(0).optional(),
|
|
24203
24349
|
minClusterSize: number().int().min(2).optional(),
|
|
@@ -24211,7 +24357,13 @@ method(object({
|
|
|
24211
24357
|
}), method(object({ plateId: string() }), _void(), {
|
|
24212
24358
|
kind: "mutation",
|
|
24213
24359
|
auth: "admin"
|
|
24214
|
-
}), method(
|
|
24360
|
+
}), method(object({
|
|
24361
|
+
/** Inline {@link VehicleSchema.coverBase64} on every row. Default
|
|
24362
|
+
* `false` — the vehicle twin of `faceGallery.listIdentities`'s
|
|
24363
|
+
* option; `coverMediaKey` + the `event-media` plane carry the picture.
|
|
24364
|
+
* INPUT field: stripped by the hub router until the train ships, which
|
|
24365
|
+
* resolves to `false` and is exactly the intended default. */
|
|
24366
|
+
includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly()), method(object({ name: string().min(1) }), VehicleSchema, {
|
|
24215
24367
|
kind: "mutation",
|
|
24216
24368
|
auth: "admin"
|
|
24217
24369
|
}), method(object({
|
|
@@ -29588,6 +29740,12 @@ Object.freeze({
|
|
|
29588
29740
|
addonId: null,
|
|
29589
29741
|
access: "create"
|
|
29590
29742
|
},
|
|
29743
|
+
"pipelineAnalytics.cancelRelocateMedia": {
|
|
29744
|
+
capName: "pipeline-analytics",
|
|
29745
|
+
capScope: "device",
|
|
29746
|
+
addonId: null,
|
|
29747
|
+
access: "create"
|
|
29748
|
+
},
|
|
29591
29749
|
"pipelineAnalytics.cancelStorageMigrationMove": {
|
|
29592
29750
|
capName: "pipeline-analytics",
|
|
29593
29751
|
capScope: "device",
|
|
@@ -29762,6 +29920,12 @@ Object.freeze({
|
|
|
29762
29920
|
addonId: null,
|
|
29763
29921
|
access: "view"
|
|
29764
29922
|
},
|
|
29923
|
+
"pipelineAnalytics.listRelocateMediaJobs": {
|
|
29924
|
+
capName: "pipeline-analytics",
|
|
29925
|
+
capScope: "device",
|
|
29926
|
+
addonId: null,
|
|
29927
|
+
access: "view"
|
|
29928
|
+
},
|
|
29765
29929
|
"pipelineAnalytics.listRetrainAnnotations": {
|
|
29766
29930
|
capName: "pipeline-analytics",
|
|
29767
29931
|
capScope: "device",
|
|
@@ -29840,6 +30004,12 @@ Object.freeze({
|
|
|
29840
30004
|
addonId: null,
|
|
29841
30005
|
access: "create"
|
|
29842
30006
|
},
|
|
30007
|
+
"pipelineAnalytics.relocateMedia": {
|
|
30008
|
+
capName: "pipeline-analytics",
|
|
30009
|
+
capScope: "device",
|
|
30010
|
+
addonId: null,
|
|
30011
|
+
access: "create"
|
|
30012
|
+
},
|
|
29843
30013
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
29844
30014
|
capName: "pipeline-analytics",
|
|
29845
30015
|
capScope: "device",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.33",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|