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

Method viewer

integrations/linear/src/index.ts:1722–1733  ·  view source on GitHub ↗
(key: IntegrationTaskKey)

Source from the content-addressed store, hash-verified

1720 }
1721
1722 viewer(key: IntegrationTaskKey): LinearReturnType<User> {
1723 return this.runTask(
1724 key,
1725 async (client) => {
1726 const entity = await client.viewer;
1727 return serializeLinearOutput(entity);
1728 },
1729 {
1730 name: "Get Viewer",
1731 }
1732 );
1733 }
1734
1735 workflowState(key: IntegrationTaskKey, params: { id: string }): LinearReturnType<WorkflowState> {
1736 return this.runTask(

Callers 1

linear.tsFile · 0.80

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected