···135135 }
136136};
137137138138+/** Initialises then resets the data state, which may squash this layer if necessary */
139139+export const noopDataState = (data: InMemoryData, layerKey: number | null) => {
140140+ initDataState(data, layerKey);
141141+ clearDataState();
142142+};
143143+138144/** As we're writing, we keep around all the records and links we've read or have written to */
139145export const getCurrentDependencies = (): Set<string> => {
140146 invariant(