mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Add action to all operations on all nodes (#3655)
* 👕 Add `action` to `INodePropertyOptions` * 👕 Apply `node-param-operation-option-without-action` * ✏️ Fix add/remove phrasing * ✏️ Fix email template phrasing * ✏️ Fix add/remove phrasing * ✏️ Fix custom fields phrasing * ✏️ Fix job report phrasing * ✏️ Fix query phrasing * ✏️ Various phrasing fixes * ✏️ Fix final phrasings * ✏️ Remove `conversation` * ✏️ Fix plural
This commit is contained in:
@@ -103,46 +103,55 @@ export class Spotify implements INodeType {
|
||||
name: 'Add Song to Queue',
|
||||
value: 'addSongToQueue',
|
||||
description: 'Add a song to your queue',
|
||||
action: 'Add a song to a queue',
|
||||
},
|
||||
{
|
||||
name: 'Currently Playing',
|
||||
value: 'currentlyPlaying',
|
||||
description: 'Get your currently playing track',
|
||||
action: 'Get the currently playing track',
|
||||
},
|
||||
{
|
||||
name: 'Next Song',
|
||||
value: 'nextSong',
|
||||
description: 'Skip to your next track',
|
||||
action: 'Skip to the next track',
|
||||
},
|
||||
{
|
||||
name: 'Pause',
|
||||
value: 'pause',
|
||||
description: 'Pause your music',
|
||||
action: 'Pause the player',
|
||||
},
|
||||
{
|
||||
name: 'Previous Song',
|
||||
value: 'previousSong',
|
||||
description: 'Skip to your previous song',
|
||||
action: 'Skip to the previous song',
|
||||
},
|
||||
{
|
||||
name: 'Recently Played',
|
||||
value: 'recentlyPlayed',
|
||||
description: 'Get your recently played tracks',
|
||||
action: 'Get the recently played tracks',
|
||||
},
|
||||
{
|
||||
name: 'Resume',
|
||||
value: 'resume',
|
||||
description: 'Resume playback on the current active device',
|
||||
action: 'Resume the player',
|
||||
},
|
||||
{
|
||||
name: 'Set Volume',
|
||||
value: 'volume',
|
||||
description: 'Set volume on the current active device',
|
||||
action: 'Set volume on the player',
|
||||
},
|
||||
{
|
||||
name: 'Start Music',
|
||||
value: 'startMusic',
|
||||
description: 'Start playing a playlist, artist, or album',
|
||||
action: 'Start music on the player',
|
||||
},
|
||||
],
|
||||
default: 'addSongToQueue',
|
||||
@@ -207,21 +216,25 @@ export class Spotify implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get an album by URI or ID',
|
||||
action: 'Get an album',
|
||||
},
|
||||
{
|
||||
name: 'Get New Releases',
|
||||
value: 'getNewReleases',
|
||||
description: 'Get a list of new album releases',
|
||||
action: 'Get new album releases',
|
||||
},
|
||||
{
|
||||
name: `Get Tracks`,
|
||||
value: 'getTracks',
|
||||
description: 'Get an album\'s tracks by URI or ID',
|
||||
action: 'Get an album\'s tracks by URI or ID',
|
||||
},
|
||||
{
|
||||
name: `Search`,
|
||||
value: 'search',
|
||||
description: 'Search albums by keyword',
|
||||
action: 'Search albums by keyword',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
@@ -291,26 +304,31 @@ export class Spotify implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get an artist by URI or ID',
|
||||
action: 'Get an artist',
|
||||
},
|
||||
{
|
||||
name: `Get Albums`,
|
||||
value: 'getAlbums',
|
||||
description: 'Get an artist\'s albums by URI or ID',
|
||||
action: 'Get an artist\'s albums by URI or ID',
|
||||
},
|
||||
{
|
||||
name: `Get Related Artists`,
|
||||
value: 'getRelatedArtists',
|
||||
description: 'Get an artist\'s related artists by URI or ID',
|
||||
action: 'Get an artist\'s related artists by URI or ID',
|
||||
},
|
||||
{
|
||||
name: `Get Top Tracks`,
|
||||
value: 'getTopTracks',
|
||||
description: 'Get an artist\'s top tracks by URI or ID',
|
||||
action: 'Get an artist\'s top tracks by URI or ID',
|
||||
},
|
||||
{
|
||||
name: `Search`,
|
||||
value: 'search',
|
||||
description: 'Search artists by keyword',
|
||||
action: 'Search artists by keyword',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
@@ -396,36 +414,43 @@ export class Spotify implements INodeType {
|
||||
name: 'Add an Item',
|
||||
value: 'add',
|
||||
description: 'Add tracks from a playlist by track and playlist URI or ID',
|
||||
action: 'Add an Item a playlist',
|
||||
},
|
||||
{
|
||||
name: 'Create a Playlist',
|
||||
value: 'create',
|
||||
description: 'Create a new playlist',
|
||||
action: 'Create a playlist',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a playlist by URI or ID',
|
||||
action: 'Get a playlist',
|
||||
},
|
||||
{
|
||||
name: 'Get Tracks',
|
||||
value: 'getTracks',
|
||||
description: 'Get a playlist\'s tracks by URI or ID',
|
||||
action: 'Get a playlist\'s tracks by URI or ID',
|
||||
},
|
||||
{
|
||||
name: `Get the User's Playlists`,
|
||||
value: 'getUserPlaylists',
|
||||
description: 'Get a user\'s playlists',
|
||||
action: 'Get a user\'s playlists',
|
||||
},
|
||||
{
|
||||
name: 'Remove an Item',
|
||||
value: 'delete',
|
||||
description: 'Remove tracks from a playlist by track and playlist URI or ID',
|
||||
action: 'Remove an item from a playlist',
|
||||
},
|
||||
{
|
||||
name: `Search`,
|
||||
value: 'search',
|
||||
description: 'Search playlists by keyword',
|
||||
action: 'Search playlists by keyword',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -595,16 +620,19 @@ export class Spotify implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a track by its URI or ID',
|
||||
action: 'Get a track',
|
||||
},
|
||||
{
|
||||
name: 'Get Audio Features',
|
||||
value: 'getAudioFeatures',
|
||||
description: 'Get audio features for a track by URI or ID',
|
||||
action: 'Get audio features of a track',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search tracks by keyword',
|
||||
action: 'Search tracks by keyword',
|
||||
},
|
||||
],
|
||||
default: 'track',
|
||||
@@ -670,6 +698,7 @@ export class Spotify implements INodeType {
|
||||
name: 'Get Liked Tracks',
|
||||
value: 'getLikedTracks',
|
||||
description: 'Get the user\'s liked tracks',
|
||||
action: 'Get liked tracks',
|
||||
},
|
||||
],
|
||||
default: 'getLikedTracks',
|
||||
@@ -696,6 +725,7 @@ export class Spotify implements INodeType {
|
||||
name: 'Get Following Artists',
|
||||
value: 'getFollowingArtists',
|
||||
description: 'Get your followed artists',
|
||||
action: 'Get your followed artists',
|
||||
},
|
||||
],
|
||||
default: 'getFollowingArtists',
|
||||
|
||||
Reference in New Issue
Block a user