first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { AutowiredEvent } from '@task-stream/api/shared/domain';
|
||||
import type { ReleaseProps } from '../release/release';
|
||||
import { TrackerEvent } from './tracker.event';
|
||||
|
||||
/** Release details changed. */
|
||||
@AutowiredEvent
|
||||
export class ReleaseUpdatedEvent extends TrackerEvent {
|
||||
constructor(
|
||||
actorId: string,
|
||||
releaseId: string,
|
||||
projectId: string,
|
||||
readonly changes: Partial<
|
||||
Pick<ReleaseProps, 'name' | 'description' | 'targetDate'>
|
||||
>,
|
||||
) {
|
||||
super(actorId, releaseId, projectId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user