ToolJet/frontend/src/Editor/DataSourceManager/DefaultOptions.js

48 lines
994 B
JavaScript
Raw Normal View History

2021-04-08 01:20:30 +00:00
export const defaultOptions = {
'postgresql': {
host: 'localhost',
port: 5432,
username: '',
password: ''
},
'mysql': {
host: 'localhost',
port: 3306,
username: '',
password: ''
},
'redis': {
host: 'localhost',
port: 6379,
username: '',
password: ''
},
'elasticsearch': {
host: 'localhost',
port: 9000,
username: '',
password: ''
},
'stripe': {
api_key: ''
2021-04-13 09:33:31 +00:00
},
'firestore': {
gcp_key: ''
2021-04-16 16:45:10 +00:00
},
'restapi': {
url: '',
auth_type: 'none',
grant_type: 'client_credentials',
add_token_to: 'header',
header_prefix: 'Bearer ',
access_token_url: '',
client_id: '',
client_secret: '',
scopes: 'read, write',
auth_url: '',
client_auth: 'header',
headers: [['', '']],
custom_auth_params: [['', '']]
2021-04-08 01:20:30 +00:00
}
}