mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
35 lines
593 B
TypeScript
35 lines
593 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class DropboxApi implements ICredentialType {
|
|
name = 'dropboxApi';
|
|
displayName = 'Dropbox API';
|
|
documentationUrl = 'dropbox';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'APP Access Type',
|
|
name: 'accessType',
|
|
type: 'options',
|
|
options: [
|
|
{
|
|
name: 'App Folder',
|
|
value: 'folder',
|
|
},
|
|
{
|
|
name: 'Full Dropbox',
|
|
value: 'full',
|
|
},
|
|
],
|
|
default: 'full',
|
|
},
|
|
];
|
|
}
|