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

Function getHighlightIdsKey

packages/shared/src/graphql/highlights.ts:58–59  ·  view source on GitHub ↗
(highlights: HighlightIdentity[])

Source from the content-addressed store, hash-verified

56 highlights.map(({ id }) => id);
57
58export const getHighlightIdsKey = (highlights: HighlightIdentity[]): string =>
59 getHighlightIds(highlights).join('-');
60
61export const POST_HIGHLIGHT_FRAGMENT = gql`
62 fragment PostHighlightCard on PostHighlight {

Callers 2

getFeedItemKeyFunction · 0.90
useLogImpressionFunction · 0.90

Calls 1

getHighlightIdsFunction · 0.85

Tested by

no test coverage detected