You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Types are a mess at the moment and need to be cleaned up. Consider looking into a type system that is easier to extend as well as narrow against (like using discriminated type unions).
Some areas of focus are:
Types associated with the Table components. Most of these are defined in routes/services/search/[model]/fetch.tsx. Consider extracting these to the general type system.
Types associated with Prisma data fetches. These are defined in models/[model].server.ts
Type associated with model creation, editing, and deletion. These are defined in both the [model].server.ts file, as well as used in the routes/[model]/[new|edit|delete]/* directories
The text was updated successfully, but these errors were encountered:
Types are a mess at the moment and need to be cleaned up. Consider looking into a type system that is easier to extend as well as narrow against (like using discriminated type unions).
Some areas of focus are:
routes/services/search/[model]/fetch.tsx
. Consider extracting these to the general type system.models/[model].server.ts
[model].server.ts
file, as well as used in theroutes/[model]/[new|edit|delete]/*
directoriesThe text was updated successfully, but these errors were encountered: