Skip to content

Commit

Permalink
feat(configurations/auto-lock): make nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Quynh To Tuan committed Nov 20, 2019
1 parent c8efbf1 commit f84bd98
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/v1/configurations/items/settings.js
Expand Up @@ -18,22 +18,22 @@ module.exports = {
minLength: 3,
maxLength: 3
},
auto_lock: {
auto_lock: oneOf({
description: 'Settings for inactivity monitor.',
type: 'object',
properties: {
enabled: {
enabled: oneOf({
type: 'boolean',
default: false
},
idle_time: {
}),
idle_time: oneOf({
description: 'Allowed idle time in seconds before locking the application',
type: 'number',
minimum: 0,
default: 120
}
})
}
},
}),
third_party: {
description: 'Third party app links',
type: 'array',
Expand Down

0 comments on commit f84bd98

Please sign in to comment.