Notify Add Lark
This commit is contained in:
@@ -19,11 +19,12 @@ export type NotifyTemplate = {
|
||||
|
||||
export type NotifyChannels = {
|
||||
dingtalk?: NotifyChannel;
|
||||
lark?: NotifyChannel;
|
||||
telegram?: NotifyChannel;
|
||||
webhook?: NotifyChannel;
|
||||
};
|
||||
|
||||
export type NotifyChannel = NotifyChannelDingTalk | NotifyChannelTelegram | NotifyChannelWebhook;
|
||||
export type NotifyChannel = NotifyChannelDingTalk | NotifyChannelLark | NotifyChannelTelegram | NotifyChannelWebhook;
|
||||
|
||||
export type NotifyChannelDingTalk = {
|
||||
accessToken: string;
|
||||
@@ -31,6 +32,11 @@ export type NotifyChannelDingTalk = {
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export type NotifyChannelLark = {
|
||||
webhookUrl: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export type NotifyChannelTelegram = {
|
||||
apiToken: string;
|
||||
chatId: string;
|
||||
|
||||
Reference in New Issue
Block a user