import { AutowiredEvent } from '@task-stream/api/shared/domain'; import { TrackerEvent } from './tracker.event'; /** Someone added or took back a reaction (👍…) on a comment. */ @AutowiredEvent export class CommentReactedEvent extends TrackerEvent { constructor( actorId: string, commentId: string, projectId: string, readonly issueId: string, /** Every reaction after the change: who chose each emoji. */ readonly reactions: Record, ) { super(actorId, commentId, projectId); } }