n8n/packages/nodes-base/nodes/Git/descriptions/PushDescription.ts

27 lines
533 B
TypeScript
Raw Normal View History

import { 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',
},
],
},
];