Created
May 6, 2014 18:48
-
-
Save shadowhand/21fe76fb2df1368e2f64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new DataProviderModel({ | |
id: 'email', | |
name: 'Email Server', | |
type: 'email', | |
enabled: true, | |
config: { | |
'server': 'mail.example.com', | |
'port': 25, | |
'username': 'user@example.com', | |
'password': 'secret' | |
}, | |
form: { | |
'server' : { | |
label: 'Server', | |
input: 'text', | |
description: '' | |
}, | |
'port' : { | |
label: 'Port', | |
input: 'number', | |
description: '' | |
}, | |
'username' : { | |
label: 'Username', | |
input: 'text', | |
description: '' | |
}, | |
'password' : { | |
label: 'Password', | |
input: 'password', | |
description: '' | |
} | |
} | |
}, { parse : true }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment