TenantAtlas/apps/platform/.pnpm-store/v10/files/d5/e7d2195c9aa1380f2e707b8660cf9189a30391d371bd6e4084c9c3ec6db46f3b9d652ba490f5392d3bc39ee668842a0286dbc6122eb5768d58b9080352f4c4
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

24 lines
866 B
Plaintext

import { type Client, type Config } from '@libsql/client';
import { type DrizzleConfig } from "../utils.cjs";
import { type LibSQLDatabase } from "./driver-core.cjs";
export { LibSQLDatabase } from "./driver-core.cjs";
export declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>, TClient extends Client = Client>(...params: [
TClient | string
] | [
TClient | string,
DrizzleConfig<TSchema>
] | [
(DrizzleConfig<TSchema> & ({
connection: string | Config;
} | {
client: TClient;
}))
]): LibSQLDatabase<TSchema> & {
$client: TClient;
};
export declare namespace drizzle {
function mock<TSchema extends Record<string, unknown> = Record<string, never>>(config?: DrizzleConfig<TSchema>): LibSQLDatabase<TSchema> & {
$client: '$client is not available on drizzle.mock()';
};
}