diff --git a/configs/issue-event-emitter-config.jsonc.dist b/configs/issue-event-emitter-config.jsonc.dist index 09d4d89..d147a5b 100644 --- a/configs/issue-event-emitter-config.jsonc.dist +++ b/configs/issue-event-emitter-config.jsonc.dist @@ -29,11 +29,21 @@ "itemsLimit": 3 }, "redmineUrlPrefix": "", + "redmineUrlPublic": "", "webhooks": [ { "url": "", "apiKeyName": "", "apiKeyValue": "" } - ] + ], + + // optional: + "couchDb": { + "url": "", + "dbs": { + "users": "", + "issues": "" + } + } } \ No newline at end of file diff --git a/libs/event-emitter/src/models/main-config-model.ts b/libs/event-emitter/src/models/main-config-model.ts index 28647f4..17b7720 100644 --- a/libs/event-emitter/src/models/main-config-model.ts +++ b/libs/event-emitter/src/models/main-config-model.ts @@ -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[]; };