@cypress/json-schemas
Advanced tools
Comparing version 5.33.1 to 5.34.0
@@ -56,3 +56,3 @@ "use strict"; | ||
description: 'Status of a single run', | ||
detect: /^(running|errored|failed|timedOut|noTests|passed|overLimit)$/, | ||
detect: /^(running|errored|failed|timedOut|noTests|passed|overLimit|cancelled)$/, | ||
example: 'running', | ||
@@ -59,0 +59,0 @@ }; |
@@ -32,3 +32,3 @@ export declare type commitSha = string; | ||
export declare type instanceStatus = 'unclaimed' | 'running' | 'errored' | 'failed' | 'timedOut' | 'passed' | 'noTests' | 'cancelled'; | ||
export declare type runStatus = 'running' | 'errored' | 'failed' | 'timedOut' | 'noTests' | 'passed' | 'overLimit'; | ||
export declare type runStatus = 'running' | 'errored' | 'failed' | 'timedOut' | 'noTests' | 'passed' | 'overLimit' | 'cancelled'; | ||
export declare type SemanticVersion = string; |
@@ -432,3 +432,23 @@ "use strict"; | ||
}); | ||
var GetRunResponse = schema_tools_1.versionSchemas(GetRunResponse100, GetRunResponse200, GetRunResponse210, GetRunResponse220, GetRunResponse230); | ||
var getRunResponseExample240 = Object.assign({}, getRunResponseExample230, { | ||
cancelledBy: '60274ee2-65a1-4ae9-abd0-864afe3a544f', | ||
cancelledAt: '2018-05-15T19:15:41.477Z', | ||
}); | ||
var GetRunResponse240 = schema_tools_1.extend(GetRunResponse230, { | ||
schema: { | ||
description: 'Run response with cancellation information', | ||
properties: { | ||
cancelledBy: { | ||
type: ['string', 'null'], | ||
description: 'User that cancelled the run', | ||
}, | ||
cancelledAt: { | ||
type: ['string', 'null'], | ||
format: 'date-time', | ||
}, | ||
}, | ||
}, | ||
example: getRunResponseExample240, | ||
}); | ||
var GetRunResponse = schema_tools_1.versionSchemas(GetRunResponse100, GetRunResponse200, GetRunResponse210, GetRunResponse220, GetRunResponse230, GetRunResponse240); | ||
exports.GetRunResponse = GetRunResponse; |
{ | ||
"name": "@cypress/json-schemas", | ||
"version": "5.33.1", | ||
"version": "5.34.0", | ||
"description": "Cypress JSON schemas", | ||
@@ -36,4 +36,4 @@ "main": "dist", | ||
"@types/node": "9.6.55", | ||
"@typescript-eslint/eslint-plugin": "2.16.0", | ||
"@typescript-eslint/parser": "2.16.0", | ||
"@typescript-eslint/eslint-plugin": "2.17.0", | ||
"@typescript-eslint/parser": "2.17.0", | ||
"ava": "0.25.0", | ||
@@ -50,3 +50,3 @@ "ava-ts": "0.25.2", | ||
"ts-node": "8.6.2", | ||
"typescript": "3.7.4" | ||
"typescript": "3.7.5" | ||
}, | ||
@@ -53,0 +53,0 @@ "files": [ |
127317
3632