mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
ci: Break most of the circular dependencies in code (no-changelog) (#4990)
This commit is contained in:
committed by
GitHub
parent
82f763589b
commit
5db9c46043
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
INodePropertyOptions,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
import { GoogleSheet } from './GoogleSheet';
|
||||
import type { GoogleSheet } from './GoogleSheet';
|
||||
import {
|
||||
RangeDetectionOptions,
|
||||
ResourceLocator,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {
|
||||
import type {
|
||||
TColumnType,
|
||||
TColumnValue,
|
||||
TDtableMetadataColumns,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user