Параметры доступа к couchdb в event-emitter-е
This commit is contained in:
parent
82645eb8dc
commit
d567bfc914
2 changed files with 19 additions and 1 deletions
|
|
@ -29,11 +29,21 @@
|
||||||
"itemsLimit": 3
|
"itemsLimit": 3
|
||||||
},
|
},
|
||||||
"redmineUrlPrefix": "",
|
"redmineUrlPrefix": "",
|
||||||
|
"redmineUrlPublic": "",
|
||||||
"webhooks": [
|
"webhooks": [
|
||||||
{
|
{
|
||||||
"url": "",
|
"url": "",
|
||||||
"apiKeyName": "",
|
"apiKeyName": "",
|
||||||
"apiKeyValue": ""
|
"apiKeyValue": ""
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
|
||||||
|
// optional:
|
||||||
|
"couchDb": {
|
||||||
|
"url": "",
|
||||||
|
"dbs": {
|
||||||
|
"users": "",
|
||||||
|
"issues": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -10,5 +10,13 @@ export type MainConfigModel = {
|
||||||
mailListener: MailListenerParams | null;
|
mailListener: MailListenerParams | null;
|
||||||
rssListener: RssListenerParams | null;
|
rssListener: RssListenerParams | null;
|
||||||
redmineUrlPrefix: string;
|
redmineUrlPrefix: string;
|
||||||
|
redmineUrlPublic: string;
|
||||||
|
couchDb?: {
|
||||||
|
url: string;
|
||||||
|
dbs: {
|
||||||
|
users: string;
|
||||||
|
issues: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
webhooks: WebhookConfigItemModel[];
|
webhooks: WebhookConfigItemModel[];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue