first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { AutowiredEvent } from '@task-stream/api/shared/domain';
|
||||
import type { IssueProps } from '../issue/issue';
|
||||
import { TrackerEvent } from './tracker.event';
|
||||
|
||||
/** A ticket was reported (bug, feature, UI change...). */
|
||||
@AutowiredEvent
|
||||
export class IssueCreatedEvent extends TrackerEvent {
|
||||
constructor(
|
||||
actorId: string,
|
||||
readonly issue: IssueProps,
|
||||
) {
|
||||
super(actorId, issue.id, issue.projectId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user