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

Function getSourceTooltip

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

Source from the content-addressed store, hash-verified

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

Callers 1

LazySourceEntityCardFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected