WASM Mode activated

This commit is contained in:
MarcWieland
2026-06-08 16:24:51 +02:00
parent fe294e288a
commit 58e562adb1
118 changed files with 1038 additions and 470 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace timetracker.Shared;
public interface ITimetrackerService
{
Task<List<WorkDay>> GetWeekAsync(int userId, DateOnly monday);
Task UpsertWorkDayAsync(WorkDay workDay);
Task<AppSettings> GetSettingsAsync(int userId);
Task SaveSettingsAsync(AppSettings settings);
Task<List<VacationDay>> GetVacationDaysAsync(int userId, int year);
Task AddVacationDayAsync(VacationDay vacationDay);
Task RemoveVacationDayAsync(int userId, int id);
Task<TimeSpan> GetTotalOvertimeAsync(int userId, AppSettings settings);
Task<List<WorkDay>> GetMonthAsync(int userId, int year, int month);
}