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

22 lines
436 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2019-12-06 09:04:50 -08:00
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: '',
},
];
}