@camstack/types 1.2.308 → 1.2.310
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +38 -4
- package/dist/capabilities/device-manager.cap.d.ts +8 -8
- package/dist/capabilities/hub-address.d.ts +123 -0
- package/dist/capabilities/index.d.ts +4 -3
- package/dist/capabilities/local-network.cap.d.ts +605 -11
- package/dist/capabilities/model-convert.cap.d.ts +19 -2
- package/dist/capabilities/model-distributor.cap.d.ts +38 -4
- package/dist/capabilities/pipeline-executor.cap.d.ts +124 -10
- package/dist/capabilities/pipeline-runner.cap.d.ts +13 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +36 -0
- package/dist/catalogs/frigate-plus-classmap.d.ts +10 -7
- package/dist/catalogs/index.d.ts +1 -1
- package/dist/catalogs/root-model-supply.d.ts +202 -0
- package/dist/client.js +55 -49
- package/dist/client.mjs +55 -49
- package/dist/device/location-icon.d.ts +4 -4
- package/dist/device/site-zone.d.ts +2 -2
- package/dist/ffmpeg/pinned-spawn.d.ts +1 -1
- package/dist/generated/addon-api.d.ts +40 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1351 -641
- package/dist/index.mjs +1310 -629
- package/dist/interfaces/event-bus.d.ts +12 -6
- package/dist/interfaces/pipeline-executor-capability.d.ts +6 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/pipeline/root-face-crop.d.ts +31 -0
- package/dist/{sleep-DXKLNFvA.mjs → sleep-C16NCZR2.mjs} +1 -0
- package/dist/{sleep-C3gDpn7G.js → sleep-DyF95STh.js} +1 -0
- package/dist/types/detection.d.ts +9 -0
- package/dist/types/models.d.ts +69 -8
- package/dist/types/pipeline-step.d.ts +6 -0
- package/package.json +1 -1
- package/dist/catalogs/classifier-fill.d.ts +0 -104
package/dist/client.js
CHANGED
|
@@ -415,54 +415,6 @@ zod.z.object({
|
|
|
415
415
|
resolution: CamStreamResolutionSchema.optional()
|
|
416
416
|
});
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region src/catalogs/coco-classmap.ts
|
|
419
|
-
var MACRO_LABELS = [
|
|
420
|
-
{
|
|
421
|
-
id: "person",
|
|
422
|
-
name: "Person"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
id: "vehicle",
|
|
426
|
-
name: "Vehicle"
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
id: "animal",
|
|
430
|
-
name: "Animal"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
id: "package",
|
|
434
|
-
name: "Package"
|
|
435
|
-
}
|
|
436
|
-
];
|
|
437
|
-
new Set(MACRO_LABELS.map((l) => l.id));
|
|
438
|
-
var COCO_TO_MACRO = {
|
|
439
|
-
mapping: {
|
|
440
|
-
person: "person",
|
|
441
|
-
bicycle: "vehicle",
|
|
442
|
-
car: "vehicle",
|
|
443
|
-
motorcycle: "vehicle",
|
|
444
|
-
airplane: "vehicle",
|
|
445
|
-
bus: "vehicle",
|
|
446
|
-
train: "vehicle",
|
|
447
|
-
truck: "vehicle",
|
|
448
|
-
boat: "vehicle",
|
|
449
|
-
bird: "animal",
|
|
450
|
-
cat: "animal",
|
|
451
|
-
dog: "animal",
|
|
452
|
-
horse: "animal",
|
|
453
|
-
sheep: "animal",
|
|
454
|
-
cow: "animal",
|
|
455
|
-
elephant: "animal",
|
|
456
|
-
bear: "animal",
|
|
457
|
-
zebra: "animal",
|
|
458
|
-
giraffe: "animal",
|
|
459
|
-
suitcase: "package",
|
|
460
|
-
backpack: "package",
|
|
461
|
-
handbag: "package"
|
|
462
|
-
},
|
|
463
|
-
preserveOriginal: false
|
|
464
|
-
};
|
|
465
|
-
//#endregion
|
|
466
418
|
//#region src/catalogs/sensor-active-state.ts
|
|
467
419
|
/**
|
|
468
420
|
* THE table "which boolean of this device type counts as HIGH", and the
|
|
@@ -1044,6 +996,54 @@ method(zod.z.object({}), zod.z.array(TargetKindSchema)), method(zod.z.object({})
|
|
|
1044
996
|
auth: "admin"
|
|
1045
997
|
});
|
|
1046
998
|
//#endregion
|
|
999
|
+
//#region src/catalogs/coco-classmap.ts
|
|
1000
|
+
var MACRO_LABELS = [
|
|
1001
|
+
{
|
|
1002
|
+
id: "person",
|
|
1003
|
+
name: "Person"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
id: "vehicle",
|
|
1007
|
+
name: "Vehicle"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
id: "animal",
|
|
1011
|
+
name: "Animal"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
id: "package",
|
|
1015
|
+
name: "Package"
|
|
1016
|
+
}
|
|
1017
|
+
];
|
|
1018
|
+
new Set(MACRO_LABELS.map((l) => l.id));
|
|
1019
|
+
var COCO_TO_MACRO = {
|
|
1020
|
+
mapping: {
|
|
1021
|
+
person: "person",
|
|
1022
|
+
bicycle: "vehicle",
|
|
1023
|
+
car: "vehicle",
|
|
1024
|
+
motorcycle: "vehicle",
|
|
1025
|
+
airplane: "vehicle",
|
|
1026
|
+
bus: "vehicle",
|
|
1027
|
+
train: "vehicle",
|
|
1028
|
+
truck: "vehicle",
|
|
1029
|
+
boat: "vehicle",
|
|
1030
|
+
bird: "animal",
|
|
1031
|
+
cat: "animal",
|
|
1032
|
+
dog: "animal",
|
|
1033
|
+
horse: "animal",
|
|
1034
|
+
sheep: "animal",
|
|
1035
|
+
cow: "animal",
|
|
1036
|
+
elephant: "animal",
|
|
1037
|
+
bear: "animal",
|
|
1038
|
+
zebra: "animal",
|
|
1039
|
+
giraffe: "animal",
|
|
1040
|
+
suitcase: "package",
|
|
1041
|
+
backpack: "package",
|
|
1042
|
+
handbag: "package"
|
|
1043
|
+
},
|
|
1044
|
+
preserveOriginal: false
|
|
1045
|
+
};
|
|
1046
|
+
//#endregion
|
|
1047
1047
|
//#region src/catalogs/audio-classmap.ts
|
|
1048
1048
|
var AUDIO_MACRO_LABELS = [
|
|
1049
1049
|
{
|
|
@@ -5958,6 +5958,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5958
5958
|
closeSession: (input) => dispatch("webrtc-session", "webrtcSession", "closeSession", "mutation", input),
|
|
5959
5959
|
hasAdaptiveBitrate: (input) => dispatch("webrtc-session", "webrtcSession", "hasAdaptiveBitrate", "query", input),
|
|
5960
5960
|
getSessionState: (input) => dispatch("webrtc-session", "webrtcSession", "getSessionState", "query", input),
|
|
5961
|
+
applyDownlinkProbe: (input) => dispatch("webrtc-session", "webrtcSession", "applyDownlinkProbe", "mutation", input),
|
|
5961
5962
|
getSessionDebug: (input) => dispatch("webrtc-session", "webrtcSession", "getSessionDebug", "query", input)
|
|
5962
5963
|
};
|
|
5963
5964
|
const zoneAnalyticsInterface = {
|
|
@@ -7305,6 +7306,11 @@ function createSystemProxy(api) {
|
|
|
7305
7306
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
7306
7307
|
getViewerEndpoints: (input) => dispatch("localNetwork", "getViewerEndpoints", "query", input),
|
|
7307
7308
|
setViewerEndpoints: (input) => dispatch("localNetwork", "setViewerEndpoints", "mutation", input),
|
|
7309
|
+
getAddresses: (input) => dispatch("localNetwork", "getAddresses", "query", input),
|
|
7310
|
+
addCustomAddress: (input) => dispatch("localNetwork", "addCustomAddress", "mutation", input),
|
|
7311
|
+
removeCustomAddress: (input) => dispatch("localNetwork", "removeCustomAddress", "mutation", input),
|
|
7312
|
+
setAddressRole: (input) => dispatch("localNetwork", "setAddressRole", "mutation", input),
|
|
7313
|
+
getHubAddresses: (input) => dispatch("localNetwork", "getHubAddresses", "query", input),
|
|
7308
7314
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
7309
7315
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
7310
7316
|
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
|
|
@@ -9068,7 +9074,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
9068
9074
|
{
|
|
9069
9075
|
name: "summarySection",
|
|
9070
9076
|
label: "Summary: this section",
|
|
9071
|
-
description: "The section a per-section summary row is about
|
|
9077
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
9072
9078
|
example: "Batterie scariche",
|
|
9073
9079
|
group: "system",
|
|
9074
9080
|
families: ["rule"],
|
package/dist/client.mjs
CHANGED
|
@@ -414,54 +414,6 @@ z.object({
|
|
|
414
414
|
resolution: CamStreamResolutionSchema.optional()
|
|
415
415
|
});
|
|
416
416
|
//#endregion
|
|
417
|
-
//#region src/catalogs/coco-classmap.ts
|
|
418
|
-
var MACRO_LABELS = [
|
|
419
|
-
{
|
|
420
|
-
id: "person",
|
|
421
|
-
name: "Person"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
id: "vehicle",
|
|
425
|
-
name: "Vehicle"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
id: "animal",
|
|
429
|
-
name: "Animal"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
id: "package",
|
|
433
|
-
name: "Package"
|
|
434
|
-
}
|
|
435
|
-
];
|
|
436
|
-
new Set(MACRO_LABELS.map((l) => l.id));
|
|
437
|
-
var COCO_TO_MACRO = {
|
|
438
|
-
mapping: {
|
|
439
|
-
person: "person",
|
|
440
|
-
bicycle: "vehicle",
|
|
441
|
-
car: "vehicle",
|
|
442
|
-
motorcycle: "vehicle",
|
|
443
|
-
airplane: "vehicle",
|
|
444
|
-
bus: "vehicle",
|
|
445
|
-
train: "vehicle",
|
|
446
|
-
truck: "vehicle",
|
|
447
|
-
boat: "vehicle",
|
|
448
|
-
bird: "animal",
|
|
449
|
-
cat: "animal",
|
|
450
|
-
dog: "animal",
|
|
451
|
-
horse: "animal",
|
|
452
|
-
sheep: "animal",
|
|
453
|
-
cow: "animal",
|
|
454
|
-
elephant: "animal",
|
|
455
|
-
bear: "animal",
|
|
456
|
-
zebra: "animal",
|
|
457
|
-
giraffe: "animal",
|
|
458
|
-
suitcase: "package",
|
|
459
|
-
backpack: "package",
|
|
460
|
-
handbag: "package"
|
|
461
|
-
},
|
|
462
|
-
preserveOriginal: false
|
|
463
|
-
};
|
|
464
|
-
//#endregion
|
|
465
417
|
//#region src/catalogs/sensor-active-state.ts
|
|
466
418
|
/**
|
|
467
419
|
* THE table "which boolean of this device type counts as HIGH", and the
|
|
@@ -1043,6 +995,54 @@ method(z.object({}), z.array(TargetKindSchema)), method(z.object({}), z.array(Ta
|
|
|
1043
995
|
auth: "admin"
|
|
1044
996
|
});
|
|
1045
997
|
//#endregion
|
|
998
|
+
//#region src/catalogs/coco-classmap.ts
|
|
999
|
+
var MACRO_LABELS = [
|
|
1000
|
+
{
|
|
1001
|
+
id: "person",
|
|
1002
|
+
name: "Person"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
id: "vehicle",
|
|
1006
|
+
name: "Vehicle"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
id: "animal",
|
|
1010
|
+
name: "Animal"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
id: "package",
|
|
1014
|
+
name: "Package"
|
|
1015
|
+
}
|
|
1016
|
+
];
|
|
1017
|
+
new Set(MACRO_LABELS.map((l) => l.id));
|
|
1018
|
+
var COCO_TO_MACRO = {
|
|
1019
|
+
mapping: {
|
|
1020
|
+
person: "person",
|
|
1021
|
+
bicycle: "vehicle",
|
|
1022
|
+
car: "vehicle",
|
|
1023
|
+
motorcycle: "vehicle",
|
|
1024
|
+
airplane: "vehicle",
|
|
1025
|
+
bus: "vehicle",
|
|
1026
|
+
train: "vehicle",
|
|
1027
|
+
truck: "vehicle",
|
|
1028
|
+
boat: "vehicle",
|
|
1029
|
+
bird: "animal",
|
|
1030
|
+
cat: "animal",
|
|
1031
|
+
dog: "animal",
|
|
1032
|
+
horse: "animal",
|
|
1033
|
+
sheep: "animal",
|
|
1034
|
+
cow: "animal",
|
|
1035
|
+
elephant: "animal",
|
|
1036
|
+
bear: "animal",
|
|
1037
|
+
zebra: "animal",
|
|
1038
|
+
giraffe: "animal",
|
|
1039
|
+
suitcase: "package",
|
|
1040
|
+
backpack: "package",
|
|
1041
|
+
handbag: "package"
|
|
1042
|
+
},
|
|
1043
|
+
preserveOriginal: false
|
|
1044
|
+
};
|
|
1045
|
+
//#endregion
|
|
1046
1046
|
//#region src/catalogs/audio-classmap.ts
|
|
1047
1047
|
var AUDIO_MACRO_LABELS = [
|
|
1048
1048
|
{
|
|
@@ -5957,6 +5957,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5957
5957
|
closeSession: (input) => dispatch("webrtc-session", "webrtcSession", "closeSession", "mutation", input),
|
|
5958
5958
|
hasAdaptiveBitrate: (input) => dispatch("webrtc-session", "webrtcSession", "hasAdaptiveBitrate", "query", input),
|
|
5959
5959
|
getSessionState: (input) => dispatch("webrtc-session", "webrtcSession", "getSessionState", "query", input),
|
|
5960
|
+
applyDownlinkProbe: (input) => dispatch("webrtc-session", "webrtcSession", "applyDownlinkProbe", "mutation", input),
|
|
5960
5961
|
getSessionDebug: (input) => dispatch("webrtc-session", "webrtcSession", "getSessionDebug", "query", input)
|
|
5961
5962
|
};
|
|
5962
5963
|
const zoneAnalyticsInterface = {
|
|
@@ -7304,6 +7305,11 @@ function createSystemProxy(api) {
|
|
|
7304
7305
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
7305
7306
|
getViewerEndpoints: (input) => dispatch("localNetwork", "getViewerEndpoints", "query", input),
|
|
7306
7307
|
setViewerEndpoints: (input) => dispatch("localNetwork", "setViewerEndpoints", "mutation", input),
|
|
7308
|
+
getAddresses: (input) => dispatch("localNetwork", "getAddresses", "query", input),
|
|
7309
|
+
addCustomAddress: (input) => dispatch("localNetwork", "addCustomAddress", "mutation", input),
|
|
7310
|
+
removeCustomAddress: (input) => dispatch("localNetwork", "removeCustomAddress", "mutation", input),
|
|
7311
|
+
setAddressRole: (input) => dispatch("localNetwork", "setAddressRole", "mutation", input),
|
|
7312
|
+
getHubAddresses: (input) => dispatch("localNetwork", "getHubAddresses", "query", input),
|
|
7307
7313
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
7308
7314
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
7309
7315
|
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
|
|
@@ -9067,7 +9073,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
9067
9073
|
{
|
|
9068
9074
|
name: "summarySection",
|
|
9069
9075
|
label: "Summary: this section",
|
|
9070
|
-
description: "The section a per-section summary row is about
|
|
9076
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
9071
9077
|
example: "Batterie scariche",
|
|
9072
9078
|
group: "system",
|
|
9073
9079
|
families: ["rule"],
|
|
@@ -88,8 +88,6 @@ export declare const LOCATION_ICON_FALLBACK: LocationIconId;
|
|
|
88
88
|
/** Wire/storage schema for one icon id. */
|
|
89
89
|
export declare const LocationIconIdSchema: z.ZodEnum<{
|
|
90
90
|
package: "package";
|
|
91
|
-
car: "car";
|
|
92
|
-
umbrella: "umbrella";
|
|
93
91
|
"map-pin": "map-pin";
|
|
94
92
|
house: "house";
|
|
95
93
|
"door-open": "door-open";
|
|
@@ -98,9 +96,11 @@ export declare const LocationIconIdSchema: z.ZodEnum<{
|
|
|
98
96
|
"bed-double": "bed-double";
|
|
99
97
|
bath: "bath";
|
|
100
98
|
briefcase: "briefcase";
|
|
99
|
+
car: "car";
|
|
101
100
|
"circle-parking": "circle-parking";
|
|
102
101
|
route: "route";
|
|
103
102
|
trees: "trees";
|
|
103
|
+
umbrella: "umbrella";
|
|
104
104
|
"waves-ladder": "waves-ladder";
|
|
105
105
|
fence: "fence";
|
|
106
106
|
warehouse: "warehouse";
|
|
@@ -122,8 +122,6 @@ export declare const LocationIconAssignmentSchema: z.ZodObject<{
|
|
|
122
122
|
locationKey: z.ZodString;
|
|
123
123
|
icon: z.ZodEnum<{
|
|
124
124
|
package: "package";
|
|
125
|
-
car: "car";
|
|
126
|
-
umbrella: "umbrella";
|
|
127
125
|
"map-pin": "map-pin";
|
|
128
126
|
house: "house";
|
|
129
127
|
"door-open": "door-open";
|
|
@@ -132,9 +130,11 @@ export declare const LocationIconAssignmentSchema: z.ZodObject<{
|
|
|
132
130
|
"bed-double": "bed-double";
|
|
133
131
|
bath: "bath";
|
|
134
132
|
briefcase: "briefcase";
|
|
133
|
+
car: "car";
|
|
135
134
|
"circle-parking": "circle-parking";
|
|
136
135
|
route: "route";
|
|
137
136
|
trees: "trees";
|
|
137
|
+
umbrella: "umbrella";
|
|
138
138
|
"waves-ladder": "waves-ladder";
|
|
139
139
|
fence: "fence";
|
|
140
140
|
warehouse: "warehouse";
|
|
@@ -45,8 +45,6 @@ export declare const SiteZoneSchema: z.ZodObject<{
|
|
|
45
45
|
label: z.ZodString;
|
|
46
46
|
icon: z.ZodNullable<z.ZodEnum<{
|
|
47
47
|
package: "package";
|
|
48
|
-
car: "car";
|
|
49
|
-
umbrella: "umbrella";
|
|
50
48
|
"map-pin": "map-pin";
|
|
51
49
|
house: "house";
|
|
52
50
|
"door-open": "door-open";
|
|
@@ -55,9 +53,11 @@ export declare const SiteZoneSchema: z.ZodObject<{
|
|
|
55
53
|
"bed-double": "bed-double";
|
|
56
54
|
bath: "bath";
|
|
57
55
|
briefcase: "briefcase";
|
|
56
|
+
car: "car";
|
|
58
57
|
"circle-parking": "circle-parking";
|
|
59
58
|
route: "route";
|
|
60
59
|
trees: "trees";
|
|
60
|
+
umbrella: "umbrella";
|
|
61
61
|
"waves-ladder": "waves-ladder";
|
|
62
62
|
fence: "fence";
|
|
63
63
|
warehouse: "warehouse";
|
|
@@ -10,7 +10,7 @@ import { type ChildProcess, type SpawnOptions } from 'node:child_process';
|
|
|
10
10
|
/** One ffmpeg child from its argv. */
|
|
11
11
|
export type FfmpegArgvSpawn = (args: readonly string[]) => ChildProcess;
|
|
12
12
|
/** The detail a site refusing for want of a binary puts in its refusal. */
|
|
13
|
-
export declare const NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node
|
|
13
|
+
export declare const NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node";
|
|
14
14
|
/** What a site gets when it asks for its spawn: one, or the refusal to name. */
|
|
15
15
|
export type PinnedFfmpegSpawnAnswer = {
|
|
16
16
|
readonly kind: 'ready';
|
|
@@ -4077,6 +4077,39 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4077
4077
|
output: z.infer<typeof localNetworkCapability.methods.setViewerEndpoints.output>;
|
|
4078
4078
|
meta: object;
|
|
4079
4079
|
}>;
|
|
4080
|
+
getAddresses: TRPCQueryProcedure<{
|
|
4081
|
+
input: z.input<typeof localNetworkCapability.methods.getAddresses.input>;
|
|
4082
|
+
output: z.infer<typeof localNetworkCapability.methods.getAddresses.output>;
|
|
4083
|
+
meta: object;
|
|
4084
|
+
}>;
|
|
4085
|
+
addCustomAddress: TRPCMutationProcedure<{
|
|
4086
|
+
input: {
|
|
4087
|
+
[x: string]: unknown;
|
|
4088
|
+
} & z.input<typeof localNetworkCapability.methods.addCustomAddress.input>;
|
|
4089
|
+
output: z.infer<typeof localNetworkCapability.methods.addCustomAddress.output>;
|
|
4090
|
+
meta: object;
|
|
4091
|
+
}>;
|
|
4092
|
+
removeCustomAddress: TRPCMutationProcedure<{
|
|
4093
|
+
input: {
|
|
4094
|
+
[x: string]: unknown;
|
|
4095
|
+
} & z.input<typeof localNetworkCapability.methods.removeCustomAddress.input>;
|
|
4096
|
+
output: z.infer<typeof localNetworkCapability.methods.removeCustomAddress.output>;
|
|
4097
|
+
meta: object;
|
|
4098
|
+
}>;
|
|
4099
|
+
setAddressRole: TRPCMutationProcedure<{
|
|
4100
|
+
input: {
|
|
4101
|
+
[x: string]: unknown;
|
|
4102
|
+
} & z.input<typeof localNetworkCapability.methods.setAddressRole.input>;
|
|
4103
|
+
output: z.infer<typeof localNetworkCapability.methods.setAddressRole.output>;
|
|
4104
|
+
meta: object;
|
|
4105
|
+
}>;
|
|
4106
|
+
getHubAddresses: TRPCQueryProcedure<{
|
|
4107
|
+
input: {
|
|
4108
|
+
nodeId?: string | undefined;
|
|
4109
|
+
} | undefined;
|
|
4110
|
+
output: z.infer<typeof localNetworkCapability.methods.getHubAddresses.output>;
|
|
4111
|
+
meta: object;
|
|
4112
|
+
}>;
|
|
4080
4113
|
getAllowedAddresses: TRPCQueryProcedure<{
|
|
4081
4114
|
input: {
|
|
4082
4115
|
nodeId?: string | undefined;
|
|
@@ -9683,6 +9716,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9683
9716
|
output: z.infer<typeof webrtcSessionCapability.methods.getSessionState.output>;
|
|
9684
9717
|
meta: object;
|
|
9685
9718
|
}>;
|
|
9719
|
+
applyDownlinkProbe: TRPCMutationProcedure<{
|
|
9720
|
+
input: {
|
|
9721
|
+
[x: string]: unknown;
|
|
9722
|
+
} & z.input<typeof webrtcSessionCapability.methods.applyDownlinkProbe.input>;
|
|
9723
|
+
output: z.infer<typeof webrtcSessionCapability.methods.applyDownlinkProbe.output>;
|
|
9724
|
+
meta: object;
|
|
9725
|
+
}>;
|
|
9686
9726
|
getSessionDebug: TRPCQueryProcedure<{
|
|
9687
9727
|
input: {
|
|
9688
9728
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1227 method paths across 165 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 510 methods carry a device reference, of which
|
|
10
10
|
* 160 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
@@ -77,7 +77,7 @@ export interface SystemProxy {
|
|
|
77
77
|
readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'auditIdentitySamples' | 'removeSample' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
|
|
78
78
|
readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getSettings' | 'setSettings' | 'getAvailableTypes' | 'testConnection'>;
|
|
79
79
|
readonly llm: Pick<InferProvider<typeof llmCapability>, 'generate' | 'generateVision' | 'cancel' | 'listProfileKinds' | 'listProfiles' | 'upsertProfile' | 'deleteProfile' | 'testProfile' | 'listModels' | 'getDefaults' | 'setDefault' | 'getUsage' | 'listModelCatalog' | 'listRuntimeNodes' | 'listNodeModels' | 'resolveModelRef' | 'installModel' | 'deleteModel' | 'getRuntimeStatus' | 'startRuntime' | 'stopRuntime'>;
|
|
80
|
-
readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getViewerEndpoints' | 'setViewerEndpoints' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
|
|
80
|
+
readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getViewerEndpoints' | 'setViewerEndpoints' | 'getAddresses' | 'addCustomAddress' | 'removeCustomAddress' | 'setAddressRole' | 'getHubAddresses' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
|
|
81
81
|
readonly meshNetwork: Pick<InferProvider<typeof meshNetworkCapability>, 'getStatus' | 'join' | 'startLogin' | 'leave' | 'logout' | 'listPeers' | 'testConnection'>;
|
|
82
82
|
readonly metricsProvider: Pick<InferProvider<typeof metricsProviderCapability>, 'collectSnapshot' | 'getCached' | 'getCurrent' | 'getDiskSpace' | 'getGpuInfo' | 'getCpuTemperature' | 'getProcessStats' | 'listAddonInstances' | 'getAddonStats' | 'listNodeProcesses' | 'getLoadSeries'>;
|
|
83
83
|
readonly mqttBroker: Pick<InferProvider<typeof mqttBrokerCapability>, 'listBrokers' | 'getBrokerConfig' | 'addBroker' | 'removeBroker' | 'testConnection' | 'startEmbeddedBroker' | 'stopEmbeddedBroker' | 'getStatus'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ export * from './composition/index.js';
|
|
|
153
153
|
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, getAudioMacroClassIds, mapAudioLabelToMacro, YAMNET_TO_MACRO, } from './catalogs/audio-classmap.js';
|
|
154
154
|
export { COCO_80_LABELS, COCO_TO_MACRO, DETECTION_MACRO_CLASSES, isDetectionMacroClass, MACRO_LABELS, } from './catalogs/coco-classmap.js';
|
|
155
155
|
export { buildFrigateClassMap, type ClassMapMacroTarget, FRIGATE_PLUS_TO_MACRO, FRIGATE_PLUS_UNMAPPED_LABELS, type FrigateLabelFields, frigateLabelFields, } from './catalogs/frigate-plus-classmap.js';
|
|
156
|
-
export { type
|
|
156
|
+
export { allowedSuppliedEffect, containingParentIndex, CROP_SUPPLY_SOURCES, CROP_SUPPLY_STEP_IDS, type CropSupplySource, type CropSupplyStepId, deriveRootSupplies, describeRootSupplies, describeRootSupply, isLabelSupplyStepId, isRootSuppliableStepId, LABEL_SUPPLY_MACRO, LABEL_SUPPLY_STEP_IDS, LABEL_SUPPLY_VOCABULARIES, type LabelSupplyStepId, LINKED_LABEL_STEP_PREFIX, linkedLabelStepId, linkedStepOf, readUseRootModel, resolveRootSupply, ROOT_CHILD_CONTAINMENT_MIN, ROOT_SUPPLIABLE_STEP_IDS, rootSuppliesOf, rootSupplyServes, type RootSuppliableStepId, type RootSupplyInactiveReason, type RootSupplyState, type RootSupplyStepDefaults, type SupplyBox, type SupplyClassMap, supplyFor, USE_ROOT_MODEL_DEFAULTS, USE_ROOT_MODEL_SETTING_KEY, } from './catalogs/root-model-supply.js';
|
|
157
157
|
export { DEVICE_STATE_READERS, readDeviceStateFrom, stateVocabularyFor, } from './catalogs/device-state-vocabulary.js';
|
|
158
158
|
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf, TAXONOMY_COLORS, } from './catalogs/event-taxonomy.js';
|
|
159
159
|
export { buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomy, type NcTaxonomyEntry, NcTaxonomyEntrySchema, NcTaxonomySchema, } from './catalogs/nc-taxonomy.js';
|
|
@@ -267,6 +267,7 @@ export { hubMotionNativeProvider, readHubMotionDetected, readHubMotionStatus, }
|
|
|
267
267
|
export { type ProviderMotionData, ProviderMotionDataSchema, providerMotionEvent, } from './pipeline/provider-motion.js';
|
|
268
268
|
export { type FormatRunnableModel, stepModelRunsOnFormat, } from './pipeline/step-format-runnable.js';
|
|
269
269
|
export { isRemovedModelId, REMOVED_MODEL_IDS } from './pipeline/removed-model-ids.js';
|
|
270
|
+
export { deriveRootFaceRefineRect, ROOT_FACE_REFINE_INPUT_PX, ROOT_FACE_REFINE_SCALE, } from './pipeline/root-face-crop.js';
|
|
270
271
|
export { DEFAULT_DETAIL_CROP_CONVENTION, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, type DetailCropConvention, DetailCropConventionSchema, type DetailCropRect, deriveDetailCropRect, FULL_IMAGE_BBOX, type HydratedSettingsSection, type HydratedSettingsView, pickDetailCropConvention, readDetailCropConvention, } from './pipeline/detail-crop.js';
|
|
271
272
|
export { DEFAULT_NATIVE_LEASE_SETTINGS, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SCENE_BUDGET_FIELD, NATIVE_LEASE_SCENE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, type NativeLeaseAdmission, NativeLeaseAdmissionSchema, type NativeLeaseKnob, type NativeLeaseNumberKnob, type NativeLeaseSettings, type NativeLeaseSettingsOverride, NativeLeaseSettingsSchema, pickNativeLeaseOverride, readNativeLeaseOverride, } from './pipeline/native-lease.js';
|
|
272
273
|
export { ACCESS_ROLES, type AccessRoleAssignment, type AccessRoleId, type AccessRoleSpec, buildRoleScopes, detectAccessRole, roleSpec, } from './schemas/access-roles.js';
|