mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
refactor: Fix type issues for parameter input components (#9449)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
:error-highlight="showRequiredErrors"
|
||||
:is-for-credential="true"
|
||||
:event-source="eventSource"
|
||||
:hint="!showRequiredErrors ? hint : ''"
|
||||
:hint="!showRequiredErrors && hint ? hint : ''"
|
||||
:event-bus="eventBus"
|
||||
@focus="onFocus"
|
||||
@blur="onBlur"
|
||||
@@ -61,7 +61,12 @@ import { defineComponent } from 'vue';
|
||||
import type { PropType } from 'vue';
|
||||
import ParameterInputWrapper from './ParameterInputWrapper.vue';
|
||||
import { isValueExpression } from '@/utils/nodeTypesUtils';
|
||||
import type { INodeParameterResourceLocator, INodeProperties, IParameterLabel } from 'n8n-workflow';
|
||||
import type {
|
||||
INodeParameterResourceLocator,
|
||||
INodeProperties,
|
||||
IParameterLabel,
|
||||
NodeParameterValueType,
|
||||
} from 'n8n-workflow';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||
import { createEventBus } from 'n8n-design-system/utils';
|
||||
@@ -75,8 +80,11 @@ export default defineComponent({
|
||||
props: {
|
||||
parameter: {
|
||||
type: Object as PropType<INodeProperties>,
|
||||
required: true,
|
||||
},
|
||||
value: {
|
||||
type: Object as PropType<NodeParameterValueType>,
|
||||
},
|
||||
value: {},
|
||||
showValidationWarnings: {
|
||||
type: Boolean,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user