Skip to content

Commit cef1717

Browse files
committed
feat: added alias and displayMessage
1 parent 7890312 commit cef1717

7 files changed

Lines changed: 85 additions & 13 deletions

File tree

definitions/cron/data_type/object/cron_code.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"alias": [
1111
{
1212
"code": "en-US",
13-
"content": "cron;code;schedule"
13+
"content": "cron;code;schedule;timer;clock"
1414
}
1515
],
1616
"displayMessage": [
1717
{
1818
"code": "en-US",
19-
"content": "Cron Code"
19+
"content": "Cron Code ${minute} ${hour} ${day_of_month} ${month} ${day_of_week}"
2020
}
2121
],
2222
"rules": [

definitions/cron/data_type/type/cron_day_of_month.proto.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
}
1515
}
1616
],
17-
"genericKeys": []
18-
}
17+
"alias": [
18+
{
19+
"code": "en-US",
20+
"content": "cron;code;schedule;timer;clock;month;day"
21+
}
22+
],
23+
"displayMessage": [
24+
{
25+
"code": "en-US",
26+
"content": "Cron Day of Month"
27+
}
28+
],
29+
"genericKeys": []
30+
}

definitions/cron/data_type/type/cron_day_of_week.proto.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
}
1515
}
1616
],
17-
"genericKeys": []
18-
}
17+
"alias": [
18+
{
19+
"code": "en-US",
20+
"content": "cron;code;schedule;timer;clock;day;week"
21+
}
22+
],
23+
"displayMessage": [
24+
{
25+
"code": "en-US",
26+
"content": "Cron Day of Week"
27+
}
28+
],
29+
"genericKeys": []
30+
}

definitions/cron/data_type/type/cron_hour.proto.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
}
1515
}
1616
],
17-
"genericKeys": []
18-
}
17+
"alias": [
18+
{
19+
"code": "en-US",
20+
"content": "cron;code;schedule;timer;clock;hour"
21+
}
22+
],
23+
"displayMessage": [
24+
{
25+
"code": "en-US",
26+
"content": "Cron Hour"
27+
}
28+
],
29+
"genericKeys": []
30+
}

definitions/cron/data_type/type/cron_minute.proto.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
}
1515
}
1616
],
17-
"genericKeys": []
18-
}
17+
"alias": [
18+
{
19+
"code": "en-US",
20+
"content": "cron;code;schedule;timer;clock;minute"
21+
}
22+
],
23+
"displayMessage": [
24+
{
25+
"code": "en-US",
26+
"content": "Cron Minute"
27+
}
28+
],
29+
"genericKeys": []
30+
}

definitions/cron/data_type/type/cron_month.proto.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
}
1515
}
1616
],
17-
"genericKeys": []
18-
}
17+
"alias": [
18+
{
19+
"code": "en-US",
20+
"content": "cron;code;schedule;timer;clock;month"
21+
}
22+
],
23+
"displayMessage": [
24+
{
25+
"code": "en-US",
26+
"content": "Cron Month"
27+
}
28+
],
29+
"genericKeys": []
30+
}

definitions/cron/flow_type/cron.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,17 @@
3333
}
3434
],
3535
"documentation": [],
36-
"displayIcon": "tabler:file-time"
36+
"displayIcon": "tabler:file-time",
37+
"alias": [
38+
{
39+
"code": "en-US",
40+
"content": "cron;code;schedule;timer;clock;flow"
41+
}
42+
],
43+
"displayMessage": [
44+
{
45+
"code": "en-US",
46+
"content": "Schedule Job ${cron_code}"
47+
}
48+
]
3749
}

0 commit comments

Comments
 (0)