mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
33 lines
597 B
TypeScript
33 lines
597 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class NextCloudApi implements ICredentialType {
|
|
name = 'nextCloudApi';
|
|
displayName = 'NextCloud API';
|
|
documentationUrl = 'nextCloud';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Web DAV URL',
|
|
name: 'webDavUrl',
|
|
type: 'string',
|
|
placeholder: 'https://nextcloud.example.com/remote.php/webdav',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'User',
|
|
name: 'user',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Password',
|
|
name: 'password',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
];
|
|
}
|