import { BaseDomainEvent } from './base-domain.event';

export class StreakUpdatedEvent extends BaseDomainEvent {
  readonly eventType = 'growth.streak.updated';

  constructor(
    public readonly userId: string,
    public readonly currentStreak: number,
    public readonly longestStreak: number,
  ) {
    super();
  }
}
