Skip to content

Commit e4dd14d

Browse files
committed
undo
1 parent 448b8f0 commit e4dd14d

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

apps/sim/tools/params.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)