@data-client/normalizr
Version:
Normalizes and denormalizes JSON according to schema for Redux and Flux applications
7 lines (6 loc) • 409 B
TypeScript
import { EntityInterface, EntityPath } from '../interface.js';
import { EntityCache } from './types.js';
import WeakDependencyMap from './WeakDependencyMap.js';
export type GetEntityCache = (pk: string, schema: EntityInterface) => WeakDependencyMap<EntityPath, object, any>;
export declare const getEntityCaches: (entityCache: EntityCache) => GetEntityCache;
//# sourceMappingURL=entitiesCache.d.ts.map