build: regenerate dist/ for v0.1.0
All checks were successful
ci / test (pull_request) Successful in 17s
All checks were successful
ci / test (pull_request) Successful in 17s
Pre-compiled ESM JS + .d.ts from tsconfig.build.json. Consumers install via 'git+https://gitea.bchen.dev/...#v0.1.0' so the built output must travel with the source. CI verifies in-sync via 'git diff --exit-code dist/'.
This commit is contained in:
18
dist/cli.d.ts
vendored
Normal file
18
dist/cli.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import type Database from 'better-sqlite3';
|
||||
export type DbCommand = 'migrate' | 'status' | 'stamp';
|
||||
export interface RunCliOptions {
|
||||
/** Caller-controlled DB open. Wrapper closes it before returning. */
|
||||
openDb: () => Database.Database;
|
||||
migrationsDir: string;
|
||||
command: DbCommand;
|
||||
/** Required for `stamp`. */
|
||||
version?: string;
|
||||
/** Default false. Forwarded to applyMigrations. */
|
||||
stampGenesis?: boolean;
|
||||
/** Default 'users'. Forwarded to applyMigrations. */
|
||||
genesisProbeTable?: string;
|
||||
/** Default process.stdout / process.stderr. Wired for tests. */
|
||||
stdout?: NodeJS.WritableStream;
|
||||
stderr?: NodeJS.WritableStream;
|
||||
}
|
||||
export declare function runMigrateCli(opts: RunCliOptions): number;
|
||||
Reference in New Issue
Block a user