You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
661 B
25 lines
661 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.findReusableBuildAsync = findReusableBuildAsync;
|
|
function _xdl() {
|
|
const data = require("xdl");
|
|
_xdl = function () {
|
|
return data;
|
|
};
|
|
return data;
|
|
}
|
|
async function findReusableBuildAsync(releaseChannel, platform, sdkVersion, slug, owner) {
|
|
const user = await _xdl().UserManager.getCurrentUserAsync();
|
|
const buildReuseStatus = await _xdl().ApiV2.clientForUser(user).postAsync('standalone-build/reuse', {
|
|
releaseChannel,
|
|
platform,
|
|
sdkVersion,
|
|
slug,
|
|
owner
|
|
});
|
|
return buildReuseStatus;
|
|
}
|
|
//# sourceMappingURL=findReusableBuildAsync.js.map
|