UNPKG

@apify/n8n-nodes-apify

Version:
110 lines 3.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.properties = void 0; exports.properties = [ { displayName: 'Actor Source', name: 'actorSource', type: 'hidden', default: 'recentlyUsed', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Actor', name: 'actorId', required: true, description: 'Actor ID or a tilde-separated username and Actor name', default: 'janedoe~my-actor', type: 'string', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Input JSON', name: 'customBody', type: 'json', default: '{}', description: 'JSON input for the Actor run, which you can find on the Actor input page in Apify Console. If empty, the run uses the input specified in the default run configuration.', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Timeout', name: 'timeout', description: `Optional timeout for the run, in seconds. By default, the run uses a timeout specified in the default run configuration for the Actor.`, default: null, type: 'number', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Memory', name: 'memory', description: 'Memory limit for the run, in megabytes. The amount of memory can be set to one of the available options. By default, the run uses a memory limit specified in the default run configuration for the Actor.', default: 1024, type: 'options', options: [ { name: '128 MB', value: 128 }, { name: '256 MB', value: 256 }, { name: '512 MB', value: 512 }, { name: '1024 MB (1 GB)', value: 1024 }, { name: '2048 MB (2 GB)', value: 2048 }, { name: '4096 MB (4 GB)', value: 4096 }, { name: '8192 MB (8 GB)', value: 8192 }, { name: '16384 MB (16 GB)', value: 16384 }, { name: '32768 MB (32 GB)', value: 32768 }, ], displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Build Tag', name: 'build', description: `Specifies the Actor build tag to run. By default, the run uses the build specified in the default run configuration for the Actor (typically \`latest\`).`, default: '', type: 'string', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, { displayName: 'Wait for Finish', name: 'waitForFinish', description: 'Whether to wait for the run to finish before continuing. If true, the node will wait for the run to complete (successfully or not) before moving to the next node. Note: The maximum time the workflow will wait is limited by the workflow timeout setting in your n8n configuration.', default: true, type: 'boolean', displayOptions: { show: { resource: ['Actors'], operation: ['Run actor'], }, }, }, ]; //# sourceMappingURL=properties.js.map