EmitModelsOptions interface

Everything emitModels() needs.

Signature:

export interface EmitModelsOptions 

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.

imports?

ImportMap

(Optional) Where the generated file imports its 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.

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