@actions/artifact package (#304)

* Initial commit for @actions/artifact package
This commit is contained in:
Konrad Pabjan
2020-02-11 09:49:46 -05:00
committed by GitHub
parent 0ecc141d4e
commit 6cbb8e9bc8
19 changed files with 1802 additions and 0 deletions
@@ -0,0 +1,33 @@
export interface ArtifactResponse {
containerId: string
size: number
signedContent: string
fileContainerResourceUrl: string
type: string
name: string
url: string
}
export interface CreateArtifactParameters {
Type: string
Name: string
}
export interface PatchArtifactSize {
Size: number
}
export interface PatchArtifactSizeSuccessResponse {
containerId: number
size: number
signedContent: string
type: string
name: string
url: string
uploadUrl: string
}
export interface UploadResults {
size: number
failedItems: string[]
}