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

Method attachmentLinkURL

integrations/linear/src/index.ts:439–466  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      issueId: string;
      url: string;
      variables?: Omit<L.AttachmentLinkUrlMutationVariables, "issueId" | "url">;
    }
  )

Source from the content-addressed store, hash-verified

437 }
438
439 attachmentLinkURL(
440 key: IntegrationTaskKey,
441 params: {
442 issueId: string;
443 url: string;
444 variables?: Omit<L.AttachmentLinkUrlMutationVariables, "issueId" | "url">;
445 }
446 ): LinearReturnType<AttachmentPayload, "attachment"> {
447 return this.runTask(
448 key,
449 async (client) => {
450 const payload = await client.attachmentLinkURL(
451 params.issueId,
452 params.url,
453 params.variables
454 );
455 return serializeLinearOutput(await payload.attachment);
456 },
457 {
458 name: "Link URL",
459 params,
460 properties: [
461 { label: "Issue ID", text: params.issueId },
462 { label: "URL", text: params.url },
463 ],
464 }
465 );
466 }
467
468 attachmentLinkZendesk(
469 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

runTaskMethod · 0.95
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected