17 lines
548 B
TypeScript
17 lines
548 B
TypeScript
import { BaseSQLiteDatabase } from "../../sqlite-core/index.js";
|
|
import type { DrizzleConfig } from "../../utils.js";
|
|
export type PrismaSQLiteDatabase = BaseSQLiteDatabase<'async', []>;
|
|
export type PrismaSQLiteConfig = Omit<DrizzleConfig, 'schema'>;
|
|
export declare function drizzle(config?: PrismaSQLiteConfig): (client: any) => {
|
|
$extends: {
|
|
extArgs: {
|
|
result: {};
|
|
model: {};
|
|
query: {};
|
|
client: {
|
|
$drizzle: () => PrismaSQLiteDatabase;
|
|
};
|
|
};
|
|
};
|
|
};
|