mirror of
https://github.com/actions/toolkit.git
synced 2026-08-16 00:00:21 +02:00
New Response Type
This commit is contained in:
+12
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user