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

Function buildTriggersCondition

apps/sim/lib/logs/filters.ts:143–149  ·  view source on GitHub ↗
(triggers: string)

Source from the content-addressed store, hash-verified

141}
142
143function buildTriggersCondition(triggers: string): SQL | undefined {
144 const triggerList = triggers.split(',').filter(Boolean)
145 if (triggerList.length > 0 && !triggerList.includes('all')) {
146 return inArray(workflowExecutionLogs.trigger, triggerList)
147 }
148 return undefined
149}
150
151function buildDateConditions(
152 startDate?: string,

Callers 1

buildFilterConditionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected