Interface: ContextRuleChangedEvent
Makaio Framework / services-core/context-rules / ContextRuleChangedEvent
Interface: ContextRuleChangedEvent
Section titled “Interface: ContextRuleChangedEvent”Defined in: ../../../packages/services/core/src/context-rules/types.ts:196
Lifecycle event emitted whenever persisted context rules change.
Properties
Section titled “Properties”changeType
Section titled “changeType”changeType:
"deleted"|"created"|"updated"
Defined in: ../../../packages/services/core/src/context-rules/types.ts:200
Type of storage mutation that occurred.
current
Section titled “current”current:
ContextRuleScopeIdentity|null
Defined in: ../../../packages/services/core/src/context-rules/types.ts:204
Scope identity after the mutation, or null for deleted rules.
previous
Section titled “previous”previous:
ContextRuleScopeIdentity|null
Defined in: ../../../packages/services/core/src/context-rules/types.ts:202
Scope identity before the mutation, or null for newly created rules.
ruleId
Section titled “ruleId”ruleId:
string
Defined in: ../../../packages/services/core/src/context-rules/types.ts:198
Rule identifier that changed.
timestamp
Section titled “timestamp”timestamp:
number
Defined in: ../../../packages/services/core/src/context-rules/types.ts:206
Mutation timestamp in Unix milliseconds.