mirror of
https://github.com/aljazceru/n8n-nodes-signal-cli.git
synced 2025-12-17 06:14:20 +01:00
27 lines
499 B
TypeScript
27 lines
499 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class SignalCliApi implements ICredentialType {
|
|
name = 'signalCliApi';
|
|
displayName = 'Signal CLI API';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'URL',
|
|
name: 'url',
|
|
type: 'string',
|
|
default: process.env.ENDPOINT || '',
|
|
placeholder: 'http://localhost:8085',
|
|
required: true,
|
|
},
|
|
{
|
|
displayName: 'Account',
|
|
name: 'account',
|
|
type: 'string',
|
|
default: '',
|
|
required: true,
|
|
},
|
|
];
|
|
}
|