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
The testnet frontends would benefit from having the response types of the backend APIs in a shared directory, so that they can be referenced instead of duplicated.
So the same way that we are sharing the zod schemas for request validations, we should also share the response types.
Suggestion:
Maybe write them as interfaces, and have the backend Models also implement that interface
The testnet frontends would benefit from having the response types of the backend APIs in a shared directory, so that they can be referenced instead of duplicated.
So the same way that we are sharing the zod schemas for request validations, we should also share the response types.
Suggestion:
Maybe write them as interfaces, and have the backend Models also implement that interface
Controllers:
The text was updated successfully, but these errors were encountered: