@@ -34,7 +34,7 @@ import NodeConflictDialogContent from '@/workbench/extensions/manager/components
3434import NodeConflictFooter from '@/workbench/extensions/manager/components/manager/NodeConflictFooter.vue'
3535import NodeConflictHeader from '@/workbench/extensions/manager/components/manager/NodeConflictHeader.vue'
3636import type { ConflictDetectionResult } from '@/workbench/extensions/manager/types/conflictDetectionTypes'
37- import type { ComponentProps } from 'vue-component-type-helpers'
37+ import type { ComponentAttrs } from 'vue-component-type-helpers'
3838
3939export type ConfirmationDialogType =
4040 | 'default'
@@ -48,7 +48,7 @@ export const useDialogService = () => {
4848 const dialogStore = useDialogStore ( )
4949
5050 function showLoadWorkflowWarning (
51- props : ComponentProps < typeof MissingNodesContent >
51+ props : ComponentAttrs < typeof MissingNodesContent >
5252 ) {
5353 dialogStore . showDialog ( {
5454 key : 'global-missing-nodes' ,
@@ -74,7 +74,7 @@ export const useDialogService = () => {
7474 }
7575
7676 function showMissingModelsWarning (
77- props : InstanceType < typeof MissingModelsWarning > [ '$props' ]
77+ props : ComponentAttrs < typeof MissingModelsWarning >
7878 ) {
7979 dialogStore . showDialog ( {
8080 key : 'global-missing-models-warning' ,
@@ -115,7 +115,7 @@ export const useDialogService = () => {
115115 }
116116
117117 function showExecutionErrorDialog ( executionError : ExecutionErrorWsMessage ) {
118- const props : InstanceType < typeof ErrorDialogContent > [ '$props' ] = {
118+ const props : ComponentAttrs < typeof ErrorDialogContent > = {
119119 error : {
120120 exceptionType : executionError . exception_type ,
121121 exceptionMessage : executionError . exception_message ,
@@ -141,7 +141,7 @@ export const useDialogService = () => {
141141 }
142142
143143 function showManagerDialog (
144- props : InstanceType < typeof ManagerDialogContent > [ '$props' ] = { }
144+ props : ComponentAttrs < typeof ManagerDialogContent > = { }
145145 ) {
146146 dialogStore . showDialog ( {
147147 key : 'global-manager' ,
@@ -206,7 +206,7 @@ export const useDialogService = () => {
206206 errorMessage : String ( error )
207207 }
208208
209- const props : InstanceType < typeof ErrorDialogContent > [ '$props' ] = {
209+ const props : ComponentAttrs < typeof ErrorDialogContent > = {
210210 error : {
211211 exceptionType : options . title ?? 'Unknown Error' ,
212212 exceptionMessage : errorProps . errorMessage ,
@@ -430,7 +430,7 @@ export const useDialogService = () => {
430430 }
431431
432432 function toggleManagerDialog (
433- props ?: InstanceType < typeof ManagerDialogContent > [ '$props' ]
433+ props ?: ComponentAttrs < typeof ManagerDialogContent >
434434 ) {
435435 if ( dialogStore . isDialogOpen ( 'global-manager' ) ) {
436436 dialogStore . closeDialog ( { key : 'global-manager' } )
@@ -440,7 +440,7 @@ export const useDialogService = () => {
440440 }
441441
442442 function toggleManagerProgressDialog (
443- props ?: InstanceType < typeof ManagerProgressDialogContent > [ '$props' ]
443+ props ?: ComponentAttrs < typeof ManagerProgressDialogContent >
444444 ) {
445445 if ( dialogStore . isDialogOpen ( 'global-manager-progress-dialog' ) ) {
446446 dialogStore . closeDialog ( { key : 'global-manager-progress-dialog' } )
0 commit comments