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

Function getMatchKey

packages/shared/src/features/feedExplain/describe.ts:622–625  ·  view source on GitHub ↗
(kind: ExplanationMatchKind, id: string)

Source from the content-addressed store, hash-verified

620}
621
622export const getMatchKey = (kind: ExplanationMatchKind, id: string): string =>
623 `${
624 kind === ExplanationMatchKind.Squad ? ExplanationMatchKind.Source : kind
625 }:${id}`;
626
627const topicOrigin: Record<ExplainOrigin, string> = {
628 [ExplainOrigin.Declared]: 'a topic you follow',

Callers 2

FeedExplanationModalFunction · 0.90
getExplanationMatchesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected