From 0ad08ce4cef03cb27fdc0549cd2f7e17941121e7 Mon Sep 17 00:00:00 2001 From: CaoMeiYouRen <996881204@qq.com> Date: Thu, 4 Mar 2021 21:47:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(type):=20=E5=AF=BC=E5=87=BA=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/push/cool-push.ts | 2 +- src/push/push-plus.ts | 2 +- src/push/wechat-robot.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 /**