2020-04-22 20:36:34 +00:00
|
|
|
import { CompressionMethod } from "./constants";
|
|
|
|
|
2019-10-30 18:48:49 +00:00
|
|
|
export interface ArtifactCacheEntry {
|
|
|
|
cacheKey?: string;
|
|
|
|
scope?: string;
|
|
|
|
creationTime?: string;
|
|
|
|
archiveLocation?: string;
|
|
|
|
}
|
2020-01-06 18:05:50 +00:00
|
|
|
|
|
|
|
export interface CommitCacheRequest {
|
|
|
|
size: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReserveCacheRequest {
|
|
|
|
key: string;
|
|
|
|
version?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReserveCacheResponse {
|
|
|
|
cacheId: number;
|
|
|
|
}
|
2020-04-22 20:36:34 +00:00
|
|
|
|
|
|
|
export interface CacheOptions {
|
|
|
|
compressionMethod?: CompressionMethod;
|
|
|
|
}
|