1 | import type { MigrationParams } from '../types';
|
2 | export type UmzugStorage<Ctx = unknown> = {
|
3 | |
4 |
|
5 |
|
6 | logMigration: (params: MigrationParams<Ctx>) => Promise<void>;
|
7 | |
8 |
|
9 |
|
10 | unlogMigration: (params: MigrationParams<Ctx>) => Promise<void>;
|
11 | |
12 |
|
13 |
|
14 | executed: (meta: Pick<MigrationParams<Ctx>, 'context'>) => Promise<string[]>;
|
15 | };
|
16 | export declare function isUmzugStorage(arg: Partial<UmzugStorage>): arg is UmzugStorage;
|
17 | export declare const verifyUmzugStorage: (arg: Partial<UmzugStorage>) => UmzugStorage;
|