mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -20,6 +20,7 @@ export const collectionOperations: INodeProperties[] = [
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all root collections',
|
||||
action: 'Get all collections',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -20,26 +20,31 @@ export const documentOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a document',
|
||||
action: 'Create a document',
|
||||
},
|
||||
{
|
||||
name: 'Create or Update',
|
||||
value: 'upsert',
|
||||
description: 'Create a new document, or update the current one if it already exists (upsert)',
|
||||
action: 'Create or update a document',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a document',
|
||||
action: 'Delete a document',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a document',
|
||||
action: 'Get a document',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all documents from a collection',
|
||||
action: 'Get all documents',
|
||||
},
|
||||
// {
|
||||
// name: 'Update',
|
||||
@@ -50,6 +55,7 @@ export const documentOperations: INodeProperties[] = [
|
||||
name: 'Query',
|
||||
value: 'query',
|
||||
description: 'Runs a query against your documents',
|
||||
action: 'Query a document',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
@@ -60,26 +60,31 @@ export class GoogleFirebaseRealtimeDatabase implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Write data to a database',
|
||||
action: 'Write data to a database',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete data from a database',
|
||||
action: 'Delete data from a database',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a record from a database',
|
||||
action: 'Get a record from a database',
|
||||
},
|
||||
{
|
||||
name: 'Push',
|
||||
value: 'push',
|
||||
description: 'Append to a list of data',
|
||||
action: 'Append to a list of data',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update item on a database',
|
||||
action: 'Update item in a database',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
|
||||
Reference in New Issue
Block a user