-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Node): add the Scheduler Node (#4223)
* ✨ Create Schedule node with MVP structure * ✨ Add 24 increments for hours picker * 🚨 Lintfix * Add timestamp, add hour minute and cron expression * Fix bug where there was one extra interval object * Fix default value from fixedCollection * 🐛 UI fixes * 🎨 Changed logic to reflect UI fixes * Fix auto intitialising * Deprecated interval and cron in favor of schedule node * 🐛 Ui fixes * 🐛 Fix issue with week intervals * 🚨 Lint fixes * change order of days in the week to chronological order
- Loading branch information
Showing
8 changed files
with
555 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { IDataObject } from 'n8n-workflow'; | ||
|
||
export type ICronExpression = [ | ||
string | Date, | ||
string | Date, | ||
string | Date, | ||
string | Date, | ||
string | Date, | ||
]; |
18 changes: 18 additions & 0 deletions
18
packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"node": "n8n-nodes-base.scheduleTrigger", | ||
"nodeVersion": "1.0", | ||
"codexVersion": "1.0", | ||
"categories": ["Core Nodes"], | ||
"resources": { | ||
"primaryDocumentation": [ | ||
{ | ||
"url": "https://docs.n8n.io/nodes/n8n-nodes-base.scheduleTrigger/" | ||
} | ||
], | ||
"generic": [] | ||
}, | ||
"alias": ["Time", "Scheduler", "Polling", "Cron", "Interval"], | ||
"subcategories": { | ||
"Core Nodes": ["Flow"] | ||
} | ||
} |
Oops, something went wrong.