n8n/packages/nodes-base/nodes/Schedule/CronInterface.ts
agobrech 971c2c0aed
fix(Shedule Node): fixes multiple intervals, fixes week interval (#4376)
* 🐛 fix bug where adding multiple intervals would remove the previous one

* 🐛 swap hour logic with week logic, change sunday to 0 value

* 🔥 remove console.logs

* 🔥 remove unused variable

* 🔥 remove unused imports
2022-10-19 17:28:41 +02:00

8 lines
115 B
TypeScript

export type ICronExpression = [
string | Date,
string | Date,
string | Date,
string | Date,
string | Date,
];