@tiemma/sonic-core
Version:
Core package for the sonic project on swagger documentation
20 lines (12 loc) • 561 B
TypeScript
import { RequestObject } from './swagger-utils';
import { Queue } from './structures';
export type Node = string;
export interface Dependency {
dependencies: Node[],
requestData?: RequestObject
}
export type DependencyGraph = Record<Node, Dependency>
export function satisfyDependencyConstraints(dependencyGraph: DependencyGraph): void;
export function dependencyCycleDetection(dependencyGraph: DependencyGraph): void;
export function topologicalDependencySort(dependencyGraph: DependencyGraph): Queue;
// # sourceMappingURL=graph-utils.d.ts.map