@camstack/types 1.2.264 → 1.2.265
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/automation/recipe.d.ts +1 -1
- package/dist/capabilities/composer.cap.d.ts +328 -0
- package/dist/capabilities/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +2339 -0
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +8 -8
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/notification-rules.cap.d.ts +74 -74
- package/dist/capabilities/osd-manager.cap.d.ts +13 -13
- package/dist/composition/composition-graph.d.ts +36 -0
- package/dist/composition/composition-report.d.ts +264 -0
- package/dist/composition/composition.d.ts +362 -0
- package/dist/composition/evaluate-field.d.ts +63 -0
- package/dist/composition/examples.d.ts +10 -0
- package/dist/composition/expression-kinds.d.ts +36 -0
- package/dist/composition/index.d.ts +12 -0
- package/dist/composition/state-fields.d.ts +19 -0
- package/dist/composition/validate-composition.d.ts +46 -0
- package/dist/device/schema-fields.d.ts +3 -0
- package/dist/expression/builtins.d.ts +30 -2
- package/dist/generated/addon-api.d.ts +57 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1338 -79
- package/dist/index.mjs +1266 -80
- package/dist/notification/rule-kinds.d.ts +3 -2
- package/package.json +1 -1
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
* families — or name a legacy kind, or none — derives `mixed`: it keeps firing,
|
|
72
72
|
* it is listed and deletable, and it is never edited.
|
|
73
73
|
*/
|
|
74
|
-
import
|
|
74
|
+
import type { z } from 'zod';
|
|
75
|
+
import { type NcAudioCondition, type NcConditions, type NcDelivery, type NcOccupancyCondition, type NcRuleKindSchema } from '../capabilities/notification-rules.cap.js';
|
|
75
76
|
import { type NcSystemEventFamily } from './system-event-families.js';
|
|
76
77
|
/**
|
|
77
78
|
* The kind of rule an operator is authoring.
|
|
@@ -82,7 +83,7 @@ import { type NcSystemEventFamily } from './system-event-families.js';
|
|
|
82
83
|
* and `immediate` each split in two on their discriminating condition, and
|
|
83
84
|
* `system-event` splits by the FAMILY of the event kinds it names (D637).
|
|
84
85
|
*/
|
|
85
|
-
export type NcRuleKind =
|
|
86
|
+
export type NcRuleKind = z.infer<typeof NcRuleKindSchema>;
|
|
86
87
|
/** Every kind a `system-event` rule can derive — the three families and `mixed`. */
|
|
87
88
|
export declare const NC_SYSTEM_RULE_KINDS: readonly ["device-events", "system", "alarm", "mixed"];
|
|
88
89
|
/** Is this a kind a `system-event` rule derives (any family, or `mixed`)? */
|