deploy: ebd4cc0010
This commit is contained in:
31
node_modules/@algolia/cache-browser-local-storage/dist/cache-browser-local-storage.d.ts
generated
vendored
31
node_modules/@algolia/cache-browser-local-storage/dist/cache-browser-local-storage.d.ts
generated
vendored
@@ -1,31 +0,0 @@
|
||||
import { Cache } from '@algolia/cache-common';
|
||||
|
||||
export declare type BrowserLocalStorageCacheItem = {
|
||||
/**
|
||||
* The cache item creation timestamp.
|
||||
*/
|
||||
readonly timestamp: number;
|
||||
/**
|
||||
* The cache item value
|
||||
*/
|
||||
readonly value: any;
|
||||
};
|
||||
|
||||
export declare type BrowserLocalStorageOptions = {
|
||||
/**
|
||||
* The cache key.
|
||||
*/
|
||||
readonly key: string;
|
||||
/**
|
||||
* The time to live for each cached item in seconds.
|
||||
*/
|
||||
readonly timeToLive?: number;
|
||||
/**
|
||||
* The native local storage implementation.
|
||||
*/
|
||||
readonly localStorage?: Storage;
|
||||
};
|
||||
|
||||
export declare function createBrowserLocalStorageCache(options: BrowserLocalStorageOptions): Cache;
|
||||
|
||||
export { }
|
||||
Reference in New Issue
Block a user