updated watch templates with expect/disable/notify

This commit is contained in:
BroodjeAap 2023-04-01 12:07:06 +00:00
parent e150a84782
commit b9cfe454d7
5 changed files with 1001 additions and 607 deletions

View file

@ -1,120 +1,189 @@
{ {
"filters": [ "filters": [
{ {
"filter_id": 1, "filter_id": 80,
"filter_watch_id": 1, "filter_watch_id": 2,
"filter_name": "Fetch", "filter_name": "Fetch",
"x": 144, "x": 144,
"y": 242, "y": 242,
"filter_type": "brow", "filter_type": "gurl",
"var1": "gurl", "var1": "-",
"var2": "-", "var2": "",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
}, "CronEntry": null
{ },
"filter_id": 2, {
"filter_watch_id": 1, "filter_id": 81,
"filter_name": "XPath", "filter_watch_id": 2,
"x": 362, "filter_name": "XPath",
"y": 245, "x": 362,
"filter_type": "xpath", "y": 245,
"var1": "//div[@id='corePrice_feature_div']//span[@class='a-price-whole']", "filter_type": "xpath",
"var2": "inner", "var1": "//div[@id='corePrice_feature_div']//span[@class='a-price-whole']",
"Parents": null, "var2": "inner",
"Children": null, "Parents": null,
"Results": null, "Children": null,
"Logs": null "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_id": 3, },
"filter_watch_id": 1, {
"filter_name": "Sanitize", "filter_id": 82,
"x": 584, "filter_watch_id": 2,
"y": 244, "filter_name": "Sanitize",
"filter_type": "match", "x": 584,
"var1": "[0-9]+", "y": 244,
"var2": "", "filter_type": "match",
"Parents": null, "var1": "[0-9]+",
"Children": null, "var2": "",
"Results": null, "Parents": null,
"Logs": null "Children": null,
}, "Results": null,
{ "Logs": null,
"filter_id": 4, "CronEntry": null
"filter_watch_id": 1, },
"filter_name": "Price", {
"x": 815, "filter_id": 83,
"y": 245, "filter_watch_id": 2,
"filter_type": "store", "filter_name": "Price",
"var1": "", "x": 815,
"var2": "", "y": 245,
"Parents": null, "filter_type": "store",
"Children": null, "var1": "",
"Results": null, "var2": "",
"Logs": null "Parents": null,
}, "Children": null,
{ "Results": null,
"filter_id": 5, "Logs": null,
"filter_watch_id": 1, "CronEntry": null
"filter_name": "Diff", },
"x": 813, {
"y": 379, "filter_id": 84,
"filter_type": "condition", "filter_watch_id": 2,
"var1": "diff", "filter_name": "Diff",
"var2": "Price", "x": 813,
"Parents": null, "y": 379,
"Children": null, "filter_type": "condition",
"Results": null, "var1": "diff",
"Logs": null "var2": "Price",
}, "Parents": null,
{ "Children": null,
"filter_id": 6, "Results": null,
"filter_watch_id": 1, "Logs": null,
"filter_name": "Schedule", "CronEntry": null
"x": 104, },
"y": 70, {
"filter_type": "cron", "filter_id": 85,
"var1": "@every 30m", "filter_watch_id": 2,
"var2": "no", "filter_name": "Schedule",
"Parents": null, "x": 104,
"Children": null, "y": 70,
"Results": null, "filter_type": "cron",
"Logs": null "var1": "@every 30m",
} "var2": "no",
], "Parents": null,
"connections": [ "Children": null,
{ "Results": null,
"filter_connection_id": 1, "Logs": null,
"connection_watch_id": 1, "CronEntry": null
"filter_output_id": 1, },
"filter_input_id": 2 {
}, "filter_id": 86,
{ "filter_watch_id": 2,
"filter_connection_id": 2, "filter_name": "Expect",
"connection_watch_id": 1, "x": 540,
"filter_output_id": 2, "y": 557,
"filter_input_id": 3 "filter_type": "expect",
}, "var1": "2",
{ "var2": "",
"filter_connection_id": 3, "Parents": null,
"connection_watch_id": 1, "Children": null,
"filter_output_id": 3, "Results": null,
"filter_input_id": 4 "Logs": null,
}, "CronEntry": null
{ },
"filter_connection_id": 4, {
"connection_watch_id": 1, "filter_id": 87,
"filter_output_id": 4, "filter_watch_id": 2,
"filter_input_id": 5 "filter_name": "Disable",
}, "x": 735,
{ "y": 557,
"filter_connection_id": 5, "filter_type": "disable",
"connection_watch_id": 1, "var1": "",
"filter_output_id": 6, "var2": "",
"filter_input_id": 1 "Parents": null,
} "Children": null,
] "Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 88,
"filter_watch_id": 2,
"filter_name": "DisableNotify",
"x": 733,
"y": 659,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 72,
"connection_watch_id": 2,
"filter_output_id": 80,
"filter_input_id": 81
},
{
"filter_connection_id": 73,
"connection_watch_id": 2,
"filter_output_id": 81,
"filter_input_id": 82
},
{
"filter_connection_id": 74,
"connection_watch_id": 2,
"filter_output_id": 82,
"filter_input_id": 83
},
{
"filter_connection_id": 75,
"connection_watch_id": 2,
"filter_output_id": 83,
"filter_input_id": 84
},
{
"filter_connection_id": 76,
"connection_watch_id": 2,
"filter_output_id": 85,
"filter_input_id": 80
},
{
"filter_connection_id": 77,
"connection_watch_id": 2,
"filter_output_id": 81,
"filter_input_id": 86
},
{
"filter_connection_id": 78,
"connection_watch_id": 2,
"filter_output_id": 86,
"filter_input_id": 87
},
{
"filter_connection_id": 79,
"connection_watch_id": 2,
"filter_output_id": 86,
"filter_input_id": 88
}
]
} }

