mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
ca8c2d6577
* ⬆️ Upgrade linter * 📦 Update `package-lock.json` * 👕 Substitute rule * 👕 Apply lintfix for `node-param-option-name-wrong-for-get-many` * 👕 Restore lint exceptions
34 lines
717 B
TypeScript
34 lines
717 B
TypeScript
import { INodeProperties } from 'n8n-workflow';
|
|
|
|
import { activeCampaignDefaultGetAllProperties } from './GenericFunctions';
|
|
|
|
export const listOperations: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['list'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Get Many',
|
|
value: 'getAll',
|
|
description: 'Get all lists',
|
|
action: 'Get all lists',
|
|
},
|
|
],
|
|
default: 'getAll',
|
|
},
|
|
];
|
|
|
|
export const listFields: INodeProperties[] = [
|
|
// ----------------------------------
|
|
// list:getAll
|
|
// ----------------------------------
|
|
...activeCampaignDefaultGetAllProperties('list', 'getAll'),
|
|
];
|