Generated Code
Convex uses code generation to create TypeScript code that is specific to your app's data model and API.
Code generation isn't required to use Convex, but using the generated code will give you more type safety and better autocompletion in your editor.
To generate the code, run:
npx convex codegen
This creates a convex/_generated
directory that contains: