MCPcopy Create free account

hub / github.com/Devographics/Monorepo / functions

Functions3,264 in github.com/Devographics/Monorepo

↓ 230 callersFunctionuseI18n
()
homepage/src/helpers/i18nContext.tsx:18
↓ 199 callersFunctionspacing
(multiplier = 1)
results/src/core/theme/util.ts:48
↓ 90 callersFunctionusePageContext
()
results/src/core/helpers/pageContext.tsx:16
↓ 63 callersFunctionisEmpty
(o)
shared/fetch/queries/question_data.ts:6
↓ 62 callersFunctiongetThemeColor
(colorPath: string)
results/src/core/theme_new/colors.ts:38
↓ 62 callersMethodtoString
()
surveyform/src/lib/responses/helpers.ts:85
↓ 52 callersFunctionfontSize
(size: SizeKeys)
results/src/core/theme/util.ts:53
↓ 52 callersFunctionrunStage
(f: (...args: any[]) => Promise<any>, args: any)
api/src/compute/generic.ts:264
↓ 50 callersFunctionsortBy
(key: string)
shared/helpers/word_frequencies.ts:319
↓ 49 callersFunctionlogToFile
(...args: any)
shared/debug/index.edge.ts:6
↓ 47 callersFunctiongetEnvVar
(id: EnvVar, options: GetEnvVarOptions = {})
shared/helpers/env.ts:196
↓ 44 callersFunctiont
* Shortcut to get a translated string * * Prefer "getMessage" for more elaborate usage (HTML content, handling missing values...)
shared/i18n/translate.ts:195
↓ 39 callersFunctionset
(data)
shared/fetch/pipeline-file-logger.ts:10
↓ 34 callersFunctioncolor
(id: ColorKeys)
results/src/core/theme/util.ts:63
↓ 31 callersFunctiongraphqlize
(str: string)
api/src/generate/helpers.ts:21
↓ 30 callersFunctiongetItemLabel
(options: { id: string | number label?: string // section: SectionMetadata // question: Questi
results/src/core/helpers/labels.ts:53
↓ 28 callersFunctionisMemberOf
( user: PermissionUser | null | undefined, groupOrGroups: Array<PermissionGroup> | PermissionGroup, docu
shared/permissions/permissions.ts:85
↓ 28 callersMethodmatch
* 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 callersFunctiongetRawResponsesCollection
(survey?: Survey)
shared/mongo/mongo.ts:104
↓ 25 callersFunctionuseEntities
()
results/src/core/helpers/entities.ts:5
↓ 24 callersFunctiongetMessage
(key, values = {}, fallback)
shared/i18n/translate.ts:115
↓ 23 callersFunctiongetFormPaths
({ edition, question }: { edition: EditionMetadata question: QuestionMetadata | QuestionTempla
shared/templates/helpers/paths.ts:182
↓ 21 callersFunctionlogToFile
( fileName_: string, /** Object to log */ object: any, options: { mode?: 'overwrite' |
results/node_src/log_to_file.ts:18
↓ 21 callersFunctionuseFormStateContext
()
surveyform/src/components/form/FormStateContext.tsx:58
↓ 19 callersFunctiongetEntity
({ id, context, includeNormalizationEntities = true, tag }: { id: string | number cont
api/src/load/entities.ts:282
↓ 19 callersFunctiongetNormResponsesCollection
(survey?: Survey)
shared/mongo/mongo.ts:109
↓ 19 callersFunctiongetPath
(extraSegments: Array<string | number> = [])
shared/templates/helpers/paths.ts:38
↓ 19 callersFunctionisObject
(v: unknown)
results-waku/src/lib/survey-query.ts:57
↓ 18 callersFunctiongetTableData
(params: TableParams)
results/src/core/helpers/datatables.ts:78
↓ 17 callersFunctioncheckHasId
(options: TemplateArguments)
shared/templates/helpers/other.ts:3
↓ 17 callersFunctiongetPaths
( options: { survey: Survey edition: Edition section: Section question: Qu
shared/templates/helpers/paths.ts:151
↓ 17 callersFunctionuniq
shared/fetch/refresh.ts:54
↓ 15 callersFunctionprefixWithEditionId
(s: string, editionId: string)
shared/templates/helpers/paths.ts:16
↓ 14 callersFunctionfetchSurveysMetadata
( options?: FetcherFunctionOptions & { addCredits?: boolean } )
shared/fetch/functions/all_surveys_metadata.ts:12
↓ 14 callersFunctiongetQuestionObject
({ survey, edition, section, question, }: TemplateArguments)
surveyadmin/src/lib/normalization/helpers/getQuestionObject.ts:10
↓ 14 callersFunctionisPercentage
(units: BucketUnits | RatiosUnits | OtherPercentages)
results/src/core/helpers/units.ts:17
↓ 14 callersFunctionlabelFormatter
(value: number)
results/src/core/charts/horizontalBar2/views/boxplot/Boxplot.tsx:51
↓ 13 callersFunctionfetchEditionMetadataAdmin
(options: Parameters<typeof fetchEditionMetadata>[0])
surveyadmin/src/lib/api/fetch.ts:4
↓ 13 callersFunctionratioToPercentage
(ratio: number)
api/src/compute/common.ts:8
↓ 12 callersFunctioncyfy
(func: any, thenOptions?: any)
surveyform/cypress/e2e/e2e/magicLoginApi.cy.ts:18
↓ 12 callersFunctiongetChartCurrentEdition
({ serie }: { serie: DataSeries<StandardQuestionData> })
results/src/core/charts/horizontalBar2/helpers/other.ts:37
↓ 12 callersFunctiongetCustomNormalizationsCollection
()
shared/mongo/mongo.ts:126
↓ 12 callersFunctiongetQuestioni18nIds
({ section, question }: { section?: SectionMetadata question: QuestionMetadata })
shared/i18n/i18n_ids.ts:31
↓ 12 callersFunctionuseFormPropsContext
()
surveyform/src/components/form/FormPropsContext.tsx:24
↓ 11 callersFunctionError
({ error, reset, }: { error: Error & { digest?: string } reset: () => void })
surveyform/src/app/error.tsx:6
↓ 11 callersFunctionaddQuestionId
(options: TemplateArguments, id: string)
shared/templates/helpers/other.ts:20
↓ 11 callersFunctiongetEditionSectionPath
({ survey, edition, locale, readOnly, response, page, number, }: { // we only need basic info
surveyform/src/lib/surveys/helpers/getEditionSectionPath.ts:7
↓ 11 callersFunctionnext
()
surveyform/src/app/api/nespresso.ts:47
↓ 11 callersFunctionparseEnvVariableArray
(variable = '')
shared/helpers/utils.ts:44
↓ 11 callersFunctionuseLegends
({ block, legendIds, namespace: providedNamespace, addNoAnswer = false }: { block: BlockVa
results/src/core/helpers/legends.ts:27
↓ 10 callersFunctionaddToTypeObjects
(typeDef: TypeDefTemplateOutput | null)
api/src/generate/typedefs.ts:50
↓ 10 callersFunctioncheckNumberOfCompletedTodosInLocalStorage
(page: Page, expected: number)
surveyform/tests/demo-todo-app.ts:427
↓ 10 callersFunctiongetAppName
(options?: { appName?: string })
shared/fetch/cache_keys.ts:14
↓ 10 callersFunctiongetConfig
( options: GetConfigOptions = {}, defaultValues: DefaultConfigValues = {} )
shared/helpers/env.ts:137
↓ 10 callersFunctiongetFacetsTypeName
(surveyId: string)
api/src/generate/helpers.ts:219
↓ 10 callersFunctiongetVelocityColor
(v, theme)
results/src/core/charts/toolsArrows/helpers.ts:22
↓ 10 callersFunctionrunOperation
( operation: any, options: any, operationResults: PostNormalizationOperationResult[] )
surveyadmin/src/lib/normalization/post-normalization/common.ts:43
↓ 9 callersFunctioncheckSecretKey
(req: NextRequest)
surveyform/src/app/api/secretKey.ts:18
↓ 9 callersFunctionfetchEditionMetadata
( options: FetcherFunctionOptions & { surveyId: string editionId: string } )
shared/fetch/functions/edition_metadata.ts:12
↓ 9 callersFunctionflushLogs
()
capture/src/logger.ts:46
↓ 9 callersFunctionformatPercentage
(value: number)
results/src/core/charts/common2/helpers/format.ts:62
↓ 9 callersFunctiongetAppDb
()
shared/mongo/mongo.ts:91
↓ 9 callersFunctiongetBlockTitle
(options: { block: BlockVariantDefinition pageContext: PageContextValue getFallbacks: MultiKeysStr
results/src/core/helpers/blockHelpers.ts:146
↓ 9 callersFunctiongetEntityFragment
(options: EntityFragmentOptions = {})
shared/fetch/queries/entity_fragment.ts:11
↓ 9 callersFunctiongetGlowColor
(color: any, alpha: number)
results/src/core/blocks/awards/AwardBlock.tsx:129
↓ 9 callersFunctiongetOptioni18nIds
({ question, option }: { question: QuestionMetadata option: OptionMetadata })
shared/i18n/i18n_ids.ts:71
↓ 9 callersFunctiongetQuery
({ surveyId, editionId, sectionId, questionId }: GetQueryProps)
results/src/core/blocks/block/CommentsTrigger.deprecated.tsx:39
↓ 9 callersFunctiongetQuestionPaths
(questionObject: QuestionTemplateOutput)
surveyadmin/src/lib/normalization/normalize/normalizeField.ts:59
↓ 9 callersFunctioninitRedis
(url_?: string, token_?: string)
shared/redis/redis.ts:21
↓ 9 callersFunctionjoinWithBase
(suffix: string)
shared/i18n/i18n_ids.ts:17
↓ 9 callersFunctionuseAllFilters
(excludeFilterId?: string)
results/src/core/charts/hooks.ts:507
↓ 9 callersFunctionuseCache
(options: { func: F context: RequestContext funcOptions?: any // args?: ArgumentTypes<F> k
api/src/helpers/caching.ts:65
↓ 8 callersFunctioncheckNumberOfTodosInLocalStorage
(page: Page, expected: number)
surveyform/tests/demo-todo-app.ts:421
↓ 8 callersFunctiongetCollection
(db: Db, survey: Survey | SurveyApiObject)
api/src/helpers/db.ts:5
↓ 8 callersFunctiongetEditionQuestions
( edition: EditionMetadata )
surveyadmin/src/lib/normalization/helpers/getEditionQuestions.ts:3
↓ 8 callersFunctiongetFiltersTypeName
(surveyId: string)
api/src/generate/helpers.ts:218
↓ 8 callersFunctiongetPath
({ survey, edition, section, question, suffix }: { survey?: SurveyApiObject editio
api/src/generate/helpers.ts:112
↓ 8 callersFunctiongetResponseTypeName
()
api/src/graphql/templates/responses.ts:1
↓ 8 callersFunctiongetSurveyEditionSectionQuestion
({ surveyId, editionId, questionId, shouldGetFromCache, }: { surveyId: string; editionId: string;
surveyadmin/src/lib/normalization/helpers/getSurveyEditionQuestion.ts:6
↓ 8 callersFunctiongetValue
(bucket: Bucket | FacetBucket)
results/src/core/charts/horizontalBar2/views/PercentageSurvey.tsx:11
↓ 8 callersFunctiongetViewDefinition
(view: HorizontalBarViews)
results/src/core/charts/horizontalBar2/helpers/views.ts:80
↓ 8 callersFunctionkeysMemo
(items: Array<Item>)
surveyform/src/components/inputs/TextList.tsx:28
↓ 8 callersFunctionloadOrGetLocales
( options: { context?: RequestContext; forceReload?: boolean; localeIds?: string[] } = { forceRelo
api/src/load/locales/locales.ts:56
↓ 8 callersFunctionredirect
(...args)
surveyform/src/app/api/nespresso.ts:42
↓ 8 callersFunctionroundRatio
(r: number)
api/src/compute/stages/add_ratios.ts:19
↓ 8 callersFunctionsendMagicLoginEmail
({ body, }: { body: MagicLoginSendEmailBody; })
surveyform/src/lib/account/magicLogin/client-actions/sendMagicLoginEmail.ts:4
↓ 8 callersFunctionsetAppName
(appName: AppName)
shared/helpers/env.ts:88
↓ 8 callersMethodtoNextResponse
(request: NextRequest)
surveyform/src/lib/handler-error.ts:47
↓ 8 callersFunctionuseChartFilters
({ block, options, providedFiltersState, buckets }: { block: BlockVariantDefinition op
results/src/core/filters/helpers.ts:703
↓ 8 callersFunctionuseToolSections
()
results/src/core/helpers/metadata.ts:5
↓ 7 callersFunctioncalculatePercentile
(datapoints: number[], percentile: number)
api/src/compute/stages/add_percentiles.ts:122
↓ 7 callersFunctionfetchGraphQLApi
({ query, key: key_, apiUrl: apiUrl_, cache }: { query: string /** Unique query identi
shared/fetch/fetch.ts:338
↓ 7 callersFunctionfontWeight
(weight: WeightKeys)
results/src/core/theme/util.ts:58
↓ 7 callersFunctiongetBlockKey
({ block }: { block: BlockVariantDefinition })
results/src/core/helpers/blockHelpers.ts:23
↓ 7 callersFunctiongetCacheOption
()
shared/fetch/helpers.ts:42
↓ 7 callersFunctiongetEditionItems
(edition: Edition | EditionApiObject, type: ApiSectionTypes)
api/src/generate/helpers.ts:201
↓ 7 callersFunctiongetEntities
( options: { ids?: OptionId[] tags?: string[] context?: RequestContext inc
api/src/load/entities.ts:218
↓ 7 callersFunctiongetFallbacks
(keys, values, fallback)
shared/i18n/translate.ts:153
↓ 7 callersFunctiongetFields
(item: any, fields: string[])
results/src/core/helpers/labels.ts:44
↓ 7 callersFunctiongetQuestionLabel
({ 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