n8n/packages/nodes-base/credentials/NextCloudApi.credentials.ts
Jan Oberhauser 7233f02350 🐛 Fix typo
2019-11-20 16:23:43 +01:00

32 lines
611 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class NextCloudApi implements ICredentialType {
name = 'nextCloudApi';
displayName = 'NextCloud API';
properties = [
{
displayName: 'Web DAV URL',
name: 'webDavUrl',
type: 'string' as NodePropertyTypes,
placeholder: 'https://nextcloud.example.com/remote.php/webdav/',
default: '',
},
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}