wg-verwaltung/backend
bernd 6333bc70b2 Add push reminder job for expiring notice deadlines
"Automatische Warnungen bei Auslauf/Kündigungsfristen" was only a
passive dashboard view (GET /contracts/notice-deadlines, isUrgent
flag) — nobody gets notified unless the landlord happens to open the
cockpit. Adds a daily job (same pattern as dailyDunningJob.ts) that
pushes landlords/admins when a contract's notice deadline falls
within 30 days. Dedup is via the Notification history (payload.
contractId within a 14-day cooldown) rather than a new Contract
column, consistent with contracts.ts's existing "no extra model
needed" approach.
2026-08-13 07:56:18 +00:00
..
prisma Seed: skip if DB already has data instead of wiping it 2026-08-13 07:18:13 +00:00
scripts add backend/scripts/send-test-webhook.ts 2026-08-12 16:36:30 +00:00
src Add push reminder job for expiring notice deadlines 2026-08-13 07:56:18 +00:00
Dockerfile add backend/Dockerfile 2026-08-12 16:26:09 +00:00
package-lock.json Add 1-click PDF export for tickets (craftsman handoff) 2026-08-13 07:27:01 +00:00
package.json Add push reminder job for expiring notice deadlines 2026-08-13 07:56:18 +00:00
tsconfig.json add backend/tsconfig.json 2026-08-12 16:26:09 +00:00