diff --git a/src/push/cool-push.ts b/src/push/cool-push.ts index e09eaa4..c8d44ad 100644 --- a/src/push/cool-push.ts +++ b/src/push/cool-push.ts @@ -9,7 +9,7 @@ const Debugger = debug('push:cool-push') * 推送类型,见 [Cool Push](https://cp.xuthus.cc/)。 * 暂不支持 一对多推送/指定特定的qq号或者群/企业微信消息推送/钉钉群消息/邮箱消息推送 */ -type PushType = 'send' | 'group' | 'psend' | 'pgroup' | 'wx' | 'tg' +export type PushType = 'send' | 'group' | 'psend' | 'pgroup' | 'wx' | 'tg' /** * Cool Push QQ消息推送服务。使用说明见 [Cool Push](https://cp.xuthus.cc/) diff --git a/src/push/push-plus.ts b/src/push/push-plus.ts index cd16ebf..0ba6b17 100644 --- a/src/push/push-plus.ts +++ b/src/push/push-plus.ts @@ -5,7 +5,7 @@ import { Send } from '../interfaces/send' const Debugger = debug('push:push-plus') -type TemplateType = 'html' | 'json' | 'cloudMonitor' +export type TemplateType = 'html' | 'json' | 'cloudMonitor' /** * pushplus 推送加开放平台,仅支持一对一推送。官方文档:http://pushplus.hxtrip.com/doc/ * diff --git a/src/push/wechat-robot.ts b/src/push/wechat-robot.ts index 0f79a85..5363ff5 100644 --- a/src/push/wechat-robot.ts +++ b/src/push/wechat-robot.ts @@ -7,7 +7,7 @@ import { TextMsg } from './wechat/TextMsg' const Debugger = debug('push:wechat-robot') -type MsgType = 'text' | 'markdown' +export type MsgType = 'text' | 'markdown' type Msg = TextMsg | MarkdownMsg /**