mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
3a9c7acb04
* 👕 Enable rule * ⬆️ Upgrade linter * 📦 Update `package-lock.json` * 👕 Apply rule * ✏️ Fix plurals * ✏️ More typos * ✏️ Final typos
34 lines
719 B
TypeScript
34 lines
719 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 many lists',
|
|
action: 'Get many lists',
|
|
},
|
|
],
|
|
default: 'getAll',
|
|
},
|
|
];
|
|
|
|
export const listFields: INodeProperties[] = [
|
|
// ----------------------------------
|
|
// list:getAll
|
|
// ----------------------------------
|
|
...activeCampaignDefaultGetAllProperties('list', 'getAll'),
|
|
];
|