mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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
|
||||
|
||||
Reference in New Issue
Block a user