MCPcopy Create free account
hub / github.com/dailydotdev/apps / getToolsAlsoStacked

Function getToolsAlsoStacked

packages/shared/src/graphql/tools.ts:58–66  ·  view source on GitHub ↗
(
  id: string,
  first = 6,
)

Source from the content-addressed store, hash-verified

56};
57
58export const getToolsAlsoStacked = async (
59 id: string,
60 first = 6,
61): Promise<AlsoStackedTool[]> => {
62 const result = await gqlClient.request<{
63 toolsAlsoStacked: AlsoStackedTool[];
64 }>(TOOLS_ALSO_STACKED_QUERY, { id, first });
65 return result.toolsAlsoStacked;
66};
67
68// Fetched separately from DATASET_TOOL_QUERY so a not-yet-deployed API
69// (missing this field) can't 500 the whole page during the rollout window.

Callers 1

getStaticPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected