@camstack/types 1.2.179 → 1.2.181
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/capabilities/data-store-provider.cap.d.ts +4 -2
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/motion.cap.d.ts +18 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +30 -8
- package/dist/capabilities/pipeline-runner.cap.d.ts +8 -2
- package/dist/capabilities/settings-store.cap.d.ts +4 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +302 -12
- package/dist/index.mjs +297 -13
- package/dist/interfaces/pipeline-runner-capability.d.ts +2 -0
- package/dist/interfaces/storage.d.ts +19 -2
- package/dist/media/media-owner-key.d.ts +90 -0
- package/package.json +1 -1
|
@@ -114,10 +114,12 @@ export declare const dataStoreProviderCapability: {
|
|
|
114
114
|
namespace: z.ZodOptional<z.ZodString>;
|
|
115
115
|
collection: z.ZodString;
|
|
116
116
|
record: z.ZodObject<{
|
|
117
|
-
id: z.ZodString
|
|
117
|
+
id: z.ZodOptional<z.ZodString>;
|
|
118
118
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
119
119
|
}, z.core.$strip>;
|
|
120
|
-
}, z.core.$strip>, z.
|
|
120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
122
|
+
}, z.core.$strip>, "mutation">;
|
|
121
123
|
/** Insert many records in ONE transaction. All or nothing. */
|
|
122
124
|
readonly insertMany: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
123
125
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -82,7 +82,7 @@ export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapabili
|
|
|
82
82
|
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
83
83
|
export { type INotificationRulesProvider, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleAction, NcRuleActionSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcRuleInput, NcRuleInputSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
84
84
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
85
|
-
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, type SummariesPage, type Summary, type SummaryDetail, SummarySchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
85
|
+
export { type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, SUMMARIES_DEFAULT_LIMIT, SUMMARIES_MAX_LIMIT, type SummariesPage, type Summary, type SummaryDetail, SummarySchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
86
86
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
87
87
|
export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
88
88
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
@@ -166,7 +166,7 @@ export { type ILockControlProvider, type LockControlStatus, LockControlStatusSch
|
|
|
166
166
|
export { type MaskGridDims, MaskGridDimsSchema, type MaskGridShape, MaskGridShapeSchema, type MaskLineShape, MaskLineShapeSchema, type MaskPoint, MaskPointSchema, type MaskPolygonShape, MaskPolygonShapeSchema, type MaskPolygonVertices, MaskPolygonVerticesSchema, type MaskRectShape, MaskRectShapeSchema, type MaskShape, type MaskShapeKind, MaskShapeKindSchema, MaskShapeSchema, } from './mask-shape.js';
|
|
167
167
|
export { type IMediaPlayerProvider, type MediaInfo, type MediaPlayerRepeat, MediaPlayerRepeatSchema, type MediaPlayerState, MediaPlayerStateSchema, type MediaPlayerStatus, MediaPlayerStatusSchema, mediaPlayerCapability, } from './media-player.cap.js';
|
|
168
168
|
export { type IMeshNetworkProvider, type MeshEndpoint, type MeshPeer, MeshPeerSchema, type MeshStatus, MeshStatusSchema, meshNetworkCapability, } from './mesh-network.cap.js';
|
|
169
|
-
export { type IMotionProvider, type MotionOnMotionChangedData, MotionOnMotionChangedDataSchema, type MotionStatus, MotionStatusSchema, motionCapability, } from './motion.cap.js';
|
|
169
|
+
export { type IMotionProvider, MOTION_CLOSE_AFTER_MS, type MotionOnMotionChangedData, MotionOnMotionChangedDataSchema, type MotionStatus, MotionStatusSchema, motionCapability, } from './motion.cap.js';
|
|
170
170
|
export { type IMotionTriggerProvider, type MotionTriggerRuntimeState, MotionTriggerRuntimeStateSchema, type MotionTriggerStatus, MotionTriggerStatusSchema, motionTriggerCapability, } from './motion-trigger.cap.js';
|
|
171
171
|
export { type IMotionZonesProvider, type MotionZoneOptions, MotionZoneOptionsSchema, type MotionZonePatch, MotionZonePatchSchema, type MotionZoneRegion, MotionZoneRegionSchema, type MotionZoneStatus, MotionZoneStatusSchema, motionZonesCapability, } from './motion-zones.cap.js';
|
|
172
172
|
export { type INativeObjectDetectionProvider, type NativeDetection, NativeDetectionSchema, type NativeObjectClass, NativeObjectClassEnum, type NativeObjectDetectionRuntimeState, NativeObjectDetectionRuntimeStateSchema, type NativeObjectDetectionStatus, NativeObjectDetectionStatusSchema, nativeObjectDetectionCapability, } from './native-object-detection.cap.js';
|
|
@@ -13,6 +13,19 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
13
13
|
* (alert-center, advanced-notifier) can subscribe once and receive
|
|
14
14
|
* motion from every camera.
|
|
15
15
|
*/
|
|
16
|
+
/**
|
|
17
|
+
* How long after a camera's last rising edge `pipeline-analytics` closes the
|
|
18
|
+
* motion EPISODE row it kept open for it (D475) — "il delay della cap", in
|
|
19
|
+
* the operator's words. One authority for the whole system: every provider
|
|
20
|
+
* that seeds `autoClearAfterMs` on a `Camera` device writes this SAME
|
|
21
|
+
* constant while `detected: true` (never its own number — Hikvision used to
|
|
22
|
+
* seed its internal 3 s inactivity timer here, which is a different clock for
|
|
23
|
+
* a different purpose), and `MotionEpisodeTracker` imports it directly rather
|
|
24
|
+
* than reading the live cap value on the hot path. A `Sensor` device (HA
|
|
25
|
+
* binary sensor, Homematic) gets a genuine push both ways and has no episode
|
|
26
|
+
* to close on a timer, so it writes `null`, never this constant.
|
|
27
|
+
*/
|
|
28
|
+
export declare const MOTION_CLOSE_AFTER_MS = 15000;
|
|
16
29
|
export declare const MotionStatusSchema: z.ZodObject<{
|
|
17
30
|
detected: z.ZodBoolean;
|
|
18
31
|
lastDetectedAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -132,7 +145,11 @@ export declare const motionCapability: {
|
|
|
132
145
|
autoClearAfterMs: z.ZodNullable<z.ZodNumber>;
|
|
133
146
|
}, z.core.$strip>;
|
|
134
147
|
/**
|
|
135
|
-
* Runtime-state durability: **session** —
|
|
148
|
+
* Runtime-state durability: **session** — every writer of this slice
|
|
149
|
+
* writes only on an EDGE, so a restored `detected: true` would stay
|
|
150
|
+
* frozen until the next one instead of being corrected. The next edge
|
|
151
|
+
* re-publishes the real state. (On who the writers are, and why there
|
|
152
|
+
* is more than one, see `autoClearAfterMs` above.)
|
|
136
153
|
*
|
|
137
154
|
* See `RuntimeStateDurability`. Enforced by
|
|
138
155
|
* `scripts/check-runtime-state-durability.ts`.
|
|
@@ -539,11 +539,15 @@ declare const MotionEventSchema: z.ZodObject<{
|
|
|
539
539
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
540
540
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
541
541
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
542
|
-
|
|
542
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
543
|
+
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
544
|
+
id: z.ZodNumber;
|
|
543
545
|
deviceId: z.ZodNumber;
|
|
544
546
|
timestamp: z.ZodNumber;
|
|
545
547
|
}, z.core.$strip>;
|
|
546
548
|
export type MotionEvent = z.infer<typeof MotionEventSchema>;
|
|
549
|
+
/** An event BEFORE it has an id — see {@link ObjectEventDraft} (D474). */
|
|
550
|
+
export type MotionEventDraft = Omit<MotionEvent, 'id'>;
|
|
547
551
|
/**
|
|
548
552
|
* Which detection SOURCE produced an object event. `pipeline` = the ML
|
|
549
553
|
* detection pipeline (decoded-frame inference); `onboard` = the camera's
|
|
@@ -659,13 +663,24 @@ declare const ObjectEventSchema: z.ZodObject<{
|
|
|
659
663
|
onboard: "onboard";
|
|
660
664
|
}>>;
|
|
661
665
|
frameId: z.ZodOptional<z.ZodString>;
|
|
666
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
662
667
|
trackId: z.ZodOptional<z.ZodString>;
|
|
663
668
|
className: z.ZodString;
|
|
664
|
-
id: z.
|
|
669
|
+
id: z.ZodNumber;
|
|
665
670
|
deviceId: z.ZodNumber;
|
|
666
671
|
timestamp: z.ZodNumber;
|
|
667
672
|
}, z.core.$strip>;
|
|
668
673
|
export type ObjectEvent = z.infer<typeof ObjectEventSchema>;
|
|
674
|
+
/**
|
|
675
|
+
* An event BEFORE it has an id (D474).
|
|
676
|
+
*
|
|
677
|
+
* The id is the ROWID the database assigns, so no producer upstream of the
|
|
678
|
+
* write can name it: a frame processor, a detector or a classifier builds a
|
|
679
|
+
* DRAFT, `insert` returns the id, and only then does an `ObjectEvent` exist.
|
|
680
|
+
* A draft must never be handed to anything that owns media, names an event on
|
|
681
|
+
* the bus, or feeds a notification rule — those all address a row by id.
|
|
682
|
+
*/
|
|
683
|
+
export type ObjectEventDraft = Omit<ObjectEvent, 'id'>;
|
|
669
684
|
declare const AudioEventSchema: z.ZodObject<{
|
|
670
685
|
kind: z.ZodLiteral<"audio">;
|
|
671
686
|
rms: z.ZodNumber;
|
|
@@ -676,11 +691,13 @@ declare const AudioEventSchema: z.ZodObject<{
|
|
|
676
691
|
score: z.ZodNumber;
|
|
677
692
|
}, z.core.$strip>>;
|
|
678
693
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
679
|
-
id: z.
|
|
694
|
+
id: z.ZodNumber;
|
|
680
695
|
deviceId: z.ZodNumber;
|
|
681
696
|
timestamp: z.ZodNumber;
|
|
682
697
|
}, z.core.$strip>;
|
|
683
698
|
export type AudioEvent = z.infer<typeof AudioEventSchema>;
|
|
699
|
+
/** An event BEFORE it has an id — see {@link ObjectEventDraft} (D474). */
|
|
700
|
+
export type AudioEventDraft = Omit<AudioEvent, 'id'>;
|
|
684
701
|
declare const MediaFileKindEnum: z.ZodEnum<{
|
|
685
702
|
crop: "crop";
|
|
686
703
|
snapshot: "snapshot";
|
|
@@ -1559,9 +1576,10 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
|
|
|
1559
1576
|
onboard: "onboard";
|
|
1560
1577
|
}>>;
|
|
1561
1578
|
frameId: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1562
1580
|
trackId: z.ZodOptional<z.ZodString>;
|
|
1563
1581
|
className: z.ZodString;
|
|
1564
|
-
id: z.
|
|
1582
|
+
id: z.ZodNumber;
|
|
1565
1583
|
deviceId: z.ZodNumber;
|
|
1566
1584
|
timestamp: z.ZodNumber;
|
|
1567
1585
|
score: z.ZodNumber;
|
|
@@ -2267,7 +2285,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2267
2285
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2268
2286
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2269
2287
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
2270
|
-
|
|
2288
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2289
|
+
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
2290
|
+
id: z.ZodNumber;
|
|
2271
2291
|
deviceId: z.ZodNumber;
|
|
2272
2292
|
timestamp: z.ZodNumber;
|
|
2273
2293
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -2339,9 +2359,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2339
2359
|
onboard: "onboard";
|
|
2340
2360
|
}>>;
|
|
2341
2361
|
frameId: z.ZodOptional<z.ZodString>;
|
|
2362
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2342
2363
|
trackId: z.ZodOptional<z.ZodString>;
|
|
2343
2364
|
className: z.ZodString;
|
|
2344
|
-
id: z.
|
|
2365
|
+
id: z.ZodNumber;
|
|
2345
2366
|
deviceId: z.ZodNumber;
|
|
2346
2367
|
timestamp: z.ZodNumber;
|
|
2347
2368
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -2364,7 +2385,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2364
2385
|
score: z.ZodNumber;
|
|
2365
2386
|
}, z.core.$strip>>;
|
|
2366
2387
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
2367
|
-
id: z.
|
|
2388
|
+
id: z.ZodNumber;
|
|
2368
2389
|
deviceId: z.ZodNumber;
|
|
2369
2390
|
timestamp: z.ZodNumber;
|
|
2370
2391
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -4016,9 +4037,10 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4016
4037
|
onboard: "onboard";
|
|
4017
4038
|
}>>;
|
|
4018
4039
|
frameId: z.ZodOptional<z.ZodString>;
|
|
4040
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
4019
4041
|
trackId: z.ZodOptional<z.ZodString>;
|
|
4020
4042
|
className: z.ZodString;
|
|
4021
|
-
id: z.
|
|
4043
|
+
id: z.ZodNumber;
|
|
4022
4044
|
deviceId: z.ZodNumber;
|
|
4023
4045
|
timestamp: z.ZodNumber;
|
|
4024
4046
|
score: z.ZodNumber;
|
|
@@ -17,6 +17,7 @@ export declare const NativeCropBboxSchema: z.ZodObject<{
|
|
|
17
17
|
export declare const NativeCropResultSchema: z.ZodObject<{
|
|
18
18
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
19
19
|
jpeg: z.ZodOptional<z.ZodString>;
|
|
20
|
+
jpegBytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
20
21
|
width: z.ZodNumber;
|
|
21
22
|
height: z.ZodNumber;
|
|
22
23
|
tier: z.ZodOptional<z.ZodEnum<{
|
|
@@ -80,7 +81,8 @@ export declare const ParkTrackFrameResultSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
80
81
|
export type ParkTrackFrameResult = z.infer<typeof ParkTrackFrameResultSchema>;
|
|
81
82
|
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
82
83
|
export declare const ParkedTrackFrameSchema: z.ZodObject<{
|
|
83
|
-
jpeg: z.ZodString
|
|
84
|
+
jpeg: z.ZodOptional<z.ZodString>;
|
|
85
|
+
jpegBytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
84
86
|
width: z.ZodNumber;
|
|
85
87
|
height: z.ZodNumber;
|
|
86
88
|
timestamp: z.ZodNumber;
|
|
@@ -804,10 +806,12 @@ export declare const pipelineRunnerCapability: {
|
|
|
804
806
|
h: z.ZodNumber;
|
|
805
807
|
}, z.core.$strip>;
|
|
806
808
|
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
809
|
+
acceptJpegBytes: z.ZodOptional<z.ZodBoolean>;
|
|
807
810
|
encodeJpeg: z.ZodOptional<z.ZodBoolean>;
|
|
808
811
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
809
812
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
810
813
|
jpeg: z.ZodOptional<z.ZodString>;
|
|
814
|
+
jpegBytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
811
815
|
width: z.ZodNumber;
|
|
812
816
|
height: z.ZodNumber;
|
|
813
817
|
tier: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1072,8 +1076,10 @@ export declare const pipelineRunnerCapability: {
|
|
|
1072
1076
|
keyFrame: "keyFrame";
|
|
1073
1077
|
thumbnail: "thumbnail";
|
|
1074
1078
|
}>;
|
|
1079
|
+
acceptJpegBytes: z.ZodOptional<z.ZodBoolean>;
|
|
1075
1080
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
1076
|
-
jpeg: z.ZodString
|
|
1081
|
+
jpeg: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
jpegBytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
1077
1083
|
width: z.ZodNumber;
|
|
1078
1084
|
height: z.ZodNumber;
|
|
1079
1085
|
timestamp: z.ZodNumber;
|
|
@@ -200,10 +200,12 @@ export declare const settingsStoreCapability: {
|
|
|
200
200
|
namespace: z.ZodOptional<z.ZodString>;
|
|
201
201
|
collection: z.ZodString;
|
|
202
202
|
record: z.ZodObject<{
|
|
203
|
-
id: z.ZodString
|
|
203
|
+
id: z.ZodOptional<z.ZodString>;
|
|
204
204
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
205
205
|
}, z.core.$strip>;
|
|
206
|
-
}, z.core.$strip>, z.
|
|
206
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
208
|
+
}, z.core.$strip>, "mutation">;
|
|
207
209
|
/**
|
|
208
210
|
* Insert MANY records in ONE transaction, returning how many landed.
|
|
209
211
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './audio/audio-chunk-format.js';
|
|
2
|
+
export type { EventOwnerType, MediaOwnerKey, MediaOwnerKeyInput, MediaOwnerType, } from './media/media-owner-key.js';
|
|
3
|
+
export { EVENT_OWNER_TYPES, MEDIA_OWNER_TYPES, formatMediaOwnerKey, isEventOwnerType, parseMediaOwnerKey, } from './media/media-owner-key.js';
|
|
2
4
|
export type { CapabilitiesAccess } from './addon/base-addon.js';
|
|
3
5
|
export { BaseAddon, normalizeAddonInitResult } from './addon/base-addon.js';
|
|
4
6
|
export type { AddonRouteInvokeRequest, AddonRouteReplyEnvelope, } from './addon/build-addon-route-provider.js';
|