screwdriver-data-schema 22.9.0 → 22.9.1
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/models/pipeline.js +5 -4
- package/package.json +1 -1
package/models/pipeline.js
CHANGED
|
@@ -147,7 +147,8 @@ module.exports = {
|
|
|
147
147
|
'prChain',
|
|
148
148
|
'parameters',
|
|
149
149
|
'subscribedScmUrlsWithActions',
|
|
150
|
-
'settings'
|
|
150
|
+
'settings',
|
|
151
|
+
'badges'
|
|
151
152
|
]
|
|
152
153
|
)
|
|
153
154
|
).label('Get Pipeline'),
|
|
@@ -168,9 +169,9 @@ module.exports = {
|
|
|
168
169
|
* @property update
|
|
169
170
|
* @type {Joi}
|
|
170
171
|
*/
|
|
171
|
-
update: Joi.object(
|
|
172
|
-
'
|
|
173
|
-
),
|
|
172
|
+
update: Joi.object(
|
|
173
|
+
mutate(UPDATE_MODEL, [], ['checkoutUrl', 'rootDir', 'autoKeysGeneration', 'settings', 'badges'])
|
|
174
|
+
).label('Update Pipeline'),
|
|
174
175
|
|
|
175
176
|
/**
|
|
176
177
|
* List of fields that determine a unique row
|