2023-05-02 01:45:04 -07:00
|
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
|
|
|
|
export const oldVersionNotice: INodeProperties = {
|
|
|
|
displayName:
|
|
|
|
'<strong>New node version available:</strong> get the latest version with added features from the nodes panel.',
|
|
|
|
name: 'oldVersionNotice',
|
|
|
|
type: 'notice',
|
|
|
|
default: '',
|
|
|
|
};
|
2023-11-08 06:11:23 -08:00
|
|
|
|
|
|
|
export const returnAllOrLimit: INodeProperties[] = [
|
|
|
|
{
|
|
|
|
displayName: 'Return All',
|
|
|
|
name: 'returnAll',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
description: 'Whether to return all results or only up to a given limit',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Limit',
|
|
|
|
name: 'limit',
|
|
|
|
type: 'number',
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
returnAll: [false],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
typeOptions: {
|
|
|
|
minValue: 1,
|
|
|
|
},
|
|
|
|
default: 100,
|
|
|
|
description: 'Max number of results to return',
|
|
|
|
},
|
|
|
|
];
|