UNPKG

alinea

Version:
8 lines (7 loc) 595 B
import { Field, type FieldMeta, type FieldOptions } from '../Field.js'; import { Schema } from '../Schema.js'; import type { RecordShape } from '../shape/RecordShape.js'; import { type UnionMutator, type UnionRow } from '../shape/UnionShape.js'; export declare class UnionField<StoredValue extends UnionRow, QueryValue, Options extends FieldOptions<StoredValue>> extends Field<StoredValue, QueryValue, UnionMutator<StoredValue>, Options> { constructor(schema: Schema, shapes: Record<string, RecordShape<any>>, meta: FieldMeta<StoredValue, QueryValue, UnionMutator<StoredValue>, Options>); }