File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -135,30 +135,6 @@ function getBlockConfigurations(): Record<string, BlockConfig> {
135135 return blockConfigCache
136136}
137137
138- /**
139- * Builds candidate operation identifiers for matching sub-block conditions.
140- */
141- function getOperationCandidates ( toolId : string , blockType ?: string ) : string [ ] {
142- const candidates = new Set < string > ( )
143- const parts = toolId . split ( '_' )
144-
145- candidates . add ( toolId )
146- if ( parts . length >= 1 ) {
147- candidates . add ( parts [ parts . length - 1 ] )
148- }
149- if ( parts . length >= 3 ) {
150- const compoundOperation = parts . slice ( 2 ) . join ( '_' )
151- candidates . add ( compoundOperation )
152- }
153-
154- if ( blockType && toolId . startsWith ( `${ blockType } _` ) ) {
155- const suffix = toolId . slice ( blockType . length + 1 )
156- candidates . add ( suffix )
157- }
158-
159- return Array . from ( candidates )
160- }
161-
162138/**
163139 * Gets all parameters for a tool, categorized by their usage
164140 * Also includes UI component information from block configurations
You can’t perform that action at this time.
0 commit comments