UNPKG

kysely-codegen

Version:

`kysely-codegen` generates Kysely type definitions from your database. That's it.

19 lines (18 loc) 791 B
import { PostgresDialect as KyselyPostgresDialect } from 'kysely'; import type { CreateKyselyDialectOptions } from '../../dialect'; import { IntrospectorDialect } from '../../dialect'; import { NumericParser } from './numeric-parser'; import { PostgresIntrospector } from './postgres-introspector'; type PostgresDialectOptions = { defaultSchemas?: string[]; domains?: boolean; numericParser?: NumericParser; partitions?: boolean; }; export declare class PostgresIntrospectorDialect extends IntrospectorDialect { protected readonly options: PostgresDialectOptions; readonly introspector: PostgresIntrospector; constructor(options?: PostgresDialectOptions); createKyselyDialect(options: CreateKyselyDialectOptions): Promise<KyselyPostgresDialect>; } export {};