refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-19 18:46:14 +01:00
committed by GitHub
parent 8c635993bd
commit bafac73eb5
1120 changed files with 2677 additions and 2827 deletions

View File

@@ -1,4 +1,5 @@
import type { IDataObject, ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow';
import { theHiveApiRequest } from '../transport';
async function listResource(

View File

@@ -1,11 +1,12 @@
import type { IDataObject, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
import { theHiveApiRequest } from '../transport';
import {
alertCommonFields,
caseCommonFields,
observableCommonFields,
taskCommonFields,
} from '../helpers/constants';
import { theHiveApiRequest } from '../transport';
export async function loadResponders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
let resource = this.getNodeParameter('resource') as string;

View File

@@ -6,14 +6,6 @@ import type {
ResourceMapperFields,
} from 'n8n-workflow';
import { theHiveApiRequest } from '../transport';
import {
alertCommonFields,
caseCommonFields,
observableCommonFields,
taskCommonFields,
} from '../helpers/constants';
import {
loadAlertStatus,
loadCaseStatus,
@@ -21,6 +13,13 @@ import {
loadObservableTypes,
loadUsers,
} from './loadOptions';
import {
alertCommonFields,
caseCommonFields,
observableCommonFields,
taskCommonFields,
} from '../helpers/constants';
import { theHiveApiRequest } from '../transport';
async function getCustomFields(this: ILoadOptionsFunctions) {
const customFields = (await theHiveApiRequest.call(this, 'POST', '/v1/query', {