Add generated .d.ts and .d.ts.map files

This commit is contained in:
bexnoss 2022-01-31 17:25:55 +01:00
parent 6ae21f0d45
commit 1173a1039c
44 changed files with 416 additions and 0 deletions

View file

@ -0,0 +1,19 @@
export declare enum State {
STATE_CACHE_PRIMARY_KEY = 'cache-primary-key',
CACHE_MATCHED_KEY = 'cache-matched-key',
CACHE_PATHS = 'cache-paths'
}
declare abstract class CacheDistributor {
protected packageManager: string;
protected cacheDependencyPath: string;
protected CACHE_KEY_PREFIX: string;
constructor(packageManager: string, cacheDependencyPath: string);
protected abstract getCacheGlobalDirectories(): Promise<string[]>;
protected abstract computeKeys(): Promise<{
primaryKey: string;
restoreKey: string[] | undefined;
}>;
restoreCache(): Promise<void>;
}
export default CacheDistributor;
//# sourceMappingURL=cache-distributor.d.ts.map