Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
despairblue committed Jan 7, 2025
1 parent a0bd8e5 commit 9ce7027
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow';

import type { PostgresNodeCredentials } from '../helpers/interfaces';
import { configurePostgres } from '../../transport';
import type { PostgresNodeCredentials } from '../helpers/interfaces';

export async function schemaSearch(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
const credentials = await this.getCredentials<PostgresNodeCredentials>('postgres');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';

import { configurePostgres } from '../../transport';
import type { PostgresNodeCredentials } from '../helpers/interfaces';
import { getTableSchema } from '../helpers/utils';
import { configurePostgres } from '../../transport';

export async function getColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
const credentials = await this.getCredentials<PostgresNodeCredentials>('postgres');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { ILoadOptionsFunctions, ResourceMapperFields, FieldType } from 'n8n-workflow';

import { configurePostgres } from '../../transport';
import type { PostgresNodeCredentials } from '../helpers/interfaces';
import { getEnumValues, getEnums, getTableSchema, uniqueColumns } from '../helpers/utils';
import { configurePostgres } from '../../transport';

const fieldTypeMapping: Partial<Record<FieldType, string[]>> = {
string: ['text', 'varchar', 'character varying', 'character', 'char'],
Expand Down

0 comments on commit 9ce7027

Please sign in to comment.