All files / libs/assignments/plans/core/src/legacy/events plan-assignment-deleted.event.ts

100% Statements 14/14
100% Branches 1/1
100% Functions 1/1
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 151x 1x 1x 1x 1x 4x 4x 4x 4x 4x 4x 4x 4x 1x  
import { type Company, type Plan, type User } from '@amalia/core/models';
import { AuditableEvent, type AuditObject } from '@amalia/tenants/monitoring/audit/types';
 
export class PlanAssignmentDeletedEvent extends AuditableEvent {
  public constructor(
    public readonly company: Company,
    public readonly author: User,
    public readonly user: User,
    public readonly plan: Plan,
    public override readonly auditObject: AuditObject,
  ) {
    super(auditObject);
  }
}