feat(DailyCheckbox): associate checkboxes with users and enhance daily view functionality

- Added userId field to DailyCheckbox model for user association.
- Updated DailyService methods to handle user-specific checkbox retrieval and management.
- Integrated user authentication checks in API routes and actions for secure access to daily data.
- Enhanced DailyPage to display user-specific daily views, ensuring proper session handling.
- Updated client and service interfaces to reflect changes in data structure.
This commit is contained in:
Julien Froidefond
2025-10-10 08:54:52 +02:00
parent 6748799a90
commit 6bfcd1f100
9 changed files with 142 additions and 36 deletions

View File

@@ -17,6 +17,7 @@ interface ApiCheckbox {
type: 'task' | 'meeting';
order: number;
taskId?: string;
userId: string;
task?: Task;
createdAt: string;
updatedAt: string;