21 lines
406 B
TypeScript
21 lines
406 B
TypeScript
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: {}) {}
|
|
}
|