@juzi/wechaty 1.0.17 → 1.0.21
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/pure-functions/update.d.ts +9 -0
- package/dist/cjs/src/pure-functions/update.d.ts.map +1 -0
- package/dist/cjs/src/pure-functions/update.js +73 -0
- package/dist/cjs/src/pure-functions/update.js.map +1 -0
- package/dist/cjs/src/schemas/contact-events.d.ts +4 -1
- package/dist/cjs/src/schemas/contact-events.d.ts.map +1 -1
- package/dist/cjs/src/schemas/contact-events.js.map +1 -1
- package/dist/cjs/src/schemas/room-events.d.ts +5 -1
- package/dist/cjs/src/schemas/room-events.d.ts.map +1 -1
- package/dist/cjs/src/schemas/room-events.js +1 -0
- package/dist/cjs/src/schemas/room-events.js.map +1 -1
- package/dist/cjs/src/schemas/update.d.ts +12 -0
- package/dist/cjs/src/schemas/update.d.ts.map +1 -0
- package/dist/cjs/src/schemas/update.js +3 -0
- package/dist/cjs/src/schemas/update.js.map +1 -0
- package/dist/cjs/src/schemas/wechaty-events.d.ts +5 -1
- package/dist/cjs/src/schemas/wechaty-events.d.ts.map +1 -1
- package/dist/cjs/src/schemas/wechaty-events.js +1 -0
- package/dist/cjs/src/schemas/wechaty-events.js.map +1 -1
- package/dist/cjs/src/user-modules/contact.d.ts +8 -9
- package/dist/cjs/src/user-modules/contact.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/contact.js +46 -33
- package/dist/cjs/src/user-modules/contact.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/user-modules/room.d.ts +2 -2
- package/dist/cjs/src/user-modules/room.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/room.js +10 -3
- package/dist/cjs/src/user-modules/room.js.map +1 -1
- package/dist/cjs/src/user-modules/tag-group.d.ts +66 -0
- package/dist/cjs/src/user-modules/tag-group.d.ts.map +1 -0
- package/dist/cjs/src/user-modules/tag-group.js +98 -0
- package/dist/cjs/src/user-modules/tag-group.js.map +1 -0
- package/dist/cjs/src/user-modules/tag.d.ts +47 -11
- package/dist/cjs/src/user-modules/tag.d.ts.map +1 -1
- package/dist/cjs/src/user-modules/tag.js +109 -27
- package/dist/cjs/src/user-modules/tag.js.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-base.d.ts +22 -12
- package/dist/cjs/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js +5 -3
- package/dist/cjs/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
- package/dist/cjs/src/wechaty-mixins/io-mixin.d.ts +2 -2
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts +11 -5
- package/dist/cjs/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts +14 -14
- package/dist/cjs/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts +14 -6
- package/dist/cjs/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts +10 -24
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.js +23 -0
- package/dist/cjs/src/wechaty-mixins/puppet-mixin.js.map +1 -1
- package/dist/cjs/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +5 -3
- 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/pure-functions/update.d.ts +9 -0
- package/dist/esm/src/pure-functions/update.d.ts.map +1 -0
- package/dist/esm/src/pure-functions/update.js +69 -0
- package/dist/esm/src/pure-functions/update.js.map +1 -0
- package/dist/esm/src/schemas/contact-events.d.ts +4 -1
- package/dist/esm/src/schemas/contact-events.d.ts.map +1 -1
- package/dist/esm/src/schemas/contact-events.js.map +1 -1
- package/dist/esm/src/schemas/room-events.d.ts +5 -1
- package/dist/esm/src/schemas/room-events.d.ts.map +1 -1
- package/dist/esm/src/schemas/room-events.js +1 -0
- package/dist/esm/src/schemas/room-events.js.map +1 -1
- package/dist/esm/src/schemas/update.d.ts +12 -0
- package/dist/esm/src/schemas/update.d.ts.map +1 -0
- package/dist/esm/src/schemas/update.js +2 -0
- package/dist/esm/src/schemas/update.js.map +1 -0
- package/dist/esm/src/schemas/wechaty-events.d.ts +5 -1
- package/dist/esm/src/schemas/wechaty-events.d.ts.map +1 -1
- package/dist/esm/src/schemas/wechaty-events.js +1 -0
- package/dist/esm/src/schemas/wechaty-events.js.map +1 -1
- package/dist/esm/src/user-modules/contact.d.ts +8 -9
- package/dist/esm/src/user-modules/contact.d.ts.map +1 -1
- package/dist/esm/src/user-modules/contact.js +46 -33
- package/dist/esm/src/user-modules/contact.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/user-modules/room.d.ts +2 -2
- package/dist/esm/src/user-modules/room.d.ts.map +1 -1
- package/dist/esm/src/user-modules/room.js +10 -3
- package/dist/esm/src/user-modules/room.js.map +1 -1
- package/dist/esm/src/user-modules/tag-group.d.ts +66 -0
- package/dist/esm/src/user-modules/tag-group.d.ts.map +1 -0
- package/dist/esm/src/user-modules/tag-group.js +95 -0
- package/dist/esm/src/user-modules/tag-group.js.map +1 -0
- package/dist/esm/src/user-modules/tag.d.ts +47 -11
- package/dist/esm/src/user-modules/tag.d.ts.map +1 -1
- package/dist/esm/src/user-modules/tag.js +109 -27
- package/dist/esm/src/user-modules/tag.js.map +1 -1
- package/dist/esm/src/wechaty/wechaty-base.d.ts +22 -12
- package/dist/esm/src/wechaty/wechaty-base.d.ts.map +1 -1
- package/dist/esm/src/wechaty/wechaty-impl.spec.js +5 -3
- package/dist/esm/src/wechaty/wechaty-impl.spec.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/gerror-mixin.d.ts +1 -1
- package/dist/esm/src/wechaty-mixins/io-mixin.d.ts +2 -2
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts +11 -5
- package/dist/esm/src/wechaty-mixins/login-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts +14 -14
- package/dist/esm/src/wechaty-mixins/misc-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts +14 -6
- package/dist/esm/src/wechaty-mixins/plugin-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts +10 -24
- package/dist/esm/src/wechaty-mixins/puppet-mixin.d.ts.map +1 -1
- package/dist/esm/src/wechaty-mixins/puppet-mixin.js +23 -0
- package/dist/esm/src/wechaty-mixins/puppet-mixin.js.map +1 -1
- package/dist/esm/src/wechaty-mixins/wechatify-user-module-mixin.d.ts +5 -3
- 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/pure-functions/update.ts +68 -0
- package/src/schemas/contact-events.ts +4 -0
- package/src/schemas/room-events.ts +5 -0
- package/src/schemas/update.ts +14 -0
- package/src/schemas/wechaty-events.ts +5 -1
- package/src/user-modules/contact.ts +57 -35
- package/src/user-modules/mod.ts +8 -0
- package/src/user-modules/room.ts +11 -4
- package/src/user-modules/tag-group.ts +151 -0
- package/src/user-modules/tag.ts +131 -14
- package/src/wechaty/wechaty-impl.spec.ts +3 -0
- package/src/wechaty-mixins/puppet-mixin.ts +24 -0
- package/src/wechaty-mixins/wechatify-user-module-mixin.ts +6 -0
|
@@ -26,7 +26,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
26
26
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
27
27
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
28
28
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
29
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
29
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
30
30
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
31
31
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
32
32
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -67,12 +67,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
67
67
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
68
68
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
69
69
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
70
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
70
71
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
71
72
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
72
73
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
73
74
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
74
75
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
75
|
-
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
76
76
|
/**
|
|
77
77
|
* Main bot class.
|
|
78
78
|
*
|
|
@@ -96,6 +96,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
96
96
|
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
97
97
|
* bot.start()
|
|
98
98
|
*/
|
|
99
|
+
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
99
100
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
100
101
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
101
102
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
@@ -104,6 +105,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
104
105
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
105
106
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
106
107
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
108
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
107
109
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
108
110
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
109
111
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -125,7 +127,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
125
127
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
126
128
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
127
129
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
128
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
130
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
129
131
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
130
132
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
131
133
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -159,12 +161,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
159
161
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
160
162
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
161
163
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
164
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
162
165
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
163
166
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
164
167
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
165
168
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
166
169
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
167
|
-
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
168
170
|
/**
|
|
169
171
|
* Main bot class.
|
|
170
172
|
*
|
|
@@ -188,6 +190,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
188
190
|
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
189
191
|
* bot.start()
|
|
190
192
|
*/
|
|
193
|
+
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
191
194
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
192
195
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
193
196
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
@@ -196,6 +199,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
196
199
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
197
200
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
198
201
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
202
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
199
203
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
200
204
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
201
205
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
@@ -221,7 +225,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
221
225
|
__options: WechatyOptions;
|
|
222
226
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
223
227
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
224
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
228
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
225
229
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
226
230
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
227
231
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -255,12 +259,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
255
259
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
256
260
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
257
261
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
262
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
258
263
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
259
264
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
260
265
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
261
266
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
262
267
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
263
|
-
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
264
268
|
/**
|
|
265
269
|
* Main bot class.
|
|
266
270
|
*
|
|
@@ -284,6 +288,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
284
288
|
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
285
289
|
* bot.start()
|
|
286
290
|
*/
|
|
291
|
+
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
287
292
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
288
293
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
289
294
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
@@ -292,6 +297,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
292
297
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
293
298
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
294
299
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
300
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
295
301
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
296
302
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
297
303
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
@@ -323,12 +329,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
323
329
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
324
330
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
325
331
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
332
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
326
333
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
327
334
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
328
335
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
329
336
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
330
337
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
331
|
-
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
332
338
|
/**
|
|
333
339
|
* Main bot class.
|
|
334
340
|
*
|
|
@@ -352,6 +358,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
352
358
|
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
353
359
|
* bot.start()
|
|
354
360
|
*/
|
|
361
|
+
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
355
362
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
356
363
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
357
364
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
@@ -360,6 +367,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
360
367
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
361
368
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
362
369
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
370
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
363
371
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
364
372
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
365
373
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
@@ -367,7 +375,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
367
375
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
368
376
|
readonly memory: import("memory-card").MemoryCard;
|
|
369
377
|
__options: WechatyOptions;
|
|
370
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
378
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
371
379
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
372
380
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
373
381
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -402,7 +410,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
402
410
|
readonly memory: import("memory-card").MemoryCard;
|
|
403
411
|
__options: WechatyOptions;
|
|
404
412
|
init(): Promise<void>;
|
|
405
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
413
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
406
414
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
407
415
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
408
416
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -435,12 +443,12 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
435
443
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
436
444
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
437
445
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
446
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
438
447
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
439
448
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
440
449
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
441
450
|
readonly ContactSelf: import("../user-modules/contact-self.js").ContactSelfConstructor;
|
|
442
451
|
readonly Delay: import("../user-modules/delay.js").DelayConstructor;
|
|
443
|
-
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
444
452
|
/**
|
|
445
453
|
* Main bot class.
|
|
446
454
|
*
|
|
@@ -464,6 +472,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
464
472
|
* bot.on('message', message => console.log(`Message: ${message}`))
|
|
465
473
|
* bot.start()
|
|
466
474
|
*/
|
|
475
|
+
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
467
476
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
468
477
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
469
478
|
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
@@ -472,6 +481,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
472
481
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
473
482
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
474
483
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
484
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
475
485
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
476
486
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
477
487
|
init(): Promise<void>;
|
|
@@ -482,7 +492,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
482
492
|
__options: WechatyOptions;
|
|
483
493
|
start(): Promise<void>;
|
|
484
494
|
stop(): Promise<void>;
|
|
485
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
495
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
486
496
|
addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
|
|
487
497
|
once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
|
|
488
498
|
prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
|
|
@@ -512,7 +522,7 @@ declare const mixinBase: (abstract new (...args: any[]) => {
|
|
|
512
522
|
init(): Promise<void>;
|
|
513
523
|
start(): Promise<void>;
|
|
514
524
|
stop(): Promise<void>;
|
|
515
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
525
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
516
526
|
addListener<E_46 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_46, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_46]): any;
|
|
517
527
|
once<E_47 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_47, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_47]): any;
|
|
518
528
|
prependListener<E_48 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_48, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_48]): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQnD,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCf;;;;;;;;;;;;;;;;;;;;;;OAsBG
|
|
1
|
+
{"version":3,"file":"wechaty-base.d.ts","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-base.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,KAAK,MAAM,MAAM,sBAAsB,CAAA;AAQnD,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACR,MAAkC,mBAAmB,CAAA;AAWtD,OAAO,EACL,eAAe,EAChB,MAAkC,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EACV,gBAAgB,EACjB,MAAkC,mBAAmB,CAAA;AACtD,OAAO,KAAK,EACV,cAAc,EACf,MAAkC,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoCf;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtBH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAzCF,CAAA;AAED;;;;GAIG;AAaH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAM,WAAY,SAAQ,SAAU,YAAW,YAAY;IAmD9C,SAAS,EAAE,cAAc;IAjDpC,gBAA2B,OAAO,SAAU;IAC5C,QAAQ,CAAC,OAAO,EAAG,gBAAgB,CAAA;IAEnC,QAAQ,CAAC,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAK;IAE/C;;;;;;;;;;;;;;;;;;;OAmBG;IAEH;;;;;;;;;;;;;;;OAeG;IAEH;;;;OAIG;gBAEQ,SAAS,GAAE,cAAmB;IAS1B,KAAK,IAAK,OAAO,CAAC,IAAI,CAAC;IAMvB,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC;IAmBzB,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAgBvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoDG;IAEG,GAAG,CACP,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC;IAKV,OAAO,CACX,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,IAAI,GAAG,aAAa,CAAC;CAYjC;AAED,aAAK,4BAA4B,GAE7B,oBAAoB,GACpB,gCAAgC,GAChC,SAAS,GACT,SAAS,GACT,QAAQ,CAAA;AAEZ,YAAY,EACV,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -22,6 +22,7 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
22
22
|
Room;
|
|
23
23
|
RoomInvitation;
|
|
24
24
|
Tag;
|
|
25
|
+
TagGroup;
|
|
25
26
|
UrlLink;
|
|
26
27
|
Channel;
|
|
27
28
|
constructor() {
|
|
@@ -39,9 +40,10 @@ const wechaty_impl_js_1 = require("./wechaty-impl.js");
|
|
|
39
40
|
= this.Room
|
|
40
41
|
= this.RoomInvitation
|
|
41
42
|
= this.Tag
|
|
42
|
-
= this.
|
|
43
|
-
= this.
|
|
44
|
-
=
|
|
43
|
+
= this.TagGroup
|
|
44
|
+
= this.UrlLink
|
|
45
|
+
= this.Channel
|
|
46
|
+
= {};
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
const WechatyTest = WechatyImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;
|
|
1
|
+
{"version":3,"file":"wechaty-impl.spec.js","sourceRoot":"","sources":["../../../../src/wechaty/wechaty-impl.spec.ts"],"names":[],"mappings":";;;;;;AACA,mCAA6B;AAC7B,oFAAkD;AAElD,oEAAkE;AAqBlE,uDAMgD;AAEhD,IAAA,aAAI,EAAC,mBAAmB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAClC,MAAe,qBAAsB,SAAQ,uCAAmB;QAE9D,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,KAAK,CAA4B;QACjC,UAAU,CAA4B;QACtC,KAAK,CAA4B;QACjC,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,WAAW,CAA4B;QACvC,IAAI,CAA4B;QAChC,IAAI,CAA4B;QAChC,cAAc,CAA4B;QAC1C,GAAG,CAA4B;QAC/B,QAAQ,CAA4B;QACpC,OAAO,CAA4B;QACnC,OAAO,CAA4B;QAEnC;YACE,KAAK,EAAE,CAAA;YACP,cAAc;YACd,IAAI,CAAC,OAAO;kBACR,IAAI,CAAC,WAAW;sBAChB,IAAI,CAAC,KAAK;0BACV,IAAI,CAAC,UAAU;8BACf,IAAI,CAAC,KAAK;kCACV,IAAI,CAAC,QAAQ;sCACb,IAAI,CAAC,OAAO;0CACZ,IAAI,CAAC,WAAW;8CAChB,IAAI,CAAC,IAAI;kDACT,IAAI,CAAC,IAAI;sDACT,IAAI,CAAC,cAAc;0DACnB,IAAI,CAAC,GAAG;8DACR,IAAI,CAAC,QAAQ;kEACb,IAAI,CAAC,OAAO;sEACZ,IAAI,CAAC,OAAO;0EACZ,EAAS,CAAA;QACf,CAAC;KAyBF;IAED,MAAM,WAAW,GAAG,qBAAsD,CAAA;IAC1E,MAAM,CAAC,GAAqB,IAAI,WAAW,EAAE,CAAA;IAC7C,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,GAAqB,EAAE,EAAE;QACxC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;IAEF,CAAC,CAAC,EAAE,CAAC,OAAO,qBAAqB,EAAE,wBAAwB,CAAC,CAAA;AAC9D,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAIpC,MAAM,SAAS,GAAiB,IAAI,CAAA;IACpC,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,8DAA8D,CAAC,CAAA;AACjF,CAAC,CAAC,CAAA;AAEF,IAAA,aAAI,EAAC,+BAA+B,EAAE,KAAK,EAAC,CAAC,EAAC,EAAE;IAC9C,MAAM,MAAM,GAAI,IAAI,6BAAU,EAAS,CAAA;IACvC,MAAM,OAAO,GAAG,IAAI,6BAAW,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC3C,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,sDAAsD,CAAC,CAAA;IAEtF,MAAM,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,yDAAyD,CAAC,CAAA;IAC/F,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,4DAA4D,CAAC,CAAA;AACpF,CAAC,CAAC,CAAA"}
|
|
@@ -27,7 +27,7 @@ declare const gErrorMixin: <MixinBase extends typeof WechatySkeleton>(mixinBase:
|
|
|
27
27
|
init(): Promise<void>;
|
|
28
28
|
start(): Promise<void>;
|
|
29
29
|
stop(): Promise<void>;
|
|
30
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
30
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
31
31
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
32
32
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
33
33
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -18,7 +18,7 @@ declare const ioMixin: <MixinBase extends typeof WechatySkeleton & ((abstract ne
|
|
|
18
18
|
init(): Promise<void>;
|
|
19
19
|
start(): Promise<void>;
|
|
20
20
|
stop(): Promise<void>;
|
|
21
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
21
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
22
22
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
23
23
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
24
24
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -47,7 +47,7 @@ declare const ioMixin: <MixinBase extends typeof WechatySkeleton & ((abstract ne
|
|
|
47
47
|
readonly memory: import("memory-card").MemoryCard;
|
|
48
48
|
__options: WechatyOptions;
|
|
49
49
|
init(): Promise<void>;
|
|
50
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
50
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
51
51
|
addListener<E_10 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_10, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_10]): any;
|
|
52
52
|
once<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
53
53
|
prependListener<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
@@ -22,6 +22,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
22
22
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
23
23
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
24
24
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
25
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
25
26
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
26
27
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
27
28
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -36,6 +37,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
36
37
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
37
38
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
38
39
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
40
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
39
41
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
40
42
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
41
43
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
@@ -43,7 +45,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
43
45
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
44
46
|
readonly memory: import("memory-card").MemoryCard;
|
|
45
47
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
46
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
48
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
47
49
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
48
50
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
49
51
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -79,6 +81,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
79
81
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
80
82
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
81
83
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
84
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
82
85
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
83
86
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
84
87
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -93,6 +96,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
93
96
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
94
97
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
95
98
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
99
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
96
100
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
97
101
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
98
102
|
init(): Promise<void>;
|
|
@@ -103,7 +107,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
103
107
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
104
108
|
start(): Promise<void>;
|
|
105
109
|
stop(): Promise<void>;
|
|
106
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
110
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
107
111
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
108
112
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
109
113
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -133,7 +137,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
133
137
|
init(): Promise<void>;
|
|
134
138
|
start(): Promise<void>;
|
|
135
139
|
stop(): Promise<void>;
|
|
136
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
140
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
137
141
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
138
142
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
139
143
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -162,7 +166,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
162
166
|
readonly memory: import("memory-card").MemoryCard;
|
|
163
167
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
164
168
|
init(): Promise<void>;
|
|
165
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
169
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
166
170
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
167
171
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
168
172
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -231,7 +235,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
231
235
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
232
236
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
233
237
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
234
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
238
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
235
239
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
236
240
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
237
241
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -265,6 +269,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
265
269
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
266
270
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
267
271
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
272
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
268
273
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
269
274
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
270
275
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -279,6 +284,7 @@ declare const loginMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
279
284
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
280
285
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
281
286
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
287
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
282
288
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
283
289
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
284
290
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
@@ -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;cACc,QAAQ,IAAI,CAAC;IAK9B;;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"}
|
|
@@ -13,9 +13,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
13
13
|
__wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
|
|
14
14
|
__wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
|
|
15
15
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
16
|
-
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
17
|
-
* @ignore
|
|
18
|
-
*/
|
|
16
|
+
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
19
17
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
20
18
|
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
21
19
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
@@ -23,6 +21,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
23
21
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
24
22
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
25
23
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
24
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
26
25
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
27
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
28
27
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -37,6 +36,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
37
36
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
38
37
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
39
38
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
39
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
40
40
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
41
41
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
42
42
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
@@ -44,7 +44,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
44
44
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
45
45
|
readonly memory: import("memory-card").MemoryCard;
|
|
46
46
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
47
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
47
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
48
48
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
49
49
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
50
50
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -74,9 +74,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
74
74
|
__wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
|
|
75
75
|
__wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
|
|
76
76
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
77
|
-
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
78
|
-
* @ignore
|
|
79
|
-
*/
|
|
77
|
+
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
80
78
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
81
79
|
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
82
80
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
@@ -84,6 +82,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
84
82
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
85
83
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
86
84
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
85
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
87
86
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
88
87
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
89
88
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -98,6 +97,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
98
97
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
99
98
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
100
99
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
100
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
101
101
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
102
102
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
103
103
|
init(): Promise<void>;
|
|
@@ -108,7 +108,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
108
108
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
109
109
|
start(): Promise<void>;
|
|
110
110
|
stop(): Promise<void>;
|
|
111
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
111
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
112
112
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
113
113
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
114
114
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -140,7 +140,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
140
140
|
init(): Promise<void>;
|
|
141
141
|
start(): Promise<void>;
|
|
142
142
|
stop(): Promise<void>;
|
|
143
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
143
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
144
144
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
145
145
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
146
146
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -171,7 +171,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
171
171
|
readonly memory: import("memory-card").MemoryCard;
|
|
172
172
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
173
173
|
init(): Promise<void>;
|
|
174
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
174
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
175
175
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
176
176
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
177
177
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -229,7 +229,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
229
229
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
230
230
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
231
231
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
232
|
-
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan", listener: (...args: any[]) => any): any;
|
|
232
|
+
on(event: "error" | "ready" | "login" | "start" | "stop" | "logout" | "room-invite" | "room-join" | "room-leave" | "room-topic" | "dong" | "friendship" | "heartbeat" | "message" | "post" | "puppet" | "scan" | "update", listener: (...args: any[]) => any): any;
|
|
233
233
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
234
234
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
235
235
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -257,9 +257,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
257
257
|
__wechatifiedContactSelf?: import("../user-modules/contact-self.js").ContactSelfConstructor | undefined;
|
|
258
258
|
__wechatifiedDelay?: import("../user-modules/delay.js").DelayConstructor | undefined;
|
|
259
259
|
__wechatifiedFriendship?: import("../user-modules/friendship.js").FriendshipConstructor | undefined;
|
|
260
|
-
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
261
|
-
* @ignore
|
|
262
|
-
*/
|
|
260
|
+
__wechatifiedImage?: import("../user-modules/image.js").ImageConstructor | undefined;
|
|
263
261
|
__wechatifiedLocation?: import("../user-modules/location.js").LocationConstructor | undefined;
|
|
264
262
|
__wechatifiedMessage?: import("../user-modules/message.js").MessageConstructor | undefined;
|
|
265
263
|
__wechatifiedMiniProgram?: import("../user-modules/mini-program.js").MiniProgramConstructor | undefined;
|
|
@@ -267,6 +265,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
267
265
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
268
266
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
269
267
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
268
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
270
269
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
271
270
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
272
271
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -281,6 +280,7 @@ declare const miscMixin: <MixinBase extends typeof WechatySkeleton & ((abstract
|
|
|
281
280
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
282
281
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
283
282
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
283
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
284
284
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
285
285
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
286
286
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
@@ -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"}
|