mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
6a53c2a375
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: Marcus <marcus@n8n.io>
35 lines
758 B
TypeScript
35 lines
758 B
TypeScript
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: '',
|
|
};
|
|
|
|
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',
|
|
},
|
|
];
|