diff --git a/lib/decorators.ts b/lib/decorators.ts index 15044b3f0..c0db3bce6 100644 --- a/lib/decorators.ts +++ b/lib/decorators.ts @@ -125,6 +125,7 @@ export const MappedParameters = { SlackChannel: "atomist://slack/channel", SlackChannelName: "atomist://slack/channel_name", + SlackChannelType: "atomist://slack/channel_type", SlackTeam: "atomist://slack/team", SlackUser: "atomist://slack/user", SlackUserName: "atomist://slack/user_name", @@ -132,6 +133,11 @@ export const MappedParameters = { AtomistWebhookUrlBase: "atomist://base_webhook_url", }; +export enum SlackChannelType { + Channel = "channel", + User = "user", +} + export const Secrets = { OrgToken: "github://org_token", UserToken: "github://user_token",