Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Devographics/Monorepo
/ functions
Functions
3,264 in github.com/Devographics/Monorepo
⨍
Functions
3,264
◇
Types & classes
698
↓ 230 callers
Function
useI18n
()
homepage/src/helpers/i18nContext.tsx:18
↓ 199 callers
Function
spacing
(multiplier = 1)
results/src/core/theme/util.ts:48
↓ 90 callers
Function
usePageContext
()
results/src/core/helpers/pageContext.tsx:16
↓ 63 callers
Function
isEmpty
(o)
shared/fetch/queries/question_data.ts:6
↓ 62 callers
Function
getThemeColor
(colorPath: string)
results/src/core/theme_new/colors.ts:38
↓ 62 callers
Method
toString
()
surveyform/src/lib/responses/helpers.ts:85
↓ 52 callers
Function
fontSize
(size: SizeKeys)
results/src/core/theme/util.ts:53
↓ 52 callers
Function
runStage
(f: (...args: any[]) => Promise<any>, args: any)
api/src/compute/generic.ts:264
↓ 50 callers
Function
sortBy
(key: string)
shared/helpers/word_frequencies.ts:319
↓ 49 callers
Function
logToFile
(...args: any)
shared/debug/index.edge.ts:6
↓ 47 callers
Function
getEnvVar
(id: EnvVar, options: GetEnvVarOptions = {})
shared/helpers/env.ts:196
↓ 44 callers
Function
t
* Shortcut to get a translated string * * Prefer "getMessage" for more elaborate usage (HTML content, handling missing values...)
shared/i18n/translate.ts:195
↓ 39 callers
Function
set
(data)
shared/fetch/pipeline-file-logger.ts:10
↓ 34 callers
Function
color
(id: ColorKeys)
results/src/core/theme/util.ts:63
↓ 31 callers
Function
graphqlize
(str: string)
api/src/generate/helpers.ts:21
↓ 30 callers
Function
getItemLabel
(options: { id: string | number label?: string // section: SectionMetadata // question: Questi
results/src/core/helpers/labels.ts:53
↓ 28 callers
Function
isMemberOf
( user: PermissionUser | null | undefined, groupOrGroups: Array<PermissionGroup> | PermissionGroup, docu
shared/permissions/permissions.ts:85
↓ 28 callers
Method
match
* html2023.foobar should match "{{surveyId}}.foobar", if current survey is HTML 2023 * pie_chart.foobar should match "[[chart_type]].foobar", if
shared/i18n/tokenExpr.ts:52
↓ 27 callers
Function
getRawResponsesCollection
(survey?: Survey)
shared/mongo/mongo.ts:104
↓ 25 callers
Function
useEntities
()
results/src/core/helpers/entities.ts:5
↓ 24 callers
Function
getMessage
(key, values = {}, fallback)
shared/i18n/translate.ts:115
↓ 23 callers
Function
getFormPaths
({ edition, question }: { edition: EditionMetadata question: QuestionMetadata | QuestionTempla
shared/templates/helpers/paths.ts:182
↓ 21 callers
Function
logToFile
( fileName_: string, /** Object to log */ object: any, options: { mode?: 'overwrite' |
results/node_src/log_to_file.ts:18
↓ 21 callers
Function
useFormStateContext
()
surveyform/src/components/form/FormStateContext.tsx:58
↓ 19 callers
Function
getEntity
({ id, context, includeNormalizationEntities = true, tag }: { id: string | number cont
api/src/load/entities.ts:282
↓ 19 callers
Function
getNormResponsesCollection
(survey?: Survey)
shared/mongo/mongo.ts:109
↓ 19 callers
Function
getPath
(extraSegments: Array<string | number> = [])
shared/templates/helpers/paths.ts:38
↓ 19 callers
Function
isObject
(v: unknown)
results-waku/src/lib/survey-query.ts:57
↓ 18 callers
Function
getTableData
(params: TableParams)
results/src/core/helpers/datatables.ts:78
↓ 17 callers
Function
checkHasId
(options: TemplateArguments)
shared/templates/helpers/other.ts:3
↓ 17 callers
Function
getPaths
( options: { survey: Survey edition: Edition section: Section question: Qu
shared/templates/helpers/paths.ts:151
↓ 17 callers
Function
uniq
shared/fetch/refresh.ts:54
↓ 15 callers
Function
prefixWithEditionId
(s: string, editionId: string)
shared/templates/helpers/paths.ts:16
↓ 14 callers
Function
fetchSurveysMetadata
( options?: FetcherFunctionOptions & { addCredits?: boolean } )
shared/fetch/functions/all_surveys_metadata.ts:12
↓ 14 callers
Function
getQuestionObject
({ survey, edition, section, question, }: TemplateArguments)
surveyadmin/src/lib/normalization/helpers/getQuestionObject.ts:10
↓ 14 callers
Function
isPercentage
(units: BucketUnits | RatiosUnits | OtherPercentages)
results/src/core/helpers/units.ts:17
↓ 14 callers
Function
labelFormatter
(value: number)
results/src/core/charts/horizontalBar2/views/boxplot/Boxplot.tsx:51
↓ 13 callers
Function
fetchEditionMetadataAdmin
(options: Parameters<typeof fetchEditionMetadata>[0])
surveyadmin/src/lib/api/fetch.ts:4
↓ 13 callers
Function
ratioToPercentage
(ratio: number)
api/src/compute/common.ts:8
↓ 12 callers
Function
cyfy
(func: any, thenOptions?: any)
surveyform/cypress/e2e/e2e/magicLoginApi.cy.ts:18
↓ 12 callers
Function
getChartCurrentEdition
({ serie }: { serie: DataSeries<StandardQuestionData> })
results/src/core/charts/horizontalBar2/helpers/other.ts:37
↓ 12 callers
Function
getCustomNormalizationsCollection
()
shared/mongo/mongo.ts:126
↓ 12 callers
Function
getQuestioni18nIds
({ section, question }: { section?: SectionMetadata question: QuestionMetadata })
shared/i18n/i18n_ids.ts:31
↓ 12 callers
Function
useFormPropsContext
()
surveyform/src/components/form/FormPropsContext.tsx:24
↓ 11 callers
Function
Error
({ error, reset, }: { error: Error & { digest?: string } reset: () => void })
surveyform/src/app/error.tsx:6
↓ 11 callers
Function
addQuestionId
(options: TemplateArguments, id: string)
shared/templates/helpers/other.ts:20
↓ 11 callers
Function
getEditionSectionPath
({ survey, edition, locale, readOnly, response, page, number, }: { // we only need basic info
surveyform/src/lib/surveys/helpers/getEditionSectionPath.ts:7
↓ 11 callers
Function
next
()
surveyform/src/app/api/nespresso.ts:47
↓ 11 callers
Function
parseEnvVariableArray
(variable = '')
shared/helpers/utils.ts:44
↓ 11 callers
Function
useLegends
({ block, legendIds, namespace: providedNamespace, addNoAnswer = false }: { block: BlockVa
results/src/core/helpers/legends.ts:27
↓ 10 callers
Function
addToTypeObjects
(typeDef: TypeDefTemplateOutput | null)
api/src/generate/typedefs.ts:50
↓ 10 callers
Function
checkNumberOfCompletedTodosInLocalStorage
(page: Page, expected: number)
surveyform/tests/demo-todo-app.ts:427
↓ 10 callers
Function
getAppName
(options?: { appName?: string })
shared/fetch/cache_keys.ts:14
↓ 10 callers
Function
getConfig
( options: GetConfigOptions = {}, defaultValues: DefaultConfigValues = {} )
shared/helpers/env.ts:137
↓ 10 callers
Function
getFacetsTypeName
(surveyId: string)
api/src/generate/helpers.ts:219
↓ 10 callers
Function
getVelocityColor
(v, theme)
results/src/core/charts/toolsArrows/helpers.ts:22
↓ 10 callers
Function
runOperation
( operation: any, options: any, operationResults: PostNormalizationOperationResult[] )
surveyadmin/src/lib/normalization/post-normalization/common.ts:43
↓ 9 callers
Function
checkSecretKey
(req: NextRequest)
surveyform/src/app/api/secretKey.ts:18
↓ 9 callers
Function
fetchEditionMetadata
( options: FetcherFunctionOptions & { surveyId: string editionId: string } )
shared/fetch/functions/edition_metadata.ts:12
↓ 9 callers
Function
flushLogs
()
capture/src/logger.ts:46
↓ 9 callers
Function
formatPercentage
(value: number)
results/src/core/charts/common2/helpers/format.ts:62
↓ 9 callers
Function
getAppDb
()
shared/mongo/mongo.ts:91
↓ 9 callers
Function
getBlockTitle
(options: { block: BlockVariantDefinition pageContext: PageContextValue getFallbacks: MultiKeysStr
results/src/core/helpers/blockHelpers.ts:146
↓ 9 callers
Function
getEntityFragment
(options: EntityFragmentOptions = {})
shared/fetch/queries/entity_fragment.ts:11
↓ 9 callers
Function
getGlowColor
(color: any, alpha: number)
results/src/core/blocks/awards/AwardBlock.tsx:129
↓ 9 callers
Function
getOptioni18nIds
({ question, option }: { question: QuestionMetadata option: OptionMetadata })
shared/i18n/i18n_ids.ts:71
↓ 9 callers
Function
getQuery
({ surveyId, editionId, sectionId, questionId }: GetQueryProps)
results/src/core/blocks/block/CommentsTrigger.deprecated.tsx:39
↓ 9 callers
Function
getQuestionPaths
(questionObject: QuestionTemplateOutput)
surveyadmin/src/lib/normalization/normalize/normalizeField.ts:59
↓ 9 callers
Function
initRedis
(url_?: string, token_?: string)
shared/redis/redis.ts:21
↓ 9 callers
Function
joinWithBase
(suffix: string)
shared/i18n/i18n_ids.ts:17
↓ 9 callers
Function
useAllFilters
(excludeFilterId?: string)
results/src/core/charts/hooks.ts:507
↓ 9 callers
Function
useCache
(options: { func: F context: RequestContext funcOptions?: any // args?: ArgumentTypes<F> k
api/src/helpers/caching.ts:65
↓ 8 callers
Function
checkNumberOfTodosInLocalStorage
(page: Page, expected: number)
surveyform/tests/demo-todo-app.ts:421
↓ 8 callers
Function
getCollection
(db: Db, survey: Survey | SurveyApiObject)
api/src/helpers/db.ts:5
↓ 8 callers
Function
getEditionQuestions
( edition: EditionMetadata )
surveyadmin/src/lib/normalization/helpers/getEditionQuestions.ts:3
↓ 8 callers
Function
getFiltersTypeName
(surveyId: string)
api/src/generate/helpers.ts:218
↓ 8 callers
Function
getPath
({ survey, edition, section, question, suffix }: { survey?: SurveyApiObject editio
api/src/generate/helpers.ts:112
↓ 8 callers
Function
getResponseTypeName
()
api/src/graphql/templates/responses.ts:1
↓ 8 callers
Function
getSurveyEditionSectionQuestion
({ surveyId, editionId, questionId, shouldGetFromCache, }: { surveyId: string; editionId: string;
surveyadmin/src/lib/normalization/helpers/getSurveyEditionQuestion.ts:6
↓ 8 callers
Function
getValue
(bucket: Bucket | FacetBucket)
results/src/core/charts/horizontalBar2/views/PercentageSurvey.tsx:11
↓ 8 callers
Function
getViewDefinition
(view: HorizontalBarViews)
results/src/core/charts/horizontalBar2/helpers/views.ts:80
↓ 8 callers
Function
keysMemo
(items: Array<Item>)
surveyform/src/components/inputs/TextList.tsx:28
↓ 8 callers
Function
loadOrGetLocales
( options: { context?: RequestContext; forceReload?: boolean; localeIds?: string[] } = { forceRelo
api/src/load/locales/locales.ts:56
↓ 8 callers
Function
redirect
(...args)
surveyform/src/app/api/nespresso.ts:42
↓ 8 callers
Function
roundRatio
(r: number)
api/src/compute/stages/add_ratios.ts:19
↓ 8 callers
Function
sendMagicLoginEmail
({ body, }: { body: MagicLoginSendEmailBody; })
surveyform/src/lib/account/magicLogin/client-actions/sendMagicLoginEmail.ts:4
↓ 8 callers
Function
setAppName
(appName: AppName)
shared/helpers/env.ts:88
↓ 8 callers
Method
toNextResponse
(request: NextRequest)
surveyform/src/lib/handler-error.ts:47
↓ 8 callers
Function
useChartFilters
({ block, options, providedFiltersState, buckets }: { block: BlockVariantDefinition op
results/src/core/filters/helpers.ts:703
↓ 8 callers
Function
useToolSections
()
results/src/core/helpers/metadata.ts:5
↓ 7 callers
Function
calculatePercentile
(datapoints: number[], percentile: number)
api/src/compute/stages/add_percentiles.ts:122
↓ 7 callers
Function
fetchGraphQLApi
({ query, key: key_, apiUrl: apiUrl_, cache }: { query: string /** Unique query identi
shared/fetch/fetch.ts:338
↓ 7 callers
Function
fontWeight
(weight: WeightKeys)
results/src/core/theme/util.ts:58
↓ 7 callers
Function
getBlockKey
({ block }: { block: BlockVariantDefinition })
results/src/core/helpers/blockHelpers.ts:23
↓ 7 callers
Function
getCacheOption
()
shared/fetch/helpers.ts:42
↓ 7 callers
Function
getEditionItems
(edition: Edition | EditionApiObject, type: ApiSectionTypes)
api/src/generate/helpers.ts:201
↓ 7 callers
Function
getEntities
( options: { ids?: OptionId[] tags?: string[] context?: RequestContext inc
api/src/load/entities.ts:218
↓ 7 callers
Function
getFallbacks
(keys, values, fallback)
shared/i18n/translate.ts:153
↓ 7 callers
Function
getFields
(item: any, fields: string[])
results/src/core/helpers/labels.ts:44
↓ 7 callers
Function
getQuestionLabel
({ getString, question, i18nNamespace, block }: { getString: StringTranslator question
results/src/core/charts/common2/helpers/labels.ts:14
next →
1–100 of 3,264, ranked by callers