@jackchuka/gql-ingest
Version:
A CLI tool for ingesting data from files into a GraphQL API. Supports CSV, JSON, JSONL, and YAML file formats.
18 lines • 614 B
TypeScript
export interface DependencyGraph {
[entityName: string]: string[];
}
export interface ExecutionWave {
entities: string[];
wave: number;
}
export declare class DependencyResolver {
private dependencies;
private entities;
private allowPartialResolution;
constructor(entities: string[], dependencies?: DependencyGraph, allowPartialResolution?: boolean);
resolveExecutionOrder(): ExecutionWave[];
validateDependencies(): string[];
getDependents(entityName: string): string[];
getDependencies(entityName: string): string[];
}
//# sourceMappingURL=dependency-resolver.d.ts.map