import type { FieldValue } from "./fieldUtils.js"; /** @internal */ export interface NumericRange { /** * A metadata property indicating whether the range is for an integer field. * * @internal */ isInteger?: boolean; /** * Numeric minimum value of the range. Same as * `rawMin` unless `rawMin` is a * string, in which case `min` will be `null`. * * @internal */ min?: number | null; /** * Numeric maximum value of the range. Same as * `rawMax` unless `rawMax` is a * string, in which case `max` will be `null`. * * @internal */ max?: number | null; /** * Minimum value as originally defined. In some cases this value may be a * string, e.g. when used in a domain for a date-only or time-only field. * * @internal */ rawMin?: FieldValue; /** * Maximum value as originally defined. In some cases this value may be a * string, e.g. when used in a domain for a date-only or time-only field. * * @internal */ rawMax?: FieldValue; }