ci: Break most of the circular dependencies in code (no-changelog) (#4990)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-12-21 10:46:26 +01:00
committed by GitHub
parent 82f763589b
commit 5db9c46043
36 changed files with 105 additions and 110 deletions

View File

@@ -1,8 +1,8 @@
import { INodeProperties } from 'n8n-workflow';
import type { INodeProperties } from 'n8n-workflow';
import { Operation, Resource } from '../types';
import type { Operation, Resource, LanguageOptions } from '../types';
export const languageOptions: INodeProperties['options'] = [
export const languageOptions: LanguageOptions = [
{
name: 'Danish',
value: 'da',

View File

@@ -1,4 +1,6 @@
import { languageOptions } from './descriptions/SharedFields';
import type { INodeProperties } from 'n8n-workflow';
export type LanguageOptions = INodeProperties['options'];
export type Resource =
| 'attendance'
@@ -12,7 +14,7 @@ export type Resource =
export type Operation = 'create' | 'delete' | 'get' | 'getAll' | 'update' | 'add' | 'remove';
// @ts-ignore
export type LanguageCodes = typeof languageOptions[number]['value'];
export type LanguageCodes = typeof LanguageOptions[number]['value'];
// ----------------------------------------
// UI fields

View File

@@ -6,7 +6,7 @@ import {
INodePropertyOptions,
NodeOperationError,
} from 'n8n-workflow';
import { GoogleSheet } from './GoogleSheet';
import type { GoogleSheet } from './GoogleSheet';
import {
RangeDetectionOptions,
ResourceLocator,

View File

@@ -1,4 +1,4 @@
import {
import type {
TColumnType,
TColumnValue,
TDtableMetadataColumns,

View File

@@ -5,7 +5,7 @@ import {
todoistApiRequest,
todoistSyncRequest,
} from '../GenericFunctions';
import { Section, TodoistResponse } from './Service';
import type { Section, TodoistResponse } from './Service';
import { v4 as uuid } from 'uuid';
export interface OperationHandler {

View File

@@ -5,7 +5,7 @@ import {
todoistApiRequest,
todoistSyncRequest,
} from '../GenericFunctions';
import { Section, TodoistResponse } from './Service';
import type { Section, TodoistResponse } from './Service';
import { v4 as uuid } from 'uuid';
export interface OperationHandler {