n8n-nodes-digital-ocean
Version:
n8n community node to work with the Digital Ocean API
104 lines • 2.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.domainFields = exports.domainDescription = void 0;
exports.domainDescription = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['domain'],
},
},
options: [
{
name: 'Create',
value: 'create',
description: 'Create a domain',
action: 'Create a domain',
},
{
name: 'Get',
value: 'get',
description: 'Get domain information',
action: 'Get domain information',
},
{
name: 'Get Many',
value: 'getMany',
description: 'Get information about many domains',
action: 'Get information about many domains',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a domain',
action: 'Delete a domain',
},
],
default: 'get',
},
];
exports.domainFields = [
{
displayName: 'Domain Name',
name: 'domainName',
description: 'Name of the domain to operate on',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['domain'],
operation: ['get', 'delete', 'create'],
},
},
default: '',
},
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: ['domain'],
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: ['domain'],
operation: ['getMany'],
returnAll: [false],
},
},
typeOptions: {
minValue: 1,
},
default: 50,
description: 'Max number of results to return',
},
{
displayName: 'IP Address',
name: 'ipAddress',
description: 'IP address of the domain to create',
type: 'string',
required: true,
displayOptions: {
show: {
resource: ['domain'],
operation: ['create'],
},
},
default: '',
},
];
//# sourceMappingURL=DomainDescription.js.map