View file

@ -1,140 +1,210 @@
{ {
"filters": [ "filters": [
{ {
"filter_id": 7, "filter_id": 35,
"filter_watch_id": 2, "filter_watch_id": 3,
"filter_name": "Fetch", "filter_name": "Fetch",
"x": 168, "x": 168,
"y": 214, "y": 214,
"filter_type": "gurl", "filter_type": "gurl",
"var1": "-", "var1": "-",
"var2": "", "var2": "",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
}, "CronEntry": null
{ },
"filter_id": 8, {
"filter_watch_id": 2, "filter_id": 36,
"filter_name": "CSS", "filter_watch_id": 3,
"x": 398, "filter_name": "CSS",
"y": 213, "x": 398,
"filter_type": "css", "y": 213,
"var1": ".x-price-primary span span", "filter_type": "css",
"var2": "", "var1": ".x-price-primary span span",
"Parents": null, "var2": "",
"Children": null, "Parents": null,
"Results": null, "Children": null,
"Logs": null "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_id": 9, },
"filter_watch_id": 2, {
"filter_name": "Sanitize", "filter_id": 37,
"x": 629, "filter_watch_id": 3,
"y": 214, "filter_name": "Sanitize",
"filter_type": "replace", "x": 629,
"var1": ".*US[ ][$]([0-9]+[.][0-9]+).*", "y": 214,
"var2": "$1", "filter_type": "replace",
"Parents": null, "var1": ".*US[ ][$]([0-9]+[.][0-9]+).*",
"Children": null, "var2": "$1",
"Results": null, "Parents": null,
"Logs": null "Children": null,
}, "Results": null,
{ "Logs": null,
"filter_id": 10, "CronEntry": null
"filter_watch_id": 2, },
"filter_name": "Price", {
"x": 878, "filter_id": 38,
"y": 217, "filter_watch_id": 3,
"filter_type": "store", "filter_name": "Price",
"var1": "", "x": 878,
"var2": "", "y": 217,
"Parents": null, "filter_type": "store",
"Children": null, "var1": "",
"Results": null, "var2": "",
"Logs": null "Parents": null,
}, "Children": null,
{ "Results": null,
"filter_id": 11, "Logs": null,
"filter_watch_id": 2, "CronEntry": null
"filter_name": "Different", },
"x": 878, {
"y": 322, "filter_id": 39,
"filter_type": "condition", "filter_watch_id": 3,
"var1": "diff", "filter_name": "Different",
"var2": "Price", "x": 878,
"Parents": null, "y": 322,
"Children": null, "filter_type": "condition",
"Results": null, "var1": "diff",
"Logs": null "var2": "Price",
}, "Parents": null,
{ "Children": null,
"filter_id": 12, "Results": null,
"filter_watch_id": 2, "Logs": null,
"filter_name": "Notify", "CronEntry": null
"x": 1080, },
"y": 326, {
"filter_type": "notify", "filter_id": 40,
"var1": "{{ .WatchName }} changed price {{ .Sanitize }}", "filter_watch_id": 3,
"var2": "All", "filter_name": "Notify",
"Parents": null, "x": 1080,
"Children": null, "y": 326,
"Results": null, "filter_type": "notify",
"Logs": null "var1": "{{ .WatchName }} changed price {{ .Sanitize }}",
}, "var2": "All",
{ "Parents": null,
"filter_id": 13, "Children": null,
"filter_watch_id": 2, "Results": null,
"filter_name": "Schedule", "Logs": null,
"x": 167, "CronEntry": null
"y": 74, },
"filter_type": "cron", {
"var1": "@every 15m", "filter_id": 41,
"var2": "no", "filter_watch_id": 3,
"Parents": null, "filter_name": "Schedule",
"Children": null, "x": 167,
"Results": null, "y": 74,
"Logs": null "filter_type": "cron",
} "var1": "@every 15m",
], "var2": "no",
"connections": [ "Parents": null,
{ "Children": null,
"filter_connection_id": 6, "Results": null,
"connection_watch_id": 2, "Logs": null,
"filter_output_id": 7, "CronEntry": null
"filter_input_id": 8 },
}, {
{ "filter_id": 42,
"filter_connection_id": 7, "filter_watch_id": 3,
"connection_watch_id": 2, "filter_name": "Expect",
"filter_output_id": 8, "x": 621,
"filter_input_id": 9 "y": 493,
}, "filter_type": "expect",
{ "var1": "1",
"filter_connection_id": 8, "var2": "",
"connection_watch_id": 2, "Parents": null,
"filter_output_id": 9, "Children": null,
"filter_input_id": 10 "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_connection_id": 9, },
"connection_watch_id": 2, {
"filter_output_id": 9, "filter_id": 43,
"filter_input_id": 11 "filter_watch_id": 3,
}, "filter_name": "Disable",
{ "x": 863,
"filter_connection_id": 10, "y": 497,
"connection_watch_id": 2, "filter_type": "disable",
"filter_output_id": 11, "var1": "",
"filter_input_id": 12 "var2": "",
}, "Parents": null,
{ "Children": null,
"filter_connection_id": 11, "Results": null,
"connection_watch_id": 2, "Logs": null,
"filter_output_id": 13, "CronEntry": null
"filter_input_id": 7 },
} {
] "filter_id": 44,
"filter_watch_id": 3,
"filter_name": "DisableNotify",
"x": 867,
"y": 619,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 31,
"connection_watch_id": 3,
"filter_output_id": 35,
"filter_input_id": 36
},
{
"filter_connection_id": 32,
"connection_watch_id": 3,
"filter_output_id": 36,
"filter_input_id": 37
},
{
"filter_connection_id": 33,
"connection_watch_id": 3,
"filter_output_id": 37,
"filter_input_id": 38
},
{
"filter_connection_id": 34,
"connection_watch_id": 3,
"filter_output_id": 37,
"filter_input_id": 39
},
{
"filter_connection_id": 35,
"connection_watch_id": 3,
"filter_output_id": 39,
"filter_input_id": 40
},
{
"filter_connection_id": 36,
"connection_watch_id": 3,
"filter_output_id": 41,
"filter_input_id": 35
},
{
"filter_connection_id": 37,
"connection_watch_id": 3,
"filter_output_id": 36,
"filter_input_id": 42
},
{
"filter_connection_id": 38,
"connection_watch_id": 3,
"filter_output_id": 42,
"filter_input_id": 43
},
{
"filter_connection_id": 39,
"connection_watch_id": 3,
"filter_output_id": 42,
"filter_input_id": 44
}
]
} }

