refactor: Fix Enteprise type errors (#9442)

This commit is contained in:
Mutasem Aldmour
2024-05-17 13:58:26 +02:00
committed by GitHub
parent feba07ba8b
commit b2c17034c2
10 changed files with 75 additions and 39 deletions

View File

@@ -142,7 +142,7 @@ import { defineComponent } from 'vue';
import type { PropType } from 'vue';
import { mapStores } from 'pinia';
import type { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, INodeTypeDescription } from 'n8n-workflow';
import { getAppNameFromCredType, isCommunityPackageName } from '@/utils/nodeTypesUtils';
import Banner from '../Banner.vue';
@@ -177,13 +177,15 @@ export default defineComponent({
},
props: {
credentialType: {
type: Object,
type: Object as PropType<ICredentialType>,
required: true,
},
credentialProperties: {
type: Array,
type: Array as PropType<INodeProperties[]>,
required: true,
},
parentTypes: {
type: Array,
type: Array as PropType<string[]>,
},
credentialData: {},
credentialId: {