Commit graph

10 commits

Author SHA1 Message Date
Iván Ovejero b03e358a12
refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)
* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b05.

* 👕 Fix severity
2023-01-27 12:22:44 +01:00
Michael Kret 61e26804ba
refactor(core): Remove linting exceptions in nodes-base (#4794)
*  enabled array-type

*  await-thenable on

*  ban-types on

*  default-param-last on

*  dot-notation on

*  member-delimiter-style on

*  no-duplicate-imports on

*  no-empty-interface on

*  no-floating-promises on

*  no-for-in-array on

*  no-invalid-void-type on

*  no-loop-func on

*  no-shadow on

*  ban-ts-comment re enabled

*  @typescript-eslint/lines-between-class-members on

* address my own comment

* @typescript-eslint/return-await on

* @typescript-eslint/promise-function-async on

* @typescript-eslint/no-unnecessary-boolean-literal-compare on

* @typescript-eslint/no-unnecessary-type-assertion on

* prefer-const on

* @typescript-eslint/prefer-optional-chain on

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-12-02 21:54:28 +01:00
Iván Ovejero 57afd480ab
refactor: Format all credentials (#3720)
* Apply Prettier to all credentials

* Fix quotes for lint

* 👕 Remove `quotemark` rule

* 👕 Run Prettier to take over quotes

* ⬆️ Upgrade `eslint-plugin-n8n-nodes-base`

* 📦 Update `package-lock.json`

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-24 17:36:17 +02:00
Ricardo Espinoza e29c5975e1
feat(core): Add "Client Credentials" grant type to OAuth2 (#3489)
*  Add OAuth2 client credentials grant type

*  Improvements

* 🐛 Fix linting issue

* 🐛 Fix typo

* 🐛 Fix small issue with type

* 🐛 When token expire get a new one instead of refreshing it

*  Fix issue that it did not display it correctly for OAuth1

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-06-13 22:27:19 -07:00
Iván Ovejero 5481dc3d25
Simplify property types in credentials (#1869) 2021-06-12 18:39:55 +02:00
Ricardo Espinoza ccca927d70
Add "Get Following Artists" on Spotify node (#1823)
* Add follow resource

*  Improvements to #1812

*  Minor improvements

Co-authored-by: Sam Roquitte <samroq@yahoo.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-04 18:15:03 -05:00
Iván Ovejero 9cec2a73c7
Fetch saved tracks in Spotify node (#1550)
*  Fetch saved tracks in Spotify node

* Add library resource type to Spotify node

* Add getUserTracks operation to Spotify node

* Add user-library-read to Spotify credential scope

* 🐛 Fix bug in Spotify playlist remove item

* No longer pass position 0 into request

*  Minor improvements

Co-authored-by: Gerard Louw <gerardlouw@gmail.com>
2021-03-21 11:48:22 +01:00
Jan Oberhauser fe802c8f76 👕 Fix built issue by fixing lint issues 2020-10-01 15:18:47 +02:00
Tanay Pant 815e663717 🔨 Add documentationUrl to credentials 2020-08-17 14:42:09 +02:00
Erin 5e81e02599 Spotify Node
Co-authored-by: Ricardo Espinoza <RicardoE105@users.noreply.github.com>
2020-06-24 17:02:14 -04:00