@camstack/types 1.1.15 → 1.1.17
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/audio-codec.cap.d.ts +1 -0
- package/dist/capabilities/camera-streams.cap.d.ts +2 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/notification-output.cap.d.ts +503 -24
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +6 -5
- package/dist/capabilities/schemas/streaming-shared.d.ts +2 -0
- package/dist/capabilities/storage.cap.d.ts +4 -0
- package/dist/capabilities/stream-broker.cap.d.ts +5 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +2 -0
- package/dist/generated/addon-api.d.ts +392 -74
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +483 -23
- package/dist/index.mjs +465 -24
- package/dist/interfaces/notification.d.ts +24 -14
- package/dist/interfaces/storage-location-declaration.d.ts +4 -0
- package/dist/interfaces/stream-broker.d.ts +13 -2
- package/dist/notification/degrade-engine.d.ts +60 -0
- package/dist/notification/format-transcode.d.ts +19 -0
- package/dist/{sleep-BQzZ7joF.js → sleep-BabrCASa.js} +1 -0
- package/dist/{sleep-C2M2zF7x.mjs → sleep-MHm--th-.mjs} +1 -0
- package/package.json +1 -1
|
@@ -70,7 +70,7 @@ export interface SystemProxy {
|
|
|
70
70
|
readonly networkAccess: Pick<InferProvider<typeof networkAccessCapability>, 'start' | 'stop' | 'getEndpoint' | 'getStatus' | 'listEndpoints'>;
|
|
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
|
-
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'send' | '
|
|
73
|
+
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
74
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
75
|
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getDecoderAssignments' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'setAgentAddonDefaults' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
76
76
|
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -132,6 +132,8 @@ export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
|
132
132
|
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
133
133
|
export { createRuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
134
134
|
export type { RuntimeStateBridge } from './device/runtime-state-helpers.js';
|
|
135
|
+
export { prepareNotification, type PreparedAction, type PreparedAttachment, type PreparedNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
|
|
136
|
+
export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
|
|
135
137
|
export { BaseDevice } from './device/base-device.js';
|
|
136
138
|
export type { AccessoryChildSpec } from './device/base-device.js';
|
|
137
139
|
export { SourceInfoSchema, synthesizeSourceInfo, mergeSourceInfo, normalizeUnit, extractSourceInfoFromMetadata, SOURCE_INFO_METADATA_KEY, } from './device/source-info.js';
|