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

Function serializeLinearOutput

integrations/linear/src/index.ts:2018–2025  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

2016}
2017
2018export const serializeLinearOutput = <T>(obj: T): Prettify<SerializedLinearOutput<T>> => {
2019 return JSON.parse(JSON.stringify(obj), (key, value) => {
2020 if (typeof value === "function" || key.startsWith("_")) {
2021 return undefined;
2022 }
2023 return value;
2024 });
2025};
2026
2027export { events };
2028

Callers 15

webhookMethod · 0.90
webhooksMethod · 0.90
createWebhookMethod · 0.90
deleteWebhookMethod · 0.90
updateWebhookMethod · 0.90
linear.tsFile · 0.90
attachmentMethod · 0.85
attachmentsMethod · 0.85
createAttachmentMethod · 0.85
updateAttachmentMethod · 0.85
attachmentLinkDiscordMethod · 0.85
attachmentLinkFrontMethod · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…