mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
refactor(nodes-base): Apply lint rule node-param-operation-option-action-wrong-for-get-many (#4055)
* 👕 Apply `node-param-operation-option-action-wrong-for-get-many` * 🔥 Remove `package-lock.json` * 📦 Re-add `package-lock.json` * ⚡ master update Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -64,7 +64,7 @@ export const campaignOperations: INodeProperties[] = [
|
||||
postReceive: [processCampaignSearchResponse],
|
||||
},
|
||||
},
|
||||
action: 'Get all campaigns',
|
||||
action: 'Get many campaigns',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
|
||||
@@ -22,7 +22,7 @@ export const recordOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all records',
|
||||
action: 'Get all records',
|
||||
action: 'Get many records',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -124,7 +124,7 @@ export class GoogleBooks implements INodeType {
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all public bookshelf resource for the specified user',
|
||||
action: 'Get all bookshelves',
|
||||
action: 'Get many bookshelves',
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
@@ -156,7 +156,7 @@ export class GoogleBooks implements INodeType {
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all volumes in a specific bookshelf for the specified user',
|
||||
action: 'Get all bookshelf volumes',
|
||||
action: 'Get many bookshelf volumes',
|
||||
},
|
||||
{
|
||||
name: 'Move',
|
||||
@@ -194,7 +194,7 @@ export class GoogleBooks implements INodeType {
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all volumes filtered by query',
|
||||
action: 'Get all volumes',
|
||||
action: 'Get many volumes',
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
|
||||
@@ -34,7 +34,7 @@ export const eventOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all events from a calendar',
|
||||
action: 'Get all events',
|
||||
action: 'Get many events',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -24,7 +24,7 @@ export const memberOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all memberships in a space',
|
||||
action: 'Get all members',
|
||||
action: 'Get many members',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
@@ -24,7 +24,7 @@ export const spaceOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all spaces the caller is a member of',
|
||||
action: 'Get all spaces',
|
||||
action: 'Get many spaces',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const contactOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all contacts',
|
||||
action: 'Get all contacts',
|
||||
action: 'Get many contacts',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -16,7 +16,7 @@ export const collectionOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all root collections',
|
||||
action: 'Get all collections',
|
||||
action: 'Get many collections',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -41,7 +41,7 @@ export const documentOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all documents from a collection',
|
||||
action: 'Get all documents',
|
||||
action: 'Get many documents',
|
||||
},
|
||||
// {
|
||||
// name: 'Update',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const groupOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all groups',
|
||||
action: 'Get all groups',
|
||||
action: 'Get many groups',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const userOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Get all users',
|
||||
action: 'Get all users',
|
||||
action: 'Get many users',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const draftOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all drafts',
|
||||
action: 'Get many drafts',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const labelOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all labels',
|
||||
action: 'Get many labels',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -25,7 +25,7 @@ export const messageOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all messages',
|
||||
action: 'Get many messages',
|
||||
},
|
||||
{
|
||||
name: 'Reply',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const draftOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all drafts',
|
||||
action: 'Get many drafts',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
@@ -31,7 +31,7 @@ export const labelOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all labels',
|
||||
action: 'Get many labels',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const messageOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all messages',
|
||||
action: 'Get many messages',
|
||||
},
|
||||
{
|
||||
name: 'Mark as Read',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const threadOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
action: 'Get all threads',
|
||||
action: 'Get many threads',
|
||||
},
|
||||
{
|
||||
name: 'Remove Label',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const taskOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all tasks from a tasklist',
|
||||
action: 'Get all tasks',
|
||||
action: 'Get many tasks',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -22,7 +22,7 @@ export const channelOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all channels',
|
||||
action: 'Get all channels',
|
||||
action: 'Get many channels',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const playlistOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all playlists',
|
||||
action: 'Get all playlists',
|
||||
action: 'Get many playlists',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
|
||||
@@ -34,7 +34,7 @@ export const playlistItemOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all playlist items',
|
||||
action: 'Get all playlist items',
|
||||
action: 'Get many playlist items',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
|
||||
@@ -16,7 +16,7 @@ export const videoCategoryOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all video categories',
|
||||
action: 'Get all video categories',
|
||||
action: 'Get many video categories',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -28,7 +28,7 @@ export const videoOperations: INodeProperties[] = [
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve all videos',
|
||||
action: 'Get all videos',
|
||||
action: 'Get many videos',
|
||||
},
|
||||
{
|
||||
name: 'Rate',
|
||||
|
||||
Reference in New Issue
Block a user