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

18 lines
313 B
TypeScript
Raw Normal View History

2020-01-23 09:27:28 -08:00
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: '',
},
];
}