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

Method attachments

integrations/linear/src/index.ts:215–231  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: L.AttachmentsQueryVariables = {}
  )

Source from the content-addressed store, hash-verified

213 }
214
215 attachments(
216 key: IntegrationTaskKey,
217 params: L.AttachmentsQueryVariables = {}
218 ): LinearReturnType<AttachmentConnection> {
219 return this.runTask(
220 key,
221 async (client) => {
222 const edges = await client.attachments(params);
223 return serializeLinearOutput(edges);
224 },
225 {
226 name: "Get Attachments",
227 params,
228 properties: queryProperties(params),
229 }
230 );
231 }
232
233 createAttachment(
234 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 3

runTaskMethod · 0.95
queryPropertiesFunction · 0.90
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected