@vttforge/core / SchemaFieldInstance
Interface: SchemaFieldInstance<S, O>
Anything that satisfies the FieldInstance shape. Used as the inner-field constraint on ArrayField and as the value type of SchemaField's child map. Keeps the conditional types in ./infer-schema.ts straightforward.
Extends
Type Parameters
S
S extends Record<string, FieldInstance> = Record<string, FieldInstance>
O
O extends SchemaFieldOptions = SchemaFieldOptions
Properties
[BRAND]
readonly[BRAND]:"schema"
Overrides
fields
readonlyfields:S
options
readonlyoptions:O