import type { ColumnType } from "kysely"; export type Generated = T extends ColumnType ? ColumnType : ColumnType; export interface FooBar { false: number; id: Generated; true: number; userStatus: string | null; } export interface DB { fooBar: FooBar; }