UNPKG

@instantdb/core

Version:

Instant's core local abstraction

27 lines 1.1 kB
export function isBlob(attr: any): boolean; export function toJSON(store: any): { __type: any; attrs: any; triples: any[]; cardinalityInference: any; linkIndex: any; }; export function fromJSON(storeJSON: any): { eav: Map<any, any>; aev: Map<any, any>; vae: Map<any, any>; }; export function createStore(attrs: any, triples: any, enableCardinalityInference: any, linkIndex: any): { eav: Map<any, any>; aev: Map<any, any>; vae: Map<any, any>; }; export function allMapValues(m: any, level: any, res?: any[]): any[]; export function getTriples(store: any, [e, a, v]: [any, any, any]): any[]; export function getAsObject(store: any, attrs: any, e: any): {}; export function getAttrByFwdIdentName(store: any, inputEtype: any, inputLabel: any): any; export function getAttrByReverseIdentName(store: any, inputEtype: any, inputLabel: any): any; export function getBlobAttrs(store: any, etype: any): any; export function getPrimaryKeyAttr(store: any, etype: any): any; export function transact(store: any, txSteps: any): any; //# sourceMappingURL=store.d.ts.map