UNPKG

@palmares/drizzle-engine

Version:

This is the engine that wraps the hole drizzle interface in a way palmares can understand and have full control of

12 lines 1.12 kB
import type { fieldParser as DrizzleEngineFieldParser } from './field'; import type { CustomArgs } from './types'; import type { AdapterFieldParserTranslateArgs } from '@palmares/databases'; import type { boolean as dBoolean } from 'drizzle-orm/mysql-core'; import type { boolean as dBoolean2 } from 'drizzle-orm/pg-core'; import type { integer as dInteger } from 'drizzle-orm/sqlite-core'; export declare const booleanFieldParser: typeof import("@palmares/databases").AdapterBooleanFieldParser & (new () => import("@palmares/databases").AdapterBooleanFieldParser & { translate: (args: AdapterFieldParserTranslateArgs<"boolean", any, InstanceType<typeof DrizzleEngineFieldParser>, any, CustomArgs<Parameters<typeof dInteger>[1], ReturnType<typeof dBoolean> | ReturnType<typeof dBoolean2> | ReturnType<typeof dInteger>>>) => Promise<any>; inputParser: (args: import("@palmares/databases").AdapterFieldParserInputAndOutputArgs<"boolean">) => Promise<any>; outputParser: (args: import("@palmares/databases").AdapterFieldParserInputAndOutputArgs<"boolean">) => Promise<any>; }); //# sourceMappingURL=boolean.d.ts.map