All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 41s
- M3-02: Add scheduleState to ReviewCard model + persist in updateCard/insertCard - M3-02: Add ReviewCardSubscriber (OnEvent 'ai.analysis.completed' → generateCards) - M3-02: Add AdminReviewController (GET /admin-api/reviews) - M3-01: ActiveRecall now enqueues via AiAnalysisService instead of direct workflow call - M3-01: FocusItem model adds source field, worker uses status:'open' - M3-03: Fix streak calculation (break on gap), add StreakUpdatedEvent/DailyGoalAchievedEvent - M3-03: Add LearningGoal/StreakRecord/LearningStats to Prisma schema - M3-03: Fix FocusItem recommendation query (status:'pending' → 'open') Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
321 B
TypeScript
14 lines
321 B
TypeScript
import { BaseDomainEvent } from './base-domain.event';
|
|
|
|
export class DailyGoalAchievedEvent extends BaseDomainEvent {
|
|
readonly eventType = 'growth.daily-goal.achieved';
|
|
|
|
constructor(
|
|
public readonly userId: string,
|
|
public readonly date: string,
|
|
public readonly cardCount: number,
|
|
) {
|
|
super();
|
|
}
|
|
}
|