n8n/packages/nodes-base/credentials/SegmentApi.credentials.ts
Ricardo Espinoza 70e26681a4 segment node
2020-01-23 12:27:28 -05:00

18 lines
313 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SegmentApi implements ICredentialType {
name = 'segmentApi';
displayName = 'Segment API';
properties = [
{
displayName: 'Write Key',
name: 'writekey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}