View file

@ -1,140 +1,210 @@
{ {
"filters": [ "filters": [
{ {
"filter_id": 14, "filter_id": 45,
"filter_watch_id": 3, "filter_watch_id": 4,
"filter_name": "Fetch", "filter_name": "Fetch",
"x": 168, "x": 168,
"y": 214, "y": 214,
"filter_type": "gurl", "filter_type": "gurl",
"var1": "-", "var1": "-",
"var2": "", "var2": "",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
}, "CronEntry": null
{ },
"filter_id": 15, {
"filter_watch_id": 3, "filter_id": 46,
"filter_name": "CSS", "filter_watch_id": 4,
"x": 398, "filter_name": "CSS",
"y": 213, "x": 398,
"filter_type": "css", "y": 213,
"var1": ".wt-text-title-03", "filter_type": "css",
"var2": "", "var1": ".wt-text-title-03",
"Parents": null, "var2": "",
"Children": null, "Parents": null,
"Results": null, "Children": null,
"Logs": null "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_id": 16, },
"filter_watch_id": 3, {
"filter_name": "Sanitize", "filter_id": 47,
"x": 629, "filter_watch_id": 4,
"y": 214, "filter_name": "Sanitize",
"filter_type": "replace", "x": 629,
"var1": "[^$]*[$]([0-9.]+)[^z]+", "y": 214,
"var2": "$1", "filter_type": "replace",
"Parents": null, "var1": "[^$]*[$]([0-9.]+)[^z]+",
"Children": null, "var2": "$1",
"Results": null, "Parents": null,
"Logs": null "Children": null,
}, "Results": null,
{ "Logs": null,
"filter_id": 17, "CronEntry": null
"filter_watch_id": 3, },
"filter_name": "Price", {
"x": 878, "filter_id": 48,
"y": 217, "filter_watch_id": 4,
"filter_type": "store", "filter_name": "Price",
"var1": "", "x": 878,
"var2": "", "y": 217,
"Parents": null, "filter_type": "store",
"Children": null, "var1": "",
"Results": null, "var2": "",
"Logs": null "Parents": null,
}, "Children": null,
{ "Results": null,
"filter_id": 18, "Logs": null,
"filter_watch_id": 3, "CronEntry": null
"filter_name": "Different", },
"x": 878, {
"y": 322, "filter_id": 49,
"filter_type": "condition", "filter_watch_id": 4,
"var1": "diff", "filter_name": "Different",
"var2": "Price", "x": 878,
"Parents": null, "y": 322,
"Children": null, "filter_type": "condition",
"Results": null, "var1": "diff",
"Logs": null "var2": "Price",
}, "Parents": null,
{ "Children": null,
"filter_id": 19, "Results": null,
"filter_watch_id": 3, "Logs": null,
"filter_name": "Notify", "CronEntry": null
"x": 1080, },
"y": 326, {
"filter_type": "notify", "filter_id": 50,
"var1": "{{ .WatchName }} changed price {{ .Sanitize }}", "filter_watch_id": 4,
"var2": "All", "filter_name": "Notify",
"Parents": null, "x": 1080,
"Children": null, "y": 326,
"Results": null, "filter_type": "notify",
"Logs": null "var1": "{{ .WatchName }} changed price {{ .Sanitize }}",
}, "var2": "All",
{ "Parents": null,
"filter_id": 20, "Children": null,
"filter_watch_id": 3, "Results": null,
"filter_name": "Schedule", "Logs": null,
"x": 167, "CronEntry": null
"y": 74, },
"filter_type": "cron", {
"var1": "@every 15m", "filter_id": 51,
"var2": "no", "filter_watch_id": 4,
"Parents": null, "filter_name": "Schedule",
"Children": null, "x": 167,
"Results": null, "y": 74,
"Logs": null "filter_type": "cron",
} "var1": "@every 15m",
], "var2": "no",
"connections": [ "Parents": null,
{ "Children": null,
"filter_connection_id": 12, "Results": null,
"connection_watch_id": 3, "Logs": null,
"filter_output_id": 14, "CronEntry": null
"filter_input_id": 15 },
}, {
{ "filter_id": 52,
"filter_connection_id": 13, "filter_watch_id": 4,
"connection_watch_id": 3, "filter_name": "Expect",
"filter_output_id": 15, "x": 624,
"filter_input_id": 16 "y": 507,
}, "filter_type": "expect",
{ "var1": "1",
"filter_connection_id": 14, "var2": "",
"connection_watch_id": 3, "Parents": null,
"filter_output_id": 16, "Children": null,
"filter_input_id": 17 "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_connection_id": 15, },
"connection_watch_id": 3, {
"filter_output_id": 16, "filter_id": 53,
"filter_input_id": 18 "filter_watch_id": 4,
}, "filter_name": "Disable",
{ "x": 856,
"filter_connection_id": 16, "y": 510,
"connection_watch_id": 3, "filter_type": "disable",
"filter_output_id": 18, "var1": "",
"filter_input_id": 19 "var2": "",
}, "Parents": null,
{ "Children": null,
"filter_connection_id": 17, "Results": null,
"connection_watch_id": 3, "Logs": null,
"filter_output_id": 20, "CronEntry": null
"filter_input_id": 14 },
} {
] "filter_id": 54,
"filter_watch_id": 4,
"filter_name": "DisableNotify",
"x": 857,
"y": 629,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 40,
"connection_watch_id": 4,
"filter_output_id": 45,
"filter_input_id": 46
},
{
"filter_connection_id": 41,
"connection_watch_id": 4,
"filter_output_id": 46,
"filter_input_id": 47
},
{
"filter_connection_id": 42,
"connection_watch_id": 4,
"filter_output_id": 47,
"filter_input_id": 48
},
{
"filter_connection_id": 43,
"connection_watch_id": 4,
"filter_output_id": 47,
"filter_input_id": 49
},
{
"filter_connection_id": 44,
"connection_watch_id": 4,
"filter_output_id": 49,
"filter_input_id": 50
},
{
"filter_connection_id": 45,
"connection_watch_id": 4,
"filter_output_id": 51,
"filter_input_id": 45
},
{
"filter_connection_id": 46,
"connection_watch_id": 4,
"filter_output_id": 46,
"filter_input_id": 52
},
{
"filter_connection_id": 47,
"connection_watch_id": 4,
"filter_output_id": 52,
"filter_input_id": 53
},
{
"filter_connection_id": 48,
"connection_watch_id": 4,
"filter_output_id": 52,
"filter_input_id": 54
}
]
} }

