Skip to content

Interface: ContextRuleChangedEvent

Makaio Framework


Makaio Framework / services-core/context-rules / ContextRuleChangedEvent

Defined in: ../../../packages/services/core/src/context-rules/types.ts:196

Lifecycle event emitted whenever persisted context rules change.

changeType: "deleted" | "created" | "updated"

Defined in: ../../../packages/services/core/src/context-rules/types.ts:200

Type of storage mutation that occurred.


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: 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: string

Defined in: ../../../packages/services/core/src/context-rules/types.ts:198

Rule identifier that changed.


timestamp: number

Defined in: ../../../packages/services/core/src/context-rules/types.ts:206

Mutation timestamp in Unix milliseconds.