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

Method notifications

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

Source from the content-addressed store, hash-verified

1058 }
1059
1060 notifications(
1061 key: IntegrationTaskKey,
1062 params: L.NotificationsQueryVariables = {}
1063 ): LinearReturnType<NotificationConnection> {
1064 return this.runTask(
1065 key,
1066 async (client) => {
1067 const edges = await client.notifications(params);
1068 return serializeLinearOutput(edges);
1069 },
1070 {
1071 name: "Get Notifications",
1072 params,
1073 properties: queryProperties(params),
1074 }
1075 );
1076 }
1077
1078 archiveNotification(
1079 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 3

runTaskMethod · 0.95
queryPropertiesFunction · 0.90
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected