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

26 lines
440 B
TypeScript
Raw Normal View History

2019-12-06 09:04:50 -08:00
import {
ICredentialType,
INodeProperties,
2019-12-06 09:04:50 -08:00
} from 'n8n-workflow';
export class FlowApi implements ICredentialType {
name = 'flowApi';
displayName = 'Flow API';
documentationUrl = 'flow';
properties: INodeProperties[] = [
{
displayName: 'Organization ID',
name: 'organizationId',
type: 'number',
default: 0,
},
2019-12-06 09:04:50 -08:00
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
2019-12-06 09:04:50 -08:00
default: '',
},
];
}