@camstack/types 1.2.161 → 1.2.163
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 +14 -43
- package/dist/addon.mjs +14 -43
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/index.d.ts +7 -5
- package/dist/capabilities/notifier.cap.d.ts +3 -3
- package/dist/capabilities/pet-feeder.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/storage-occupancy.cap.d.ts +72 -0
- package/dist/capabilities/storage-provider.cap.d.ts +110 -11
- package/dist/capabilities/storage.cap.d.ts +43 -22
- package/dist/capabilities/stream-broker.cap.d.ts +1 -1
- package/dist/enums/event-category.d.ts +13 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-b8kBSOTT.js → event-category-BVo6ta6_.js} +13 -0
- package/dist/{event-category-zAv7pMUz.mjs → event-category-CnLqLOKs.mjs} +13 -0
- package/dist/generated/addon-api.d.ts +22 -7
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +17 -15
- package/dist/index.js +2049 -1702
- package/dist/index.mjs +2028 -1703
- package/dist/interfaces/event-bus.d.ts +19 -0
- package/dist/interfaces/storage-location-mode.d.ts +135 -0
- package/dist/interfaces/storage-location.d.ts +79 -4
- package/dist/node.d.ts +13 -11
- package/dist/node.js +935 -876
- package/dist/node.mjs +936 -879
- package/dist/{sleep-DDIFZGbc.js → sleep-BZtO-eFY.js} +1 -1
- package/dist/{sleep-Cfij6Jj9.mjs → sleep-Bd-Y4RUt.mjs} +1 -1
- package/dist/storage/physical-root.d.ts +25 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -60,11 +60,6 @@ export type * from './interfaces/kernel-abstractions.js';
|
|
|
60
60
|
export type * from './interfaces/lifecycle.js';
|
|
61
61
|
export type * from './interfaces/logging.js';
|
|
62
62
|
export { LOG_LEVEL_RANK, logLevelAtMost } from './interfaces/logging.js';
|
|
63
|
-
export type { LogChannelDescriptor, LogChannelWindow, } from './logging/log-channel.js';
|
|
64
|
-
export { LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowSchema, } from './logging/log-channel.js';
|
|
65
|
-
export type { LogChannelApplyInput, LogChannelApplyOut, LogChannelsProviderHandle, LogChannelsProviderOptions, } from './logging/log-channel-provider.js';
|
|
66
|
-
export { createLogChannelsProvider, LOG_CHANNEL_TICK_MS } from './logging/log-channel-provider.js';
|
|
67
|
-
export { __resetLogChannelRegistryForTests, declareLogChannel, getLogChannelRegistry, } from './logging/log-channel.singleton.js';
|
|
68
63
|
export type * from './interfaces/metrics-provider.js';
|
|
69
64
|
export type * from './interfaces/network.js';
|
|
70
65
|
export type * from './interfaces/network-quality.js';
|
|
@@ -91,21 +86,28 @@ export type * from './interfaces/server-analysis.js';
|
|
|
91
86
|
export * from './interfaces/server-analysis.js';
|
|
92
87
|
export type * from './interfaces/server-network.js';
|
|
93
88
|
export type * from './interfaces/storage.js';
|
|
94
|
-
export type { StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
|
|
95
|
-
export { StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
89
|
+
export type { LegacyStorageLocationDefault, StorageDrainProgress, StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
|
|
90
|
+
export { gbToBytes, isLocationEnabled, LegacyStorageLocationDefaultSchema, STORAGE_BYTES_PER_GB, StorageDrainProgressSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
96
91
|
export type { StorageAccess, StorageLocationDeclaration, } from './interfaces/storage-location-declaration.js';
|
|
97
92
|
export { STORAGE_ACCESS_FALLBACK, StorageAccessSchema, StorageLocationDeclarationSchema, } from './interfaces/storage-location-declaration.js';
|
|
93
|
+
export type { StorageEvictionPolicy, StorageLocationMode, StorageLocationModePatch, StorageLocationStateSource, } from './interfaces/storage-location-mode.js';
|
|
94
|
+
export { evictionPolicyForMode, evictionPolicyOfLocation, isStorageLocationMode, LEGACY_READ_ONLY_CONFIG_KEY, legacyModeOf, mayReadLocation, mayWriteToLocation, modeMayRead, modeMayWrite, resolveLocationMode, STORAGE_LOCATION_MODES, StorageEvictionPolicySchema, StorageLocationModeSchema, strippedOfLegacyReadOnly, withLocationMode, } from './interfaces/storage-location-mode.js';
|
|
98
95
|
export * from './interfaces/stream-broker.js';
|
|
99
96
|
export type * from './interfaces/task-handler.js';
|
|
100
97
|
export type { Timezone, TimezoneDstRule, Weekday } from './interfaces/timezones.js';
|
|
101
98
|
export { findTimezone, TIMEZONES } from './interfaces/timezones.js';
|
|
99
|
+
export type { LogChannelDescriptor, LogChannelWindow, } from './logging/log-channel.js';
|
|
100
|
+
export { LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowSchema, } from './logging/log-channel.js';
|
|
101
|
+
export { __resetLogChannelRegistryForTests, declareLogChannel, getLogChannelRegistry, } from './logging/log-channel.singleton.js';
|
|
102
|
+
export type { LogChannelApplyInput, LogChannelApplyOut, LogChannelsProviderHandle, LogChannelsProviderOptions, } from './logging/log-channel-provider.js';
|
|
103
|
+
export { createLogChannelsProvider, LOG_CHANNEL_TICK_MS } from './logging/log-channel-provider.js';
|
|
104
|
+
export type { FailureCounterSample, FailureObservation, FailureReasonCount, } from './metrics/failure-counters.js';
|
|
105
|
+
export { FailureCounters, failureRate, MAX_KEYS, MAX_REASONS_PER_KEY, OVERFLOW_REASON, } from './metrics/failure-counters.js';
|
|
106
|
+
export type { LoadBucket, LoadBucketKind, LoadPoint, LoadProcessRow, } from './metrics/load-series-fold.js';
|
|
107
|
+
export { foldSnapshotByFunction, ROOT_BUCKET_KEY, reducePoints, resolveBucketMs, UNATTRIBUTED_BUCKET_KEY, } from './metrics/load-series-fold.js';
|
|
102
108
|
export type { AwaitReadyOptions, ReadinessHandler, ReadinessRegistryOptions, ReadinessTransition, } from './readiness/index.js';
|
|
103
109
|
export { emitDownForOwnedCaps, ReadinessRegistry, ReadinessTimeoutError, readinessKey, scopeKey, } from './readiness/index.js';
|
|
104
110
|
export * from './stream-selection.js';
|
|
105
|
-
export { ROOT_BUCKET_KEY, UNATTRIBUTED_BUCKET_KEY, foldSnapshotByFunction, reducePoints, resolveBucketMs, } from './metrics/load-series-fold.js';
|
|
106
|
-
export type { LoadBucket, LoadBucketKind, LoadPoint, LoadProcessRow, } from './metrics/load-series-fold.js';
|
|
107
|
-
export { FailureCounters, MAX_KEYS, MAX_REASONS_PER_KEY, OVERFLOW_REASON, failureRate, } from './metrics/failure-counters.js';
|
|
108
|
-
export type { FailureCounterSample, FailureObservation, FailureReasonCount, } from './metrics/failure-counters.js';
|
|
109
111
|
export type { AgentAddonConfig, AgentPipelineSettings, CameraPipelineSettings, CameraStepOverridePatch, DeviceStepConfig, } from './types/agent-pipeline-settings.js';
|
|
110
112
|
export * from './types/analytics.js';
|
|
111
113
|
export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
|
|
@@ -132,22 +134,20 @@ export * from './capabilities/index.js';
|
|
|
132
134
|
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, getAudioMacroClassIds, mapAudioLabelToMacro, YAMNET_TO_MACRO, } from './catalogs/audio-classmap.js';
|
|
133
135
|
export { COCO_80_LABELS, COCO_TO_MACRO, DETECTION_MACRO_CLASSES, isDetectionMacroClass, MACRO_LABELS, } from './catalogs/coco-classmap.js';
|
|
134
136
|
export { DEVICE_STATE_READERS, readDeviceStateFrom, stateVocabularyFor, } from './catalogs/device-state-vocabulary.js';
|
|
135
|
-
export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, isSourceCap, type SensorEdgeIgnoreReason, type SensorEdgeInput, type SensorEdgeVerdict, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_CAPS, SOURCE_DEVICE_TYPES, sliceActiveValue, sliceChangedAt, } from './catalogs/sensor-active-state.js';
|
|
136
137
|
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf, TAXONOMY_COLORS, } from './catalogs/event-taxonomy.js';
|
|
137
138
|
export { buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomy, type NcTaxonomyEntry, NcTaxonomyEntrySchema, NcTaxonomySchema, } from './catalogs/nc-taxonomy.js';
|
|
139
|
+
export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, isSourceCap, type SensorEdgeIgnoreReason, type SensorEdgeInput, type SensorEdgeVerdict, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_CAPS, SOURCE_DEVICE_TYPES, sliceActiveValue, sliceChangedAt, } from './catalogs/sensor-active-state.js';
|
|
138
140
|
export * from './constants.js';
|
|
139
|
-
export { CONTAINER_CHILD_PRIORITY, resolveContainerPrimaryChild, type ContainerChildRef, } from './device/container-primary-child.js';
|
|
140
141
|
export type { AccessoryKindValue } from './device/accessory.js';
|
|
141
142
|
export { ACCESSORY_LABEL, AccessoryKind, accessoryStableId, } from './device/accessory.js';
|
|
142
143
|
export type { AccessoryChildSpec } from './device/base-device.js';
|
|
143
144
|
export { BaseDevice } from './device/base-device.js';
|
|
144
145
|
export type { DeviceRestoreReport, DeviceSummary, DiscoveryCandidate, FieldProbeResult, } from './device/base-device-provider.js';
|
|
145
146
|
export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provider.js';
|
|
146
|
-
export type { DeviceRestoreRetrySchedulerOptions, InitialRestoreFailure, PermanentRestoreFailure, PermanentRestoreFailureHandler, RestoreAttemptFn, } from './device/device-restore-retry.js';
|
|
147
|
-
export { DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DeviceRestoreRetryScheduler, } from './device/device-restore-retry.js';
|
|
148
147
|
export type { BatteryPresence, BatteryPresenceInput } from './device/battery-presence.js';
|
|
149
148
|
export { BATTERY_UNREACHABLE_AFTER_MS, deriveBatteryPresence, isBatteryPresenceFault, } from './device/battery-presence.js';
|
|
150
149
|
export type { ICameraDevice, StreamSourceEntry } from './device/camera-device.js';
|
|
150
|
+
export { CONTAINER_CHILD_PRIORITY, type ContainerChildRef, resolveContainerPrimaryChild, } from './device/container-primary-child.js';
|
|
151
151
|
export type { DeclarationPlacement, DeclaredDeviceOutcome, DeclaredDevicePorts, DeclaredDeviceRow, DeclaredDevicesResult, DeclaredDevicesSpec, DeclaredIntegrationRow, DeviceDeclaration, } from './device/declared-device.js';
|
|
152
152
|
export { DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DeclaredDevices, declarationOwnerNodeId, } from './device/declared-device.js';
|
|
153
153
|
export type { IDevice } from './device/device.js';
|
|
@@ -159,6 +159,8 @@ export { DEVICE_TYPE_CONTROL_KIND, hasMotionTrigger, isNode, MOTION_TRIGGER_FEAT
|
|
|
159
159
|
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceCapDisplayOverride, DeviceDiscovery, DeviceDisplayOverride, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, RoleDisplayDefault, SavedDevice, } from './device/device-management.js';
|
|
160
160
|
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device/device-profile.js';
|
|
161
161
|
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device/device-profile.js';
|
|
162
|
+
export type { DeviceRestoreRetrySchedulerOptions, InitialRestoreFailure, PermanentRestoreFailure, PermanentRestoreFailureHandler, RestoreAttemptFn, } from './device/device-restore-retry.js';
|
|
163
|
+
export { DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DeviceRestoreRetryScheduler, } from './device/device-restore-retry.js';
|
|
162
164
|
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
163
165
|
export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
164
166
|
export type { SliceEventBus, SliceHandle, SliceHandleApi, SliceHandleSource, } from './device/device-state-handle.js';
|