@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
105 lines • 2.77 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = void 0;
exports.properties = [
{
displayName: 'GET /v2/datasets',
name: 'operation',
type: 'notice',
typeOptions: {
theme: 'info',
},
default: '',
displayOptions: {
show: {
resource: ['Datasets'],
operation: ['Get list of datasets'],
},
},
},
{
displayName: 'Offset',
name: 'offset',
description: 'Number of array elements that should be skipped at the start. The default value is `0`.',
default: 0,
type: 'number',
routing: {
request: {
qs: {
offset: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Datasets'],
operation: ['Get list of datasets'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
description: 'Max number of results to return',
default: 50,
type: 'number',
typeOptions: {
minValue: 1,
},
routing: {
request: {
qs: {
limit: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Datasets'],
operation: ['Get list of datasets'],
},
},
},
{
displayName: 'Desc',
name: 'desc',
description: `If \`true\` or \`1\` then the objects are sorted by the \`startedAt\` field in
descending order. By default, they are sorted in ascending order.`,
default: true,
type: 'boolean',
routing: {
request: {
qs: {
desc: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Datasets'],
operation: ['Get list of datasets'],
},
},
},
{
displayName: 'Unnamed',
name: 'unnamed',
description: 'If `true` or `1` then all the datasets are returned. By default only named datasets are returned.',
default: true,
type: 'boolean',
routing: {
request: {
qs: {
unnamed: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Datasets'],
operation: ['Get list of datasets'],
},
},
},
];
//# sourceMappingURL=properties.js.map