mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Simplify property types in credentials (#1869)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
@@ -8,24 +8,24 @@ export class NextCloudApi implements ICredentialType {
|
||||
name = 'nextCloudApi';
|
||||
displayName = 'NextCloud API';
|
||||
documentationUrl = 'nextCloud';
|
||||
properties = [
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Web DAV URL',
|
||||
name: 'webDavUrl',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
placeholder: 'https://nextcloud.example.com/remote.php/webdav',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'User',
|
||||
name: 'user',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user