n8n-nodes-discord-dnd 0.1.59 → 0.1.60

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.
@@ -21,159 +21,156 @@ async function fetchReferencedMessage(message) {
21
21
  }
22
22
  exports.fetchReferencedMessage = fetchReferencedMessage;
23
23
  function messageToJson(message) {
24
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
25
24
  const n8nMessage = {
26
- id: message.id,
27
- content: message.content,
28
- channelId: message.channelId,
29
- guildId: message.guildId,
30
- createdTimestamp: message.createdTimestamp,
31
- type: message.type,
32
- system: message.system,
33
- isDirectMessage: !message.guild,
34
- author: message.author,
35
- pinned: message.pinned,
36
- tts: message.tts,
37
- nonce: message.nonce,
38
- embeds: (_a = message.embeds) === null || _a === void 0 ? void 0 : _a.map((embed) => {
39
- var _a;
40
- return ({
41
- title: embed.title,
42
- description: embed.description,
43
- url: embed.url,
44
- timestamp: embed.timestamp,
45
- color: embed.color,
46
- fields: (_a = embed.fields) === null || _a === void 0 ? void 0 : _a.map((field) => ({
47
- name: field.name,
48
- value: field.value,
49
- inline: field.inline,
50
- })),
51
- author: embed.author
52
- ? {
53
- name: embed.author.name,
54
- url: embed.author.url,
55
- iconURL: embed.author.iconURL,
56
- }
57
- : null,
58
- footer: embed.footer
59
- ? {
60
- text: embed.footer.text,
61
- iconURL: embed.footer.iconURL,
62
- }
63
- : null,
64
- image: embed.image ? { url: embed.image.url } : null,
65
- thumbnail: embed.thumbnail ? { url: embed.thumbnail.url } : null,
66
- video: embed.video ? { url: embed.video.url } : null,
67
- });
68
- }),
69
- components: (_b = message.components) === null || _b === void 0 ? void 0 : _b.map((component) => {
70
- var _a;
71
- return ({
72
- type: component.type,
73
- components: (_a = component.components) === null || _a === void 0 ? void 0 : _a.map((comp) => ({
74
- type: comp.type,
75
- customId: comp.customId,
76
- label: comp.label,
77
- style: comp.style,
78
- url: comp.url,
79
- disabled: comp.disabled,
80
- })),
81
- });
82
- }),
83
- attachments: (_c = message.attachments) === null || _c === void 0 ? void 0 : _c.map((attachment) => {
84
- var _a;
85
- return ({
86
- contentType: attachment.contentType,
87
- description: attachment.description,
88
- duration: attachment.duration,
89
- ephemeral: attachment.ephemeral,
90
- flags: (_a = attachment.flags) === null || _a === void 0 ? void 0 : _a.toArray(),
91
- height: attachment.height,
92
- id: attachment.id,
93
- name: attachment.name,
94
- proxyURL: attachment.proxyURL,
95
- size: attachment.size,
96
- spoiler: attachment.spoiler,
97
- title: attachment.title,
98
- url: attachment.url,
99
- waveform: attachment.waveform,
100
- width: attachment.width,
101
- });
102
- }),
103
- stickers: (_d = message.stickers) === null || _d === void 0 ? void 0 : _d.map((sticker) => ({
104
- id: sticker.id,
105
- name: sticker.name,
106
- formatType: sticker.formatType,
107
- })),
108
- position: message.position,
109
- roleSubscriptionData: message.roleSubscriptionData,
110
- editedTimestamp: message.editedTimestamp,
111
- mentions: {
112
- everyone: (_e = message.mentions) === null || _e === void 0 ? void 0 : _e.everyone,
113
- users: ((_g = (_f = message.mentions) === null || _f === void 0 ? void 0 : _f.users) === null || _g === void 0 ? void 0 : _g.map((user) => ({
114
- id: user.id,
115
- username: user.username,
116
- discriminator: user.discriminator,
117
- globalName: user.globalName,
118
- avatar: user.avatar,
119
- }))) || [],
120
- roles: ((_j = (_h = message.mentions) === null || _h === void 0 ? void 0 : _h.roles) === null || _j === void 0 ? void 0 : _j.map((role) => ({
121
- id: role.id,
122
- name: role.name,
123
- color: role.color,
124
- }))) || [],
125
- crosspostedChannels: ((_l = (_k = message.mentions) === null || _k === void 0 ? void 0 : _k.crosspostedChannels) === null || _l === void 0 ? void 0 : _l.map((channel) => ({
126
- id: channel.id,
127
- guildId: channel.guildId,
128
- type: channel.type,
129
- }))) || [],
130
- repliedUser: ((_m = message.mentions) === null || _m === void 0 ? void 0 : _m.repliedUser)
131
- ? {
132
- id: message.mentions.repliedUser.id,
133
- username: message.mentions.repliedUser.username,
134
- discriminator: message.mentions.repliedUser.discriminator,
135
- globalName: message.mentions.repliedUser.globalName,
136
- avatar: message.mentions.repliedUser.avatar,
137
- }
138
- : null,
139
- repliedMessage: message.reference && message.reference.messageId
140
- ? {
141
- id: message.reference.messageId,
142
- channelId: message.reference.channelId,
143
- guildId: message.reference.guildId,
144
- content: null, // Will be populated if fetchReferencedMessage is called
145
- }
146
- : null,
147
- members: ((_p = (_o = message.mentions) === null || _o === void 0 ? void 0 : _o.members) === null || _p === void 0 ? void 0 : _p.map((member) => ({
148
- id: member.id,
149
- nickname: member.nickname,
150
- }))) || [],
151
- channels: ((_r = (_q = message.mentions) === null || _q === void 0 ? void 0 : _q.channels) === null || _r === void 0 ? void 0 : _r.map((channel) => ({
152
- id: channel.id,
153
- name: channel.name,
154
- type: channel.type,
155
- }))) || [],
156
- },
157
- webhookId: message.webhookId,
158
- applicationId: message.applicationId,
159
- activity: message.activity,
160
- flags: (_s = message.flags) === null || _s === void 0 ? void 0 : _s.toArray(),
161
- reference: message.reference,
162
- interaction: message.interactionMetadata
163
- ? {
164
- id: message.interactionMetadata.id,
165
- type: message.interactionMetadata.type,
166
- userId: (_t = message.interactionMetadata.user) === null || _t === void 0 ? void 0 : _t.id,
167
- }
168
- : null,
169
- poll: message.poll,
170
- messageSnapshots: (_u = message.messageSnapshots) === null || _u === void 0 ? void 0 : _u.map((snapshot) => ({
171
- message: {
172
- id: snapshot.message.id,
173
- content: snapshot.message.content,
174
- },
175
- })),
176
- call: message.call,
25
+ ...message,
26
+ // id: message.id,
27
+ // content: message.content,
28
+ // channelId: message.channelId,
29
+ // guildId: message.guildId,
30
+ // createdTimestamp: message.createdTimestamp,
31
+ // type: message.type,
32
+ // system: message.system,
33
+ // isDirectMessage: !message.guild,
34
+ // author: message.author,
35
+ // pinned: message.pinned,
36
+ // tts: message.tts,
37
+ // nonce: message.nonce,
38
+ // embeds: message.embeds?.map((embed: any) => ({
39
+ // title: embed.title,
40
+ // description: embed.description,
41
+ // url: embed.url,
42
+ // timestamp: embed.timestamp,
43
+ // color: embed.color,
44
+ // fields: embed.fields?.map((field: any) => ({
45
+ // name: field.name,
46
+ // value: field.value,
47
+ // inline: field.inline,
48
+ // })),
49
+ // author: embed.author
50
+ // ? {
51
+ // name: embed.author.name,
52
+ // url: embed.author.url,
53
+ // iconURL: embed.author.iconURL,
54
+ // }
55
+ // : null,
56
+ // footer: embed.footer
57
+ // ? {
58
+ // text: embed.footer.text,
59
+ // iconURL: embed.footer.iconURL,
60
+ // }
61
+ // : null,
62
+ // image: embed.image ? { url: embed.image.url } : null,
63
+ // thumbnail: embed.thumbnail ? { url: embed.thumbnail.url } : null,
64
+ // video: embed.video ? { url: embed.video.url } : null,
65
+ // })),
66
+ // components: message.components?.map((component: any) => ({
67
+ // type: component.type,
68
+ // components: component.components?.map((comp: any) => ({
69
+ // type: comp.type,
70
+ // customId: comp.customId,
71
+ // label: comp.label,
72
+ // style: comp.style,
73
+ // url: comp.url,
74
+ // disabled: comp.disabled,
75
+ // })),
76
+ // })),
77
+ // attachments: message.attachments?.map((attachment: any) => ({
78
+ // contentType: attachment.contentType,
79
+ // description: attachment.description,
80
+ // duration: attachment.duration,
81
+ // ephemeral: attachment.ephemeral,
82
+ // flags: attachment.flags?.toArray(),
83
+ // height: attachment.height,
84
+ // id: attachment.id,
85
+ // name: attachment.name,
86
+ // proxyURL: attachment.proxyURL,
87
+ // size: attachment.size,
88
+ // spoiler: attachment.spoiler,
89
+ // title: attachment.title,
90
+ // url: attachment.url,
91
+ // waveform: attachment.waveform,
92
+ // width: attachment.width,
93
+ // })),
94
+ // stickers: message.stickers?.map((sticker: any) => ({
95
+ // id: sticker.id,
96
+ // name: sticker.name,
97
+ // formatType: sticker.formatType,
98
+ // })),
99
+ // position: message.position,
100
+ // roleSubscriptionData: message.roleSubscriptionData,
101
+ // editedTimestamp: message.editedTimestamp,
102
+ // mentions: {
103
+ // everyone: message.mentions?.everyone,
104
+ // users:
105
+ // message.mentions?.users?.map((user: any) => ({
106
+ // id: user.id,
107
+ // username: user.username,
108
+ // discriminator: user.discriminator,
109
+ // globalName: user.globalName,
110
+ // avatar: user.avatar,
111
+ // })) || [],
112
+ // roles:
113
+ // message.mentions?.roles?.map((role: any) => ({
114
+ // id: role.id,
115
+ // name: role.name,
116
+ // color: role.color,
117
+ // })) || [],
118
+ // crosspostedChannels:
119
+ // message.mentions?.crosspostedChannels?.map((channel: any) => ({
120
+ // id: channel.id,
121
+ // guildId: channel.guildId,
122
+ // type: channel.type,
123
+ // })) || [],
124
+ // repliedUser: message.mentions?.repliedUser
125
+ // ? {
126
+ // id: message.mentions.repliedUser.id,
127
+ // username: message.mentions.repliedUser.username,
128
+ // discriminator: message.mentions.repliedUser.discriminator,
129
+ // globalName: message.mentions.repliedUser.globalName,
130
+ // avatar: message.mentions.repliedUser.avatar,
131
+ // }
132
+ // : null,
133
+ // repliedMessage:
134
+ // message.reference && message.reference.messageId
135
+ // ? {
136
+ // id: message.reference.messageId,
137
+ // channelId: message.reference.channelId,
138
+ // guildId: message.reference.guildId,
139
+ // content: null, // Will be populated if fetchReferencedMessage is called
140
+ // }
141
+ // : null,
142
+ // members:
143
+ // message.mentions?.members?.map((member: any) => ({
144
+ // id: member.id,
145
+ // nickname: member.nickname,
146
+ // })) || [],
147
+ // channels:
148
+ // message.mentions?.channels?.map((channel: any) => ({
149
+ // id: channel.id,
150
+ // name: channel.name,
151
+ // type: channel.type,
152
+ // })) || [],
153
+ // },
154
+ // webhookId: message.webhookId,
155
+ // applicationId: message.applicationId,
156
+ // activity: message.activity,
157
+ // flags: message.flags?.toArray(),
158
+ // reference: message.reference,
159
+ // interaction: message.interactionMetadata
160
+ // ? {
161
+ // id: message.interactionMetadata.id,
162
+ // type: message.interactionMetadata.type,
163
+ // userId: message.interactionMetadata.user?.id,
164
+ // }
165
+ // : null,
166
+ // poll: message.poll,
167
+ // messageSnapshots: message.messageSnapshots?.map((snapshot: any) => ({
168
+ // message: {
169
+ // id: snapshot.message.id,
170
+ // content: snapshot.message.content,
171
+ // },
172
+ // })),
173
+ // call: message.call,
177
174
  };
178
175
  return n8nMessage;
179
176
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MessageTransformer.js","sourceRoot":"","sources":["../../src/transformers/MessageTransformer.ts"],"names":[],"mappings":";;;AAaA;;;;GAIG;AACI,KAAK,UAAU,sBAAsB,CAC1C,OAAgB;IAEhB,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,SAAS,EAAE;QACpD,IAAI;YACF,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,cAAc,EAAE,CAAC;YACzD,OAAO,iBAAiB,CAAC,OAAO,CAAC;SAClC;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,KAAK,CAAC,oCAAoC,EAAE,KAAK,CAAC,CAAC;YAC3D,OAAO,IAAI,CAAC;SACb;KACF;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAbD,wDAaC;AAED,SAAgB,aAAa,CAAC,OAAgB;;IAC5C,MAAM,UAAU,GAAe;QAC7B,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;QAC1C,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,eAAe,EAAE,CAAC,OAAO,CAAC,KAAK;QAC/B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,MAAM,EAAE,MAAA,OAAO,CAAC,MAAM,0CAAE,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE;;YAAC,OAAA,CAAC;gBAC3C,KAAK,EAAE,K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,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-discord-dnd",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "n8n node to create triggers for Discord events",
5
5
  "keywords": [
6
6
  "n8n",