@apilogic/migration-tool-api
Version:
Universal sql/no-sql database serverless migration tool
13 lines (12 loc) • 374 B
TypeScript
export declare abstract class Compiler {
readonly cwd: string;
readonly migrationsPath: string;
readonly buildPath: string;
constructor({ cwd, migrationsPath, buildPath }: {
cwd: string;
migrationsPath: string;
buildPath: string;
});
abstract compile(): Promise<string[] | undefined>;
abstract cleanup(): Promise<void>;
}