Skip to content

Commit

Permalink
enagement-transition event
Browse files Browse the repository at this point in the history
  • Loading branch information
atGit2021 committed Jun 20, 2024
1 parent 490360a commit d9392c5
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { UnsecuredDto } from '~/common';
import type { Engagement, EngagementStatus } from '../../dto';
import type { EngagementWorkflowEvent as WorkflowEvent } from '../dto';
import type { EngagementWorkflow } from '../engagement-workflow';

Check failure on line 4 in src/components/engagement/workflow/events/engagement-transitioned.event.ts

View workflow job for this annotation

GitHub Actions / lint

Cannot find module '../engagement-workflow' or its corresponding type declarations.

export class EngagementTransitionedEvent {
constructor(
readonly engagement: Engagement,
readonly previousStep: EngagementStatus,
readonly next:
| (typeof EngagementWorkflow)['resolvedTransition']
| EngagementStatus,
readonly workflowEvent: UnsecuredDto<WorkflowEvent>,
) {}
}

0 comments on commit d9392c5

Please sign in to comment.