screwdriver-data-schema 25.10.0 → 25.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.
Files changed (2) hide show
  1. package/api/loglines.js +8 -1
  2. package/package.json +1 -1
package/api/loglines.js CHANGED
@@ -22,7 +22,14 @@ const SCHEMA_QUERY = Joi.object()
22
22
  type: Joi.string()
23
23
  .valid('download', 'preview')
24
24
  .default('preview')
25
- .label('Flag to trigger type either to download or preview')
25
+ .label('Flag to trigger type either to download or preview'),
26
+ timestamp: Joi.boolean().optional().default(false).description('Enable timestamp in logs'),
27
+ timestampFormat: Joi.string()
28
+ .valid('full-time', 'simple-time', 'elapsed-build', 'elapsed-step')
29
+ .optional()
30
+ .default('full-time')
31
+ .description('Timestamp format at the head of the log'),
32
+ timezone: Joi.string().optional().default('UTC').description('Timezone of timestamp in logs')
26
33
  })
27
34
  .label('Query Parameters');
28
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "25.10.0",
3
+ "version": "25.11.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {