2021-10-07 14:07:56 -07:00
|
|
|
import { ICredentialType, NodePropertyTypes, INodeProperties } from 'n8n-workflow';
|
2019-06-23 03:35:23 -07:00
|
|
|
|
|
|
|
export class ClassNameReplace implements ICredentialType {
|
|
|
|
name = 'N8nNameReplace';
|
2021-08-29 11:58:11 -07:00
|
|
|
|
2019-06-23 03:35:23 -07:00
|
|
|
displayName = 'DisplayNameReplace';
|
2021-08-29 11:58:11 -07:00
|
|
|
|
2021-10-07 14:07:56 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-06-23 03:35:23 -07:00
|
|
|
// The credentials to get from user and save encrypted.
|
|
|
|
// Properties can be defined exactly in the same way
|
|
|
|
// as node properties.
|
|
|
|
{
|
|
|
|
displayName: 'User',
|
|
|
|
name: 'user',
|
2021-10-07 14:07:56 -07:00
|
|
|
type: 'string',
|
2019-06-23 03:35:23 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Access Token',
|
|
|
|
name: 'accessToken',
|
2021-10-07 14:07:56 -07:00
|
|
|
type: 'string',
|
2019-06-23 03:35:23 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|