ContractJson interface

The slice of an emitted contract.json this derivation reads.

Signature:

export interface ContractJson 

Properties

Property

Modifiers

Type

Description

domain?

readonly

{ readonly namespaces?: Record<string, { readonly models?: Record<string, { readonly fields?: Record<string, unknown>; readonly relations?: Record<string, { readonly cardinality?: string; readonly to?: { readonly model?: string; }; readonly on?: { readonly localFields?: readonly string[]; readonly targetFields?: readonly string[]; }; }>; readonly storage?: { readonly table?: string; readonly fields?: Record<string, { readonly column?: string; }>; }; }>; }>; }

(Optional)

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