n8n/packages/editor-ui
Omar Ajoue 443c2a4d51
Updated node design and node versioning (#1961)
*  introduce versioned nodes

* Export versioned nodes for separate process run

* Add bse node for versioned nodes

* fix node name for versioned nodes

* extend node from nodeVersionedType

* improve nodes base and flow to FE

* revert lib es2019 to es2017

* include version in key to prevent duplicate key

* handle type versions on FE

* clean up

* cleanup nodes base

* add type versions in getNodeParameterOptions

* cleanup

* code review

* code review + add default version to node type description

* remove node default types from store

* 💄 cleanups

* Draft for migrated Mattermost node

* First version of Mattermost node versioned according to node standards

* Correcting deactivate operations name to match currently used one

*  Create utility types

*  Simplify Mattermost types

*  Rename exports for consistency

*  Type channel properties

*  Type message properties

*  Type reaction properties

*  Type user properties

*  Add type import to router

* 🐛 Add missing key

* 🔨 Adjust typo in operation name

* 🔨 Inline exports for channel properties

* 🔨 Inline exports for message properties

* 🔨 Inline exports for reaction properties

* 🔨 Inline exports for user properties

* 🔨 Inline exports for load options

* 👕 Fix lint issue

* 🔨 Inline export for description

* 🔨 Rename descriptions for clarity

* 🔨 Refactor imports/exports for methods

* 🔨 Refactor latest version retrieval

* 🔥 Remove unneeded else clause

When the string literal union is exhausted, the resource key becomes never, so TS disallows wrong key usage.

*  Add overloads to getNodeParameter

*  Improve overload

* 🔥 Remove superfluous INodeVersions type

* 🔨 Relocate pre-existing interface

* 🔥 Remove JSDoc arg descriptions

*  Minor reformatting in transport file

*  Fix API call function type

* Created first draft for Axios requests

* Working version of mattermost node with Axios

* Work in progress for replacing request library

* Improvements to request translations

* Fixed sending files via multipart / form-data

* Fixing translation from request to axios and loading node parameter options

* Improved typing for new http helper

* Added ignore any for specific lines for linting

* Fixed follow redirects changes on http request node and manual execution of previously existing workflow with older node versions

* Adding default headers according to body on httpRequest helper

* Spec error handling and fixed workflows with older node versions

* Showcase how to export errors in a standard format

* Merging master

* Refactored mattermost node to keep files in a uniform structure. Also fix bugs with merges

* Reverting changes to http request node

* Changed nullish comparison and removed repeated code from nodes

* Renamed queryString back to qs and simplified node output

* Simplified some comparisons

* Changed header names to be uc first

* Added default user agent to requests and patch http method support

* Fixed indentation, remove unnecessary file and console log

* Fixed mattermost node name

* Fixed lint issues

* Further fix linting issues

* Further fix lint issues

* Fixed http request helper's return type

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-09-21 19:38:24 +02:00
..
public Update credentials modal (#2154) 2021-09-11 10:15:36 +02:00
src Updated node design and node versioning (#1961) 2021-09-21 19:38:24 +02:00
tests 📚 Update development cycle documentation and add placeholder tests 2019-08-14 13:45:18 +02:00
.browserslistrc Initial commit to release 2019-06-23 12:35:23 +02:00
.eslintrc.js ⬆️ Update packages to latest version on n8n-editor-ui 2019-12-29 15:02:21 -06:00
.gitignore Initial commit to release 2019-06-23 12:35:23 +02:00
.npmignore Initial commit to release 2019-06-23 12:35:23 +02:00
babel.config.js 🎨 Set up linting and formatting (#2120) 2021-08-29 20:58:11 +02:00
cypress.json Initial commit to release 2019-06-23 12:35:23 +02:00
index.js Serve editor-ui correctly also when installed as package 2019-08-19 20:41:10 +02:00
jest.config.js Initial commit to release 2019-06-23 12:35:23 +02:00
LICENSE.md 📚 License text fix 2020-09-15 07:55:09 +02:00
package.json Switch to font source for open sans (#2220) 2021-09-21 14:35:55 +02:00
postcss.config.js Initial commit to release 2019-06-23 12:35:23 +02:00
README.md Fix logos in README.md files 2020-07-13 14:22:34 +02:00
tsconfig.json Add functionality to easily copy data and path of output data (#1260) 2020-12-18 18:55:53 +01:00
tslint.json 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
vue.config.js Switch to font source for open sans (#2220) 2021-09-21 14:35:55 +02:00

n8n-editor-ui

n8n.io - Workflow Automation

The UI to create and update n8n workflows

npm install n8n -g

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

npm run test:e2e

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

License

Apache 2.0 with Commons Clause

Additional information about license can be found in the FAQ