Skip to content

Commit a83d4b3

Browse files
author
nicosammito
committed
refactor: update data type identifiers to use 'type' and add linked data type identifiers in proto JSON files
1 parent 5db414b commit a83d4b3

2 files changed

Lines changed: 34 additions & 9 deletions

File tree

definitions/cron/flow_type/cron.proto.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
{
55
"identifier": "CRON_MINUTE",
66
"unique": "NONE",
7-
"dataTypeIdentifier": "CRON_MINUTE",
7+
"type": "CRON_MINUTE",
8+
"linked_data_type_identifiers": [
9+
"CRON_MINUTE"
10+
],
811
"defaultValue": null,
912
"name": [
1013
{
@@ -22,7 +25,10 @@
2225
{
2326
"identifier": "CRON_HOUR",
2427
"unique": "NONE",
25-
"dataTypeIdentifier": "CRON_HOUR",
28+
"type": "CRON_HOUR",
29+
"linked_data_type_identifiers": [
30+
"CRON_HOUR"
31+
],
2632
"defaultValue": null,
2733
"name": [
2834
{
@@ -40,7 +46,10 @@
4046
{
4147
"identifier": "CRON_DAY_OF_MONTH",
4248
"unique": "NONE",
43-
"dataTypeIdentifier": "CRON_DAY_OF_MONTH",
49+
"type": "CRON_DAY_OF_MONTH",
50+
"linked_data_type_identifiers": [
51+
"CRON_DAY_OF_MONTH"
52+
],
4453
"defaultValue": null,
4554
"name": [
4655
{
@@ -58,7 +67,10 @@
5867
{
5968
"identifier": "CRON_MONTH",
6069
"unique": "NONE",
61-
"dataTypeIdentifier": "CRON_MONTH",
70+
"type": "CRON_MONTH",
71+
"linked_data_type_identifiers": [
72+
"CRON_MONTH"
73+
],
6274
"defaultValue": null,
6375
"name": [
6476
{
@@ -76,7 +88,10 @@
7688
{
7789
"identifier": "CRON_DAY_OF_WEEK",
7890
"unique": "NONE",
79-
"dataTypeIdentifier": "CRON_DAY_OF_WEEK",
91+
"type": "CRON_DAY_OF_WEEK",
92+
"linked_data_type_identifiers": [
93+
"CRON_DAY_OF_WEEK"
94+
],
8095
"defaultValue": null,
8196
"name": [
8297
{

definitions/rest/flow_type/rest.proto.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
{
55
"identifier": "HTTP_URL",
66
"unique": "PROJECT",
7-
"dataTypeIdentifier": "HTTP_URL",
7+
"type": "HTTP_URL",
8+
"linked_data_type_identifiers": [
9+
"HTTP_URL"
10+
],
811
"name": [
912
{
1013
"code": "en-US",
@@ -21,7 +24,10 @@
2124
{
2225
"identifier": "HTTP_METHOD",
2326
"unique": "NONE",
24-
"dataTypeIdentifier": "HTTP_METHOD",
27+
"type": "HTTP_METHOD",
28+
"linked_data_type_identifiers": [
29+
"HTTP_METHOD"
30+
],
2531
"name": [
2632
{
2733
"code": "en-US",
@@ -36,8 +42,12 @@
3642
]
3743
}
3844
],
39-
"inputTypeIdentifier": "REST_ADAPTER_INPUT",
40-
"returnTypeIdentifier": "HTTP_RESPONSE",
45+
"inputType": "REST_ADAPTER_INPUT",
46+
"returnType": "HTTP_RESPONSE",
47+
"linked_data_type_identifiers": [
48+
"REST_ADAPTER_INPUT",
49+
"HTTP_RESPONSE"
50+
],
4151
"editable": false,
4252
"name": [
4353
{

0 commit comments

Comments
 (0)