graphql-paper
Version:
A flexible in-memory store based on a GraphQL Schema
11 lines (10 loc) • 346 B
TypeScript
import { DocumentStore } from '../types';
export type DocumentModifiedChange = {
propertyName: string;
value: any;
previousValue: any;
};
export type DocumentModifiedChangeMap = {
[propertyName: string]: DocumentModifiedChange;
};
export declare function createStoreEvents(previous: DocumentStore, store: DocumentStore): Event[];