VigilanzaTurni/server
marco370 4a1c21455b Implement contract rules for shift assignments
Add CCNL (Contratto Collettivo Nazionale di Lavoro) validation logic on the server-side to check shift durations against defined contract parameters. This includes updating the client to handle potential violations and display them to the user via an alert dialog. The server now exposes a new API endpoint (/api/shifts/validate-ccnl) for this validation. Additionally, seeding script has been updated to include default contract parameters.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/IdDfihe
2025-10-17 07:39:19 +00:00
..
db.ts Adapt database connections for local and cloud environments 2025-10-16 17:07:26 +00:00
index.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
localAuth.ts Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
replitAuth.ts Improve authentication by supporting external servers 2025-10-16 16:05:48 +00:00
routes.ts Implement contract rules for shift assignments 2025-10-17 07:39:19 +00:00
seed.ts Implement contract rules for shift assignments 2025-10-17 07:39:19 +00:00
storage.ts Add system parameters configuration for contract rules 2025-10-16 17:56:46 +00:00
vite.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00