paul-bokelman / cc

ClubCompass client and server monorepo
0 stars 0 forks source link

task: share validation schemas and types #15

Closed paul-bokelman closed 5 months ago

paul-bokelman commented 7 months ago

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 the common directory. Additionally, migrate types over to strict type system for proper zod types.

Parent: #3

paul-bokelman commented 6 months ago

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).