View file

@ -1,140 +1,210 @@
{ {
"filters": [ "filters": [
{ {
"filter_id": 21, "filter_id": 55,
"filter_watch_id": 4, "filter_watch_id": 5,
"filter_name": "Fetch", "filter_name": "Fetch",
"x": 168, "x": 168,
"y": 214, "y": 214,
"filter_type": "gurl", "filter_type": "gurl",
"var1": "-", "var1": "-",
"var2": "", "var2": "",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
}, "CronEntry": null
{ },
"filter_id": 22, {
"filter_watch_id": 4, "filter_id": 56,
"filter_name": "CSS", "filter_watch_id": 5,
"x": 398, "filter_name": "CSS",
"y": 213, "x": 398,
"filter_type": "css", "y": 213,
"var1": ".product-price .price-current strong", "filter_type": "css",
"var2": "", "var1": ".product-price .price-current strong",
"Parents": null, "var2": "",
"Children": null, "Parents": null,
"Results": null, "Children": null,
"Logs": null "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_id": 23, },
"filter_watch_id": 4, {
"filter_name": "Sanitize", "filter_id": 57,
"x": 629, "filter_watch_id": 5,
"y": 214, "filter_name": "Sanitize",
"filter_type": "replace", "x": 629,
"var1": "[^0-9]", "y": 214,
"var2": "", "filter_type": "replace",
"Parents": null, "var1": "[^0-9]",
"Children": null, "var2": "",
"Results": null, "Parents": null,
"Logs": null "Children": null,
}, "Results": null,
{ "Logs": null,
"filter_id": 24, "CronEntry": null
"filter_watch_id": 4, },
"filter_name": "Price", {
"x": 878, "filter_id": 58,
"y": 217, "filter_watch_id": 5,
"filter_type": "store", "filter_name": "Price",
"var1": "", "x": 878,
"var2": "", "y": 217,
"Parents": null, "filter_type": "store",
"Children": null, "var1": "",
"Results": null, "var2": "",
"Logs": null "Parents": null,
}, "Children": null,
{ "Results": null,
"filter_id": 25, "Logs": null,
"filter_watch_id": 4, "CronEntry": null
"filter_name": "Different", },
"x": 878, {
"y": 322, "filter_id": 59,
"filter_type": "condition", "filter_watch_id": 5,
"var1": "diff", "filter_name": "Different",
"var2": "Price", "x": 878,
"Parents": null, "y": 322,
"Children": null, "filter_type": "condition",
"Results": null, "var1": "diff",
"Logs": null "var2": "Price",
}, "Parents": null,
{ "Children": null,
"filter_id": 26, "Results": null,
"filter_watch_id": 4, "Logs": null,
"filter_name": "Notify", "CronEntry": null
"x": 1080, },
"y": 326, {
"filter_type": "notify", "filter_id": 60,
"var1": "{{ .WatchName }} changed price {{ .Sanitize }}", "filter_watch_id": 5,
"var2": "All", "filter_name": "Notify",
"Parents": null, "x": 1080,
"Children": null, "y": 326,
"Results": null, "filter_type": "notify",
"Logs": null "var1": "{{ .WatchName }} changed price {{ .Sanitize }}",
}, "var2": "All",
{ "Parents": null,
"filter_id": 27, "Children": null,
"filter_watch_id": 4, "Results": null,
"filter_name": "Schedule", "Logs": null,
"x": 167, "CronEntry": null
"y": 74, },
"filter_type": "cron", {
"var1": "@every 15m", "filter_id": 61,
"var2": "no", "filter_watch_id": 5,
"Parents": null, "filter_name": "Schedule",
"Children": null, "x": 167,
"Results": null, "y": 74,
"Logs": null "filter_type": "cron",
} "var1": "@every 15m",
], "var2": "no",
"connections": [ "Parents": null,
{ "Children": null,
"filter_connection_id": 18, "Results": null,
"connection_watch_id": 4, "Logs": null,
"filter_output_id": 21, "CronEntry": null
"filter_input_id": 22 },
}, {
{ "filter_id": 62,
"filter_connection_id": 19, "filter_watch_id": 5,
"connection_watch_id": 4, "filter_name": "Expect",
"filter_output_id": 22, "x": 634,
"filter_input_id": 23 "y": 475,
}, "filter_type": "expect",
{ "var1": "1",
"filter_connection_id": 20, "var2": "",
"connection_watch_id": 4, "Parents": null,
"filter_output_id": 23, "Children": null,
"filter_input_id": 24 "Results": null,
}, "Logs": null,
{ "CronEntry": null
"filter_connection_id": 21, },
"connection_watch_id": 4, {
"filter_output_id": 23, "filter_id": 63,
"filter_input_id": 25 "filter_watch_id": 5,
}, "filter_name": "Disable",
{ "x": 872,
"filter_connection_id": 22, "y": 480,
"connection_watch_id": 4, "filter_type": "disable",
"filter_output_id": 25, "var1": "",
"filter_input_id": 26 "var2": "",
}, "Parents": null,
{ "Children": null,
"filter_connection_id": 23, "Results": null,
"connection_watch_id": 4, "Logs": null,
"filter_output_id": 27, "CronEntry": null
"filter_input_id": 21 },
} {
] "filter_id": 64,
"filter_watch_id": 5,
"filter_name": "DisableNotify",
"x": 873,
"y": 603,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
}
],
"connections": [
{
"filter_connection_id": 49,
"connection_watch_id": 5,
"filter_output_id": 55,
"filter_input_id": 56
},
{
"filter_connection_id": 50,
"connection_watch_id": 5,
"filter_output_id": 56,
"filter_input_id": 57
},
{
"filter_connection_id": 51,
"connection_watch_id": 5,
"filter_output_id": 57,
"filter_input_id": 58
},
{
"filter_connection_id": 52,
"connection_watch_id": 5,
"filter_output_id": 57,
"filter_input_id": 59
},
{
"filter_connection_id": 53,
"connection_watch_id": 5,
"filter_output_id": 59,
"filter_input_id": 60
},
{
"filter_connection_id": 54,
"connection_watch_id": 5,
"filter_output_id": 61,
"filter_input_id": 55
},
{
"filter_connection_id": 55,
"connection_watch_id": 5,
"filter_output_id": 56,
"filter_input_id": 62
},
{
"filter_connection_id": 56,
"connection_watch_id": 5,
"filter_output_id": 62,
"filter_input_id": 63
},
{
"filter_connection_id": 57,
"connection_watch_id": 5,
"filter_output_id": 62,
"filter_input_id": 64
}
]
} }

