@clickup/pg-mig
Version:
PostgreSQL schema migration tool with microsharding and clustering support
15 lines • 728 B
TypeScript
import type { Dest } from "./Dest";
import type { Grid } from "./Grid";
import type { Chain } from "./Patch";
import type { Registry } from "./Registry";
export declare function renderGrid(grid: Grid, skipEmptyLines: boolean): {
lines: string[];
errors: string[];
warnings: string[];
};
export declare function renderPatchSummary(chains: Chain[], beforeAfterFiles: string[]): string;
export declare function renderLatestVersions(dests: Dest[], registry: Registry, validShardSchemasSql?: string): Promise<string>;
export declare function printText(text: string): void;
export declare function printSuccess(text: string): void;
export declare function printError(e: unknown): void;
//# sourceMappingURL=render.d.ts.map