Commit 0aa2c4f
Clean up and consolidate escalation module
Remove dead code:
- Delete simpleVote.ts and majorityVote.ts (replaced by Effect handlers)
- Delete old escalationVotes.server.ts model (replaced by EscalationService)
- Remove unused vote handler from voting.ts (keep pure functions only)
Consolidate types and imports:
- Export Escalation/EscalationRecord types from EscalationService
- Move calculateScheduledFor to helpers/escalationVotes.ts
- Update all imports to use new locations
Files deleted: 4 (-939 lines)
Files modified: 9 (cleanup and import updates)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent efb0d98 commit 0aa2c4f
File tree
13 files changed
+55
-581
lines changed- app
- commands/escalate
- discord
- effects
- escalation
- services
- helpers
- models
13 files changed
+55
-581
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments