UNPKG

ts-odatajs

Version:

The Olingo OData Client for JavaScript (and TypeScript) is a new cross-browser library that enables data-centric web applications by leveraging modern protocols such as JSON and OData and HTML5-enabled browser features. It's designed to be small, fast and

21 lines (16 loc) 543 B
/** @module store */ import { DomStore } from "./store/dom"; import { IndexedDBStore } from "./store/indexeddb"; import { MemoryStore } from "./store/memory"; export var defaultStoreMechanism: string; /** Creates a new store object. * @param {String} name - Store name. * @param {String} [mechanism] - * @returns {Object} Store object. */ export function createStore(name: string, mechanism?: string): Object; export var mechanisms: { indexeddb: IndexedDBStore; dom: DomStore; memory: MemoryStore; };