Interface: ContextRuleInput
Makaio Framework / services-core/context-rules / ContextRuleInput
Interface: ContextRuleInput
Section titled “Interface: ContextRuleInput”Defined in: ../../../packages/services/core/src/context-rules/types.ts:111
Write payload for creating or updating a context rule.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”action
Section titled “action”action:
ContextRuleAction
Defined in: ../../../packages/services/core/src/context-rules/types.ts:121
Delivery action attached to matching rules.
condition
Section titled “condition”condition:
Condition
Defined in: ../../../packages/services/core/src/context-rules/types.ts:119
Predicate tree that decides whether the rule matches.
description?
Section titled “description?”
optionaldescription?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:117
Optional description for diagnostics or UI display.
enabled
Section titled “enabled”enabled:
boolean
Defined in: ../../../packages/services/core/src/context-rules/types.ts:125
Whether the rule is active during resolution.
id:
string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:113
Stable rule identifier.
name:
string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:115
Human-readable rule name.
priority
Section titled “priority”priority:
number
Defined in: ../../../packages/services/core/src/context-rules/types.ts:123
Deterministic ordering key for matching rules.
projectId?
Section titled “projectId?”
optionalprojectId?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:103
Project identifier for project scope and optionally project-bound session scope.
Inherited from
Section titled “Inherited from”ContextRuleScopeFields.projectId
scope:
ContextRuleScope
Defined in: ../../../packages/services/core/src/context-rules/types.ts:101
Hierarchical scope deciding when the rule is a candidate.
Inherited from
Section titled “Inherited from”sessionId?
Section titled “sessionId?”
optionalsessionId?:string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:105
Session identifier for session-scoped rules.