Параметры доступа к couchdb в event-emitter-е

This commit is contained in:
Pavel Gnedov 2022-07-18 11:47:55 +07:00
parent 82645eb8dc
commit d567bfc914
2 changed files with 19 additions and 1 deletions

View file

@ -29,11 +29,21 @@
"itemsLimit": 3
},
"redmineUrlPrefix": "",
"redmineUrlPublic": "",
"webhooks": [
{
"url": "",
"apiKeyName": "",
"apiKeyValue": ""
}
]
],
// optional:
"couchDb": {
"url": "",
"dbs": {
"users": "",
"issues": ""
}
}
}

View file

@ -10,5 +10,13 @@ export type MainConfigModel = {
mailListener: MailListenerParams | null;
rssListener: RssListenerParams | null;
redmineUrlPrefix: string;
redmineUrlPublic: string;
couchDb?: {
url: string;
dbs: {
users: string;
issues: string;
};
};
webhooks: WebhookConfigItemModel[];
};