@juzi/wechaty 1.0.113 → 1.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/mods/impls.d.ts +3 -3
- package/dist/cjs/src/mods/impls.d.ts.map +1 -1
- package/dist/cjs/src/mods/impls.js +2 -1
- package/dist/cjs/src/mods/impls.js.map +1 -1
- package/dist/cjs/src/mods/users.d.ts +1 -1
- package/dist/cjs/src/mods/users.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +4 -4
- package/dist/cjs/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/deliver-sayable.js +3 -0
- package/dist/cjs/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/message-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/cjs/src/sayable/payload-to-sayable.js +2 -0
- package/dist/cjs/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/cjs/src/sayable/sayable-to-payload.js +3 -0
- package/dist/cjs/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/cjs/src/sayable/types.d.ts +2 -2
- package/dist/cjs/src/sayable/types.d.ts.map +1 -1
- package/dist/cjs/src/sayable/types.js.map +1 -1
- package/dist/cjs/src/user-modules/channel-card.d.ts +39 -0
- package/dist/cjs/src/user-modules/channel-card.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/channel-card.js +57 -0
- package/dist/cjs/src/user-modules/channel-card.js.map +1 -0
- package/dist/cjs/src/user-modules/message.d.ts +2 -0
- package/dist/cjs/src/user-modules/message.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/message.js +12 -0
- package/dist/cjs/src/user-modules/message.js.map +1 -1
- package/dist/cjs/src/user-modules/mod.d.ts +4 -3
- package/dist/cjs/src/user-modules/mod.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/mod.js +3 -1
- package/dist/cjs/src/user-modules/mod.js.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +276 -36
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.js +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +12 -30
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +8 -12
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js +3 -0
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/dist/esm/src/mods/impls.d.ts +3 -3
- package/dist/esm/src/mods/impls.d.ts.map +1 -1
- package/dist/esm/src/mods/impls.js +1 -1
- package/dist/esm/src/mods/impls.js.map +1 -1
- package/dist/esm/src/mods/users.d.ts +1 -1
- package/dist/esm/src/mods/users.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +4 -4
- package/dist/esm/src/sayable/deliver-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/deliver-sayable.js +4 -1
- package/dist/esm/src/sayable/deliver-sayable.js.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/message-to-sayable.js +2 -0
- package/dist/esm/src/sayable/message-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.d.ts.map +1 -1
- package/dist/esm/src/sayable/payload-to-sayable.js +2 -0
- package/dist/esm/src/sayable/payload-to-sayable.js.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.d.ts.map +1 -1
- package/dist/esm/src/sayable/sayable-to-payload.js +4 -1
- package/dist/esm/src/sayable/sayable-to-payload.js.map +1 -1
- package/dist/esm/src/sayable/types.d.ts +2 -2
- package/dist/esm/src/sayable/types.d.ts.map +1 -1
- package/dist/esm/src/sayable/types.js.map +1 -1
- package/dist/esm/src/user-modules/channel-card.d.ts +39 -0
- package/dist/esm/src/user-modules/channel-card.d.ts.map +1 -0
- package/dist/esm/src/user-modules/channel-card.js +54 -0
- package/dist/esm/src/user-modules/channel-card.js.map +1 -0
- package/dist/esm/src/user-modules/message.d.ts +2 -0
- package/dist/esm/src/user-modules/message.d.ts.map +1 -1
- package/dist/esm/src/user-modules/message.js +12 -0
- package/dist/esm/src/user-modules/message.js.map +1 -1
- package/dist/esm/src/user-modules/mod.d.ts +4 -3
- package/dist/esm/src/user-modules/mod.d.ts.map +1 -1
- package/dist/esm/src/user-modules/mod.js +2 -1
- package/dist/esm/src/user-modules/mod.js.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.d.ts +276 -36
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.js +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +7 -5
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +12 -30
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +6 -0
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +8 -12
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +4 -0
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +4 -2
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js +4 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.js.map +1 -1
- package/package.json +3 -3
- package/src/mods/impls.ts +3 -0
- package/src/mods/users.ts +1 -0
- package/src/package-json.ts +4 -4
- package/src/sayable/deliver-sayable.ts +6 -0
- package/src/sayable/message-to-sayable.ts +3 -0
- package/src/sayable/payload-to-sayable.ts +3 -0
- package/src/sayable/sayable-to-payload.ts +3 -0
- package/src/sayable/types.ts +2 -0
- package/src/user-modules/channel-card.ts +85 -0
- package/src/user-modules/message.ts +19 -0
- package/src/user-modules/mod.ts +8 -0
- package/src/wechaty/wechaty-base.ts +1 -1
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -22,20 +22,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
22
22
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
23
23
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
24
24
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
25
|
-
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
26
|
-
* Logout the bot
|
|
27
|
-
*
|
|
28
|
-
* @returns {Promise<void>}
|
|
29
|
-
* @example
|
|
30
|
-
* await bot.logout()
|
|
31
|
-
*/
|
|
25
|
+
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
32
26
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
33
27
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
34
28
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
29
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
35
30
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
36
|
-
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
37
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
38
|
-
*/
|
|
31
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
39
32
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
40
33
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
41
34
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -53,6 +46,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
53
46
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
54
47
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
55
48
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
49
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
56
50
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
57
51
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
58
52
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -97,20 +91,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
97
91
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
98
92
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
99
93
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
100
|
-
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
101
|
-
* Logout the bot
|
|
102
|
-
*
|
|
103
|
-
* @returns {Promise<void>}
|
|
104
|
-
* @example
|
|
105
|
-
* await bot.logout()
|
|
106
|
-
*/
|
|
94
|
+
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
107
95
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
108
96
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
109
97
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
98
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
110
99
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
111
|
-
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
112
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
113
|
-
*/
|
|
100
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
114
101
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
115
102
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
116
103
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -128,6 +115,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
128
115
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
129
116
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
130
117
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
118
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
131
119
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
132
120
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
133
121
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -302,20 +290,13 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
302
290
|
__wechatifiedPost?: import("../user-modules/post.js").PostConstructor | undefined;
|
|
303
291
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
304
292
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
305
|
-
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
306
|
-
* Logout the bot
|
|
307
|
-
*
|
|
308
|
-
* @returns {Promise<void>}
|
|
309
|
-
* @example
|
|
310
|
-
* await bot.logout()
|
|
311
|
-
*/
|
|
293
|
+
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
312
294
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
313
295
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
314
296
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
297
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
315
298
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
316
|
-
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
317
|
-
* @deprecated: use `isLoggedIn` property instead. will be removed after Dec 31, 2022
|
|
318
|
-
*/
|
|
299
|
+
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
319
300
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
320
301
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
321
302
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -333,6 +314,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
333
314
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
334
315
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
335
316
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
317
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
336
318
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
337
319
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
338
320
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"login-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/login-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAoC,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAgDU,GAAG,EAAE;;IAvC3B;;;;;;;OAOG;;IAMH;;;;;;;;;;OAUG;;;YAqBqB,QAAQ,IAAI,CAAC;IAUrC;;;;;;OAMG;oBACoB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAK7C;;OAEG;gBACU,OAAO;IAKpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWN,CAAA;AAED,aAAK,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAA;AAE/C,aAAK,2BAA2B,GAC5B,UAAU,GACV,UAAU,GACV,oBAAoB,CAAA;AAExB,YAAY,EACV,UAAU,EACV,2BAA2B,GAC5B,CAAA;AACD,OAAO,EACL,UAAU,GACX,CAAA"}
|
|
@@ -25,6 +25,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
25
25
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
26
26
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
27
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
28
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
28
29
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
29
30
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
30
31
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -44,6 +45,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
44
45
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
45
46
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
46
47
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
48
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
47
49
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
48
50
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
49
51
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -94,6 +96,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
94
96
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
95
97
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
96
98
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
99
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
97
100
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
98
101
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
99
102
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -113,6 +116,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
113
116
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
114
117
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
115
118
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
119
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
116
120
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
117
121
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
118
122
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -286,6 +290,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
286
290
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
287
291
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
288
292
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
293
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
289
294
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
290
295
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
291
296
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -305,6 +310,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
305
310
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
306
311
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
307
312
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
313
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
308
314
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
309
315
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
310
316
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"misc-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/misc-mixin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAQ,mBAAmB,CAAA;AAK1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAuDX;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAFH;;OAEG;;;;;;sDApDmB,GAAG,EAAE;IAI3B;;OAEG;;IAcH;;;OAGG;;IAKH;;;;;;;;OAQG;eACS,MAAM;IAIlB;;OAEG;wBACwB,MAAM,GAAG,QAAQ,IAAI,CAAC;IAMjD;;OAEG;gBACU,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;gDAH1B;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcN,CAAA;AAED,aAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAA;AAE7C,aAAK,0BAA0B,GAAG,KAAK,CAAA;AAEvC,YAAY,EACV,SAAS,EACT,0BAA0B,GAC3B,CAAA;AACD,OAAO,EACL,SAAS,GACV,CAAA"}
|
|
@@ -103,13 +103,11 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
103
103
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
104
104
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
105
105
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
106
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
106
107
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
107
108
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
108
109
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
109
110
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Return the function to uninstall all plugins
|
|
112
|
-
*/
|
|
113
111
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
114
112
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
115
113
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -125,6 +123,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
125
123
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
126
124
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
127
125
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
126
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
128
127
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
129
128
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
130
129
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -162,13 +161,11 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
162
161
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
163
162
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
164
163
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
164
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
165
165
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
166
166
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
167
167
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
168
168
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
169
|
-
/**
|
|
170
|
-
* Return the function to uninstall all plugins
|
|
171
|
-
*/
|
|
172
169
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
173
170
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
174
171
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -184,6 +181,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
184
181
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
185
182
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
186
183
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
184
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
187
185
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
188
186
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
189
187
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -232,13 +230,11 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
232
230
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
233
231
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
234
232
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
233
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
235
234
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
236
235
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
237
236
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
238
237
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
239
|
-
/**
|
|
240
|
-
* Return the function to uninstall all plugins
|
|
241
|
-
*/
|
|
242
238
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
243
239
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
244
240
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -254,6 +250,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
254
250
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
255
251
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
256
252
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
253
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
257
254
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
258
255
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
259
256
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -409,13 +406,11 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
409
406
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
410
407
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
411
408
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
409
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
412
410
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
413
411
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
414
412
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
415
413
|
__wechatifiedWecom?: import("../user-modules/wecom.js").WecomConstructor | undefined;
|
|
416
|
-
/**
|
|
417
|
-
* Return the function to uninstall all plugins
|
|
418
|
-
*/
|
|
419
414
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
420
415
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
421
416
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
@@ -431,6 +426,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
431
426
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
432
427
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
433
428
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
429
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
434
430
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
435
431
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
436
432
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/plugin-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACzB,MAAkC,cAAc,CAAA;AAKjD,OAAO,KAAK,EACV,eAAe,E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;;;;;;;;;;;cAkCN,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAAG,KAAK,CAAA;AAEzC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,4BAA4B,EACjC,WAAW,GACZ,CAAA"}
|
|
@@ -24,6 +24,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
24
24
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
25
25
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
26
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
27
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
27
28
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
28
29
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
29
30
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -43,6 +44,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
43
44
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
44
45
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
45
46
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
47
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
46
48
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
47
49
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
48
50
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -160,6 +162,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
160
162
|
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
161
163
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
162
164
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
165
|
+
__wechatifiedChannelCard?: import("../user-modules/channel-card.js").ChannelCardConstructor | undefined;
|
|
163
166
|
__wechatifiedMoment?: import("../user-modules/moment.js").MomentConstructor | undefined;
|
|
164
167
|
__wechatifiedCallRecord?: import("../user-modules/call.js").CallRecordConstructor | undefined;
|
|
165
168
|
__wechatifiedChatHistory?: import("../user-modules/chat-history.js").ChatHistoryConstructor | undefined;
|
|
@@ -179,6 +182,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
179
182
|
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
180
183
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
181
184
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
185
|
+
readonly ChannelCard: import("../user-modules/channel-card.js").ChannelCardConstructor;
|
|
182
186
|
readonly Moment: import("../user-modules/moment.js").MomentConstructor;
|
|
183
187
|
readonly CallRecord: import("../user-modules/call.js").CallRecordConstructor;
|
|
184
188
|
readonly ChatHistory: import("../user-modules/chat-history.js").ChatHistoryConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAwBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"puppet-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAW,sBAAsB,CAAA;AAQnD,OAAO,EAEL,gBAAgB,EAChB,oBAAoB,EACrB,MAAO,cAAc,CAAA;AAwBtB;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAqBS,GAAG,EAAE;;;2BANH,oBAAoB;sBAE1B,gBAAgB;;aAmBT,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+gBnE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,kBAAkB,CAAA;AAEtB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, ChannelCardConstructor, MomentConstructor, CallRecordConstructor, ChatHistoryConstructor, WecomConstructor } from '../user-modules/mod.js';
|
|
2
2
|
import type { WechatySkeleton } from '../wechaty/mod.js';
|
|
3
3
|
declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase: MixinBase) => ((abstract new (...args: any[]) => {
|
|
4
4
|
__wechatifiedContact?: ContactConstructor | undefined;
|
|
@@ -16,6 +16,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
16
16
|
__wechatifiedTagGroup?: TagGroupConstructor | undefined;
|
|
17
17
|
__wechatifiedUrlLink?: UrlLinkConstructor | undefined;
|
|
18
18
|
__wechatifiedChannel?: ChannelConstructor | undefined;
|
|
19
|
+
__wechatifiedChannelCard?: ChannelCardConstructor | undefined;
|
|
19
20
|
__wechatifiedMoment?: MomentConstructor | undefined;
|
|
20
21
|
__wechatifiedCallRecord?: CallRecordConstructor | undefined;
|
|
21
22
|
__wechatifiedChatHistory?: ChatHistoryConstructor | undefined;
|
|
@@ -35,6 +36,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
35
36
|
readonly TagGroup: TagGroupConstructor;
|
|
36
37
|
readonly UrlLink: UrlLinkConstructor;
|
|
37
38
|
readonly Channel: ChannelConstructor;
|
|
39
|
+
readonly ChannelCard: ChannelCardConstructor;
|
|
38
40
|
readonly Moment: MomentConstructor;
|
|
39
41
|
readonly CallRecord: CallRecordConstructor;
|
|
40
42
|
readonly ChatHistory: ChatHistoryConstructor;
|
|
@@ -67,7 +69,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
67
69
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
68
70
|
}) & MixinBase;
|
|
69
71
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
70
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
|
|
72
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel' | '__wechatifiedChannelCard' | '__wechatifiedMoment' | '__wechatifiedCallRecord' | '__wechatifiedChatHistory' | '__wechatifiedWecom';
|
|
71
73
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
72
74
|
export { wechatifyUserModuleMixin, };
|
|
73
75
|
//# sourceMappingURL=wechatify-user-module-mixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mixin.d.ts","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":"AAEA,OAAO,EAsBL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAGjB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA+CH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CxC,CAAA;AAYD,aAAK,wBAAwB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE3E,aAAK,yCAAyC,GAC1C,sBAAsB,GACtB,0BAA0B,GAC1B,oBAAoB,GACpB,yBAAyB,GACzB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,0BAA0B,GAC1B,mBAAmB,GACnB,6BAA6B,GAC7B,kBAAkB,GAClB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,0BAA0B,GAC1B,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,GAC1B,oBAAoB,CAAA;AAExB,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -25,6 +25,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
25
25
|
__wechatifiedTagGroup;
|
|
26
26
|
__wechatifiedUrlLink;
|
|
27
27
|
__wechatifiedChannel;
|
|
28
|
+
__wechatifiedChannelCard;
|
|
28
29
|
__wechatifiedMoment;
|
|
29
30
|
__wechatifiedCallRecord;
|
|
30
31
|
__wechatifiedChatHistory;
|
|
@@ -44,6 +45,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
44
45
|
get TagGroup() { return guardWechatify(this.__wechatifiedTagGroup); }
|
|
45
46
|
get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
|
|
46
47
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
48
|
+
get ChannelCard() { return guardWechatify(this.__wechatifiedChannelCard); }
|
|
47
49
|
get Moment() { return guardWechatify(this.__wechatifiedMoment); }
|
|
48
50
|
get CallRecord() { return guardWechatify(this.__wechatifiedCallRecord); }
|
|
49
51
|
get ChatHistory() { return guardWechatify(this.__wechatifiedChatHistory); }
|
|
@@ -80,6 +82,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
80
82
|
this.__wechatifiedTagGroup = (0, mod_js_1.wechatifyUserModule)(mod_js_1.TagGroupImpl)(this);
|
|
81
83
|
this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
|
|
82
84
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
85
|
+
this.__wechatifiedChannelCard = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelCardImpl)(this);
|
|
83
86
|
this.__wechatifiedMoment = (0, mod_js_1.wechatifyUserModule)(mod_js_1.MomentImpl)(this);
|
|
84
87
|
this.__wechatifiedCallRecord = (0, mod_js_1.wechatifyUserModule)(mod_js_1.CallRecordImpl)(this);
|
|
85
88
|
this.__wechatifiedChatHistory = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChatHistoryImpl)(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"wechatify-user-module-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/wechatify-user-module-mixin.ts"],"names":[],"mappings":";;;AAAA,yDA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IACzD,IAAI,UAAU,EAAE;QACd,OAAO,UAAU,CAAA;KAClB;IACD,MAAM,IAAI,KAAK,CAAC,8FAA8F,CAAC,CAAA;AACjH,CAAC"}
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, } from '../user-modules/mod.js';
|
|
32
|
-
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, } from '../user-modules/mod.js';
|
|
33
|
-
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
32
|
+
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, TagGroupInterface, UrlLinkInterface, ChannelInterface, CallRecordInterface, WecomInterface, ChannelCardInterface, } from '../user-modules/mod.js';
|
|
33
|
+
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor, WecomConstructor, ChannelCardConstructor, } from '../user-modules/mod.js';
|
|
34
34
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
35
35
|
export type { WechatyInterface, WechatyConstructor, } from '../wechaty/mod.js';
|
|
36
36
|
//# sourceMappingURL=impls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,
|
|
1
|
+
{"version":3,"file":"impls.d.ts","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,GAChB,MAAkC,wBAAwB,CAAA;AAqB3D,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,GACrB,MAAoC,wBAAwB,CAAA;AAE7D,YAAY,EACV,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,GACvB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
*
|
|
29
29
|
* - no postfix: value, the `class`
|
|
30
30
|
*/
|
|
31
|
-
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, } from '../user-modules/mod.js';
|
|
31
|
+
export { ContactImpl, ContactSelfImpl, FavoriteImpl, FriendshipImpl, ImageImpl, LocationImpl, MessageImpl, MiniProgramImpl, MomentImpl, MoneyImpl, PostImpl, RoomImpl, RoomInvitationImpl, DelayImpl, TagImpl, TagGroupImpl, UrlLinkImpl, ChannelImpl, CallRecordImpl, WecomImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
32
32
|
export { WechatyImpl, } from '../wechaty/mod.js';
|
|
33
33
|
//# sourceMappingURL=impls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,
|
|
1
|
+
{"version":3,"file":"impls.js","sourceRoot":"","sources":["../../../../src/mods/impls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACd,SAAS,EACT,eAAe,GAChB,MAAkC,wBAAwB,CAAA;AAoE3D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA"}
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
*
|
|
23
23
|
* since they are `interface`s, so they are `type`-only.
|
|
24
24
|
*/
|
|
25
|
-
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, WecomInterface as Wecom, } from '../user-modules/mod.js';
|
|
25
|
+
export type { ContactInterface as Contact, ContactSelfInterface as ContactSelf, DelayInterface as Delay, FavoriteInterface as Favorite, FriendshipInterface as Friendship, ImageInterface as Image, LocationInterface as Location, MessageInterface as Message, MiniProgramInterface as MiniProgram, MomentInterface as Moment, MoneyInterface as Money, PostInterface as Post, RoomInterface as Room, RoomInvitationInterface as RoomInvitation, TagInterface as Tag, TagGroupInterface as TagGroup, UrlLinkInterface as UrlLink, ChannelInterface as Channel, CallRecordInterface as CallRecord, WecomInterface as Wecom, ChannelCardInterface as ChannelCard, } from '../user-modules/mod.js';
|
|
26
26
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/mods/users.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AAEH,YAAY,EACV,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,oBAAoB,IAAO,WAAW,EACtC,eAAe,IAAY,MAAM,EACjC,cAAc,IAAa,KAAK,EAChC,aAAa,IAAc,IAAI,EAC/B,aAAa,IAAc,IAAI,EAC/B,uBAAuB,IAAI,cAAc,EACzC,YAAY,IAAe,GAAG,EAC9B,iBAAiB,IAAU,QAAQ,EACnC,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,EAClC,mBAAmB,IAAQ,UAAU,EACrC,cAAc,IAAa,KAAK,EAChC,oBAAoB,IAAO,WAAW,GACvC,MAAoD,wBAAwB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = 'd34c301c388a44510f0afd080f8e21dd1a204849';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.115",
|
|
5
5
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -110,7 +110,7 @@ export const packageJson = {
|
|
|
110
110
|
},
|
|
111
111
|
"homepage": "https://github.com/wechaty/",
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@juzi/wechaty-puppet-service": "^1.0.
|
|
113
|
+
"@juzi/wechaty-puppet-service": "^1.0.110",
|
|
114
114
|
"clone-class": "^1.1.1",
|
|
115
115
|
"cmd-ts": "^0.10.0",
|
|
116
116
|
"cockatiel": "^2.0.2",
|
|
@@ -133,7 +133,7 @@ export const packageJson = {
|
|
|
133
133
|
"@chatie/eslint-config": "^1.0.4",
|
|
134
134
|
"@chatie/semver": "^0.4.7",
|
|
135
135
|
"@chatie/tsconfig": "^4.6.3",
|
|
136
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
136
|
+
"@juzi/wechaty-puppet": "^1.0.107",
|
|
137
137
|
"@juzi/wechaty-puppet-mock": "^1.0.1",
|
|
138
138
|
"@swc/core": "1.3.44",
|
|
139
139
|
"@swc/helpers": "^0.3.6",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"deliver-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAenD,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE3D;;GAEG;AACH,QAAA,MAAM,gCAAgC,WAAY,OAAO,KAAK,CAAC,eAAe,sBAAsB,MAAM,eAAqB,OAAO,YAAY,gBAAgB,2BAkGjK,CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileBox } from 'file-box';
|
|
2
|
-
import { ContactImpl, MessageImpl, DelayImpl, UrlLinkImpl, MiniProgramImpl, PostImpl, LocationImpl, ChannelImpl, } from '../user-modules/mod.js';
|
|
2
|
+
import { ContactImpl, MessageImpl, DelayImpl, UrlLinkImpl, MiniProgramImpl, PostImpl, LocationImpl, ChannelImpl, ChannelCardImpl, } from '../user-modules/mod.js';
|
|
3
3
|
/**
|
|
4
4
|
* TODO: add unit test to ensure the interface validation code works
|
|
5
5
|
*/
|
|
@@ -69,6 +69,9 @@ const deliverSayableConversationPuppet = (puppet) => (conversationId) => async (
|
|
|
69
69
|
else if (ChannelImpl.validInstance(sayable)) {
|
|
70
70
|
msgId = await puppet.messageSendChannel(conversationId, sayable.payload);
|
|
71
71
|
}
|
|
72
|
+
else if (ChannelCardImpl.validInstance(sayable)) {
|
|
73
|
+
msgId = await puppet.messageSendChannelCard(conversationId, sayable.payload);
|
|
74
|
+
}
|
|
72
75
|
else {
|
|
73
76
|
throw new Error('unsupported arg: ' + sayable);
|
|
74
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deliver-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,OAAO,EACL,WAAW,EACX,WAAW,EACX,SAAS,EACT,WAAW,EACX,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,WAAW,
|
|
1
|
+
{"version":3,"file":"deliver-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/deliver-sayable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,OAAO,EACL,WAAW,EACX,WAAW,EACX,SAAS,EACT,WAAW,EACX,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,GAChB,MAA0B,wBAAwB,CAAA;AAInD;;GAEG;AACH,MAAM,gCAAgC,GAAG,CAAC,MAAoC,EAAE,EAAE,CAAC,CAAC,cAAsB,EAAE,EAAE,CAAC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,MAAM,MAAM,CAAC,sBAAsB,CACzC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC9C;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,mBAAmB,CACtC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC3C;;WAEG;QACH,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;KACrB;SAAM,IAAI,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC1C;;WAEG;QACH,KAAK,GAAG,MAAM,MAAM,CAAC,eAAe,CAClC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QAC7C,KAAK,GAAG,MAAM,MAAM,CAAC,kBAAkB,CACrC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM,IAAI,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE;QACjD,KAAK,GAAG,MAAM,MAAM,CAAC,sBAAsB,CACzC,cAAc,EACd,OAAO,CAAC,OAAO,CAChB,CAAA;KACF;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,mBAAmB,GAAG,OAAO,CAAC,CAAA;KAC/C;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,OAAO,EACL,gCAAgC,GACjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAwB,wBAAwB,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,iBAAe,gBAAgB,CAC7B,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"message-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAwB,wBAAwB,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,iBAAe,gBAAgB,CAC7B,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC,CA+C9B;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -24,6 +24,8 @@ async function messageToSayable(message) {
|
|
|
24
24
|
return message.toPost();
|
|
25
25
|
case PUPPET.types.Message.Channel:
|
|
26
26
|
return message.toChannel();
|
|
27
|
+
case PUPPET.types.Message.ChannelCard:
|
|
28
|
+
return message.toChannelCard();
|
|
27
29
|
default:
|
|
28
30
|
log.warn('Wechaty', 'toSayable() can not convert not re-sayable type: %s(%s) for %s\n%s', PUPPET.types.Message[type], type, message, new Error().stack);
|
|
29
31
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-to-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/message-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQ1C,KAAK,UAAU,gBAAgB,CAC7B,OAAyB;IAEzB,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;IAEhD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAA;IAE3B,QAAQ,IAAI,EAAE;QACZ,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;YAC5B,OAAO,OAAO,CAAC,IAAI,EAAE,CAAA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YAC5B,OAAO,OAAO,CAAC,MAAM,EAAE,CAAA;QAEzB,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YAC/B,OAAO,OAAO,CAAC,SAAS,EAAE,CAAA;QAE5B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW;YACnC,OAAO,OAAO,CAAC,aAAa,EAAE,CAAA;QAEhC;YACE,GAAG,CAAC,IAAI,CAAC,SAAS,EAChB,oEAAoE,EACpE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAC1B,IAAI,EACJ,OAAO,EACP,IAAI,KAAK,EAAE,CAAC,KAAK,CAClB,CAAA;YACD,OAAO,SAAS,CAAA;KACnB;AACH,CAAC;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,QAAA,MAAM,uBAAuB,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,SAAS,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"payload-to-sayable.d.ts","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,QAAA,MAAM,uBAAuB,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,SAAS,GAAG,OAAO,CA2ClH,CAAA;AAED,OAAO,EACL,uBAAuB,GACxB,CAAA"}
|
|
@@ -23,6 +23,8 @@ const payloadToSayableWechaty = (wechaty) => async (sayable) => {
|
|
|
23
23
|
return new wechaty.Post(sayable.payload);
|
|
24
24
|
case PUPPET.types.Sayable.Channel:
|
|
25
25
|
return new wechaty.Channel(sayable.payload);
|
|
26
|
+
case PUPPET.types.Sayable.ChannelCard:
|
|
27
|
+
return new wechaty.ChannelCard(sayable.payload);
|
|
26
28
|
default:
|
|
27
29
|
throw new Error('payloadToSayable() not support payload: ' + JSON.stringify(sayable));
|
|
28
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload-to-sayable.js","sourceRoot":"","sources":["../../../../src/sayable/payload-to-sayable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAO,sBAAsB,CAAA;AAQ3C,MAAM,uBAAuB,GAA0F,CAAC,OAAyB,EAAE,EAAE,CAAC,KAAK,EACzJ,OAAgC,EAChC,EAAE;IACF,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,kCAAkC,EACvD,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAClC,OAAO,CAAC,IAAI,CACb,CAAA;IAED,QAAQ,OAAO,CAAC,IAAI,EAAE;QACpB,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;YAC5B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAA;QAE7B,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnC,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,KAAK,MAAM,CAAC,KAAK,CA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CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAEjD,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG;YAC3B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAE7C,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;YAC5B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAE1C,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO;YAC/B,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAE7C,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW;YACnC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QAEjD;YACE,MAAM,IAAI,KAAK,CAAC,0CAA0C,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;KACxF;AACH,CAAC,CAAA;AAED,OAAO,EACL,uBAAuB,GACxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sayable-to-payload.d.ts","sourceRoot":"","sources":["../../../../src/sayable/sayable-to-payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"sayable-to-payload.d.ts","sourceRoot":"","sources":["../../../../src/sayable/sayable-to-payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAgB9C,OAAO,KAAK,EACV,OAAO,EACR,MAAwB,YAAY,CAAA;AAErC,iBAAe,gBAAgB,CAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAmC/F;AAED,OAAO,EACL,gBAAgB,GACjB,CAAA"}
|