import { FileNode, QueryClientContract } from './database.js'; /** * Shape of file node returned by the run method */ export type SeederFileNode = { status: 'pending' | 'completed' | 'failed' | 'ignored'; error?: any; file: FileNode; }; export type SeederConstructorContract = { environment: string[]; new (client: QueryClientContract): { client: QueryClientContract; run(): Promise; }; };