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

Method documents

integrations/linear/src/index.ts:655–671  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: L.DocumentsQueryVariables
  )

Source from the content-addressed store, hash-verified

653 }
654
655 documents(
656 key: IntegrationTaskKey,
657 params: L.DocumentsQueryVariables
658 ): LinearReturnType<DocumentConnection> {
659 return this.runTask(
660 key,
661 async (client) => {
662 const edges = await client.documents(params);
663 return serializeLinearOutput(edges);
664 },
665 {
666 name: "Get Documents",
667 params,
668 properties: queryProperties(params),
669 }
670 );
671 }
672
673 createDocument(
674 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 3

runTaskMethod · 0.95
queryPropertiesFunction · 0.90
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected