EmitRpcOptions interface

Everything emitRpcTypes() needs.

Signature:

export interface EmitRpcOptions extends Omit<EmitModelsOptions, 'imports'> 

Extends: Omit<EmitModelsOptions, 'imports'>

Properties

Property

Modifiers

Type

Description

fields?

DeriveFields

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

imports?

ImportMap

(Optional) Where the generated file imports its runtime from.

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.