forked from hull-ships/hull-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
46 lines (46 loc) · 1.5 KB
/
manifest.json
File metadata and controls
46 lines (46 loc) · 1.5 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "Processor",
"description": "Recompute custom properties and emit events with Javascript logic whenever a user is updated",
"tags": ["incoming", "outgoing", "batch", "oneColumn", "smart-notifier"],
"source": "processor",
"logo": "logo.png",
"picture": "picture.png",
"ui": false,
"admin": "admin.html",
"tabs": [
{
"title": "Code Editor",
"url": "admin.html",
"size": "large",
"editable": true
}
],
"readme" : "readme.md",
"version": "0.2.15",
"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": [],
"schedules" : [
{
"url": "/status",
"type": "interval",
"value": "5"
}
],
"subscriptions" : [{ "url" : "/smart-notifier" }]
}