2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-12-02 14:13:59 -08:00
|
|
|
|
|
|
|
export class YourlsApi implements ICredentialType {
|
|
|
|
name = 'yourlsApi';
|
|
|
|
displayName = 'Yourls API';
|
|
|
|
documentationUrl = 'yourls';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-12-02 14:13:59 -08:00
|
|
|
{
|
|
|
|
displayName: 'Signature',
|
|
|
|
name: 'signature',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-12-02 14:13:59 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-12-02 14:13:59 -08:00
|
|
|
default: '',
|
|
|
|
placeholder: 'http://localhost:8080',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|