| 28 | } |
| 29 | |
| 30 | export interface ILsStore { |
| 31 | clear(): ILsStore; |
| 32 | clearAll(): ILsStore; |
| 33 | each(callback: (key: any, data: any) => false | any): ILsStore; |
| 34 | get(key: any, alt?: any): any; |
| 35 | getAll(fillObj?: IStoredData): IStoredData; |
| 36 | has(key: any): boolean; |
| 37 | isFake(): boolean; |
| 38 | keys(fillList?: string[]): string[]; |
| 39 | namespace(namespace: string, noSession?: true): ILsStore; |
| 40 | remove(key: any, alt?: any): any; |
| 41 | set(key: any, data: any, overwrite?: boolean): any; |
| 42 | setAll(data: Object, overwrite?: boolean): IStoredData; |
| 43 | add(key: any, data: any): any; |
| 44 | size(): number; |
| 45 | transact(key: any, fn: (data: any) => any, alt?: any): ILsStore; |
| 46 | } |
| 47 | |
| 48 | interface LocalForageDbInstanceOptions { |
| 49 | name?: string; |
no outgoing calls
no test coverage detected