class OverridesLibrary { private overrides: Map = new Map(); public register(nodeId: string, overrides: NodeChangeProperty[]): void { this.overrides.set(nodeId, overrides); } public get(nodeId: string): NodeChangeProperty[] | undefined { return this.overrides.get(nodeId); } } export const overridesLibrary = new OverridesLibrary();