@camstack/types 1.2.590 → 1.2.592
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/CHANGELOG.md +17 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/device-state.cap.d.ts +4 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +18 -2
- package/dist/client.js +48 -0
- package/dist/client.mjs +48 -0
- package/dist/device/cap-vocabulary/command-catalog.d.ts +34 -1
- package/dist/device/cap-vocabulary/declaration.d.ts +21 -1
- package/dist/device/cap-vocabulary/hold-limits.d.ts +8 -0
- package/dist/device/cap-vocabulary/index.d.ts +3 -2
- package/dist/device/cap-vocabulary/types.d.ts +68 -0
- package/dist/device/command-hold.d.ts +54 -0
- package/dist/device/device-context.d.ts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +321 -11
- package/dist/index.mjs +313 -12
- package/dist/interfaces/pipeline-executor-capability.d.ts +7 -0
- package/dist/pipeline/second-pass/small-subject-recovery.d.ts +4 -8
- package/dist/{sleep-BA_SIc0O.js → sleep-D2Ny6tvi.js} +409 -43
- package/dist/{sleep-BT1bLgPq.mjs → sleep-dgC2VKW4.mjs} +386 -44
- package/dist/types/pipeline-step.d.ts +35 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -272,8 +272,8 @@ export type { AccessoryControlInput, AccessoryControlKind, AccessoryControlPick,
|
|
|
272
272
|
export { DEVICE_TYPE_CONTROL_KIND, hasMotionTrigger, isNode, MOTION_TRIGGER_FEATURE, pickAccessoryControl, resolveDeviceControlKind, resolveMutate, SENSOR_FEATURES, SENSOR_MAP, } from './device/device-control-resolution.js';
|
|
273
273
|
export * from './device/hero/index.js';
|
|
274
274
|
export { isDoPickerDeviceType } from './device/device-do-actions.js';
|
|
275
|
-
export type { CapVocabularyEntry, CapVocabularyMap, L10n as VocabL10n, ActionEffect, CommandEffect, IndexedVocabAction, VocabActionRefusal, VocabCall, LooseCapVocabularyEntry, LooseVocabEffect, LooseVocabOffer, LooseVocabOpenArg, ResolvedBooleanTrigger, ResolvedEnumTrigger, ResolvedEnumValue, ResolvedEventTrigger, ResolvedNumericTrigger, ResolvedValueTrigger, ActionGateAnswer, ActionGateAnswerOf, DynamicOfferAnswer, DynamicOfferAnswerOf, LooseVocabActionGate, ResolvedVocabAction, ResolvedVocabTrigger, VocabBindingsInput, VocabCapName, VocabLocale, CapVocabularyDecl, DeviceCapVocabularyDecl, EventVocabularyDecl, LooseMethodActionDecl, MethodActionArgs, MethodActionDecl, MethodActionEffect, MethodActionGate, MethodActionOpenArg, SystemCapVocabularyDecl, } from './device/cap-vocabulary/index.js';
|
|
276
|
-
export { actionEffect, actionGateAnswerFrom, actionOfferedWith, actionsForDevice as vocabularyActionsForDevice, deviceOffersActions, offeredActionsWith, allVocabActions, auditedFields, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, commandEffect, findVocabAction, isCommand, renderVocabPhrase, triggersForDevice as vocabularyTriggersForDevice, VOCAB_TEMPLATES, vocabActionIdFor, vocabCall, VocabActionError, assertDeviceOffers, NOT_A_DEVICE, } from './device/cap-vocabulary/index.js';
|
|
275
|
+
export type { CapVocabularyEntry, CapVocabularyMap, L10n as VocabL10n, ActionEffect, CommandEffect, CommandSlice, LooseVocabActionHold, LooseVocabSideEffect, VocabEffectCondition, VocabEffectValue, IndexedVocabAction, VocabActionRefusal, VocabCall, LooseCapVocabularyEntry, LooseVocabEffect, LooseVocabOffer, LooseVocabOpenArg, ResolvedBooleanTrigger, ResolvedEnumTrigger, ResolvedEnumValue, ResolvedEventTrigger, ResolvedNumericTrigger, ResolvedValueTrigger, ActionGateAnswer, ActionGateAnswerOf, DynamicOfferAnswer, DynamicOfferAnswerOf, LooseVocabActionGate, ResolvedVocabAction, ResolvedVocabTrigger, VocabBindingsInput, VocabCapName, VocabLocale, CapVocabularyDecl, DeviceCapVocabularyDecl, EventVocabularyDecl, LooseMethodActionDecl, MethodActionArgs, MethodActionDecl, MethodActionEffect, MethodActionGate, MethodActionOpenArg, SystemCapVocabularyDecl, } from './device/cap-vocabulary/index.js';
|
|
276
|
+
export { actionEffect, actionGateAnswerFrom, actionOfferedWith, actionsForDevice as vocabularyActionsForDevice, deviceOffersActions, offeredActionsWith, allVocabActions, auditedFields, CAP_VOCABULARY, CAP_VOCABULARY_BY_NAME, commandEffect, commandEffects, commandHoldMs, effectConditionHolds, resolveSideEffect, findVocabAction, isCommand, renderVocabPhrase, triggersForDevice as vocabularyTriggersForDevice, VOCAB_TEMPLATES, vocabActionIdFor, vocabCall, VocabActionError, assertDeviceOffers, NOT_A_DEVICE, } from './device/cap-vocabulary/index.js';
|
|
277
277
|
export { DEVICE_IDENTIFIER_KEYS, DeviceIdentifierEntrySchema, DeviceIdentifierKeySchema, DeviceIdentifierOriginSchema, DeviceIdentifiersSchema, identifierStrength, isEmptyIdentifiers, mergeIdentifiers, normaliseIdentifiers, sameIdentifiers, normaliseMac, } from './device/device-identifiers.js';
|
|
278
278
|
export type { AcceptedValue, DeviceIdentifierEntry, DeviceIdentifierKey, DeviceIdentifierOrigin, DeviceIdentifiers, DeviceIdentifierStrength, NormaliseIdentifiersOptions, NormalisedIdentifiers, NormaliseResult, RawDeviceIdentifiers, RawSerialIdentifier, RawVendorUidIdentifier, RejectedIdentifier, RejectedReason, } from './device/device-identifiers.js';
|
|
279
279
|
export { declareDeviceIdentifiers } from './device/declare-identifiers.js';
|
|
@@ -491,3 +491,6 @@ export * from './migrations/api/migration-api.v1.js';
|
|
|
491
491
|
export * from './migrations/api/migration-api.v1.schema.js';
|
|
492
492
|
export * from './migrations/api/migration-api-ports.js';
|
|
493
493
|
export { normalizeSearchText, searchRank, type SearchRankFields } from './search/search-match.js';
|
|
494
|
+
export { DEFAULT_COMMAND_HOLD_MS, MAX_COMMAND_HOLD_MS, resolveCommandHold, } from './device/command-hold.js';
|
|
495
|
+
export { ONE_SHOT_HOLD_MS } from './device/cap-vocabulary/hold-limits.js';
|
|
496
|
+
export type { CommandHoldOption, CommandHoldOptions, NativeCapOptions, ResolvedCommandHold, } from './device/command-hold.js';
|