Module ops

Module ops 

Source
Expand description

Operation type constants for each entity.

These are used as the op field in AuditEvent. Using constants instead of free-form strings prevents typos and enables exhaustive matching.

Constantsยง

CHANGE_ARCHIVE
Change archived.
CHANGE_CREATE
Change created.
CONFIG_SET
Config key set.
CONFIG_UNSET
Config key unset.
MODULE_CHANGE_ADDED
Change added to a module.
MODULE_CHANGE_COMPLETED
Change completed within a module.
MODULE_CREATE
Module created.
PLANNING_BLOCKER
Planning blocker recorded.
PLANNING_DECISION
Planning decision recorded.
PLANNING_FOCUS_CHANGE
Planning focus changed.
PLANNING_NOTE
Planning note recorded.
PLANNING_QUESTION
Planning question recorded.
RECONCILED
Reconciliation compensating event.
TASK_ADD
Task added to an existing plan.
TASK_CREATE
Task created.
TASK_STATUS_CHANGE
Task status changed.
WAVE_UNLOCK
Wave unlocked (all predecessors complete).