UNPKG

kysely-codegen

Version:

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

18 lines (17 loc) 632 B
import type { NumericParser } from '../introspector/dialects/postgres/numeric-parser'; import type { GeneratorDialect } from './dialect'; export type DialectName = 'bun-sqlite' | 'kysely-bun-sqlite' | 'libsql' | 'mssql' | 'mysql' | 'postgres' | 'sqlite' | 'worker-bun-sqlite'; type DialectManagerOptions = { domains?: boolean; numericParser?: NumericParser; partitions?: boolean; }; /** * Returns a dialect instance for a pre-defined dialect name. */ export declare class DialectManager { #private; constructor(options: DialectManagerOptions); getDialect(name: DialectName): GeneratorDialect; } export {};