@qawolf/ci-sdk
Advanced tools
Comparing version 0.15.2 to 0.15.3
@@ -12,3 +12,3 @@ "use strict"; | ||
mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) { | ||
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) { | ||
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) { | ||
id | ||
@@ -15,0 +15,0 @@ } |
@@ -45,3 +45,3 @@ "use strict"; | ||
mutation createEnvironment($name: String!, $teamId: String!) { | ||
createEnvironment(name: $name, team_id: $teamId) { | ||
createEnvironment(name: $name, teamId: $teamId) { | ||
id | ||
@@ -88,2 +88,3 @@ branchId | ||
}, | ||
method: "post", | ||
}); | ||
@@ -90,0 +91,0 @@ const multiBranchResponseJson = (await multiBranchResponse.json()); |
@@ -10,6 +10,2 @@ "use strict"; | ||
body: JSON.stringify({ | ||
headers: { | ||
Authorization: `Bearer ${apiConfig.apiKey}`, | ||
"Content-Type": "application/json", | ||
}, | ||
query: `query getTriggersForBranch($where: TriggerWhereInput) { | ||
@@ -33,2 +29,7 @@ triggers(where: $where) { | ||
}), | ||
headers: { | ||
Authorization: `Bearer ${apiConfig.apiKey}`, | ||
"Content-Type": "application/json", | ||
}, | ||
method: "post", | ||
}); | ||
@@ -35,0 +36,0 @@ const retrievalResponseJson = (await retrievalResponse.json()); |
@@ -10,3 +10,3 @@ "use strict"; | ||
query EnvironmentVariables($where: EnvironmentWhereUniqueInput!) { | ||
environment(where: $where) | ||
environment(where: $where) { | ||
id | ||
@@ -13,0 +13,0 @@ variablesJSON |
@@ -9,3 +9,3 @@ import { qawolfGraphQLEndpoint } from "./constants"; | ||
mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) { | ||
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) { | ||
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) { | ||
id | ||
@@ -12,0 +12,0 @@ } |
@@ -42,3 +42,3 @@ import { qawolfGraphQLEndpoint } from "./constants"; | ||
mutation createEnvironment($name: String!, $teamId: String!) { | ||
createEnvironment(name: $name, team_id: $teamId) { | ||
createEnvironment(name: $name, teamId: $teamId) { | ||
id | ||
@@ -85,2 +85,3 @@ branchId | ||
}, | ||
method: "post", | ||
}); | ||
@@ -87,0 +88,0 @@ const multiBranchResponseJson = (await multiBranchResponse.json()); |
@@ -7,6 +7,2 @@ import { previewDeploymentType, qawolfGraphQLEndpoint } from "./constants"; | ||
body: JSON.stringify({ | ||
headers: { | ||
Authorization: `Bearer ${apiConfig.apiKey}`, | ||
"Content-Type": "application/json", | ||
}, | ||
query: `query getTriggersForBranch($where: TriggerWhereInput) { | ||
@@ -30,2 +26,7 @@ triggers(where: $where) { | ||
}), | ||
headers: { | ||
Authorization: `Bearer ${apiConfig.apiKey}`, | ||
"Content-Type": "application/json", | ||
}, | ||
method: "post", | ||
}); | ||
@@ -32,0 +33,0 @@ const retrievalResponseJson = (await retrievalResponse.json()); |
@@ -7,3 +7,3 @@ import { qawolfGraphQLEndpoint } from "./constants"; | ||
query EnvironmentVariables($where: EnvironmentWhereUniqueInput!) { | ||
environment(where: $where) | ||
environment(where: $where) { | ||
id | ||
@@ -10,0 +10,0 @@ variablesJSON |
{ | ||
"name": "@qawolf/ci-sdk", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"description": "A simple SDK for interacting with QAWolf in CI scripts.", | ||
@@ -37,3 +37,6 @@ "type": "commonjs", | ||
"typescript": "^5.4.3" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.6.2" | ||
} | ||
} |
@@ -103,3 +103,3 @@ # QAWolf CI SDK | ||
} = {}; | ||
const result = await sdk.experimental_testPreview(detail); | ||
const result = await sdk.experimental_testPreview(details); | ||
if (result.outcome !== "success") { | ||
@@ -106,0 +106,0 @@ console.error(result); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243227
3431
1
+ Addedtslib@^2.6.2
+ Addedtslib@2.8.1(transitive)