adds targets

This commit is contained in:
simon.franken
2026-02-18 14:27:44 +01:00
parent a352318e8a
commit 4cce62934e
12 changed files with 1198 additions and 32 deletions

View File

@@ -75,3 +75,20 @@ export interface UpdateTimerInput {
export interface StopTimerInput {
projectId?: string;
}
export interface CreateClientTargetInput {
clientId: string;
weeklyHours: number;
startDate: string; // YYYY-MM-DD, always a Monday
}
export interface UpdateClientTargetInput {
weeklyHours?: number;
startDate?: string; // YYYY-MM-DD, always a Monday
}
export interface CreateCorrectionInput {
date: string; // YYYY-MM-DD
hours: number;
description?: string;
}