2023-08-10 06:28:03 -07:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2021-09-18 13:12:20 -07:00
|
|
|
|
|
|
|
export class NetlifyApi implements ICredentialType {
|
|
|
|
name = 'netlifyApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-09-18 13:12:20 -07:00
|
|
|
displayName = 'Netlify API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-09-18 13:12:20 -07:00
|
|
|
documentationUrl = 'netlify';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2023-08-10 06:28:03 -07:00
|
|
|
properties: INodeProperties[] = [
|
2021-09-18 13:12:20 -07:00
|
|
|
{
|
|
|
|
displayName: 'Access Token',
|
|
|
|
name: 'accessToken',
|
2023-08-10 06:28:03 -07:00
|
|
|
type: 'string',
|
|
|
|
typeOptions: { password: true },
|
2021-09-18 13:12:20 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
2022-07-24 08:36:17 -07:00
|
|
|
}
|