Create a common directory to house all of the validation schemas and infer controller types from those schemas. Controller types and schemas should be imported from the common directory. Additionally, migrate types over to strict type system for proper zod types.
Requires refactoring entire data sharing system (args removed from ControllerConfig). Move all schemas to common and infer types. Restructure dataflow in next commit via (#14).
Description
Create a
common
directory to house all of the validation schemas and infer controller types from those schemas. Controller types and schemas should be imported from thecommon
directory. Additionally, migrate types over to strict type system for properzod
types.Parent: #3