screwdriver-data-schema 23.0.1 → 23.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/validator.js +3 -1
- package/package.json +1 -1
package/api/validator.js
CHANGED
|
@@ -7,6 +7,7 @@ const Job = require('../config/job');
|
|
|
7
7
|
const Parameters = require('../config/parameters');
|
|
8
8
|
const Regex = require('../config/regex');
|
|
9
9
|
const WorkflowGraph = require('../config/workflowGraph');
|
|
10
|
+
const Pipeline = require('../models/pipeline');
|
|
10
11
|
|
|
11
12
|
const SCHEMA_JOB_COMMAND = Joi.object()
|
|
12
13
|
.keys({
|
|
@@ -65,7 +66,8 @@ const SCHEMA_OUTPUT = Joi.object()
|
|
|
65
66
|
parameters: Parameters.parameters.default({}),
|
|
66
67
|
warnMessages: Joi.array().optional(),
|
|
67
68
|
stages: Base.stages.optional(),
|
|
68
|
-
subscribe: Base.subscribe
|
|
69
|
+
subscribe: Base.subscribe,
|
|
70
|
+
templateVersionId: Pipeline.fields.templateVersionId
|
|
69
71
|
})
|
|
70
72
|
.label('Execution information');
|
|
71
73
|
|