FieldOptions
interfaceBoth directions of a property that *is* a node field, as withField takes them: the field name, the two value tables (each used by the one direction it names), and the accessor each direction stands in for.
Import
import { FieldOptions } from '@modular/sdk/editor';Members6
- field
string- getteroptional
stringThe getter this field read stands in for; see SchemaFieldBase.method.
- getterTableoptional
{ readonly [key: string]: unknown; }- setteroptional
stringThe setter this field write stands in for; see SchemaFieldBase.method.
- setterTableoptional
{ readonly [key: string]: unknown; }- whenoptional
stringThe predicate gating the export direction; see SchemaGetterField.when. Like `getterTable`, it belongs to one direction only — the import direction has nothing to gate, since a property that was not written is simply absent.