MCPcopy Index your code
hub / github.com/simstudioai/sim / buildFolderIdsCondition

Function buildFolderIdsCondition

apps/sim/lib/logs/filters.ts:135–141  ·  view source on GitHub ↗
(folderIds: string)

Source from the content-addressed store, hash-verified

133}
134
135function buildFolderIdsCondition(folderIds: string): SQL | undefined {
136 const ids = folderIds.split(',').filter(Boolean)
137 if (ids.length > 0) {
138 return inArray(workflow.folderId, ids)
139 }
140 return undefined
141}
142
143function buildTriggersCondition(triggers: string): SQL | undefined {
144 const triggerList = triggers.split(',').filter(Boolean)

Callers 1

buildFilterConditionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected