UNPKG

from-schema

Version:

Infer TypeScript types from JSON schemas

11 lines (9 loc) 306 B
import { PostgresColumnBase } from '../../PostgresColumnBase'; export type TextColumnModel = PostgresColumnBase & { readonly type: 'text'; readonly minLength?: number; readonly maxLength?: number; readonly pattern?: string; readonly enum?: string[]; readonly checks?: string[]; };