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

Method attachment

integrations/linear/src/index.ts:200–213  ·  view source on GitHub ↗
(key: IntegrationTaskKey, params: { id: string })

Source from the content-addressed store, hash-verified

198 }
199
200 attachment(key: IntegrationTaskKey, params: { id: string }): LinearReturnType<Attachment> {
201 return this.runTask(
202 key,
203 async (client) => {
204 const entity = await client.attachment(params.id);
205 return serializeLinearOutput(entity);
206 },
207 {
208 name: "Get Attachment",
209 params,
210 properties: [{ label: "Attachment ID", text: params.id }],
211 }
212 );
213 }
214
215 attachments(
216 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected