@typecad/typecad
Version:
🤖programmatically 💥create 🛰️hardware
21 lines (20 loc) • 733 B
TypeScript
export interface IRegistryConceptualOutlines {
[stableConceptualOutlineId: string]: string;
}
export interface IRegistryOutlineElements {
[stableElementId: string]: string;
}
export interface IRegistryVias {
[stableViaId: string]: string;
}
export interface IRegistryData {
vias: IRegistryVias;
conceptualOutlines: IRegistryConceptualOutlines;
outlineElements: IRegistryOutlineElements;
components: {
[stableComponentId: string]: string;
};
}
export declare const REGISTRY_FILE_PATH = "./build/cache/component_registry.json";
export declare function loadRegistry(filePath?: string): IRegistryData;
export declare function saveRegistry(filePath: string | undefined, data: IRegistryData): void;