mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
🔀 Merge branch 'master' of github.com:n8n-io/n8n
This commit is contained in:
commit
9dfcfc72bd
|
@ -3,6 +3,11 @@ import {
|
||||||
NodePropertyTypes,
|
NodePropertyTypes,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
const scopes = [
|
||||||
|
'files.content.write',
|
||||||
|
'files.content.read',
|
||||||
|
'sharing.read',
|
||||||
|
];
|
||||||
|
|
||||||
export class DropboxOAuth2Api implements ICredentialType {
|
export class DropboxOAuth2Api implements ICredentialType {
|
||||||
name = 'dropboxOAuth2Api';
|
name = 'dropboxOAuth2Api';
|
||||||
|
@ -30,13 +35,13 @@ export class DropboxOAuth2Api implements ICredentialType {
|
||||||
displayName: 'Scope',
|
displayName: 'Scope',
|
||||||
name: 'scope',
|
name: 'scope',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: '',
|
default: scopes.join(' '),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Auth URI Query Parameters',
|
displayName: 'Auth URI Query Parameters',
|
||||||
name: 'authQueryParameters',
|
name: 'authQueryParameters',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: '',
|
default: 'token_access_type=offline',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Authentication',
|
displayName: 'Authentication',
|
||||||
|
|
|
@ -18,7 +18,7 @@ import {
|
||||||
|
|
||||||
export class RealtimeDatabase implements INodeType {
|
export class RealtimeDatabase implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
displayName: 'Google Firebase Realtime Database',
|
displayName: 'Google Cloud Realtime Database',
|
||||||
name: 'googleFirebaseRealtimeDatabase',
|
name: 'googleFirebaseRealtimeDatabase',
|
||||||
icon: 'file:googleFirebaseRealtimeDatabase.png',
|
icon: 'file:googleFirebaseRealtimeDatabase.png',
|
||||||
group: ['input'],
|
group: ['input'],
|
||||||
|
|
Loading…
Reference in a new issue