mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
39 lines
725 B
TypeScript
39 lines
725 B
TypeScript
|
import {
|
||
|
INodeProperties,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
import {
|
||
|
activeCampaignDefaultGetAllProperties,
|
||
|
} from './GenericFunctions';
|
||
|
|
||
|
export const listOperations = [
|
||
|
{
|
||
|
displayName: 'Operation',
|
||
|
name: 'operation',
|
||
|
type: 'options',
|
||
|
displayOptions: {
|
||
|
show: {
|
||
|
resource: [
|
||
|
'list',
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
options: [
|
||
|
{
|
||
|
name: 'Get All',
|
||
|
value: 'getAll',
|
||
|
description: 'Get all lists',
|
||
|
},
|
||
|
],
|
||
|
default: 'getAll',
|
||
|
description: 'The operation to perform.',
|
||
|
},
|
||
|
] as INodeProperties[];
|
||
|
|
||
|
export const listFields = [
|
||
|
// ----------------------------------
|
||
|
// list:getAll
|
||
|
// ----------------------------------
|
||
|
...activeCampaignDefaultGetAllProperties('list', 'getAll'),
|
||
|
] as INodeProperties[];
|