mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
dec19585bc
* refactor: Enforce expanded sensitive inputs rules (no-changelog) * refactor: Add extra exemption * fix: Add setting to `sessionToken` fields * fix: Restore for `hidden` fields * fix: More edge case exemptions * fix: One more
32 lines
589 B
TypeScript
32 lines
589 B
TypeScript
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
|
|
export class TwakeServerApi implements ICredentialType {
|
|
name = 'twakeServerApi';
|
|
|
|
displayName = 'Twake Server API';
|
|
|
|
documentationUrl = 'twake';
|
|
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Host URL',
|
|
name: 'hostUrl',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Public ID',
|
|
name: 'publicId',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Private API Key',
|
|
name: 'privateApiKey',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
},
|
|
];
|
|
}
|