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

Method favorites

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

Source from the content-addressed store, hash-verified

728 }
729
730 favorites(
731 key: IntegrationTaskKey,
732 params: L.FavoritesQueryVariables = {}
733 ): LinearReturnType<FavoriteConnection> {
734 return this.runTask(
735 key,
736 async (client) => {
737 const edges = await client.favorites(params);
738 return serializeLinearOutput(edges);
739 },
740 {
741 name: "Get Favorites",
742 params,
743 properties: queryProperties(params),
744 }
745 );
746 }
747
748 createFavorite(
749 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 3

runTaskMethod · 0.95
queryPropertiesFunction · 0.90
serializeLinearOutputFunction · 0.85

Tested by

no test coverage detected