@camstack/types 1.2.611 → 1.2.613
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 +13 -0
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/automation/action.d.ts +12 -0
- package/dist/automation/index.d.ts +2 -2
- package/dist/automation/recipe.d.ts +3473 -0
- package/dist/automation/scheduler.d.ts +24 -0
- package/dist/automation/step-runner.d.ts +4 -0
- package/dist/capabilities/action-source.cap.d.ts +6 -0
- package/dist/capabilities/actions.cap.d.ts +42 -0
- package/dist/capabilities/camera-streams.cap.d.ts +2 -0
- package/dist/capabilities/error.cap.d.ts +44 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +26 -0
- package/dist/capabilities/osd-manager.cap.d.ts +6 -0
- package/dist/capabilities/schedulers.cap.d.ts +48 -0
- package/dist/capabilities/schemas/streaming-shared.d.ts +1 -0
- package/dist/capabilities/stream-broker.cap.d.ts +8 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
- package/dist/client.js +64 -3
- package/dist/client.mjs +64 -3
- package/dist/device/base-device.d.ts +10 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +2 -1
- package/dist/enums.mjs +2 -1
- package/dist/{event-category-7P4A3bYA.mjs → event-category-BEsBTS72.mjs} +8 -0
- package/dist/{event-category-CMA0-jGW.js → event-category-CbY1jgIP.js} +8 -0
- package/dist/generated/addon-api.d.ts +8 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +225 -12
- package/dist/index.mjs +221 -13
- package/dist/interfaces/event-bus.d.ts +11 -0
- package/dist/interfaces/stream-broker.d.ts +7 -0
- package/dist/notification/alert-episode.d.ts +23 -0
- package/dist/notification/system-event-filters.d.ts +1 -1
- package/dist/{runtime-capabilities-CK6y0W5U.mjs → runtime-capabilities-CG61dYnO.mjs} +14 -2
- package/dist/{runtime-capabilities-1FIC5jNX.js → runtime-capabilities-LaTKVCAw.js} +14 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.2.613] - 2026-11-20
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Alert episodes carry the alert's whole action, and notification rules gain offerAlertAction
|
|
15
|
+
|
|
16
|
+
## [1.2.612] - 2026-11-20
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- The error capability lists the fault types a device can raise (listFaultTypes), declared by its integration
|
|
21
|
+
- Automation steps carry an enabled flag and a notify step kind; stream sources can declare a maximum session length (maxSessionMs)
|
|
22
|
+
|
|
10
23
|
## [1.2.611] - 2026-11-20
|
|
11
24
|
|
|
12
25
|
### Added
|
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime_capabilities = require("./runtime-capabilities-
|
|
3
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_runtime_capabilities = require("./runtime-capabilities-LaTKVCAw.js");
|
|
3
|
+
const require_event_category = require("./event-category-CbY1jgIP.js");
|
|
4
4
|
const require_composed_stable_id = require("./composed-stable-id-DkF5-kuf.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CAP_ADVANCE_FIELDS, $i as RECORD_QUERY_MAX, $n as createRecordsAccess, A as DEVICE_SCOPED_CAPS, Aa as UnknownRecordKindError, Ar as assertValidDeclaration, At as addonPagesSourceCapability, Bi as recordSecretCollection, Ca as RecordSecretUnavailableError, Cr as EntryDescriptorSchema, Ct as PipelineStepInputSchema, D as parseJsonUnknown, Da as RevConflictError, Do as findMigrationsBlocked, Dr as RecordKindNameSchema, Dt as DEVICE_CHILDREN_BATCH_MAX, Ea as RecordsError, Eo as AddonMigrationsBlockedError, Er as RecordKindDeclarationSchema, Et as deviceOpsCapability, F as createEventBusSliceSource, Fi as REMOVE_LEAF, Fr as isZodSecret, Gi as RECORD_CLASSES, Hi as secretArrayPrefixes, Ht as ReadinessRegistry, Ii as collectSecretLeaves, Ji as RECORD_DELETE_BATCH, Jn as OnBehalfSchema, Ki as RECORD_DATABASES, Kt as scopeKey, Li as mapSecretLeaves, M as createDeviceProxy, Ma as recordsErrorFromMessage, Mr as defineRecordKinds, O as hfModelUrl, Oa as TransactRefusedError, Or as RecordRetentionSchema, Ot as adminUiCapability, P as addonSliceHandleApi, Pi as secretViewsOf, Pr as collectZodSecretPaths, Qi as RECORD_MAX_INDEX_FIELDS, Qn as makeInMemoryRecords, Qr as ErrorI18nPayloadSchema, Ri as parseSecretPath, S as asJsonObject, Sa as RecordNotFoundError, Si as isInstanceSwitchesUnreadError, Sr as entryBody, St as PipelineRunResultBridge, Ta as RecordUniqueViolationError, Tr as RecordIndexSchema, Ua as createEvent, Ui as RECORD_BATCH_MAX, Ur as expandCapMethods, Ut as ReadinessTimeoutError, Vi as recordSecretRef, Vt as MODEL_FORMATS, W as isCommand, Wa as emitReadiness, Wi as RECORD_BATCH_MAX_BYTES, Xi as RECORD_MAX_DATA_BYTES, Xn as RuleFireOriginSchema, Yi as RECORD_ID_MAX_LENGTH, Yn as OnBehalfSourceSchema, Z as HF_REPO, Zi as RECORD_MAX_INDEXES, Zn as ruleFireOfClaim, _a as ForeignSecretMarkerError, _i as nodeIdOfScopedKey, _r as CALLER_USERNAME_HEADER, _t as readNodePin, aa as buildSecretRef, ao as isSecretMarkerLike, ar as MIN_SCRUBBED_LENGTH, at as isCapMethodAbsent, ba as PlaintextSecretError, br as DisposerChain, bt as SWITCH_SETTABLE_GATE, ca as isSecretRef, cr as knownSecretCount, ct as customAction, dr as shortSecretRefHash, ea as RECORD_SECRET_COLLECTION_PREFIX, en as createDebugEmitter, eo as SECRET_CLEAR, er as parseRecordBody, et as CAP_METHOD_TIMEOUTS_MS, fr as PEER_BYTES_CHUNK_BYTES, ga as FilterRequiredError, gi as SCOPED_SETTINGS_SCOPES, gt as readCommandOrigin, ha as DeclarationRefusedError, hr as PEER_BYTES_TICKET_TTL_MS, ht as nodePin, ia as arrayItemFieldPath, io as isSecretMarker, ir as createSecretsAccess, it as CAP_METHOD_NOT_IMPLEMENTED, j as isDeviceScopedCap, ja as asRecordsError, jr as declarationsOf, k as BOOT_RECOVERY_BACKOFF_MS, ka as UnindexedFilterError, kr as StoredRecordKindDeclarationSchema, la as normalizeSecretOwner, lr as registerKnownSecret, lt as defineCustomActions, ma as BatchTooLargeError, mr as PEER_BYTES_STALL_MS, mt as commandOrigin, n as describeNvidia, na as RECORD_SWEEP_INTERVAL_MS, no as isSecretClear, nr as resolveSecretViewsIn, nt as CAP_STATE_FIELD_PRESENCE, oa as formatSecretScope, oi as normalizeAddonInitResult, oo as makeSecretMarker, or as clearKnownSecrets, ot as CALLER_STAMPED_CAPABILITIES, pr as PEER_BYTES_MAX_OUTSTANDING, q as DEVICE_RESTORE_RETRY_DELAYS_MS, qi as RECORD_DEFAULT_MAX_DATA_BYTES, qn as CommandOriginClaimSchema, ra as SECRET_REF_SCHEME, ri as BaseAddon, ro as isSecretFieldView, rr as REVALIDATE_AFTER_MS, rt as CAP_STATE_LEAVES, sa as globalSecretScope, so as toSecretFieldView, sr as forgetKnownSecret, st as withoutCallerStamp, ta as RECORD_SETTINGS_MAX_ROWS, ti as readErrorI18n, to as classifySecretWrite, tr as assertTransactScope, u as sleep, ua as parseSecretRef, ur as scrubKnownSecrets, ut as describeCustomActions, va as InvalidRecordError, vi as resolveDeviceSettings, vr as DATAPLANE_SECRET_HEADER, w as asString, wa as RecordTooLargeError, wr as RecordFieldPathSchema, wt as MIGRATION_API_VERSION, xa as RECORDS_ERROR_CODES, xr as defineEntryKind, xt as switchRefusesSetState, y as maskUrlCredentials, ya as NoCallerError, yi as resolvedValues, yt as viewerUiCapability, zi as recordArrayItemPath } from "./runtime-capabilities-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { $ as CAP_ADVANCE_FIELDS, $i as RECORD_QUERY_MAX, $n as createRecordsAccess, A as DEVICE_SCOPED_CAPS, Aa as UnknownRecordKindError, Ar as assertValidDeclaration, At as addonPagesSourceCapability, Bi as recordSecretCollection, Ca as RecordSecretUnavailableError, Cr as EntryDescriptorSchema, Ct as PipelineStepInputSchema, D as parseJsonUnknown, Da as RevConflictError, Do as findMigrationsBlocked, Dr as RecordKindNameSchema, Dt as DEVICE_CHILDREN_BATCH_MAX, Ea as RecordsError, Eo as AddonMigrationsBlockedError, Er as RecordKindDeclarationSchema, Et as deviceOpsCapability, F as createEventBusSliceSource, Fi as REMOVE_LEAF, Fr as isZodSecret, Gi as RECORD_CLASSES, Hi as secretArrayPrefixes, Ht as ReadinessRegistry, Ii as collectSecretLeaves, Ji as RECORD_DELETE_BATCH, Jn as OnBehalfSchema, Ki as RECORD_DATABASES, Kt as scopeKey, Li as mapSecretLeaves, M as createDeviceProxy, Ma as recordsErrorFromMessage, Mr as defineRecordKinds, O as hfModelUrl, Oa as TransactRefusedError, Or as RecordRetentionSchema, Ot as adminUiCapability, P as addonSliceHandleApi, Pi as secretViewsOf, Pr as collectZodSecretPaths, Qi as RECORD_MAX_INDEX_FIELDS, Qn as makeInMemoryRecords, Qr as ErrorI18nPayloadSchema, Ri as parseSecretPath, S as asJsonObject, Sa as RecordNotFoundError, Si as isInstanceSwitchesUnreadError, Sr as entryBody, St as PipelineRunResultBridge, Ta as RecordUniqueViolationError, Tr as RecordIndexSchema, Ua as createEvent, Ui as RECORD_BATCH_MAX, Ur as expandCapMethods, Ut as ReadinessTimeoutError, Vi as recordSecretRef, Vt as MODEL_FORMATS, W as isCommand, Wa as emitReadiness, Wi as RECORD_BATCH_MAX_BYTES, Xi as RECORD_MAX_DATA_BYTES, Xn as RuleFireOriginSchema, Yi as RECORD_ID_MAX_LENGTH, Yn as OnBehalfSourceSchema, Z as HF_REPO, Zi as RECORD_MAX_INDEXES, Zn as ruleFireOfClaim, _a as ForeignSecretMarkerError, _i as nodeIdOfScopedKey, _r as CALLER_USERNAME_HEADER, _t as readNodePin, aa as buildSecretRef, ao as isSecretMarkerLike, ar as MIN_SCRUBBED_LENGTH, at as isCapMethodAbsent, ba as PlaintextSecretError, br as DisposerChain, bt as SWITCH_SETTABLE_GATE, ca as isSecretRef, cr as knownSecretCount, ct as customAction, dr as shortSecretRefHash, ea as RECORD_SECRET_COLLECTION_PREFIX, en as createDebugEmitter, eo as SECRET_CLEAR, er as parseRecordBody, et as CAP_METHOD_TIMEOUTS_MS, fr as PEER_BYTES_CHUNK_BYTES, ga as FilterRequiredError, gi as SCOPED_SETTINGS_SCOPES, gt as readCommandOrigin, ha as DeclarationRefusedError, hr as PEER_BYTES_TICKET_TTL_MS, ht as nodePin, ia as arrayItemFieldPath, io as isSecretMarker, ir as createSecretsAccess, it as CAP_METHOD_NOT_IMPLEMENTED, j as isDeviceScopedCap, ja as asRecordsError, jr as declarationsOf, k as BOOT_RECOVERY_BACKOFF_MS, ka as UnindexedFilterError, kr as StoredRecordKindDeclarationSchema, la as normalizeSecretOwner, lr as registerKnownSecret, lt as defineCustomActions, ma as BatchTooLargeError, mr as PEER_BYTES_STALL_MS, mt as commandOrigin, n as describeNvidia, na as RECORD_SWEEP_INTERVAL_MS, no as isSecretClear, nr as resolveSecretViewsIn, nt as CAP_STATE_FIELD_PRESENCE, oa as formatSecretScope, oi as normalizeAddonInitResult, oo as makeSecretMarker, or as clearKnownSecrets, ot as CALLER_STAMPED_CAPABILITIES, pr as PEER_BYTES_MAX_OUTSTANDING, q as DEVICE_RESTORE_RETRY_DELAYS_MS, qi as RECORD_DEFAULT_MAX_DATA_BYTES, qn as CommandOriginClaimSchema, ra as SECRET_REF_SCHEME, ri as BaseAddon, ro as isSecretFieldView, rr as REVALIDATE_AFTER_MS, rt as CAP_STATE_LEAVES, sa as globalSecretScope, so as toSecretFieldView, sr as forgetKnownSecret, st as withoutCallerStamp, ta as RECORD_SETTINGS_MAX_ROWS, ti as readErrorI18n, to as classifySecretWrite, tr as assertTransactScope, u as sleep, ua as parseSecretRef, ur as scrubKnownSecrets, ut as describeCustomActions, va as InvalidRecordError, vi as resolveDeviceSettings, vr as DATAPLANE_SECRET_HEADER, w as asString, wa as RecordTooLargeError, wr as RecordFieldPathSchema, wt as MIGRATION_API_VERSION, xa as RECORDS_ERROR_CODES, xr as defineEntryKind, xt as switchRefusesSetState, y as maskUrlCredentials, ya as NoCallerError, yi as resolvedValues, yt as viewerUiCapability, zi as recordArrayItemPath } from "./runtime-capabilities-CG61dYnO.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-BEsBTS72.mjs";
|
|
3
3
|
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-DIeNz933.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
|
@@ -84,13 +84,16 @@ export declare const ActionEntrySchema: z.ZodObject<{
|
|
|
84
84
|
}>;
|
|
85
85
|
readOnly: z.ZodBoolean;
|
|
86
86
|
steps: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
87
88
|
kind: z.ZodLiteral<"wait">;
|
|
88
89
|
seconds: z.ZodNumber;
|
|
89
90
|
if: z.ZodOptional<z.ZodType<import("./when.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("./when.js").AutomationWhen, unknown>>>;
|
|
90
91
|
else: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
91
93
|
kind: z.ZodLiteral<"wait">;
|
|
92
94
|
seconds: z.ZodNumber;
|
|
93
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
94
97
|
kind: z.ZodLiteral<"command">;
|
|
95
98
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
99
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -108,6 +111,7 @@ export declare const ActionEntrySchema: z.ZodObject<{
|
|
|
108
111
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
109
112
|
}, z.core.$strip>], "kind">>>;
|
|
110
113
|
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
111
115
|
kind: z.ZodLiteral<"command">;
|
|
112
116
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
117
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -125,9 +129,11 @@ export declare const ActionEntrySchema: z.ZodObject<{
|
|
|
125
129
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
126
130
|
if: z.ZodOptional<z.ZodType<import("./when.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("./when.js").AutomationWhen, unknown>>>;
|
|
127
131
|
else: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
128
133
|
kind: z.ZodLiteral<"wait">;
|
|
129
134
|
seconds: z.ZodNumber;
|
|
130
135
|
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
131
137
|
kind: z.ZodLiteral<"command">;
|
|
132
138
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
139
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -171,13 +177,16 @@ export type ActionEntry = z.infer<typeof ActionEntrySchema>;
|
|
|
171
177
|
export declare const ActionInputSchema: z.ZodObject<{
|
|
172
178
|
name: z.ZodString;
|
|
173
179
|
steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
180
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
174
181
|
kind: z.ZodLiteral<"wait">;
|
|
175
182
|
seconds: z.ZodNumber;
|
|
176
183
|
if: z.ZodOptional<z.ZodType<import("./when.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("./when.js").AutomationWhen, unknown>>>;
|
|
177
184
|
else: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
185
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
178
186
|
kind: z.ZodLiteral<"wait">;
|
|
179
187
|
seconds: z.ZodNumber;
|
|
180
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
181
190
|
kind: z.ZodLiteral<"command">;
|
|
182
191
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
183
192
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -195,6 +204,7 @@ export declare const ActionInputSchema: z.ZodObject<{
|
|
|
195
204
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
196
205
|
}, z.core.$strip>], "kind">>>;
|
|
197
206
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
198
208
|
kind: z.ZodLiteral<"command">;
|
|
199
209
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
200
210
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -212,9 +222,11 @@ export declare const ActionInputSchema: z.ZodObject<{
|
|
|
212
222
|
argUnits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
213
223
|
if: z.ZodOptional<z.ZodType<import("./when.js").AutomationWhen, unknown, z.core.$ZodTypeInternals<import("./when.js").AutomationWhen, unknown>>>;
|
|
214
224
|
else: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
225
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
215
226
|
kind: z.ZodLiteral<"wait">;
|
|
216
227
|
seconds: z.ZodNumber;
|
|
217
228
|
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
218
230
|
kind: z.ZodLiteral<"command">;
|
|
219
231
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
220
232
|
kind: z.ZodLiteral<"devices">;
|
|
@@ -26,8 +26,8 @@ export type { CooldownInput, CooldownVerdict, RunGateAdmission } from './run-gat
|
|
|
26
26
|
export { RunGate } from './run-gate.js';
|
|
27
27
|
export type { AutomationConditionTraceNode, AutomationRunOutcome, AutomationRunTrace, AutomationRunVerdict, AutomationStateDoc, AutomationStepTrace, NestedStepTrace, AutomationTriggerTrace, StepDeviceTrace, TraceNodeOutcome, TraceValue, } from './trace.js';
|
|
28
28
|
export { AutomationConditionTraceNodeSchema, EMPTY_AUTOMATION_STATE, mergeSkipTraces, AutomationRunOutcomeSchema, AutomationRunTraceSchema, AutomationRunVerdictSchema, AutomationStateDocSchema, AutomationStepTraceSchema, AutomationTriggerTraceSchema, appendTrace, foldHoldEpisodes, buildStepArgsTrace, buildTriggerTrace, isSkippedTrace, MAX_TRACE_ARG_LENGTH, MAX_STEP_DEVICE_OUTCOMES, MAX_TRACE_ARGS, REDACTED_ARG, skipSignature, StepDeviceTraceSchema, TraceNodeOutcomeSchema, TraceValueSchema, } from './trace.js';
|
|
29
|
-
export type { ActionStep, AutomationAction, AutomationCommandStep, AutomationRecipe, AutomationRunMode, LegacyAutomationRecipe, AutomationBodyStep, AutomationBranchStep, AutomationRecipeInput, AutomationChooseStep, AutomationWaitUntilStep, AutomationParallelStep, AutomationRepeatLoop, AutomationRepeatStep, AutomationSetStep, StepConditionRef, AutomationStopStep, } from './recipe.js';
|
|
30
|
-
export { ActionStepSchema, AutomationActionSchema, AutomationCommandStepBaseSchema, AutomationCommandStepSchema, AutomationWaitStepSchema, AutomationChooseStepSchema, AutomationWaitUntilStepSchema, AutomationParallelStepSchema, AutomationRepeatLoopSchema, AutomationRepeatStepSchema, AutomationSetStepSchema, CHOOSE_BRANCHES_MAX, WAIT_UNTIL_TIMEOUT_MAX_S, PARALLEL_STEPS_MAX, REPEAT_COUNT_MAX, REPEAT_DEVICES_MAX, REPEAT_ITEM_VAR, REPEAT_ITERATIONS_MAX, REPEAT_STEPS_MAX, STEP_NEST_MAX, PARALLEL_STEPS_MIN, nestedStepsOf, stepConditionsOf, AutomationStopStepSchema, RESERVED_RUN_VARS, SET_VAR_NAME_RE, SET_VAR_VALUE_MAX, SET_VARS_MAX, STOP_REASON_MAX, stepGuardOf, WAIT_MAX_SECONDS, AutomationRecipeSchema, AutomationRunModeSchema, CurrentAutomationRecipeSchema, convertLegacyRecipe, DEFAULT_TRACE_KEEP, LegacyAutomationRecipeSchema, MAX_TRACE_KEEP, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, validateRecipeBounds, } from './recipe.js';
|
|
29
|
+
export type { ActionStep, AutomationAction, AutomationCommandStep, AutomationRecipe, AutomationRunMode, LegacyAutomationRecipe, AutomationBodyStep, AutomationBranchStep, AutomationRecipeInput, AutomationChooseStep, AutomationWaitUntilStep, AutomationNotifyStep, AutomationParallelStep, AutomationRepeatLoop, AutomationRepeatStep, AutomationSetStep, StepConditionRef, AutomationStopStep, } from './recipe.js';
|
|
30
|
+
export { ActionStepSchema, AutomationActionSchema, AutomationCommandStepBaseSchema, AutomationCommandStepSchema, AutomationWaitStepSchema, AutomationChooseStepSchema, AutomationWaitUntilStepSchema, AutomationNotifyStepSchema, AutomationParallelStepSchema, AutomationRepeatLoopSchema, AutomationRepeatStepSchema, AutomationSetStepSchema, CHOOSE_BRANCHES_MAX, WAIT_UNTIL_TIMEOUT_MAX_S, PARALLEL_STEPS_MAX, REPEAT_COUNT_MAX, REPEAT_DEVICES_MAX, REPEAT_ITEM_VAR, REPEAT_ITERATIONS_MAX, REPEAT_STEPS_MAX, STEP_NEST_MAX, PARALLEL_STEPS_MIN, nestedStepsOf, stepConditionsOf, AutomationStopStepSchema, RESERVED_RUN_VARS, SET_VAR_NAME_RE, SET_VAR_VALUE_MAX, SET_VARS_MAX, STOP_REASON_MAX, stepGuardOf, WAIT_MAX_SECONDS, AutomationRecipeSchema, AutomationRunModeSchema, CurrentAutomationRecipeSchema, convertLegacyRecipe, DEFAULT_TRACE_KEEP, LegacyAutomationRecipeSchema, MAX_TRACE_KEEP, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, validateRecipeBounds, } from './recipe.js';
|
|
31
31
|
export type { AutomationAll, AutomationAny, AutomationConditionOperator, AutomationEventLeaf, AutomationLeaf, AutomationNot, AutomationStateLeaf, AutomationWhen, DetectionLeaf, DeviceBecomesLeaf, DeviceFiredLeaf, DeviceFiredMatch, DeviceIsLeaf, ExpressionLeaf, TimeIsLeaf, TriggeredByLeaf, IdentifiedEventLeaf, StationaryLeaf, StationaryPresentLeaf, } from './when.js';
|
|
32
32
|
export { AutomationConditionOperatorSchema, AutomationWhenSchema, DeviceFiredMatchSchema, countWhenLeaves, eventLeafIdAt, identifiedEventLeaves, hasTriggeredByLeaves, triggeredByIssue, EVENT_LEAF_ID_RE, TRIGGERED_BY_MAX_IDS, forEachLeaf, hasEventLeaves, isEventLeaf, isLeaf, MAX_WHEN_DEPTH, MAX_WHEN_LEAVES, validateWhenTree, whenDepth, } from './when.js';
|
|
33
33
|
export type { LegacyCondition, LegacyTrigger, } from './legacy-recipe.js';
|