Skip to content

Commit f61f761

Browse files
committed
Fix lint errors: add documentationUrl, fix ID casing, add dynamic options description
1 parent c2d6205 commit f61f761

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

credentials/InsForgeApi.credentials.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export class InsForgeApi implements ICredentialType {
1010

1111
displayName = 'InsForge API';
1212

13+
documentationUrl = 'https://docs.insforge.dev/introduction';
14+
1315
icon = { light: 'file:insforge.svg', dark: 'file:insforge.dark.svg' } as const;
1416

1517
properties: INodeProperties[] = [

nodes/InsForge/resources/row/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const rowCreateDescription: INodeProperties[] = [
3939
},
4040
default: '',
4141
description: 'Comma-separated list of input fields to ignore when auto-mapping',
42-
placeholder: 'e.g. id,created_at',
42+
placeholder: 'e.g. ID,created_at',
4343
},
4444
{
4545
displayName: 'Fields to Send',

nodes/InsForge/resources/row/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const rowUpdateDescription: INodeProperties[] = [
5151
},
5252
default: 'id',
5353
description: 'Comma-separated list of input fields to ignore when auto-mapping',
54-
placeholder: 'e.g. id,created_at',
54+
placeholder: 'e.g. ID,created_at',
5555
},
5656
{
5757
displayName: 'Fields to Send',

nodes/InsForge/shared/descriptions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import type { INodeProperties } from 'n8n-workflow';
22

33
export const tableNameProperty: INodeProperties = {
4-
displayName: 'Table Name',
4+
displayName: 'Table Name or ID',
55
name: 'tableId',
66
type: 'options',
77
typeOptions: {
88
loadOptionsMethod: 'getTables',
99
},
10+
description:
11+
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
1012
required: true,
1113
default: '',
1214
};

0 commit comments

Comments
 (0)