View file

@ -1,8 +1,8 @@
{ {
"filters": [ "filters": [
{ {
"filter_id": 28, "filter_id": 65,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Fetch", "filter_name": "Fetch",
"x": 81, "x": 81,
"y": 212, "y": 212,
@ -12,25 +12,27 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 29, "filter_id": 66,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Schedule", "filter_name": "Schedule",
"x": 86, "x": 86,
"y": 63, "y": 63,
"filter_type": "cron", "filter_type": "cron",
"var1": "@every 15m", "var1": "@every 15m + 10m",
"var2": "no", "var2": "no",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 30, "filter_id": 67,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "XPath", "filter_name": "XPath",
"x": 298, "x": 298,
"y": 210, "y": 210,
@ -40,11 +42,12 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 31, "filter_id": 68,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Sanitize", "filter_name": "Sanitize",
"x": 523, "x": 523,
"y": 208, "y": 208,
@ -54,11 +57,12 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 32, "filter_id": 69,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Sanitize2", "filter_name": "Sanitize2",
"x": 728, "x": 728,
"y": 210, "y": 210,
@ -68,11 +72,12 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 33, "filter_id": 70,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Min", "filter_name": "Min",
"x": 941, "x": 941,
"y": 209, "y": 209,
@ -82,11 +87,12 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 34, "filter_id": 71,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Minimum", "filter_name": "Minimum",
"x": 1130, "x": 1130,
"y": 210, "y": 210,
@ -96,11 +102,12 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 35, "filter_id": 72,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Diff", "filter_name": "Diff",
"x": 897, "x": 897,
"y": 370, "y": 370,
@ -110,91 +117,199 @@
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 36, "filter_id": 73,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Notify", "filter_name": "Notify",
"x": 895, "x": 1083,
"y": 554, "y": 486,
"filter_type": "notify", "filter_type": "notify",
"var1": "{{ .WatchName }} Price change: {{ .Min }}", "var1": "{{ .WatchName }} Price change: {{ .Min }}",
"var2": "All", "var2": "All",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
}, },
{ {
"filter_id": 37, "filter_id": 74,
"filter_watch_id": 5, "filter_watch_id": 6,
"filter_name": "Round", "filter_name": "Round",
"x": 905, "x": 1086,
"y": 461, "y": 364,
"filter_type": "replace", "filter_type": "replace",
"var1": "[.].*", "var1": "[.].*",
"var2": "", "var2": "",
"Parents": null, "Parents": null,
"Children": null, "Children": null,
"Results": null, "Results": null,
"Logs": null "Logs": null,
"CronEntry": null
},
{
"filter_id": 75,
"filter_watch_id": 6,
"filter_name": "Expect",
"x": 895,
"y": 72,
"filter_type": "expect",
"var1": "1",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 76,
"filter_watch_id": 6,
"filter_name": "Disable",
"x": 1100,
"y": 74,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 77,
"filter_watch_id": 6,
"filter_name": "Expect",
"x": 517,
"y": 453,
"filter_type": "expect",
"var1": "1",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 78,
"filter_watch_id": 6,
"filter_name": "Disable",
"x": 732,
"y": 455,
"filter_type": "disable",
"var1": "",
"var2": "",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
},
{
"filter_id": 79,
"filter_watch_id": 6,
"filter_name": "DisableNotify",
"x": 736,
"y": 570,
"filter_type": "notify",
"var1": "Disabled schedule for {{ .WatchName }}",
"var2": "All",
"Parents": null,
"Children": null,
"Results": null,
"Logs": null,
"CronEntry": null
} }
], ],
"connections": [ "connections": [
{ {
"filter_connection_id": 24, "filter_connection_id": 58,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 29, "filter_output_id": 66,
"filter_input_id": 28 "filter_input_id": 65
}, },
{ {
"filter_connection_id": 25, "filter_connection_id": 59,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 28, "filter_output_id": 65,
"filter_input_id": 30 "filter_input_id": 67
}, },
{ {
"filter_connection_id": 26, "filter_connection_id": 60,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 30, "filter_output_id": 67,
"filter_input_id": 31 "filter_input_id": 68
}, },
{ {
"filter_connection_id": 27, "filter_connection_id": 61,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 31, "filter_output_id": 68,
"filter_input_id": 32 "filter_input_id": 69
}, },
{ {
"filter_connection_id": 28, "filter_connection_id": 62,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 32, "filter_output_id": 69,
"filter_input_id": 33 "filter_input_id": 70
}, },
{ {
"filter_connection_id": 29, "filter_connection_id": 63,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 33, "filter_output_id": 70,
"filter_input_id": 34 "filter_input_id": 71
}, },
{ {
"filter_connection_id": 30, "filter_connection_id": 64,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 33, "filter_output_id": 70,
"filter_input_id": 35 "filter_input_id": 72
}, },
{ {
"filter_connection_id": 31, "filter_connection_id": 65,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 35, "filter_output_id": 72,
"filter_input_id": 37 "filter_input_id": 74
}, },
{ {
"filter_connection_id": 32, "filter_connection_id": 66,
"connection_watch_id": 5, "connection_watch_id": 6,
"filter_output_id": 37, "filter_output_id": 74,
"filter_input_id": 36 "filter_input_id": 73
},
{
"filter_connection_id": 67,
"connection_watch_id": 6,
"filter_output_id": 69,
"filter_input_id": 75
},
{
"filter_connection_id": 68,
"connection_watch_id": 6,
"filter_output_id": 75,
"filter_input_id": 76
},
{
"filter_connection_id": 69,
"connection_watch_id": 6,
"filter_output_id": 67,
"filter_input_id": 77
},
{
"filter_connection_id": 70,
"connection_watch_id": 6,
"filter_output_id": 77,
"filter_input_id": 78
},
{
"filter_connection_id": 71,
"connection_watch_id": 6,
"filter_output_id": 77,
"filter_input_id": 79
} }
] ]
} }