Skip to content

Commit f6080a2

Browse files
author
nicosammito
committed
feat: update identifiers in cron.proto.json for consistent naming convention
1 parent ba87dbe commit f6080a2

1 file changed

Lines changed: 8 additions & 26 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
}

0 commit comments

Comments
 (0)