Skip to content

SchemaConfigInput

Defined in: packages/core/src/config/types.ts:184

User-facing schema generation configuration for defineConfig().

Controls where the generated vex.schema.ts is written. All properties are optional; omitted properties fall back to the defaults listed below.

Defaults applied by defineConfig():

{
outputPath: "/convex/vex.schema.ts", // vex.schema.ts output location
}

Automatic migration on schema change is not implemented. autoMigrate is deliberately absent from this type; passing autoMigrate: true through an untyped config throws at defineConfig() rather than silently migrating nothing.

SchemaConfig for the resolved type after defaults are applied

optional outputPath?: string

Defined in: packages/core/src/config/types.ts:190

Path (relative to project root) where vex.schema.ts is written.

Default: "/convex/vex.schema.ts"