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

Function getHighlightIdsKey

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

Source from the content-addressed store, hash-verified

48 highlights.map(({ id }) => id);
49
50export const getHighlightIdsKey = (highlights: HighlightIdentity[]): string =>
51 getHighlightIds(highlights).join('-');
52
53export const POST_HIGHLIGHT_FRAGMENT = gql`
54 fragment PostHighlightCard on PostHighlight {

Callers 2

getFeedItemKeyFunction · 0.90
useLogImpressionFunction · 0.90

Calls 1

getHighlightIdsFunction · 0.85

Tested by

no test coverage detected