Overview
Default exports
Explain expected default exports.schema.ts: The database schema.crons.ts: The cron jobs.http.ts: The HTTP API.app.ts: Maps toconvex.config.tsauth.ts: Maps toauth.config.ts
convex directory as a codegen target. While using Confect, you should never modify files in the convex folder directly, except for tsconfig.json.
Under most circumstances, you don’t even need to run the Convex CLI’s codegen command.
Generated files
There are two codegen targets:confect/_generatedconvex
confect/_generated directory will contain the following files:
_generated/api.ts_generated/refs.ts_generated/services.ts