import { DMMF } from '@prisma/generator-helper'; import { annotate } from './annotations'; export type Annotation = { annotations: ReturnType; }; export type ParsedField = { kind: DMMF.FieldKind | 'relation-input'; name: string; type: string; documentation?: string; isRequired: boolean; isList: boolean; isNullable?: boolean; } & Annotation; export interface Imports { from: string; default?: string | { '*': string; }; destruct?: (string | Record)[]; }