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

Function rootlyEventTypesForTrigger

apps/sim/triggers/rootly/utils.ts:52–56  ·  view source on GitHub ↗
(triggerId: string | undefined)

Source from the content-addressed store, hash-verified

50 * every supported event type.
51 */
52export function rootlyEventTypesForTrigger(triggerId: string | undefined): string[] {
53 const mapped = triggerId ? ROOTLY_EVENT_TYPE_MAP[triggerId] : undefined
54 if (mapped) return [mapped]
55 return Object.values(ROOTLY_EVENT_TYPE_MAP)
56}
57
58/**
59 * Extra config fields for Rootly triggers. The Rootly webhook endpoint is

Callers 1

createSubscriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected