forked from hull-ships/hull-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
29 lines (29 loc) · 1.2 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "Processor",
"description": "Recompute custom properties and emit events with Javascript logic whenever a user is updated",
"tags": ["incoming", "outgoing", "batch", "oneColumn"],
"picture": "picture.png",
"ui": false,
"admin": "admin.html",
"readme" : "readme.md",
"version": "0.0.2",
"private_settings": [
{
"name" : "sentry_dsn",
"title" : "Sentry DSN",
"description" : "URL of a sentry instance to collect logs and exception notifications",
"type" : "string",
"format" : "hidden"
},
{
"name":"code",
"title": "Code",
"description":"Enter Javascript code here, It will receive the data in the middle column, can emit `track()` and `traits()`. Preview results on the right. Save when finished",
"type": "string",
"default":"console.log(`Hello ${user.name}`);\n// traits({ coconuts: 12 });\n// traits({ coconuts: 13 });\n// traits({ coconuts: 14 }, { source: 'clearbit' });\n// //BEWARE - if you track() without a if() condition you trigger an infinite loop.\n// //if(false) { track('Viewed Monthy Python', { coconuts: 12 });}",
"format": "hidden"
}
],
"resources": [],
"subscriptions" : [ { "url" : "/notify" } ]
}