n8n-nodes-digital-ocean
Version:
n8n community node to work with the Digital Ocean API
78 lines • 2.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.eventFields = exports.eventDescription = void 0;
exports.eventDescription = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['event'],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get event information',
action: 'Get event information',
},
{
name: 'Get Many',
value: 'getMany',
description: 'Get information about many events',
action: 'Get information about many events',
},
],
default: 'get',
},
];
exports.eventFields = [
{
displayName: 'Event ID',
name: 'eventId',
description: 'ID of the event to get',
type: 'number',
required: true,
displayOptions: {
show: {
resource: ['event'],
operation: ['get'],
},
},
default: 0,
},
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: ['event'],
operation: ['getMany'],
},
},
default: false,
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
resource: ['event'],
operation: ['getMany'],
returnAll: [false],
},
},
typeOptions: {
minValue: 1,
},
default: 50,
description: 'Max number of results to return',
},
];
//# sourceMappingURL=EventDescription.js.map