first commit

This commit is contained in:
Ichitux
2026-04-05 03:08:53 +02:00
commit 1082d36c12
28015 changed files with 3767672 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { PGlite } from '@electric-sql/pglite';
interface PgDumpOptions {
pg: PGlite;
args?: string[];
database?: string;
fileName?: string;
verbose?: boolean;
}
/**
* Execute pg_dump
* @param pg - The PGlite instance
* @param args - The arguments to pass to pg_dump
* @param fileName - The name of the file to write the dump to (dump.sql by default)
* @returns The file containing the dump
*/
declare function pgDump({ pg, args, fileName, }: PgDumpOptions): Promise<File>;
export { pgDump };