2020-02-14 17:28:13 +00:00
|
|
|
import * as plugins from './levelcache.plugins';
|
|
|
|
|
2020-02-15 22:38:28 +00:00
|
|
|
export interface ICacheEntryConstructorOptions {}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* a CacheEntry
|
|
|
|
*/
|
2020-02-14 17:28:13 +00:00
|
|
|
export class CacheEntry {
|
2020-02-15 22:38:28 +00:00
|
|
|
public static fromBuffer() {}
|
|
|
|
public static fromString() {}
|
|
|
|
|
2020-02-14 18:10:10 +00:00
|
|
|
type: 'string' | 'blob';
|
|
|
|
mode: 'complete' | 'stream';
|
|
|
|
keyArg: string;
|
|
|
|
cacheStream: ReadableStream;
|
|
|
|
cacheContents: Buffer;
|
|
|
|
cacheValue: string;
|
2020-02-15 22:38:28 +00:00
|
|
|
|
|
|
|
constructor(optionsArg: {}) {}
|
|
|
|
}
|