mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
33 lines
545 B
TypeScript
33 lines
545 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,
|
||
|
default: '',
|
||
|
|
||
|
},
|
||
|
{
|
||
|
displayName: 'User',
|
||
|
name: 'user',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
|
||
|
},
|
||
|
{
|
||
|
displayName: 'Password',
|
||
|
name: 'password',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
},
|
||
|
];
|
||
|
}
|