Coverage for src/backend/InvenTree/build/events.py: 100%
10 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 17:47 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 17:47 +0000
1"""Event definitions and triggers for the build app."""
3from generic.events import BaseEventEnum
6class BuildEvents(BaseEventEnum):
7 """Event enumeration for the Build app."""
9 # Build order events
10 HOLD = 'build.hold'
11 ISSUED = 'build.issued'
12 CANCELLED = 'build.cancelled'
13 COMPLETED = 'build.completed'
14 OVERDUE = 'build.overdue_build_order'
16 STOCK_REQUIRED = 'build.stock_required'
18 # Build output events
19 OUTPUT_CREATED = 'buildoutput.created'
20 OUTPUT_COMPLETED = 'buildoutput.completed'