diff --git a/dist/index.js b/dist/index.js index e8089c0..1203b1c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -58700,7 +58700,7 @@ exports.createEnvironmentAction = createEnvironmentAction; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.createEnvironmentVariables = void 0; +exports.createEnvironmentVariables = createEnvironmentVariables; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -58727,7 +58727,6 @@ async function createEnvironmentVariables({ environmentId, variables, qawolfApiK }); return Promise.all(environmentVariableRequests); } -exports.createEnvironmentVariables = createEnvironmentVariables; /***/ }), @@ -58738,7 +58737,7 @@ exports.createEnvironmentVariables = createEnvironmentVariables; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.deleteTeamBranch = void 0; +exports.deleteTeamBranch = deleteTeamBranch; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -58765,7 +58764,6 @@ async function deleteTeamBranch({ log, qawolfApiKey, teamBranchId, teamId, }) { } log.info(`Branch deleted with ID: ${teamBranchId}`); } -exports.deleteTeamBranch = deleteTeamBranch; /***/ }), @@ -58799,7 +58797,7 @@ exports.deleteTeamBranchAction = deleteTeamBranchAction; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.findOrCreateEnvironment = void 0; +exports.findOrCreateEnvironment = findOrCreateEnvironment; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -58937,7 +58935,6 @@ async function findOrCreateEnvironment({ qawolfApiKey, branch, pr, qaWolfTeamId, } return creationResponse.data.data.createEnvironment.id; } -exports.findOrCreateEnvironment = findOrCreateEnvironment; /***/ }), @@ -58948,7 +58945,7 @@ exports.findOrCreateEnvironment = findOrCreateEnvironment; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.findOrCreateTrigger = void 0; +exports.findOrCreateTrigger = findOrCreateTrigger; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59037,7 +59034,6 @@ async function findOrCreateTrigger(args) { log.info(`Trigger created with ID: ${triggerId}`); return triggerId; } -exports.findOrCreateTrigger = findOrCreateTrigger; /***/ }), @@ -59048,7 +59044,7 @@ exports.findOrCreateTrigger = findOrCreateTrigger; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.findRepositoryIdByName = void 0; +exports.findRepositoryIdByName = findRepositoryIdByName; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59081,7 +59077,6 @@ async function findRepositoryIdByName(qawolfApiKey, headRepoFullName, log) { } return repositories[0].id; } -exports.findRepositoryIdByName = findRepositoryIdByName; /***/ }), @@ -59092,7 +59087,7 @@ exports.findRepositoryIdByName = findRepositoryIdByName; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getBranchIdIdForGitBranch = void 0; +exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59128,7 +59123,6 @@ async function getBranchIdIdForGitBranch({ gitBranch, log, qawolfApiKey, }) { } return triggers[0].environment.branchId; } -exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch; /***/ }), @@ -59139,7 +59133,7 @@ exports.getBranchIdIdForGitBranch = getBranchIdIdForGitBranch; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getEnvironmentVariablesFromEnvironment = void 0; +exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvironment; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59167,7 +59161,6 @@ async function getEnvironmentVariablesFromEnvironment({ qawolfApiKey, environmen } return JSON.parse(retrievalResponse.data.data.environment.variablesJSON); } -exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvironment; /***/ }), @@ -59178,7 +59171,7 @@ exports.getEnvironmentVariablesFromEnvironment = getEnvironmentVariablesFromEnvi "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.getTagsFromGenericTriggerInEnvironment = void 0; +exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvironment; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59212,7 +59205,6 @@ async function getTagsFromGenericTriggerInEnvironment({ qawolfApiKey, environmen } return retrievalResponse.data.data.environment.triggers[0]?.tags?.map((tag) => tag); } -exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvironment; /***/ }), @@ -59223,7 +59215,7 @@ exports.getTagsFromGenericTriggerInEnvironment = getTagsFromGenericTriggerInEnvi "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.handleOperation = void 0; +exports.handleOperation = handleOperation; const createEnvironmentAction_1 = __nccwpck_require__(5121); const deleteTeamBranchAction_1 = __nccwpck_require__(5420); const testDeployment_1 = __nccwpck_require__(5586); @@ -59268,7 +59260,6 @@ async function handleOperation(operation, options) { throw Error(`invalid operation: ${operation}`); } } -exports.handleOperation = handleOperation; /***/ }), @@ -59319,7 +59310,7 @@ exports.parseEnvironmentVariablesToJSON = parseEnvironmentVariablesToJSON; "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.testDeployment = void 0; +exports.testDeployment = testDeployment; const tslib_1 = __nccwpck_require__(36); const axios_1 = tslib_1.__importDefault(__nccwpck_require__(8379)); const constants_1 = __nccwpck_require__(8749); @@ -59342,7 +59333,6 @@ async function testDeployment({ qawolfApiKey, branch, commitUrl, sha, deployment }); log.info(`Triggered QA Wolf tests: ${response.data}`); } -exports.testDeployment = testDeployment; /***/ }),