File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
src/components/graph/vueNodes Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 11
11
:key =" `input-${index}`"
12
12
class =" text-xs text-gray-300"
13
13
>
14
- {{ getInputName(input, index) }} ({{ getInputType(input) }})
14
+ {{ getInputName(input, index) }}
15
15
</div >
16
16
</div >
17
17
22
22
:key =" `output-${index}`"
23
23
class =" text-xs text-gray-300"
24
24
>
25
- {{ getOutputName(output, index) }} ({{ getOutputType(output) }})
25
+ {{ getOutputName(output, index) }}
26
26
</div >
27
27
</div >
28
28
</div >
@@ -58,12 +58,12 @@ const getInputName = (input: unknown, index: number): string => {
58
58
return ` Input ${index } `
59
59
}
60
60
61
- const getInputType = (input : unknown ): string => {
62
- if (isSlotObject (input ) && input .type ) {
63
- return input .type
64
- }
65
- return ' any'
66
- }
61
+ // const getInputType = (input: unknown): string => {
62
+ // if (isSlotObject(input) && input.type) {
63
+ // return input.type
64
+ // }
65
+ // return 'any'
66
+ // }
67
67
68
68
const getOutputName = (output : unknown , index : number ): string => {
69
69
if (isSlotObject (output ) && output .name ) {
@@ -72,12 +72,12 @@ const getOutputName = (output: unknown, index: number): string => {
72
72
return ` Output ${index } `
73
73
}
74
74
75
- const getOutputType = (output : unknown ): string => {
76
- if (isSlotObject (output ) && output .type ) {
77
- return output .type
78
- }
79
- return ' any'
80
- }
75
+ // const getOutputType = (output: unknown): string => {
76
+ // if (isSlotObject(output) && output.type) {
77
+ // return output.type
78
+ // }
79
+ // return 'any'
80
+ // }
81
81
82
82
// Error boundary implementation
83
83
const renderError = ref <string | null >(null )
You can’t perform that action at this time.
0 commit comments