@expo/eas-build-job
Advanced tools
Comparing version 1.0.57 to 1.0.59
@@ -9,1 +9,13 @@ export declare enum ManagedArtifactType { | ||
} | ||
export declare enum GenericArtifactType { | ||
ANDROID_APK = "android-apk", | ||
ANDROID_AAB = "android-aab", | ||
IOS_SIMULATOR_APP = "ios-simulator-app", | ||
IOS_IPA = "ios-ipa", | ||
UNKNOWN = "unknown" | ||
} | ||
export declare const isGenericArtifact: <TSpec extends { | ||
type: GenericArtifactType | ManagedArtifactType; | ||
}>(artifactSpec: TSpec) => artifactSpec is TSpec & { | ||
type: GenericArtifactType; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ManagedArtifactType = void 0; | ||
exports.isGenericArtifact = exports.GenericArtifactType = exports.ManagedArtifactType = void 0; | ||
var ManagedArtifactType; | ||
@@ -13,2 +13,17 @@ (function (ManagedArtifactType) { | ||
})(ManagedArtifactType || (exports.ManagedArtifactType = ManagedArtifactType = {})); | ||
var GenericArtifactType; | ||
(function (GenericArtifactType) { | ||
GenericArtifactType["ANDROID_APK"] = "android-apk"; | ||
GenericArtifactType["ANDROID_AAB"] = "android-aab"; | ||
GenericArtifactType["IOS_SIMULATOR_APP"] = "ios-simulator-app"; | ||
GenericArtifactType["IOS_IPA"] = "ios-ipa"; | ||
GenericArtifactType["UNKNOWN"] = "unknown"; | ||
})(GenericArtifactType || (exports.GenericArtifactType = GenericArtifactType = {})); | ||
const isGenericArtifact = (artifactSpec) => { | ||
if (Object.values(GenericArtifactType).includes(artifactSpec.type)) { | ||
return true; | ||
} | ||
return false; | ||
}; | ||
exports.isGenericArtifact = isGenericArtifact; | ||
//# sourceMappingURL=artifacts.js.map |
{ | ||
"name": "@expo/eas-build-job", | ||
"version": "1.0.57", | ||
"version": "1.0.59", | ||
"main": "dist/index.js", | ||
@@ -36,3 +36,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "7304accf0b3da5670d1cacf8777db04a3bf16a91" | ||
"gitHead": "742ce93d5991b29ca6ce450b109899f70fd8bcc3" | ||
} |
Sorry, the diff of this file is not supported yet
105045
1206