mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 13:14:07 -08:00
18 lines
313 B
TypeScript
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: '',
|
|
},
|
|
];
|
|
}
|