feat(tickets): preserve requester/assignee/company snapshots + timeline fallbacks; chore: add requester index\n\n- Add requesterSnapshot, assigneeSnapshot, companySnapshot to tickets\n- Use snapshots as fallback in list/get/play\n- Update snapshots on assignee changes/startWork\n- Preserve snapshots before deleting users/companies\n- Add index tickets.by_tenant_requester\n- Add migrations.backfillTicketSnapshots\n\nchore(convex): upgrade to ^1.28.0 and run codegen\nchore(next): upgrade Next.js to 15.5.6 and update React/eslint-config-next\nfix: remove any and lint warnings; tighten types across API routes and components\ndocs: add docs/ticket-snapshots.md

This commit is contained in:
Esdras Renan 2025-10-20 10:13:37 -03:00
parent 0d82162a0e
commit 216feca971
16 changed files with 884 additions and 552 deletions

View file

@ -52,12 +52,12 @@
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"lucide-react": "^0.544.0",
"next": "15.5.5",
"next": "15.5.6",
"next-themes": "^0.4.6",
"pdfkit": "^0.17.2",
"postcss": "^8.5.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-hook-form": "^7.64.0",
"recharts": "^2.15.4",
"sanitize-html": "^2.17.0",
@ -80,7 +80,7 @@
"@types/sanitize-html": "^2.16.0",
"@types/three": "^0.180.0",
"eslint": "^9",
"eslint-config-next": "15.5.5",
"eslint-config-next": "15.5.6",
"eslint-plugin-react-hooks": "^5.0.0",
"prisma": "^6.16.2",
"tailwindcss": "^4",