mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Small improvements
This commit is contained in:
@@ -12,7 +12,7 @@ export class NextCloudApi implements ICredentialType {
|
|||||||
displayName: 'Web DAV URL',
|
displayName: 'Web DAV URL',
|
||||||
name: 'webDavUrl',
|
name: 'webDavUrl',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'string' as NodePropertyTypes,
|
||||||
placeholder: 'https://nextcloud.example.com/remote.php/webdav/',
|
placeholder: 'https://nextcloud.example.com/remote.php/webdav',
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export class NextCloudOAuth2Api implements ICredentialType {
|
|||||||
displayName: 'Web DAV URL',
|
displayName: 'Web DAV URL',
|
||||||
name: 'webDavUrl',
|
name: 'webDavUrl',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'string' as NodePropertyTypes,
|
||||||
placeholder: 'https://nextcloud.example.com/remote.php/webdav/',
|
placeholder: 'https://nextcloud.example.com/remote.php/webdav',
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,9 +4,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
OptionsWithUri,
|
||||||
} from 'n8n-workflow';
|
} from 'request';
|
||||||
import { OptionsWithUri } from 'request';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make an API request to NextCloud
|
* Make an API request to NextCloud
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import {
|
|||||||
BINARY_ENCODING,
|
BINARY_ENCODING,
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
@@ -9,10 +10,13 @@ import {
|
|||||||
INodeType,
|
INodeType,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { parseString } from 'xml2js';
|
import {
|
||||||
import { OptionsWithUri } from 'request';
|
parseString,
|
||||||
import { nextCloudApiRequest } from './GenericFunctions';
|
} from 'xml2js';
|
||||||
|
|
||||||
|
import {
|
||||||
|
nextCloudApiRequest,
|
||||||
|
} from './GenericFunctions';
|
||||||
|
|
||||||
export class NextCloud implements INodeType {
|
export class NextCloud implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
@@ -25,7 +29,7 @@ export class NextCloud implements INodeType {
|
|||||||
description: 'Access data on NextCloud',
|
description: 'Access data on NextCloud',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: 'NextCloud',
|
name: 'NextCloud',
|
||||||
color: '#22BB44',
|
color: '#1cafff',
|
||||||
},
|
},
|
||||||
inputs: ['main'],
|
inputs: ['main'],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
|
|||||||
Reference in New Issue
Block a user