UNPKG

@data-client/normalizr

Version:

Normalizes and denormalizes JSON according to schema for Redux and Flux applications

15 lines 619 B
import type { EntityInterface } from '../interface.js'; export declare const addEntities: (newEntities: Map<string, Map<string, any>>, newIndexes: Map<string, Map<string, any>>, entitiesCopy: Record<string, any>, indexesCopy: Record<string, any>, entityMetaCopy: { [entityKey: string]: { [pk: string]: { date: number; expiresAt: number; fetchedAt: number; }; }; }, actionMeta: { fetchedAt: number; date: number; expiresAt: number; }) => (schema: EntityInterface, processedEntity: any, id: string) => void; //# sourceMappingURL=addEntities.d.ts.map