mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
35 lines
626 B
TypeScript
35 lines
626 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const teamOperations: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
default: 'get',
|
|
options: [
|
|
{
|
|
name: 'Get',
|
|
value: 'get',
|
|
action: 'Get a team',
|
|
},
|
|
{
|
|
name: 'Get Credits',
|
|
value: 'getCredits',
|
|
action: 'Get team credits',
|
|
},
|
|
],
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['team'],
|
|
},
|
|
},
|
|
},
|
|
];
|
|
|
|
export const teamFields: INodeProperties[] = [
|
|
// ----------------------------------
|
|
// team: get
|
|
// ----------------------------------
|
|
];
|