Commit graph

9 commits

Author SHA1 Message Date
Michael Kret e8500e6937
feat: Add new expression variables and support for luxon
* 🔨 scaffolding for  and

* 🔨 added autocomplete

* 🔨 N8N-2961-New-expression-variables

* 🔨 added luxon DateTime to expressions and Functions node, replased  with , clean up

* 🔨 added  and , fixed  return values

* 🔨 added tests for new variables

* 🔨 removed unnecessary import

* 🔨 return type fix

* 🔨 working on review, wip

* 🔨 working on review, improved errors, wip

* 🔨 fixed disappearing error message box

* 🔨 excluded variables from function node, added jmespath setup

* :hamer: added $jmsepath to function nodes

* 🔨 replacing proxy with data when using jmespath

* 🔨 renamed function

* 🔨 updated tips to function nodes

* 🔨 fixes for errors messages

* 🔨 review fixes

* 🔨 removed $input and $() from autocomplete

*  removed comments

*  Remove unused code

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-03-13 10:34:44 +01:00
Michael Kret 62e05cf0b3
Tolerate missing json key in function node output (#2885)
* 🔨 implemented Tolerate missing json key in function node output

* 🔨 clean up

* Small change to code

*  tolerate returning object

*  Rename function

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-03-07 09:54:52 +01:00
Harshil Agrawal 9335ee5deb
Update Codex files (#2797) 2022-02-11 13:20:42 +01:00
Jan Oberhauser 6d0a4d2132
Always stringify data of Function-Nodes (#2606)
*  Always stringify data of Function-Nodes

*  Fix lint issue and fix data
2022-01-02 10:33:15 +01:00
Jan Oberhauser b4f2251bcb Improvements 2021-12-23 21:00:08 +01:00
Jan Oberhauser 4ab7257c2b 🐛 Fix issue with comments in last line 2021-12-23 18:02:32 +01:00
Jan Oberhauser 0f1b8779e4 Add line numbers to errors 2021-12-23 15:16:42 +01:00
Jan Oberhauser fa760ee26b Improve autocomplete and a few other changes 2021-12-23 11:41:46 +01:00
Iván Ovejero 766f74c782
🚚 Directorize and alphabetize nodes (#2445)
* 🚚 Directorize nodes

*  Alphabetize nodes and credentials

* 🔥 Remove unused node

* 🔥 Remove unused codex

* 🔥 Remove duplicate cred file references

* 🐛 Fix node file paths

* 🔥 Remove duplicate node reference
2021-11-17 17:30:14 +01:00