@renewx/core
Version:
Lightweight state management library with validation support
7 lines (6 loc) • 368 B
TypeScript
import type { StoreID } from "../types/id";
export declare const batchStoresStart: () => boolean;
export declare const batchStoresEnd: () => void;
export declare const createAdjacency: (id: StoreID) => never[];
export declare const addAdjacency: (primaryId: StoreID, dependsOn: StoreID[]) => void;
export declare const getDeepAdjacencyList: (id: StoreID) => number[];