Skip to content

Commit 64be5fe

Browse files
authored
Merge pull request #303 from code0-tech/feat/#302
Update definitions to newest Tucana changes
2 parents 34be440 + 96d5cce commit 64be5fe

2 files changed

Lines changed: 18 additions & 42 deletions

File tree

definitions/cron/flow_type/cron.proto.json

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
"identifier": "CRON",
33
"settings": [
44
{
5-
"identifier": "CRON_MINUTE",
5+
"identifier": "cronMinute",
66
"unique": "NONE",
7-
"type": "CRON_MINUTE",
8-
"linkedDataTypeIdentifiers": [
9-
"CRON_MINUTE"
10-
],
117
"defaultValue": null,
128
"name": [
139
{
@@ -23,12 +19,8 @@
2319
]
2420
},
2521
{
26-
"identifier": "CRON_HOUR",
22+
"identifier": "cronHour",
2723
"unique": "NONE",
28-
"type": "CRON_HOUR",
29-
"linkedDataTypeIdentifiers": [
30-
"CRON_HOUR"
31-
],
3224
"defaultValue": null,
3325
"name": [
3426
{
@@ -44,12 +36,8 @@
4436
]
4537
},
4638
{
47-
"identifier": "CRON_DAY_OF_MONTH",
39+
"identifier": "cronDayOfMonth",
4840
"unique": "NONE",
49-
"type": "CRON_DAY_OF_MONTH",
50-
"linkedDataTypeIdentifiers": [
51-
"CRON_DAY_OF_MONTH"
52-
],
5341
"defaultValue": null,
5442
"name": [
5543
{
@@ -65,12 +53,8 @@
6553
]
6654
},
6755
{
68-
"identifier": "CRON_MONTH",
56+
"identifier": "cronMonth",
6957
"unique": "NONE",
70-
"type": "CRON_MONTH",
71-
"linkedDataTypeIdentifiers": [
72-
"CRON_MONTH"
73-
],
7458
"defaultValue": null,
7559
"name": [
7660
{
@@ -86,12 +70,8 @@
8670
]
8771
},
8872
{
89-
"identifier": "CRON_DAY_OF_WEEK",
73+
"identifier": "cronDayOfWeek",
9074
"unique": "NONE",
91-
"type": "CRON_DAY_OF_WEEK",
92-
"linkedDataTypeIdentifiers": [
93-
"CRON_DAY_OF_WEEK"
94-
],
9575
"defaultValue": null,
9676
"name": [
9777
{
@@ -132,5 +112,7 @@
132112
"code": "en-US",
133113
"content": "Schedule Job ${cron_code}"
134114
}
135-
]
115+
],
116+
"signature": "(cronMinute: CRON_MINUTE, cronHour: CRON_HOUR, cronDayOfMonth: CRON_DAY_OF_MONTH, cronMonth: CRON_MONTH, cronDayOfWeek: CRON_DAY_OF_WEEK): void",
117+
"linkedDataTypeIdentifiers": ["CRON_MINUTE", "CRON_HOUR", "CRON_DAY_OF_MONTH", "CRON_MONTH", "CRON_DAY_OF_WEEK"]
136118
}

definitions/rest/flow_type/rest.proto.json

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
"identifier": "REST",
33
"settings": [
44
{
5-
"identifier": "HTTP_URL",
5+
"identifier": "httpURL",
66
"unique": "PROJECT",
7-
"type": "HTTP_URL",
8-
"linkedDataTypeIdentifiers": [
9-
"HTTP_URL"
10-
],
117
"name": [
128
{
139
"code": "en-US",
@@ -22,12 +18,8 @@
2218
]
2319
},
2420
{
25-
"identifier": "HTTP_METHOD",
21+
"identifier": "httpMethod",
2622
"unique": "NONE",
27-
"type": "HTTP_METHOD",
28-
"linkedDataTypeIdentifiers": [
29-
"HTTP_METHOD"
30-
],
3123
"name": [
3224
{
3325
"code": "en-US",
@@ -42,11 +34,7 @@
4234
]
4335
}
4436
],
45-
"inputType": "REST_ADAPTER_INPUT<{}>",
46-
"linkedDataTypeIdentifiers": [
47-
"REST_ADAPTER_INPUT"
48-
],
49-
"editable": false,
37+
"editable": true,
5038
"name": [
5139
{
5240
"code": "en-US",
@@ -72,5 +60,11 @@
7260
"content": "http;rest;route;web;webhook"
7361
}
7462
],
75-
"displayIcon": "tabler:world-www"
63+
"displayIcon": "tabler:world-www",
64+
"signature": "(httpURL: HTTP_URL, httpMethod: HTTP_METHOD): REST_ADAPTER_INPUT<{}>",
65+
"linkedDataTypeIdentifiers": [
66+
"HTTP_URL",
67+
"HTTP_METHOD",
68+
"REST_ADAPTER_INPUT"
69+
]
7670
}

0 commit comments

Comments
 (0)