import { ArchDiagramNode } from "./ArchDiagram"; export type PackageNamePath = [string, string]; export type Node = { key: string; name?: string; packageName?: string; labelKey?: string; group?: string; isGroup?: boolean; }; export type Link = { from: string; to: string; }; export type LostData = { [iteration: number]: LostDataFromIteration; }; export type LostDataFromIteration = { iteration: number; gitCommit: string; timestamp: string; nodes: ArchDiagramNode[]; }; export type ArchDiagramRawData = { version: string; packageName?: string; commitHash: string; configuration?: string; packageNamePaths: PackageNamePath[]; nodes: Node[]; links: Link[]; }; /** * Because Redux doesn't like maps because they are not directly * serializable, to use a map that will be destined for redux, we * need to use this type. */ export type GenericMap = { [key: string]: T; }; //# sourceMappingURL=types.d.ts.map