MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / serializeShopifyResource

Function serializeShopifyResource

integrations/shopify/src/utils.ts:11–15  ·  view source on GitHub ↗
(
  resource: TResource
)

Source from the content-addressed store, hash-verified

9};
10
11export const serializeShopifyResource = <TResource extends Base | Base[] | null>(
12 resource: TResource
13): RecursiveShopifySerializer<TResource> => {
14 return JSON.parse(JSON.stringify(resource));
15};
16
17const topicToTitle = (topic: WebhookTopic) => {
18 const prettyTopic = titleCase(topic.replace("_", " ").replace("/", " "));

Callers 1

#allSinglePageMethod · 0.90

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…