UNPKG

lexer-state

Version:

Lightweight state machine library to define and manage state transition declaratively

14 lines (13 loc) 466 B
import { ILexerStore } from './index'; import type { IEnvironment } from 'relay-runtime'; export declare class RelayStore implements ILexerStore { environment: IEnvironment; private tempId; constructor(environment: IEnvironment); add<T extends Record<string, any>>(name: string, data: Partial<T>): void; init(): ILexerStore; retrieveState(tableName: string): string; private getRoot; private getOldRecord; private createRecord; }