import { Query } from '@nestjs/cqrs'; import { ProjectInsightsReadModel } from '@task-stream/api/tracker/domain'; /** * The dashboard's reading of a project: sprint, risks, aging, bottlenecks, * release forecasts, team load, backlog health and, with `since`, what * changed after it. */ export class GetProjectInsightsQuery extends Query { constructor( /** Null: anonymous (public projects only). */ public readonly viewerId: string | null, public readonly projectId: string, public readonly since: Date | null = null, ) { super(); } }