UNPKG

kysely-codegen

Version:

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

18 lines (17 loc) 542 B
import type { ColumnMetadataOptions } from './column-metadata'; import { ColumnMetadata } from './column-metadata'; export type TableMetadataOptions = { columns: ColumnMetadataOptions[]; isPartition?: boolean; isView?: boolean; name: string; schema?: string; }; export declare class TableMetadata { readonly columns: ColumnMetadata[]; readonly isPartition: boolean; readonly isView: boolean; readonly name: string; readonly schema: string | undefined; constructor(options: TableMetadataOptions); }