@camstack/types 1.2.258 → 1.2.260
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 +12 -2
- package/dist/addon.mjs +12 -2
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/custom-model-registry.cap.d.ts +0 -12
- package/dist/capabilities/decoder.cap.d.ts +12 -12
- package/dist/capabilities/index.d.ts +3 -3
- package/dist/capabilities/load-contribution.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +0 -6
- package/dist/capabilities/model-distributor.cap.d.ts +0 -12
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/notification-rules.cap.d.ts +572 -18
- package/dist/capabilities/osd-manager.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-analytics.cap.d.ts +50 -127
- package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -64
- package/dist/capabilities/pipeline-runner.cap.d.ts +18 -6
- package/dist/capabilities/platform-probe.cap.d.ts +4 -13
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
- package/dist/capabilities/stream-broker.cap.d.ts +9 -9
- package/dist/capabilities/system.cap.d.ts +2 -2
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/capabilities/videoclips.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
- package/dist/generated/addon-api.d.ts +9 -9
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1785 -1406
- package/dist/index.mjs +1770 -1402
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
- package/dist/interfaces/platform.d.ts +2 -2
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/notification/system-event-summary.d.ts +83 -0
- package/dist/notification/template-vars.d.ts +15 -0
- package/dist/{sleep-DtomDrRW.js → sleep-BDYxE1ax.js} +1 -1
- package/dist/{sleep-DU7mu4wb.mjs → sleep-BaRu0bS5.mjs} +1 -1
- package/dist/types/detection.d.ts +18 -0
- package/dist/types/models.d.ts +0 -19
- package/dist/types/pipeline-step.d.ts +9 -1
- package/dist/types/pipeline.d.ts +2 -1
- package/dist/utils/background-run-registry.d.ts +69 -0
- package/dist/utils/runtime-mapping.d.ts +9 -54
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -230,9 +230,10 @@ export { conditionExclusionReason, conditionVisibleForKind, defaultDeliveryForSe
|
|
|
230
230
|
export { isScheduleActive } from './notification/schedule.js';
|
|
231
231
|
export { NC_ALARM_OPENING_EVENT_KINDS, NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING, type NcAlarmMembershipSubject, type NcAlarmOpeningEventKind, ruleBelongsToAlarm, sensorTransitionNeverFires, } from './notification/alarm-membership.js';
|
|
232
232
|
export { NC_SENSOR_RAISED_FIELD_BY_KIND, NC_SENSOR_TRANSITION_KINDS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, sensorRaisedOf, sensorTransitionOffered, } from './notification/sensor-raised.js';
|
|
233
|
-
export { NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, isKnownTemplateVar, servedTemplateVars, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
|
|
233
|
+
export { NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, isHeldBackTemplateVar, isKnownTemplateVar, servedTemplateVars, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, templateVarsFor, } from './notification/template-vars.js';
|
|
234
234
|
export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
|
|
235
235
|
export { describeSystemEventFamilyProblem, isSystemEventFamily, NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS, NC_SYSTEM_EVENT_FAMILIES, NC_SYSTEM_EVENT_FAMILY, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, type NcSystemEventConditionFilterKey, type NcSystemEventFamily, type NcSystemEventFamilyProblem, type NcSystemEventFamilyVerdict, type NcSystemEventKindGroupSpec, systemEventFamilyOf, systemEventFamilyProblems, systemEventKindNamesOf, systemEventKindsOfFamily, } from './notification/system-event-families.js';
|
|
236
|
+
export { describeSystemEventDeliveryProblem, isSystemEventSummaryRule, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, type NcSummarySendTime, type NcSystemEventDeliveryProblem, type NcSystemEventDeliverySubject, scheduleForSendTimes, sendTimesOfSchedule, systemEventDeliveryProblems, systemEventSummaryScheduleOf, templateCarriesSummary, } from './notification/system-event-summary.js';
|
|
236
237
|
export { NC_SERVER_PACKAGE_NAME, NC_UPDATE_EVENT_PACKAGE_NAMES, type NcInstalledPackageLike, type NcScopePickerItem, nodePickerItems, packagePickerItems, } from './notification/scope-picker-items.js';
|
|
237
238
|
export type { TimelapseCadencePair, TimelapsePreviewMode, TimelapseRule, TimelapseRuleInput, TimelapseRulePatch, TimelapseTemplate, } from './notification/timelapse-rule.js';
|
|
238
239
|
export { assertTimelapseCadences, DEFAULT_TIMELAPSE_PREVIEW_TEXT, readTimelapseGeneratedAt, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, } from './notification/timelapse-rule.js';
|
|
@@ -248,6 +249,7 @@ export * from './units/index.js';
|
|
|
248
249
|
export { BOOT_RECOVERY_BACKOFF_MS } from './util/boot-recovery-backoff.js';
|
|
249
250
|
export { bestLocationMatch, locationSimilarity } from './util/location-match.js';
|
|
250
251
|
export { bareAddonId, isSameAddonId } from './utils/addon-id.js';
|
|
252
|
+
export { BackgroundRunRegistry, type BackgroundRunContext, type BackgroundRunRegistryOptions, type BackgroundRunState, type BackgroundRunStatus, } from './utils/background-run-registry.js';
|
|
251
253
|
export { cosineSimilarity } from './utils/cosine-similarity.js';
|
|
252
254
|
export { ElementConfigStore } from './utils/element-config-store.js';
|
|
253
255
|
export { errMsg } from './utils/err-msg.js';
|
|
@@ -260,7 +262,7 @@ export { RingBuffer } from './utils/ring-buffer.js';
|
|
|
260
262
|
export type { InferenceStepResult } from './utils/run-inference-step.js';
|
|
261
263
|
export { runInferenceStep } from './utils/run-inference-step.js';
|
|
262
264
|
export type { PipelineRuntime } from './utils/runtime-mapping.js';
|
|
263
|
-
export {
|
|
265
|
+
export { DEVICE_BACKEND_TO_FORMAT, deviceBackendToFormat, formatForRuntime, PYTHON_SCRIPT, pythonScriptForBackend, RUNTIME_TO_FORMAT, requiresPython, } from './utils/runtime-mapping.js';
|
|
264
266
|
export { sleep, sleepCancellable } from './utils/sleep.js';
|
|
265
267
|
export { decodeVectorBase64, encodeVectorBase64, vectorDimFromBase64, } from './utils/vector-codec.js';
|
|
266
268
|
export { evaluateZoneRules, type ZoneRuleEvalResult } from './utils/zone-rule-eval.js';
|