@trimblemaps/content-db
Version:
An isomorphic indexeddb wrapper for storing/retrieving TrimbleMaps content (ie places & place-sets)
19 lines (18 loc) • 678 B
TypeScript
import { IPlaceSet } from './models';
export declare class PlacesStore {
placesetKey: string;
constructor(keyPrefix?: string);
getAll: () => any;
get: (id: number) => any;
getSetKeys: () => any;
getPlaceSetIndex: () => any;
find: (q: string) => any;
put: (placeSets: IPlaceSet[]) => any;
deletePlaceSet: (id: number) => any;
putPlaceSets: (placeSets: IPlaceSet[]) => any;
putPlaceSetKeys: (placeSets: IPlaceSet[]) => any;
findModifiedSetId: (sets: any, newSet: any) => any;
getBySetId: (id: number) => any;
updatePlaceSetIndex: (setId: number, placeSet: IPlaceSet) => any;
putPlaceSet: (placeSet: IPlaceSet) => any;
}