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

Function getSourceTooltip

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

Source from the content-addressed store, hash-verified

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

Callers 1

LazySourceEntityCardFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected