fix(core): update

This commit is contained in:
2020-02-15 22:38:28 +00:00
parent 92b858e248
commit d8f526ef2d
10 changed files with 73 additions and 61 deletions

View File

@@ -1,10 +1,20 @@
import * as plugins from './levelcache.plugins';
export interface ICacheEntryConstructorOptions {}
/**
* a CacheEntry
*/
export class CacheEntry {
public static fromBuffer() {}
public static fromString() {}
type: 'string' | 'blob';
mode: 'complete' | 'stream';
keyArg: string;
cacheStream: ReadableStream;
cacheContents: Buffer;
cacheValue: string;
}
constructor(optionsArg: {}) {}
}