mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-11 07:04:06 -08:00
b03e358a12
* 👕 Enable `consistent-type-imports` for nodes-base
* 👕 Apply to nodes-base
* ⏪ Undo unrelated changes
* 🚚 Move to `.eslintrc.js` in nodes-base
* ⏪ Revert "Enable `consistent-type-imports` for nodes-base"
This reverts commit 529ad72b05
.
* 👕 Fix severity
27 lines
538 B
TypeScript
27 lines
538 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const pushFields: INodeProperties[] = [
|
|
{
|
|
displayName: 'Options',
|
|
name: 'options',
|
|
type: 'collection',
|
|
displayOptions: {
|
|
show: {
|
|
operation: ['push'],
|
|
},
|
|
},
|
|
placeholder: 'Add Option',
|
|
default: {},
|
|
options: [
|
|
{
|
|
displayName: 'Target Repository',
|
|
name: 'targetRepository',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'https://github.com/n8n-io/n8n',
|
|
description: 'The URL or path of the repository to push to',
|
|
},
|
|
],
|
|
},
|
|
];
|