@camstack/types 1.1.32 → 1.1.34
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/addons.cap.d.ts +1 -1
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/cap-router-predicates.d.ts +32 -0
- package/dist/capabilities/capability-definition.d.ts +18 -13
- package/dist/capabilities/consumables.cap.d.ts +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +38 -0
- package/dist/capabilities/index.d.ts +8 -15
- package/dist/capabilities/integrations.cap.d.ts +1 -1
- package/dist/capabilities/model-convert.cap.d.ts +22 -3
- package/dist/capabilities/model-distributor.cap.d.ts +38 -0
- package/dist/capabilities/network-quality.cap.d.ts +1 -1
- package/dist/capabilities/nodes.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +161 -8
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +87 -44
- package/dist/capabilities/pipeline-runner.cap.d.ts +10 -69
- package/dist/capabilities/snapshot.cap.d.ts +3 -3
- package/dist/capabilities/stream-broker.cap.d.ts +9 -1
- package/dist/capabilities/system.cap.d.ts +1 -1
- package/dist/capabilities/toast.cap.d.ts +1 -1
- package/dist/capabilities/webrtc-session.cap.d.ts +15 -1
- package/dist/device/index.d.ts +2 -0
- package/dist/device/reachability-poll.d.ts +90 -0
- package/dist/encode-profile.d.ts +2 -2
- package/dist/enums/event-category.d.ts +12 -0
- package/dist/generated/addon-api.d.ts +771 -643
- package/dist/generated/capability-router-map.d.ts +4 -16
- package/dist/generated/device-proxy.d.ts +0 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +568 -350
- package/dist/index.mjs +551 -344
- package/dist/interfaces/capability.d.ts +0 -7
- package/dist/interfaces/event-bus.d.ts +9 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts +14 -1
- package/dist/interfaces/pipeline-runner-capability.d.ts +11 -11
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/{sleep-CZDdRBua.mjs → sleep-Cc14_yxc.mjs} +12 -4
- package/dist/{sleep-Dirr8nGw.js → sleep-DmP-uxoe.js} +12 -4
- package/dist/types/agent-pipeline-settings.d.ts +18 -6
- package/dist/types/camera-pipeline.d.ts +17 -3
- package/dist/types/model-variant-groups.d.ts +100 -0
- package/dist/types/models.d.ts +63 -3
- package/package.json +1 -1
- package/dist/capabilities/restreamer.cap.d.ts +0 -54
- package/dist/capabilities/snapshot-provider.cap.d.ts +0 -43
- package/dist/capabilities/streaming-engine.cap.d.ts +0 -61
- package/dist/capabilities/webrtc.cap.d.ts +0 -75
- package/dist/interfaces/restreamer.d.ts +0 -23
- package/dist/interfaces/streaming.d.ts +0 -28
- package/dist/interfaces/webrtc-provider.d.ts +0 -34
|
@@ -102,13 +102,11 @@ export { ptzCapability } from '../capabilities/ptz.cap.js';
|
|
|
102
102
|
export { ptzAutotrackCapability } from '../capabilities/ptz-autotrack.cap.js';
|
|
103
103
|
export { rebootCapability } from '../capabilities/reboot.cap.js';
|
|
104
104
|
export { recordingCapability } from '../capabilities/recording.cap.js';
|
|
105
|
-
export { restreamerCapability } from '../capabilities/restreamer.cap.js';
|
|
106
105
|
export { scriptRunnerCapability } from '../capabilities/script-runner.cap.js';
|
|
107
106
|
export { settingsStoreCapability } from '../capabilities/settings-store.cap.js';
|
|
108
107
|
export { smokeCapability } from '../capabilities/smoke.cap.js';
|
|
109
108
|
export { smtpProviderCapability } from '../capabilities/smtp-provider.cap.js';
|
|
110
109
|
export { snapshotCapability } from '../capabilities/snapshot.cap.js';
|
|
111
|
-
export { snapshotProviderCapability } from '../capabilities/snapshot-provider.cap.js';
|
|
112
110
|
export { ssoBridgeCapability } from '../capabilities/sso-bridge.cap.js';
|
|
113
111
|
export { storageCapability } from '../capabilities/storage.cap.js';
|
|
114
112
|
export { storageEvictableCapability } from '../capabilities/storage-evictable.cap.js';
|
|
@@ -116,7 +114,6 @@ export { storageProviderCapability } from '../capabilities/storage-provider.cap.
|
|
|
116
114
|
export { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
117
115
|
export { streamCatalogCapability } from '../capabilities/stream-catalog.cap.js';
|
|
118
116
|
export { streamParamsCapability } from '../capabilities/stream-params.cap.js';
|
|
119
|
-
export { streamingEngineCapability } from '../capabilities/streaming-engine.cap.js';
|
|
120
117
|
export { switchCapability } from '../capabilities/switch.cap.js';
|
|
121
118
|
export { systemCapability } from '../capabilities/system.cap.js';
|
|
122
119
|
export { tamperCapability } from '../capabilities/tamper.cap.js';
|
|
@@ -132,7 +129,6 @@ export { vibrationCapability } from '../capabilities/vibration.cap.js';
|
|
|
132
129
|
export { videoclipsCapability } from '../capabilities/videoclips.cap.js';
|
|
133
130
|
export { waterHeaterCapability } from '../capabilities/water-heater.cap.js';
|
|
134
131
|
export { weatherCapability } from '../capabilities/weather.cap.js';
|
|
135
|
-
export { webrtcCapability } from '../capabilities/webrtc.cap.js';
|
|
136
132
|
export { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
137
133
|
export { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
138
134
|
export { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
@@ -242,13 +238,11 @@ export declare const CAPABILITY_NAMES: {
|
|
|
242
238
|
readonly ptzAutotrack: "ptz-autotrack";
|
|
243
239
|
readonly reboot: "reboot";
|
|
244
240
|
readonly recording: "recording";
|
|
245
|
-
readonly restreamer: "restreamer";
|
|
246
241
|
readonly scriptRunner: "script-runner";
|
|
247
242
|
readonly settingsStore: "settings-store";
|
|
248
243
|
readonly smoke: "smoke";
|
|
249
244
|
readonly smtpProvider: "smtp-provider";
|
|
250
245
|
readonly snapshot: "snapshot";
|
|
251
|
-
readonly snapshotProvider: "snapshot-provider";
|
|
252
246
|
readonly ssoBridge: "sso-bridge";
|
|
253
247
|
readonly storage: "storage";
|
|
254
248
|
readonly storageEvictable: "storage-evictable";
|
|
@@ -256,7 +250,6 @@ export declare const CAPABILITY_NAMES: {
|
|
|
256
250
|
readonly streamBroker: "stream-broker";
|
|
257
251
|
readonly streamCatalog: "stream-catalog";
|
|
258
252
|
readonly streamParams: "stream-params";
|
|
259
|
-
readonly streamingEngine: "streaming-engine";
|
|
260
253
|
readonly switch: "switch";
|
|
261
254
|
readonly system: "system";
|
|
262
255
|
readonly tamper: "tamper";
|
|
@@ -272,7 +265,6 @@ export declare const CAPABILITY_NAMES: {
|
|
|
272
265
|
readonly videoclips: "videoclips";
|
|
273
266
|
readonly waterHeater: "water-heater";
|
|
274
267
|
readonly weather: "weather";
|
|
275
|
-
readonly webrtc: "webrtc";
|
|
276
268
|
readonly webrtcSession: "webrtc-session";
|
|
277
269
|
readonly zoneAnalytics: "zone-analytics";
|
|
278
270
|
readonly zoneRules: "zone-rules";
|
|
@@ -395,13 +387,11 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
395
387
|
readonly ptzAutotrack: TRouter;
|
|
396
388
|
readonly reboot: TRouter;
|
|
397
389
|
readonly recording: TRouter;
|
|
398
|
-
readonly restreamer: TRouter;
|
|
399
390
|
readonly scriptRunner: TRouter;
|
|
400
391
|
readonly settingsStore: TRouter;
|
|
401
392
|
readonly smoke: TRouter;
|
|
402
393
|
readonly smtpProvider: TRouter;
|
|
403
394
|
readonly snapshot: TRouter;
|
|
404
|
-
readonly snapshotProvider: TRouter;
|
|
405
395
|
readonly ssoBridge: TRouter;
|
|
406
396
|
readonly storage: TRouter;
|
|
407
397
|
readonly storageEvictable: TRouter;
|
|
@@ -409,7 +399,6 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
409
399
|
readonly streamBroker: TRouter;
|
|
410
400
|
readonly streamCatalog: TRouter;
|
|
411
401
|
readonly streamParams: TRouter;
|
|
412
|
-
readonly streamingEngine: TRouter;
|
|
413
402
|
readonly switch: TRouter;
|
|
414
403
|
readonly system: TRouter;
|
|
415
404
|
readonly tamper: TRouter;
|
|
@@ -425,18 +414,17 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
425
414
|
readonly videoclips: TRouter;
|
|
426
415
|
readonly waterHeater: TRouter;
|
|
427
416
|
readonly weather: TRouter;
|
|
428
|
-
readonly webrtc: TRouter;
|
|
429
417
|
readonly webrtcSession: TRouter;
|
|
430
418
|
readonly zoneAnalytics: TRouter;
|
|
431
419
|
readonly zoneRules: TRouter;
|
|
432
420
|
readonly zones: TRouter;
|
|
433
421
|
}
|
|
434
|
-
/** Capability names whose mode is `singleton` (
|
|
435
|
-
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "advanced-notifier", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "script-runner", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "
|
|
422
|
+
/** Capability names whose mode is `singleton` (115 caps). */
|
|
423
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "advanced-notifier", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "script-runner", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "switch", "system", "tamper", "temperature-sensor", "toast", "update", "user-management", "vacuum-control", "valve", "vibration", "videoclips", "water-heater", "weather", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
436
424
|
/** Union of singleton capability names (literal string union). */
|
|
437
425
|
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
438
|
-
/** Capability names whose mode is `collection` (
|
|
439
|
-
export declare const COLLECTION_CAPABILITY_NAMES: readonly ["addon-pages-source", "addon-routes", "addon-widgets-source", "auth-provider", "broker", "custom-model-registry", "device-export", "device-provider", "embedding-encoder", "log-destination", "mesh-network", "mqtt-broker", "network-access", "notification-output", "oauth-integration", "
|
|
426
|
+
/** Capability names whose mode is `collection` (20 caps). */
|
|
427
|
+
export declare const COLLECTION_CAPABILITY_NAMES: readonly ["addon-pages-source", "addon-routes", "addon-widgets-source", "auth-provider", "broker", "custom-model-registry", "device-export", "device-provider", "embedding-encoder", "log-destination", "mesh-network", "mqtt-broker", "network-access", "notification-output", "oauth-integration", "smtp-provider", "storage-evictable", "storage-provider", "turn-provider", "user-passkeys"];
|
|
440
428
|
/** Union of collection capability names (literal string union). */
|
|
441
429
|
export type CollectionCapabilityName = typeof COLLECTION_CAPABILITY_NAMES[number];
|
|
442
430
|
/** Capability mode lookup at runtime — mirrors the `.cap.ts` definitions. */
|
|
@@ -93,7 +93,6 @@ import type { pipelineOrchestratorCapability } from '../capabilities/pipeline-or
|
|
|
93
93
|
import type { pipelineRunnerCapability } from '../capabilities/pipeline-runner.cap.js';
|
|
94
94
|
import type { plateGalleryCapability } from '../capabilities/plate-gallery.cap.js';
|
|
95
95
|
import type { recordingCapability } from '../capabilities/recording.cap.js';
|
|
96
|
-
import type { snapshotProviderCapability } from '../capabilities/snapshot-provider.cap.js';
|
|
97
96
|
import type { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
98
97
|
/**
|
|
99
98
|
* Reactive read handle bag for device runtime state. Each entry mirrors the
|
|
@@ -272,7 +271,6 @@ export interface DeviceProxy {
|
|
|
272
271
|
readonly pipelineRunner: Pick<InferDeviceProxyCap<typeof pipelineRunnerCapability>, 'detachCamera' | 'getCameraMetrics'>;
|
|
273
272
|
readonly plateGallery: Pick<InferDeviceProxyCap<typeof plateGalleryCapability>, 'listPlates' | 'getPlateByTrack'>;
|
|
274
273
|
readonly recording: Pick<InferDeviceProxyCap<typeof recordingCapability>, 'getAvailability' | 'getDaysWithRecordings' | 'getPlaybackManifest' | 'getDeviceConfig' | 'locateSegment' | 'readSegmentBytes' | 'setDeviceConfig' | 'rescanStorage' | 'pruneFootage' | 'getStatus' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
275
|
-
readonly snapshotProvider: Pick<InferDeviceProxyCap<typeof snapshotProviderCapability>, 'supportsDevice' | 'getSnapshot'>;
|
|
276
274
|
readonly streamBroker: Pick<InferDeviceProxyCap<typeof streamBrokerCapability>, 'publishCameraStream' | 'retractCameraStream' | 'assignProfile' | 'unassignProfile' | 'restartProfile' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
277
275
|
}
|
|
278
276
|
/**
|
|
@@ -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: 726 method paths across 109 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -71,8 +71,8 @@ export interface SystemProxy {
|
|
|
71
71
|
readonly networkQuality: Pick<InferProvider<typeof networkQualityCapability>, 'getAllStats'>;
|
|
72
72
|
readonly nodes: Pick<InferProvider<typeof nodesCapability>, 'topology' | 'deployAddon' | 'undeployAddon' | 'restartAddon' | 'restartProcess' | 'restartNode' | 'shutdownNode' | 'renameNode' | 'clusterAddonStatus' | 'getCapUsageGraph' | 'getNodeAddons' | 'setProcessLogLevel' | 'executeQuery'>;
|
|
73
73
|
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
74
|
-
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'reprobeEngine' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'detect' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
75
|
-
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getDecoderAssignments' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'setAgentAddonDefaults' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
74
|
+
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'reprobeEngine' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'resetToDefault' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'detect' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
|
|
75
|
+
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getDecoderAssignments' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'setAgentAddonDefaults' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentReachableHost' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
76
76
|
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras'>;
|
|
77
77
|
readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate'>;
|
|
78
78
|
readonly recording: Pick<InferProvider<typeof recordingCapability>, 'getStorageUsage'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './types/events.js';
|
|
|
7
7
|
export * from './types/config.js';
|
|
8
8
|
export * from './types/entities.js';
|
|
9
9
|
export * from './types/models.js';
|
|
10
|
+
export * from './types/model-variant-groups.js';
|
|
10
11
|
export type { EngineOutput, LetterboxMeta, ModelInputMeta } from './types/engine-output.js';
|
|
11
12
|
export * from './types/pipeline.js';
|
|
12
13
|
export * from './types/pipeline-step.js';
|
|
@@ -74,7 +75,6 @@ export type { DeviceState, DeviceMetadata, DeviceEvent } from './interfaces/devi
|
|
|
74
75
|
export type { ProviderStatus, LiveEvent, IDeviceProvider } from './interfaces/device-provider.js';
|
|
75
76
|
export type * from './interfaces/device-capabilities/index.js';
|
|
76
77
|
export { classifyStream, classifyStreams, streamPixels, toStreamSourceEntry, parseCameraStreamConfig, autoAssignProfiles, } from './interfaces/device-capabilities/camera.js';
|
|
77
|
-
export type * from './interfaces/streaming.js';
|
|
78
78
|
export type * from './interfaces/auth.js';
|
|
79
79
|
export type * from './interfaces/lifecycle.js';
|
|
80
80
|
export type * from './interfaces/server-network.js';
|
|
@@ -92,11 +92,9 @@ export * from './stream-selection.js';
|
|
|
92
92
|
export type * from './interfaces/frame-handle.js';
|
|
93
93
|
export type * from './interfaces/rtp-egress.js';
|
|
94
94
|
export * from './interfaces/analysis-persistence.js';
|
|
95
|
-
export type * from './interfaces/restreamer.js';
|
|
96
95
|
export type * from './interfaces/decoder.js';
|
|
97
96
|
export type * from './interfaces/ffmpeg.js';
|
|
98
97
|
export type * from './interfaces/network-quality.js';
|
|
99
|
-
export type * from './interfaces/webrtc-provider.js';
|
|
100
98
|
export type * from './interfaces/repl.js';
|
|
101
99
|
export type * from './interfaces/platform.js';
|
|
102
100
|
export type { Integration, PersistedDevice, TypedSetting, CreateIntegrationInput, CreateDeviceInput, DeviceIdentity, IIntegrationRegistry, } from './interfaces/integration-registry.js';
|
|
@@ -134,6 +132,8 @@ export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
|
134
132
|
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
135
133
|
export { createRuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
136
134
|
export type { RuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
135
|
+
export { startReachabilityPoll, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_PROBE_TIMEOUT_MS, } from './device/reachability-poll.js';
|
|
136
|
+
export type { ReachabilityPollOptions, ReachabilityPollHandle, ReachabilityPollLogger, } from './device/reachability-poll.js';
|
|
137
137
|
export { prepareNotification, type PreparedAction, type PreparedAttachment, type PreparedNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
138
138
|
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
139
139
|
export { BaseDevice } from './device/base-device.js';
|