mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Enable cred-class-field-properties-assertion (no-changelog) (#6908)
This commit is contained in:
@@ -2,7 +2,7 @@ import type {
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class KoBoToolboxApi implements ICredentialType {
|
||||
@@ -13,17 +13,18 @@ export class KoBoToolboxApi implements ICredentialType {
|
||||
// See https://support.kobotoolbox.org/api.html
|
||||
documentationUrl = 'koBoToolbox';
|
||||
|
||||
properties = [
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'API Root URL',
|
||||
name: 'URL',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
default: 'https://kf.kobotoolbox.org/',
|
||||
},
|
||||
{
|
||||
displayName: 'API Token',
|
||||
name: 'token',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
default: '',
|
||||
hint: 'You can get your API token at https://[api-root]/token/?format=json (for a logged in user)',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user