UNPKG

@trapi/metadata

Version:

Generate REST-API metadata scheme from TypeScript Decorators.

15 lines 544 B
import type { CacheData, CacheOptionsInput } from './type'; export declare class CacheClient { private readonly options; constructor(input?: string | boolean | CacheOptionsInput); save(data: CacheData): Promise<string | undefined>; get(sourceFilesSize: number): Promise<CacheData | undefined>; /** * At a 10% chance, clear all cache files :) */ clear(): Promise<void>; private buildFilePath; private buildFileName; protected serialize(input: unknown): string; } //# sourceMappingURL=client.d.ts.map