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

Function getSourceTooltip

packages/shared/src/graphql/sources.ts:200–206  ·  view source on GitHub ↗
(
  id: string,
)

Source from the content-addressed store, hash-verified

198`;
199
200export const getSourceTooltip = async (
201 id: string,
202): Promise<SourceTooltip | null> => {
203 const res = await gqlClient.request<SourceData>(SOURCE_TOOLTIP_QUERY, { id });
204
205 return (res.source as SourceTooltip) ?? null;
206};
207
208export const SOURCE_DIRECTORY_QUERY = gql`
209 query SourceDirectory {

Callers 1

LazySourceEntityCardFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected