Go to file
marco370 c72125c68f Improve guard assignment and availability checks for shift planning
Update storage interface and implementation to handle shift assignment deletion,
modify getGuardsAvailability to accept specific planned start and end times,
and introduce conflict detection logic for guard availability. Add new DTOs
(guardConflictSchema) and update guardAvailabilitySchema to include availability
status, conflicts, and unavailability reasons, enhancing shift planning accuracy.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/ZZOTK7r
2025-10-21 06:36:42 +00:00
attached_assets Update planning view to show guard coverage and calculation status 2025-10-18 07:46:25 +00:00
client Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
database-backups 🚀 Release v1.0.24 2025-10-18 10:25:35 +00:00
deploy Ensure database import happens after schema updates 2025-10-17 09:31:25 +00:00
server Improve guard assignment and availability checks for shift planning 2025-10-21 06:36:42 +00:00
shared Improve guard assignment and availability checks for shift planning 2025-10-21 06:36:42 +00:00
.env.production.example Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
.gitignore Add database backups for the security shift management system 2025-10-17 09:26:13 +00:00
.gitlab-ci.yml Add deployment guide and scripts for automated server setup and deployment 2025-10-16 07:12:27 +00:00
.replit Improve guard assignment and availability checks for shift planning 2025-10-21 06:36:42 +00:00
after-reload.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
components.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
deploy-to-gitlab.sh 🚀 Release v1.0.9 2025-10-17 09:18:14 +00:00
DEPLOYMENT-FIX.md Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
design_guidelines.md Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
drizzle.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
dump.sql Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
dump.zip Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
ecosystem.config.js Update deployment script to use local binaries for build tools 2025-10-16 15:34:32 +00:00
final_reopen_edit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
fix-server.sh Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
GITLAB-DEPLOY.md Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
guards-nav.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
GUIDA-DEPLOYMENT-FINALE.md Improve deployment process and external server compatibility 2025-10-16 16:17:05 +00:00
no-guard-link.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
no-login-button.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
package-lock.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
package.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
postcss.config.js Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
push-gitlab.sh Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
push-to-gitlab.sh Deploy: 2025-10-16 13:42:30 2025-10-16 13:42:30 +00:00
QUICKSTART-DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
QUICKSTART-GITLAB.md Improve GitLab deployment process and version management 2025-10-17 06:39:43 +00:00
replit.md Add ability to create multi-day shifts from planning interface 2025-10-18 09:20:23 +00:00
sidebar_collapsed.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
sidebar_visible.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
step4_page.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step5_guards_nav.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step8_add_guard_clicked.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step11_toggled_switches.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step14_after_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step15_post_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step23_after_edit_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step24_verify_after_edit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_after_close_dialog.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_fetch_api_via_page.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_reopen_edit_dialog.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
tailwind.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
tsconfig.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
version.json 🚀 Release v1.0.24 2025-10-18 10:25:35 +00:00
vite.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00