screwdriver-data-schema 22.9.17 → 22.11.0

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.
@@ -26,7 +26,8 @@ const RESERVED_JOB_ANNOTATIONS = [
26
26
  'screwdriver.cd/manualStartEnabled',
27
27
  'screwdriver.cd/blockedBySameJob',
28
28
  'screwdriver.cd/blockedBySameJobWaitTime',
29
- 'screwdriver.cd/jobDisabledByDefault'
29
+ 'screwdriver.cd/jobDisabledByDefault',
30
+ 'screwdriver.cd/virtualTrigger'
30
31
  ];
31
32
  const RESERVED_PIPELINE_ANNOTATIONS = [
32
33
  'screwdriver.cd/buildCluster',
@@ -14,6 +14,7 @@ const SCHEMA_DISPLAY_JOB_NAME_LENGTH = Joi.number()
14
14
  .default(20)
15
15
  .description('Job name length to display on workflowGraph')
16
16
  .example(20);
17
+ const SCHEMA_ALLOW_NOTIFICATION = Joi.boolean().optional().default(false).description('Allow Browser Notification');
17
18
  const SCHEMA_METRICS_DOWNTIME_JOBS = Joi.array()
18
19
  .items(
19
20
  Joi.number().integer().positive().description('Identifier for this job').example(123345).optional().allow(null)
@@ -53,7 +54,8 @@ const SCHEMA_USER_SETTINGS = Joi.object()
53
54
 
54
55
  SCHEMA_USER_SETTINGS.append({
55
56
  displayJobNameLength: SCHEMA_DISPLAY_JOB_NAME_LENGTH,
56
- timestampFormat: SCHEMA_TIMESTAMP_FORMAT
57
+ timestampFormat: SCHEMA_TIMESTAMP_FORMAT,
58
+ allowNotification: SCHEMA_ALLOW_NOTIFICATION
57
59
  });
58
60
 
59
61
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "22.9.17",
3
+ "version": "22.11.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {