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:
parent
eee0f432e7
commit
c640e288b1
8 changed files with 76 additions and 90 deletions
|
|
@ -6,3 +6,5 @@ if (typeof process !== "undefined" && process.versions?.node) {
|
|||
process.env.NEXT_PUBLIC_APP_URL = process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000"
|
||||
process.env.BETTER_AUTH_URL = process.env.BETTER_AUTH_URL ?? process.env.NEXT_PUBLIC_APP_URL
|
||||
}
|
||||
|
||||
export {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue