@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
|
@@ -15,7 +15,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
15
15
|
init(): Promise<void>;
|
|
16
16
|
start(): Promise<void>;
|
|
17
17
|
stop(): Promise<void>;
|
|
18
|
-
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;
|
|
18
|
+
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;
|
|
19
19
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
20
20
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
21
21
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -65,7 +65,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
65
65
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
66
66
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
67
67
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
68
|
-
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;
|
|
68
|
+
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;
|
|
69
69
|
addListener<E_10 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_10, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_10]): any;
|
|
70
70
|
once<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
71
71
|
prependListener<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
@@ -99,6 +99,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
99
99
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
100
100
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
101
101
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
102
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
102
103
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
103
104
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
104
105
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -113,6 +114,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
113
114
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
114
115
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
115
116
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
117
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
116
118
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
117
119
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
118
120
|
wrapAsync: import("gerror/dist/esm/src/wrap-async-error/wrap-async-error.js").WrapAsync;
|
|
@@ -144,6 +146,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
144
146
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
145
147
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
146
148
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
149
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
147
150
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
148
151
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
149
152
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -158,6 +161,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
158
161
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
159
162
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
160
163
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
164
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
161
165
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
162
166
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
163
167
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
@@ -165,7 +169,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
165
169
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
166
170
|
readonly memory: import("memory-card").MemoryCard;
|
|
167
171
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
168
|
-
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;
|
|
172
|
+
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;
|
|
169
173
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
170
174
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
171
175
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -201,6 +205,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
201
205
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
202
206
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
203
207
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
208
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
204
209
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
205
210
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
206
211
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -215,6 +220,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
215
220
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
216
221
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
217
222
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
223
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
218
224
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
219
225
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
220
226
|
init(): Promise<void>;
|
|
@@ -225,7 +231,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
225
231
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
226
232
|
start(): Promise<void>;
|
|
227
233
|
stop(): Promise<void>;
|
|
228
|
-
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;
|
|
234
|
+
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;
|
|
229
235
|
addListener<E_25 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_25, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_25]): any;
|
|
230
236
|
once<E_26 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_26, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_26]): any;
|
|
231
237
|
prependListener<E_27 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_27, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_27]): any;
|
|
@@ -255,7 +261,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
255
261
|
readonly memory: import("memory-card").MemoryCard;
|
|
256
262
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
257
263
|
init(): Promise<void>;
|
|
258
|
-
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;
|
|
264
|
+
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;
|
|
259
265
|
addListener<E_32 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_32, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_32]): any;
|
|
260
266
|
once<E_33 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_33, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_33]): any;
|
|
261
267
|
prependListener<E_34 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_34, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_34]): any;
|
|
@@ -304,7 +310,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
304
310
|
init: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
305
311
|
start: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
306
312
|
stop: (() => Promise<void>) & (() => Promise<void>) & (() => Promise<void>);
|
|
307
|
-
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;
|
|
313
|
+
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;
|
|
308
314
|
addListener<E_39 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_39, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_39]): any;
|
|
309
315
|
once<E_40 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_40, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_40]): any;
|
|
310
316
|
prependListener<E_41 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_41, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_41]): any;
|
|
@@ -364,6 +370,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
364
370
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
365
371
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
366
372
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
373
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
367
374
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
368
375
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
369
376
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -378,6 +385,7 @@ declare const pluginMixin: <MixinBase extends typeof WechatySkeleton & ((abstrac
|
|
|
378
385
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
379
386
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
380
387
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
388
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
381
389
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
382
390
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
383
391
|
__io?: import("../io.js").Io | undefined;
|
|
@@ -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,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG
|
|
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,EAChB,MAA4B,mBAAmB,CAAA;AAKhD,UAAU,QAAQ;IAChB,GAAG,CACD,GAAG,OAAO,EAAE,CACR,aAAa,GACb,aAAa,EAAE,CAClB,EAAE,GACF,wBAAwB,CAAA;CAC5B;AAED,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASb;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAtBmB,GAAG,EAAE;IAI3B;;;;;;;;;;;;;;;;;;OAkBG;oBAEW,CACV,aAAa,GAAG,aAAa,EAAE,CAChC,EAAE,GACF,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvB3B;;;;;;;;;;;;;;;;;;OAkBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -21,6 +21,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
21
21
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
22
22
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
23
23
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
24
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
24
25
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
25
26
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
26
27
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -29,21 +30,13 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
29
30
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
30
31
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
31
32
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
32
|
-
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
33
|
-
* Huan(202111):
|
|
34
|
-
*
|
|
35
|
-
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
36
|
-
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
37
|
-
*
|
|
38
|
-
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
39
|
-
*
|
|
40
|
-
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
41
|
-
*/
|
|
33
|
+
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
42
34
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
43
35
|
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
44
36
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
45
37
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
46
38
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
39
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
47
40
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
48
41
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
49
42
|
init(): Promise<void>;
|
|
@@ -54,7 +47,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
54
47
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
55
48
|
start(): Promise<void>;
|
|
56
49
|
stop(): Promise<void>;
|
|
57
|
-
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;
|
|
58
51
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
59
52
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
60
53
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -84,7 +77,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
84
77
|
init(): Promise<void>;
|
|
85
78
|
start(): Promise<void>;
|
|
86
79
|
stop(): Promise<void>;
|
|
87
|
-
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;
|
|
80
|
+
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;
|
|
88
81
|
addListener<E_11 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_11, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_11]): any;
|
|
89
82
|
once<E_12 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_12, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_12]): any;
|
|
90
83
|
prependListener<E_13 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_13, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_13]): any;
|
|
@@ -113,7 +106,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
113
106
|
readonly memory: import("memory-card").MemoryCard;
|
|
114
107
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
115
108
|
init(): Promise<void>;
|
|
116
|
-
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;
|
|
109
|
+
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;
|
|
117
110
|
addListener<E_18 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_18, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_18]): any;
|
|
118
111
|
once<E_19 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_19, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_19]): any;
|
|
119
112
|
prependListener<E_20 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_20, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_20]): any;
|
|
@@ -155,6 +148,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
155
148
|
__wechatifiedRoom?: import("../user-modules/room.js").RoomConstructor | undefined;
|
|
156
149
|
__wechatifiedRoomInvitation?: import("../user-modules/room-invitation.js").RoomInvitationConstructor | undefined;
|
|
157
150
|
__wechatifiedTag?: import("../user-modules/tag.js").TagConstructor | undefined;
|
|
151
|
+
__wechatifiedTagGroup?: import("../user-modules/tag-group.js").TagGroupConstructor | undefined;
|
|
158
152
|
__wechatifiedUrlLink?: import("../user-modules/url-link.js").UrlLinkConstructor | undefined;
|
|
159
153
|
__wechatifiedChannel?: import("../user-modules/channel.js").ChannelConstructor | undefined;
|
|
160
154
|
readonly Contact: import("../user-modules/contact.js").ContactConstructor;
|
|
@@ -163,21 +157,13 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
163
157
|
readonly Friendship: import("../user-modules/friendship.js").FriendshipConstructor;
|
|
164
158
|
readonly Image: import("../user-modules/image.js").ImageConstructor;
|
|
165
159
|
readonly Location: import("../user-modules/location.js").LocationConstructor;
|
|
166
|
-
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
167
|
-
* Huan(202111):
|
|
168
|
-
*
|
|
169
|
-
* We should throw the Timeout error when the puppet.start() can not be finished in time.
|
|
170
|
-
* However, we need to compatible with some buggy puppet implementations which will not resolve the promise.
|
|
171
|
-
*
|
|
172
|
-
* TODO: throw the Timeout error when the puppet.start() can not be finished in time.
|
|
173
|
-
*
|
|
174
|
-
* e.g. after resolve @issue https://github.com/padlocal/wechaty-puppet-padlocal/issues/116
|
|
175
|
-
*/
|
|
160
|
+
readonly Message: import("../user-modules/message.js").MessageConstructor;
|
|
176
161
|
readonly MiniProgram: import("../user-modules/mini-program.js").MiniProgramConstructor;
|
|
177
162
|
readonly Post: import("../user-modules/post.js").PostConstructor;
|
|
178
163
|
readonly Room: import("../user-modules/room.js").RoomConstructor;
|
|
179
164
|
readonly RoomInvitation: import("../user-modules/room-invitation.js").RoomInvitationConstructor;
|
|
180
165
|
readonly Tag: import("../user-modules/tag.js").TagConstructor;
|
|
166
|
+
readonly TagGroup: import("../user-modules/tag-group.js").TagGroupConstructor;
|
|
181
167
|
readonly UrlLink: import("../user-modules/url-link.js").UrlLinkConstructor;
|
|
182
168
|
readonly Channel: import("../user-modules/channel.js").ChannelConstructor;
|
|
183
169
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
@@ -185,7 +171,7 @@ declare const puppetMixin: <MixinBase extends ((abstract new (...args: any[]) =>
|
|
|
185
171
|
__memory?: import("memory-card").MemoryCard | undefined;
|
|
186
172
|
readonly memory: import("memory-card").MemoryCard;
|
|
187
173
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
188
|
-
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;
|
|
189
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;
|
|
190
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;
|
|
191
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;
|
|
@@ -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;AASnD,OAAO,KAAK,EACV,oBAAoB,EACrB,MAA4B,cAAc,CAAA;
|
|
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;AASnD,OAAO,KAAK,EACV,oBAAoB,EACrB,MAA4B,cAAc,CAAA;AAqB3C;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDAmBS,GAAG,EAAE;;;2BAJH,oBAAoB;;aAWnB,QAAQ,IAAI,CAAC;YA+Cd,QAAQ,IAAI,CAAC;aAuBrB,QAAQ,IAAI,CAAC;YAML,QAAQ,IAAI,CAAC;gCA8CR,OAAO,KAAK,CAAC,eAAe,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqUnE,CAAA;AAED,aAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA;AAEjD,aAAK,4BAA4B,GAC7B,UAAU,GACV,cAAc,GACd,qBAAqB,CAAA;AAEzB,YAAY,EACV,WAAW,EACX,4BAA4B,GAC7B,CAAA;AACD,OAAO,EACL,WAAW,GACZ,CAAA"}
|
|
@@ -30,6 +30,7 @@ const gerror_1 = require("gerror");
|
|
|
30
30
|
const state_switch_1 = require("state-switch");
|
|
31
31
|
const config_js_1 = require("../config.js");
|
|
32
32
|
const timestamp_to_date_js_1 = require("../pure-functions/timestamp-to-date.js");
|
|
33
|
+
const update_js_1 = require("../pure-functions/update.js");
|
|
33
34
|
const PUPPET_MEMORY_NAME = 'puppet';
|
|
34
35
|
/**
|
|
35
36
|
* Huan(202111): `puppetMixin` must extend `pluginMixin`
|
|
@@ -381,12 +382,34 @@ const puppetMixin = (mixinBase) => {
|
|
|
381
382
|
switch (payloadType) {
|
|
382
383
|
case PUPPET.types.Payload.Contact: {
|
|
383
384
|
const contact = await this.Contact.find({ id: payloadId });
|
|
385
|
+
const oldPayload = JSON.parse(JSON.stringify(contact?.payload || {}));
|
|
384
386
|
await contact?.ready(true);
|
|
387
|
+
const newPayload = JSON.parse(JSON.stringify(contact?.payload || {}));
|
|
388
|
+
const updateEvent = {
|
|
389
|
+
type: payloadType,
|
|
390
|
+
id: payloadId,
|
|
391
|
+
updates: (0, update_js_1.diffPayload)(oldPayload, newPayload),
|
|
392
|
+
};
|
|
393
|
+
if (updateEvent.updates.length > 0) {
|
|
394
|
+
this.emit('update', updateEvent);
|
|
395
|
+
contact?.emit('update', updateEvent);
|
|
396
|
+
}
|
|
385
397
|
break;
|
|
386
398
|
}
|
|
387
399
|
case PUPPET.types.Payload.Room: {
|
|
388
400
|
const room = await this.Room.find({ id: payloadId });
|
|
401
|
+
const oldPayload = JSON.parse(JSON.stringify(room?.payload || {}));
|
|
389
402
|
await room?.ready(true);
|
|
403
|
+
const newPayload = JSON.parse(JSON.stringify(room?.payload || {}));
|
|
404
|
+
const updateEvent = {
|
|
405
|
+
type: payloadType,
|
|
406
|
+
id: payloadId,
|
|
407
|
+
updates: (0, update_js_1.diffPayload)(oldPayload, newPayload),
|
|
408
|
+
};
|
|
409
|
+
if (updateEvent.updates.length > 0) {
|
|
410
|
+
this.emit('update', updateEvent);
|
|
411
|
+
room?.emit('update', updateEvent);
|
|
412
|
+
}
|
|
390
413
|
break;
|
|
391
414
|
}
|
|
392
415
|
case PUPPET.types.Payload.RoomMember: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppet-mixin.js","sourceRoot":"","sources":["../../../../src/wechaty-mixins/puppet-mixin.ts"],"names":[],"mappings":";;;;;;;;;;;;;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,CAAC,CAAA;iCAC1D;6BACF;4BAAC,OAAO,CAAC,EAAE;gCACV,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,eAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;6BACnC;wBACH,CAAC,CAAC,CAAA;wBACF,MAAK;oBAEP;wBACE;;2BAEG;wBACH,MAAM,IAAI,KAAK,CAAC,YAAY,GAAG,SAAS,GAAG,eAAe,CAAC,CAAA;iBAE9D;aACF;YAED,oBAAG,CAAC,OAAO,CAAC,oBAAoB,EAAE,gCAAgC,CAAC,CAAA;QACrE,CAAC;KAEF;IAED,OAAO,WAAW,CAAA;AACpB,CAAC,CAAA;AAcC,kCAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, UrlLinkConstructor, ChannelConstructor } from '../user-modules/mod.js';
|
|
1
|
+
import { ContactConstructor, ContactSelfConstructor, DelayConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, TagGroupConstructor, UrlLinkConstructor, ChannelConstructor } 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;
|
|
@@ -13,6 +13,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
13
13
|
__wechatifiedRoom?: RoomConstructor | undefined;
|
|
14
14
|
__wechatifiedRoomInvitation?: RoomInvitationConstructor | undefined;
|
|
15
15
|
__wechatifiedTag?: TagConstructor | undefined;
|
|
16
|
+
__wechatifiedTagGroup?: TagGroupConstructor | undefined;
|
|
16
17
|
__wechatifiedUrlLink?: UrlLinkConstructor | undefined;
|
|
17
18
|
__wechatifiedChannel?: ChannelConstructor | undefined;
|
|
18
19
|
readonly Contact: ContactConstructor;
|
|
@@ -27,6 +28,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
27
28
|
readonly Room: RoomConstructor;
|
|
28
29
|
readonly RoomInvitation: RoomInvitationConstructor;
|
|
29
30
|
readonly Tag: TagConstructor;
|
|
31
|
+
readonly TagGroup: TagGroupConstructor;
|
|
30
32
|
readonly UrlLink: UrlLinkConstructor;
|
|
31
33
|
readonly Channel: ChannelConstructor;
|
|
32
34
|
init(): Promise<void>;
|
|
@@ -37,7 +39,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
37
39
|
__options: import("../schemas/wechaty-options.js").WechatyOptions;
|
|
38
40
|
start(): Promise<void>;
|
|
39
41
|
stop(): Promise<void>;
|
|
40
|
-
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;
|
|
42
|
+
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;
|
|
41
43
|
addListener<E extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E]): any;
|
|
42
44
|
once<E_1 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_1, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_1]): any;
|
|
43
45
|
prependListener<E_2 extends keyof import("../schemas/wechaty-events.js").WechatyEventListeners>(event: E_2, listener: import("../schemas/wechaty-events.js").WechatyEventListeners[E_2]): any;
|
|
@@ -57,7 +59,7 @@ declare const wechatifyUserModuleMixin: <MixinBase extends typeof WechatySkeleto
|
|
|
57
59
|
readonly log: import("brolog/dist/esm/src/logger.js").Loggable;
|
|
58
60
|
}) & MixinBase;
|
|
59
61
|
declare type WechatifyUserModuleMixin = ReturnType<typeof wechatifyUserModuleMixin>;
|
|
60
|
-
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedUrlLink' | '__wechatifiedChannel';
|
|
62
|
+
declare type ProtectedPropertyWechatifyUserModuleMixin = '__wechatifiedContact' | '__wechatifiedContactSelf' | '__wechatifiedDelay' | '__wechatifiedFriendship' | '__wechatifiedImage' | '__wechatifiedLocation' | '__wechatifiedMessage' | '__wechatifiedMiniProgram' | '__wechatifiedRoom' | '__wechatifiedRoomInvitation' | '__wechatifiedTag' | '__wechatifiedTagGroup' | '__wechatifiedUrlLink' | '__wechatifiedChannel';
|
|
61
63
|
export type { WechatifyUserModuleMixin, ProtectedPropertyWechatifyUserModuleMixin, };
|
|
62
64
|
export { wechatifyUserModuleMixin, };
|
|
63
65
|
//# 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,EAiBL,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,EAGnB,MAA4B,wBAAwB,CAAA;AAErD,OAAO,KAAK,EACV,eAAe,EAChB,MAAkC,mBAAmB,CAAA;AAEtD,QAAA,MAAM,wBAAwB,+FAKJ,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqCH,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;cA0CxC,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,CAAA;AAE1B,YAAY,EACV,wBAAwB,EACxB,yCAAyC,GAC1C,CAAA;AACD,OAAO,EACL,wBAAwB,GACzB,CAAA"}
|
|
@@ -22,6 +22,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
22
22
|
__wechatifiedRoom;
|
|
23
23
|
__wechatifiedRoomInvitation;
|
|
24
24
|
__wechatifiedTag;
|
|
25
|
+
__wechatifiedTagGroup;
|
|
25
26
|
__wechatifiedUrlLink;
|
|
26
27
|
__wechatifiedChannel;
|
|
27
28
|
get Contact() { return guardWechatify(this.__wechatifiedContact); }
|
|
@@ -36,6 +37,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
36
37
|
get Room() { return guardWechatify(this.__wechatifiedRoom); }
|
|
37
38
|
get RoomInvitation() { return guardWechatify(this.__wechatifiedRoomInvitation); }
|
|
38
39
|
get Tag() { return guardWechatify(this.__wechatifiedTag); }
|
|
40
|
+
get TagGroup() { return guardWechatify(this.__wechatifiedTagGroup); }
|
|
39
41
|
get UrlLink() { return guardWechatify(this.__wechatifiedUrlLink); }
|
|
40
42
|
get Channel() { return guardWechatify(this.__wechatifiedChannel); }
|
|
41
43
|
async init() {
|
|
@@ -67,6 +69,7 @@ const wechatifyUserModuleMixin = (mixinBase) => {
|
|
|
67
69
|
this.__wechatifiedRoom = (0, mod_js_1.wechatifyUserModule)(mod_js_1.RoomImpl)(this);
|
|
68
70
|
this.__wechatifiedRoomInvitation = (0, mod_js_1.wechatifyUserModule)(mod_js_1.RoomInvitationImpl)(this);
|
|
69
71
|
this.__wechatifiedTag = (0, mod_js_1.wechatifyUserModule)(mod_js_1.TagImpl)(this);
|
|
72
|
+
this.__wechatifiedTagGroup = (0, mod_js_1.wechatifyUserModule)(mod_js_1.TagGroupImpl)(this);
|
|
70
73
|
this.__wechatifiedUrlLink = (0, mod_js_1.wechatifyUserModule)(mod_js_1.UrlLinkImpl)(this);
|
|
71
74
|
this.__wechatifiedChannel = (0, mod_js_1.wechatifyUserModule)(mod_js_1.ChannelImpl)(this);
|
|
72
75
|
wechaty_puppet_1.log.verbose('WechatifyUserModuleMixin', 'init() initializing Wechaty User Module (WUM) ... done');
|
|
@@ -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,yDAAmD;AAEnD,mDAkCqD;AAMrD,MAAM,wBAAwB,GAAG,CAA4C,SAAoB,EAAE,EAAE;IACnG,oBAAG,CAAC,OAAO,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,SAAS,CAAC,IAAI,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AAC,CAAA;AAmCC,4DAAwB;AAjC1B;;GAEG;AACH,SAAS,cAAc,CAAsB,UAAc;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, UrlLinkImpl, ChannelImpl, } from '../user-modules/mod.js';
|
|
32
|
-
export type { ContactInterface, ContactSelfInterface, DelayInterface, FavoriteInterface, FriendshipInterface, ImageInterface, LocationInterface, MessageInterface, MiniProgramInterface, MomentInterface, MoneyInterface, PostInterface, RoomInterface, RoomInvitationInterface, TagInterface, UrlLinkInterface, ChannelInterface, } from '../user-modules/mod.js';
|
|
33
|
-
export type { ContactConstructor, ContactSelfConstructor, DelayConstructor, FavoriteConstructor, FriendshipConstructor, ImageConstructor, LocationConstructor, MessageConstructor, MiniProgramConstructor, MomentConstructor, MoneyConstructor, PostConstructor, RoomConstructor, RoomInvitationConstructor, TagConstructor, UrlLinkConstructor, ChannelConstructor, } 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, } 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, } 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, } 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,WAAW,EACX,WAAW,GACZ,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,gBAAgB,EAChB,gBAAgB,GACjB,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,kBAAkB,EAClB,kBAAkB,GACnB,MAAoC,wBAAwB,CAAA;AAE7D,OAAO,EACL,WAAW,GACZ,MAA8B,mBAAmB,CAAA;AAClD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAA8B,mBAAmB,CAAA"}
|
|
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,GACZ,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,GACjB,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,GACnB,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, UrlLinkImpl, ChannelImpl, } 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, } 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,WAAW,EACX,WAAW,GACZ,MAAkC,wBAAwB,CAAA;
|
|
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,GACZ,MAAkC,wBAAwB,CAAA;AA+D3D,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, UrlLinkInterface as UrlLink, ChannelInterface as Channel, } 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, } 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,gBAAgB,IAAW,OAAO,EAClC,gBAAgB,IAAW,OAAO,GACnC,MAAoD,wBAAwB,CAAA"}
|
|
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,GACnC,MAAoD,wBAAwB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const GIT_COMMIT_HASH = '
|
|
1
|
+
export const GIT_COMMIT_HASH = 'fc0b844832f84f684254ef8a0b1c7431675fdc2f';
|
|
2
2
|
export const packageJson = {
|
|
3
3
|
"name": "@juzi/wechaty",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.21",
|
|
5
5
|
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -110,8 +110,8 @@ export const packageJson = {
|
|
|
110
110
|
},
|
|
111
111
|
"homepage": "https://github.com/wechaty/",
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@juzi/wechaty-puppet": "^1.0.
|
|
114
|
-
"@juzi/wechaty-puppet-service": "^1.0.
|
|
113
|
+
"@juzi/wechaty-puppet": "^1.0.15",
|
|
114
|
+
"@juzi/wechaty-puppet-service": "^1.0.18",
|
|
115
115
|
"clone-class": "^1.1.1",
|
|
116
116
|
"cmd-ts": "^0.10.0",
|
|
117
117
|
"cockatiel": "^2.0.2",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InfoUpdateValuePair } from '../schemas/update';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* No need to go recursive on payload diff becasue
|
|
5
|
+
* 1. most fields of payloads are primitive values
|
|
6
|
+
* 2. users does not want to compare array items, they just need to know this field has changed. And we don't offer methods to get a subObject value
|
|
7
|
+
*/
|
|
8
|
+
export declare const diffPayload: (objectOld: any, objectNew: any) => InfoUpdateValuePair[];
|
|
9
|
+
//# sourceMappingURL=update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../src/pure-functions/update.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,cAAe,GAAG,aAAa,GAAG,KAAG,mBAAmB,EAwC/E,CAAA"}
|