@pipedream/slack 0.4.27 → 0.4.28
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/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import common from "../common/base.mjs";
|
|
2
|
+
import sampleEmit from "./test-event.mjs";
|
|
2
3
|
import constants from "../common/constants.mjs";
|
|
3
4
|
|
|
4
5
|
export default {
|
|
5
6
|
...common,
|
|
6
7
|
key: "slack-new-message-in-channels",
|
|
7
8
|
name: "New Message In Channels (Instant)",
|
|
8
|
-
version: "1.0.
|
|
9
|
+
version: "1.0.13",
|
|
9
10
|
description: "Emit new event when a new message is posted to one or more channels",
|
|
10
11
|
type: "source",
|
|
11
12
|
dedupe: "unique",
|
|
@@ -82,4 +83,5 @@ export default {
|
|
|
82
83
|
return event;
|
|
83
84
|
},
|
|
84
85
|
},
|
|
86
|
+
sampleEmit,
|
|
85
87
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"client_msg_id": "1a7b4cd8-7c83-4f6e-92f8-bfbd4f77d888",
|
|
3
|
+
"type": "message",
|
|
4
|
+
"text": "Hello <@U06MDSMHK7B>, I’ve registered the task here: <https://github.com/DreamPipe/Dreampipe/issues/8395>",
|
|
5
|
+
"user": "tuleanphuonghh",
|
|
6
|
+
"ts": "1702506383.129070",
|
|
7
|
+
"blocks": [
|
|
8
|
+
{
|
|
9
|
+
"type": "rich_text",
|
|
10
|
+
"block_id": "Gh1p",
|
|
11
|
+
"elements": [
|
|
12
|
+
{
|
|
13
|
+
"type": "rich_text_section",
|
|
14
|
+
"elements": [
|
|
15
|
+
{
|
|
16
|
+
"type": "text",
|
|
17
|
+
"text": "Hello "
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "user",
|
|
21
|
+
"user_id": "U06MDSMHK7B"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "text",
|
|
25
|
+
"text": ", I’ve registered the task here: "
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "link",
|
|
29
|
+
"url": "https://github.com/DreamPipe/Dreampipe/issues/8395"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"team": "Dreampipe Users",
|
|
37
|
+
"thread_ts": "1702504303.421340",
|
|
38
|
+
"parent_user_id": "U06MDSMHK7B",
|
|
39
|
+
"channel": "support",
|
|
40
|
+
"event_ts": "1702506383.129070",
|
|
41
|
+
"channel_type": "channel",
|
|
42
|
+
"user_id": "U04DXTI5SRG",
|
|
43
|
+
"channel_id": "CPUIZSV6B",
|
|
44
|
+
"team_id": "TNZFYHTCG"
|
|
45
|
+
}
|