MCPcopy Create free account
hub / github.com/Devographics/Monorepo / questionDataCacheKey

Function questionDataCacheKey

shared/fetch/cache_keys.ts:62–72  ·  view source on GitHub ↗
(
    options: CacheKeyOptions & {
        surveyId: string
        editionId: string
        sectionId: string
        questionId: string
    }
)

Source from the content-addressed store, hash-verified

60
61// TODO: harmonize that with cache keys used by API
62export const questionDataCacheKey = (
63 options: CacheKeyOptions & {
64 surveyId: string
65 editionId: string
66 sectionId: string
67 questionId: string
68 }
69) =>
70 `${getAppName(options)}__${options.surveyId}__${options.editionId}__${options.sectionId}__${
71 options.questionId
72 }__questionData`

Callers 1

fetchQuestionDataFunction · 0.90

Calls 1

getAppNameFunction · 0.70

Tested by

no test coverage detected