Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/triggerdotdev/trigger.dev
/ topicToTitle
Function
topicToTitle
integrations/shopify/src/utils.ts:17–20 ·
view source on GitHub ↗
(topic: WebhookTopic)
Source
from the content-addressed store, hash-verified
15
};
16
17
const
topicToTitle = (topic: WebhookTopic) => {
18
const
prettyTopic = titleCase(topic.replace(
"_"
,
" "
).replace(
"/"
,
" "
));
19
return
`On ${prettyTopic}`;
20
};
21
22
export
const
eventSpec = <TEvent>({
23
topic,
Callers
1
eventSpec
Function · 0.85
Calls
2
titleCase
Function · 0.90
replace
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…