Files
task-stream/libs/api/tracker/domain/src/lib/events/issue-trashed.event.ts
Josep Piguillem bec39da46d feat: a trash for tickets
Deleting a ticket now sends it to the trash, for whoever opened it or an
admin: it disappears from boards, searches and statistics, cannot change,
and comes back from the ticket page or the trash page for 30 days. After
that it is deleted for good with the usual cascade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 18:47:30 +02:00

11 lines
365 B
TypeScript

import { AutowiredEvent } from '@task-stream/api/shared/domain';
import { TrackerEvent } from './tracker.event';
/** A ticket went to the trash (it can come back for a while). */
@AutowiredEvent
export class IssueTrashedEvent extends TrackerEvent {
constructor(actorId: string, issueId: string, projectId: string) {
super(actorId, issueId, projectId);
}
}