New Response Type

This commit is contained in:
Deepak Dahiya
2022-03-31 09:42:59 +00:00
committed by GitHub
parent b602df7c05
commit 79acd5bac4
5 changed files with 28 additions and 10 deletions
+12
View File
@@ -1,4 +1,12 @@
import {CompressionMethod} from './constants'
import {
ITypedResponse
} from '@actions/http-client/interfaces'
export interface ITypedResponseWithErrorMessage<T> extends ITypedResponse<T> {
message?: string
typeKey?: string
}
export interface ArtifactCacheEntry {
cacheKey?: string
@@ -25,3 +33,7 @@ export interface InternalCacheOptions {
compressionMethod?: CompressionMethod
cacheSize?: number
}
export interface CommitCacheRequest {
size: number
}