@camstack/types 1.2.234 → 1.2.236
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/device-manager.cap.d.ts +17 -16
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/pipeline-analytics.cap.d.ts +34 -0
- package/dist/capabilities/videoclips.cap.d.ts +87 -23
- package/dist/generated/addon-api.d.ts +7 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +201 -93
- package/dist/index.mjs +195 -94
- package/dist/interfaces/config-ui.d.ts +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +0 -14
- package/dist/media/media-owner-key.d.ts +20 -0
- package/dist/{sleep-CopaBJss.mjs → sleep-CaB_hL5g.mjs} +1 -6
- package/dist/{sleep-DImve4HM.js → sleep-Cqxm5OIN.js} +1 -6
- package/package.json +1 -1
|
@@ -120,5 +120,25 @@ export declare const EventOwnerTypeSchema: z.ZodEnum<{
|
|
|
120
120
|
object: 'object';
|
|
121
121
|
audio: 'audio';
|
|
122
122
|
}>;
|
|
123
|
+
/**
|
|
124
|
+
* The owner kinds a media-PRESENCE probe may ask about: the three event tables
|
|
125
|
+
* plus `track`.
|
|
126
|
+
*
|
|
127
|
+
* `videoclips` resolves a clip's still the way `resolveDefaultEventMedia` does
|
|
128
|
+
* — the event's OWN media when it has any, else its owning TRACK's — so the
|
|
129
|
+
* probe needs exactly this union and no more of {@link MediaOwnerType}. Built
|
|
130
|
+
* FROM {@link EVENT_OWNER_TYPES} so a fourth event table reaches the probe the
|
|
131
|
+
* day it is declared, rather than being accepted by one side and refused by the
|
|
132
|
+
* other.
|
|
133
|
+
*/
|
|
134
|
+
export declare const MEDIA_PRESENCE_OWNER_KINDS: readonly ["motion", "object", "audio", "track"];
|
|
135
|
+
export type MediaPresenceOwnerKind = (typeof MEDIA_PRESENCE_OWNER_KINDS)[number];
|
|
136
|
+
/** The same list as a Zod enum, for the cap input that carries it. */
|
|
137
|
+
export declare const MediaPresenceOwnerKindSchema: z.ZodEnum<{
|
|
138
|
+
motion: 'motion';
|
|
139
|
+
object: 'object';
|
|
140
|
+
audio: 'audio';
|
|
141
|
+
track: 'track';
|
|
142
|
+
}>;
|
|
123
143
|
/** True when this key's owner is one of the three event tables. */
|
|
124
144
|
export declare function isEventOwnerType(ownerType: MediaOwnerType): ownerType is EventOwnerType;
|
|
@@ -244,12 +244,6 @@ var WELL_KNOWN_TABS = [
|
|
|
244
244
|
icon: "circle-dot",
|
|
245
245
|
order: 40
|
|
246
246
|
},
|
|
247
|
-
{
|
|
248
|
-
id: "clips",
|
|
249
|
-
label: "Clips",
|
|
250
|
-
icon: "clapperboard",
|
|
251
|
-
order: 41
|
|
252
|
-
},
|
|
253
247
|
{
|
|
254
248
|
id: "engine",
|
|
255
249
|
label: "Inference Engine",
|
|
@@ -3770,6 +3764,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3770
3764
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3771
3765
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3772
3766
|
listEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listEventMedia", "query", input),
|
|
3767
|
+
ownersWithMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "ownersWithMedia", "query", input),
|
|
3773
3768
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3774
3769
|
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3775
3770
|
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|
|
@@ -244,12 +244,6 @@ var WELL_KNOWN_TABS = [
|
|
|
244
244
|
icon: "circle-dot",
|
|
245
245
|
order: 40
|
|
246
246
|
},
|
|
247
|
-
{
|
|
248
|
-
id: "clips",
|
|
249
|
-
label: "Clips",
|
|
250
|
-
icon: "clapperboard",
|
|
251
|
-
order: 41
|
|
252
|
-
},
|
|
253
247
|
{
|
|
254
248
|
id: "engine",
|
|
255
249
|
label: "Inference Engine",
|
|
@@ -3770,6 +3764,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3770
3764
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
3771
3765
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
3772
3766
|
listEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listEventMedia", "query", input),
|
|
3767
|
+
ownersWithMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "ownersWithMedia", "query", input),
|
|
3773
3768
|
searchObjectEvents: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "searchObjectEvents", "query", input),
|
|
3774
3769
|
wipeObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "wipeObjectEmbeddings", "mutation", input),
|
|
3775
3770
|
rebuildObjectEmbeddings: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "rebuildObjectEmbeddings", "mutation", input),
|