chore(types): remove anys and harden Convex data fetch

- Strongly type company-service and API routes
- Fix Next.js searchParams (promise) in admin/machines page
- Add vitest module marker + stub for tsconfig-paths/register
- Use Convex query in client as primary fallback for machine details
- Replace any casts in admin machines components

Build + lint are clean locally; details page no longer skeleton-loops.
This commit is contained in:
Esdras Renan 2025-10-22 19:19:38 -03:00
parent eee0f432e7
commit c640e288b1
8 changed files with 76 additions and 90 deletions

1
types/tsconfig-paths-register.d.ts vendored Normal file
View file

@ -0,0 +1 @@
declare module "tsconfig-paths/register"