n8n/packages/nodes-base/credentials/DropboxApi.credentials.ts

35 lines
593 B
TypeScript
Raw Normal View History

2019-06-23 03:35:23 -07:00
import {
ICredentialType,
INodeProperties,
2019-06-23 03:35:23 -07:00
} from 'n8n-workflow';
export class DropboxApi implements ICredentialType {
name = 'dropboxApi';
displayName = 'Dropbox API';
documentationUrl = 'dropbox';
properties: INodeProperties[] = [
2019-06-23 03:35:23 -07:00
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
2019-06-23 03:35:23 -07:00
default: '',
},
{
displayName: 'APP Access Type',
name: 'accessType',
type: 'options',
options: [
{
name: 'App Folder',
value: 'folder',
},
{
name: 'Full Dropbox',
value: 'full',
},
],
default: 'full',
},
2019-06-23 03:35:23 -07:00
];
}