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

Function getToolOfficialSource

packages/shared/src/graphql/tools.ts:103–110  ·  view source on GitHub ↗
(
  slug: string,
)

Source from the content-addressed store, hash-verified

101`;
102
103export const getToolOfficialSource = async (
104 slug: string,
105): Promise<ToolOfficialSource | null> => {
106 const result = await gqlClient.request<{
107 datasetTool: { officialSource: ToolOfficialSource | null };
108 }>(TOOL_OFFICIAL_SOURCE_QUERY, { slug });
109 return result.datasetTool.officialSource;
110};
111
112export type ToolClaimedBy = Pick<Company, 'id' | 'name' | 'image'>;
113

Callers 1

getStaticPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected