EmitAllOptions interface

Everything emitAll() needs.

Signature:

export interface EmitAllOptions 

Properties

Property

Modifiers

Type

Description

contract

EmitContract

The emitted contract, read from contract.json.

enums?

EnumNames

(Optional) Names for enum members whose database label is not the name.

fields?

DeriveFields

(Optional) Stamp field names, where a service overrides the defaults.

imports?

ImportMap

(Optional) Where the generated files import their runtime from.

namespace?

string

(Optional) Namespace to emit. Defaults to the only one, or public.

omit?

readonly string[]

(Optional) Fields kept off the generated surface, as Model.field.

outDir

string | URL

Directory the files are written to.

validation?

ValidationRules

(Optional) Validation rules per model per field, as Zod suffixes.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.