Mailspring/src/config-schema.coffee
Ben Gotow 31991d370e fix(config): new mail sounds on by default, change config keypath
unread-notifications.sounds => core.notifications.sounds
2015-10-14 17:11:36 -07:00

64 lines
1.5 KiB
CoffeeScript

# This is loaded by atom.coffee. See https://atom.io/docs/api/latest/Config for
# more information about config schemas.
module.exports =
core:
type: 'object'
properties:
workspace:
type: 'object'
properties:
mode:
type: 'string'
default: 'list'
enum: ['split', 'list']
showUnreadBadge:
type: 'boolean'
default: true
showImportant:
type: 'boolean'
default: true
disabledPackages:
type: 'array'
default: []
items:
type: 'string'
themes:
type: 'array'
default: ['ui-light']
items:
type: 'string'
keymapTemplate:
type: 'string'
default: 'Gmail'
attachments:
type: 'object'
properties:
downloadPolicy:
type: 'string'
default: 'on-read'
enum: ['on-receive', 'on-read', 'manually']
reading:
type: 'object'
properties:
markAsReadDelay:
type: 'integer'
default: 500
sending:
type: 'object'
properties:
sounds:
type: 'boolean'
default: true
defaultReplyType:
type: 'string'
default: 'reply-all'
enum: ['reply', 'reply-all']
notifications:
type: 'object'
properties:
enabled:
type: 'boolean'
default: true
sounds:
type: 'boolean'
default: true