@cypress/json-schemas
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -15,2 +15,3 @@ "use strict"; | ||
var commit_1 = require("../../commit"); | ||
var ci_1 = require("../../ci"); | ||
var getRunResponseExample300 = { | ||
@@ -43,5 +44,7 @@ id: 'd5db9cf7-bfa4-490c-a6a1-2f85da0c52fb', | ||
}, | ||
ciUrl: 'https://ci.com/foo/bar/baz', | ||
ciProvider: 'Travis', | ||
ciBuildNumber: '123', | ||
ci: { | ||
url: 'https://ci.com/foo/bar/baz', | ||
provider: 'Travis', | ||
buildNumber: '123', | ||
}, | ||
webUrl: 'http://test-dashboard.cypress.io/#/projects/cjvoj7/runs/d5db9cf7-bfa4-490c-a6a1-2f85da0c52fb', | ||
@@ -85,2 +88,3 @@ projectWebUrl: 'http://test-dashboard.cypress.io/#/projects/cjvoj7', | ||
commit: __assign({}, commit_1.CommitInformation100.schema, { type: ['object', 'null'], see: 'CommitInformation' }), | ||
ci: __assign({}, ci_1.CiInformation100.schema, { type: ['object', 'null'], see: 'CiInformation' }), | ||
passed: { | ||
@@ -124,12 +128,2 @@ type: 'integer', | ||
}, | ||
ciUrl: { | ||
type: ['string', 'null'], | ||
description: 'On some CIs we can return full URL', | ||
}, | ||
ciProvider: { | ||
type: 'string', | ||
}, | ||
ciBuildNumber: { | ||
type: 'string', | ||
}, | ||
webUrl: { | ||
@@ -209,2 +203,4 @@ type: 'string', | ||
'orgDefault', | ||
'commit', | ||
'ci', | ||
], | ||
@@ -211,0 +207,0 @@ additionalProperties: true, |
@@ -14,2 +14,3 @@ "use strict"; | ||
var commit_1 = require("../../../commit"); | ||
var ci_1 = require("../../../ci"); | ||
var postRunRequestExample100 = { | ||
@@ -103,6 +104,8 @@ projectId: 'abc123', | ||
}, | ||
ciProvider: 'CircelCI', | ||
ciBuildNumber: '123', | ||
ciParams: { | ||
accountName: 'foo', | ||
ci: { | ||
provider: 'CircelCI', | ||
buildNumber: '123', | ||
params: { | ||
accountName: 'foo', | ||
}, | ||
}, | ||
@@ -139,11 +142,3 @@ groupId: null, | ||
commit: __assign({}, commit_1.CommitInformation100.schema, { type: ['object', 'null'], see: 'CommitInformation' }), | ||
ciProvider: { | ||
type: 'string', | ||
}, | ||
ciBuildNumber: { | ||
type: ['string', 'null'], | ||
}, | ||
ciParams: { | ||
type: ['object', 'null'], | ||
}, | ||
ci: __assign({}, ci_1.CiInformation100.schema, { type: ['object', 'null'], see: 'CiInformation' }), | ||
specs: { | ||
@@ -150,0 +145,0 @@ type: 'array', |
@@ -16,2 +16,3 @@ "use strict"; | ||
var commit_1 = require("./commit"); | ||
exports.schemas = schema_tools_1.combineSchemas(commit_1.CommitInformation, instance_2.CypressStats, index_1.GetRunResponse, hook_1.Hook, instance_1.Instance, instance_1.GetInstanceResponse, instance_2.MochaReporterStats, platform_1.PlatformInformation, request_2.PostRunInstanceRequest, request_1.PostRunRequest, response_1.PostRunResponse, instance_2.PutInstanceRequest, instance_2.PutInstanceResponse, instance_2.Screenshot, instance_2.ScreenshotUploadUrl, test_information_1.TestFromRunner, test_information_1.TestInformation, test_screenshot_1.TestScreenshot, video_1.Video); | ||
var ci_1 = require("./ci"); | ||
exports.schemas = schema_tools_1.combineSchemas(commit_1.CommitInformation, instance_2.CypressStats, index_1.GetRunResponse, hook_1.Hook, instance_1.Instance, instance_1.GetInstanceResponse, instance_2.MochaReporterStats, platform_1.PlatformInformation, request_2.PostRunInstanceRequest, request_1.PostRunRequest, response_1.PostRunResponse, instance_2.PutInstanceRequest, instance_2.PutInstanceResponse, instance_2.Screenshot, instance_2.ScreenshotUploadUrl, test_information_1.TestFromRunner, test_information_1.TestInformation, test_screenshot_1.TestScreenshot, video_1.Video, ci_1.CiInformation); |
{ | ||
"name": "@cypress/json-schemas", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Cypress JSON schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
62613
42
1850