1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-09 08:52:54 +00:00

Initial pass at chunked upload apis

This commit is contained in:
Josh Gross 2019-12-13 15:19:25 -05:00
parent 4809f4ada4
commit bad827c28e
6 changed files with 158 additions and 50 deletions

13
src/contracts.d.ts vendored
View file

@ -4,3 +4,16 @@ export interface ArtifactCacheEntry {
creationTime?: string;
archiveLocation?: string;
}
export interface CommitCacheRequest {
size: number;
}
export interface ReserveCacheRequest {
key: string;
version?: string;
}
export interface ReserverCacheResponse {
cacheId: number;
}