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>
11 lines
365 B
TypeScript
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);
|
|
}
|
|
}
|