UNPKG

prismaql

Version:

A powerful tool for managing and editing Prisma schema files using a SQL-like DSL.

18 lines (15 loc) 494 B
import { PrismaQlHandler } from '../../handler-registries/handler-registry.cjs'; import '../../dsl.cjs'; import '../../field-relation-collector.cjs'; import '@prisma/generator-helper'; import '../../prisma-schema-loader.cjs'; import '@mrleebo/prisma-ast'; interface FieldSummary { name: string; type: string; isId: boolean; isUnique: boolean; isRelation: boolean; } declare const getModel: PrismaQlHandler<"GET", "MODEL", "query">; export { type FieldSummary, getModel };