# HG changeset patch # User drewp@bigasterisk.com # Date 1683577900 25200 # Node ID 379c4294dd0f6ccd56f77d8fbea2d0865824b66a # Parent 5adf79d4a9f43fb66e6c6d7212b613954926b61d patch api diff -r 5adf79d4a9f4 -r 379c4294dd0f src/MultiStore.ts --- a/src/MultiStore.ts Mon May 08 13:29:48 2023 -0700 +++ b/src/MultiStore.ts Mon May 08 13:31:40 2023 -0700 @@ -10,7 +10,7 @@ } from "n3"; import * as RDF from "rdf-js"; import { SubEvent } from "sub-events"; -import { Patch } from "./Patch"; +import { Patch, PatchDirection } from "./Patch"; import { SourceGraph } from "./SourceGraph"; // queries over multiple Store objects @@ -28,7 +28,7 @@ newStore(s: SourceGraph) { this.stores.push(s.store); - const p = new Patch(); // todo + const p = new Patch(PatchDirection.ADD); // todo s.sourceGraphChanged.subscribe((p) => { this.sourceGraphDataChanged(p); // todo });