MCPcopy Create free account

hub / github.com/PalisadoesFoundation/talawa-api / functions

Functions1,648 in github.com/PalisadoesFoundation/talawa-api

↓ 15 callersFunctionOrganizationCreatorResolver
( parent: Organizationtype, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Organization/creator.ts:7
↓ 15 callersFunctioncalculateMedian
(values: number[])
src/utilities/metrics/dbHelpers.ts:56
↓ 15 callersFunctioncolorize
* Format a message with color
src/install/utils/logger.ts:34
↓ 15 callersFunctioncreateMockBuilders
()
test/drizzle/tables/organization.test.ts:169
↓ 15 callersFunctioncreateMockMaterializedInstance
(overrides = {})
test/workers/eventCleanupWorker.test.ts:50
↓ 15 callersFunctioncreateRecurringEventWithInstances
( organizationId: string, creatorId: string, options: { instanceCount?: number; startDate?: Date; int
test/helpers/recurringEventTestHelpers.ts:17
↓ 15 callersFunctioncreateTestAdvertisement
()
test/drizzle/tables/advertisementAttachments.test.ts:61
↓ 15 callersFunctioncreateTestComment
* Creates a test comment on a post
test/graphql/types/Mutation/updateCommentVote.test.ts:78
↓ 15 callersFunctioncreateTestEvent
()
test/drizzle/tables/eventAttachments.test.ts:62
↓ 15 callersFunctioncreateTestOrganization
()
test/graphql/types/Mutation/updateEventVolunteer.test.ts:82
↓ 15 callersFunctioncreateTestOrganization
* Creates a test organization
test/graphql/types/Mutation/updateCommentVote.test.ts:37
↓ 15 callersFunctioncreateTestPost
* Creates a test post in an organization
test/graphql/types/Mutation/updateCommentVote.test.ts:60
↓ 15 callersFunctioncreateTestUser
* Helper function to create a test user for foreign key references.
test/drizzle/tables/familyMemberships.test.ts:59
↓ 15 callersFunctioncreateTestUser
()
test/graphql/types/Mutation/createEventVolunteer.test.ts:120
↓ 15 callersFunctioncreateTestUser
()
test/graphql/types/Mutation/updateEventVolunteerGroup.test.ts:104
↓ 15 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteer.test.ts:27
↓ 15 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:27
↓ 15 callersFunctioneventAttendeesCheckInStatusResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/attendeesCheckInStatus.ts:11
↓ 15 callersFunctioneventCreatorResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/creator.ts:7
↓ 15 callersFunctionexpectSpecificError
( result: CreateEventMutationResponse, expectedError: Partial<TalawaGraphQLFormattedError>, )
test/graphql/types/Mutation/createEvent.test.ts:98
↓ 15 callersMethodgetInstance
* Get singleton instance
src/utilities/auth/oauth/OAuthProviderRegistry.ts:17
↓ 15 callersFunctionhashRefreshToken
(token: string)
src/utilities/refreshTokenUtils.ts:26
↓ 15 callersFunctionisInstalled
(command: string)
src/install/utils/packageCheck.ts:14
↓ 15 callersMethodsetHash
(key: string, values: Record<string, string>)
test/utilities/leakyBucket.test.ts:223
↓ 15 callersFunctionsetup
(_ctx: GlobalSetupContext)
test/setup.ts:10
↓ 15 callersFunctionstableStringify
(obj: unknown)
src/services/caching/cacheKeyGenerator.ts:53
↓ 15 callersFunctionvalidateFileContent
( fileName: string, content: string, )
scripts/check_sanitization.ts:47
↓ 14 callersFunctionFundCreatorResolver
( parent: Fundtype, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Fund/creator.ts:8
↓ 14 callersFunctioncreateCategoryFolderAgendaItem
()
test/graphql/types/Mutation/updateAgendaItem.test.ts:118
↓ 14 callersFunctioncreateFundCampaignPledge
( fundCampaignId: string, pledgerId: string, )
test/graphql/types/Query/fund.test.ts:1739
↓ 14 callersFunctioncreateMockWindowConfig
(overrides = {})
test/workers/eventGeneration/windowManager.test.ts:34
↓ 14 callersFunctioncreateOrganizationLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/organizationLoader.ts:36
↓ 14 callersFunctioncreateTestChat
(organizationId: string, creatorId: string)
test/drizzle/tables/chatMessages.test.ts:87
↓ 14 callersFunctioncreateTestDependencyChain
* Creates the full dependency chain (user, org, post, comment) and returns all IDs.
test/drizzle/tables/commentVotes.test.ts:113
↓ 14 callersFunctioncreateTestOrganization
()
test/drizzle/tables/chatMessages.test.ts:45
↓ 14 callersFunctioncreateTestOrganization
(authToken: string)
test/graphql/types/Mutation/updateStandaloneEvent.test.ts:19
↓ 14 callersFunctioncreateTestUser
()
test/drizzle/tables/chatMessages.test.ts:63
↓ 14 callersFunctioncreateTestUser
(email?: string)
test/graphql/types/Mutation/acceptEventInvitations.test.ts:102
↓ 14 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteerGroupForInstance.test.ts:30
↓ 14 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/verifyEventInvitation.test.ts:19
↓ 14 callersFunctiongetAdminAuth
()
test/graphql/types/Mutation/updateAgendaFolder.test.ts:21
↓ 14 callersFunctiongetFutureDate
(daysFromNow: number, hours = 10)
test/graphql/types/Mutation/createEvent.test.ts:59
↓ 14 callersFunctiongetKeyPathsWithNonUndefinedValues
({ keyPaths, object, }: { keyPaths: Paths<T>[]; object: T; })
src/utilities/getKeyPathsWithNonUndefinedValues.ts:42
↓ 14 callersFunctiongetProviderConfig
( provider: ProviderKey, env = process.env, )
src/config/oauth.ts:60
↓ 14 callersMethodgetProviderName
* Get the unique name identifier for this provider * @returns Provider name (e.g., "google", "github")
src/utilities/auth/oauth/interfaces/IOAuthProvider.ts:12
↓ 14 callersFunctioninvalidateEntity
( cache: { del(keys: string | string[]): Promise<unknown> }, entity: string, id: string | number, )
src/services/caching/invalidation.ts:16
↓ 14 callersFunctionmockStandaloneEvent
( eventId: string, orgId: string, _userId: string, userRole: "administrator" | "member" = "administrator",
test/graphql/types/Mutation/updateStandaloneEvent.test.ts:44
↓ 14 callersMethodrateLimit
( tier: | keyof typeof import("~/src/config/rateLimits").rateLimitTiers | RateLimitTier, )
src/fastifyPlugins/rateLimit.ts:15
↓ 14 callersFunctionread
(file: string)
test/unit/setup/AtomicEnvWriter.test.ts:31
↓ 14 callersFunctionread
(file: string)
test/unit/setup/envFileManager.test.ts:27
↓ 14 callersFunctiontagFolderCreatorResolver
( parent: TagFolderType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/TagFolder/creator.ts:21
↓ 14 callersMethodtrackCacheMiss
* Record a cache miss.
src/utilities/metrics/performanceTracker.ts:72
↓ 14 callersFunctionvalidateCloudBeaverAdmin
(input: string)
scripts/setup/validators.ts:83
↓ 14 callersFunctionvalidateFileContent
( content: string, filePath: string, config: TSDocConfiguration, )
test/scripts/check_tsdoc.test.ts:83
↓ 14 callersFunctionvalidatePortNumbers
(answers: SetupAnswers)
scripts/setup/setup.ts:248
↓ 14 callersFunctionwrapBatchWithMetrics
( op: string, perf: PerformanceTracker, batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, )
src/utilities/metrics/withMetrics.ts:18
↓ 14 callersFunctionwrapWithCache
( batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, opts: WrapWithCacheOptions<K, V>, )
src/services/caching/wrappers.ts:69
↓ 14 callersFunctionzParseOrThrow
( schema: TSchema, data: unknown, )
src/graphql/validators/helpers.ts:62
↓ 13 callersFunctionVolunteerMembershipVolunteerResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/volunteer.ts:10
↓ 13 callersMethod_create_temp_file
Create a temporary file with given content.
test/scripts/test_disable_statements_check.py:39
↓ 13 callersFunctionadvertisementUpdaterResolver
( parent: AdvertisementType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Advertisement/updater.ts:8
↓ 13 callersMethodbuildInitialSchema
* Build the initial schema
src/graphql/schemaManager.ts:42
↓ 13 callersFunctioncalculateMean
(values: number[])
src/utilities/metrics/dbHelpers.ts:20
↓ 13 callersFunctioncompareVersions
(v1: string, v2: string)
src/install/utils/packageCheck.ts:123
↓ 13 callersFunctioncreateActionItemLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/actionItemLoader.ts:36
↓ 13 callersFunctioncreateEventLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/eventLoader.ts:36
↓ 13 callersFunctioncreateOrgMembership
( authToken: string, organizationId: string, memberId: string, )
test/graphql/types/ActionItem/organization.test.ts:99
↓ 13 callersFunctioncreateRegularUser
()
test/graphql/types/Query/fund.test.ts:1543
↓ 13 callersFunctioncreateTestActionItem
( authToken: string, categoryId: string, organizationId: string, volunteerId: string, )
test/graphql/types/ActionItem/organization.test.ts:181
↓ 13 callersFunctioncreateTestAttachment
(postId: string)
test/graphql/types/Post/sorting.test.ts:130
↓ 13 callersFunctioncreateTestComment
* Helper function to create a test organization, post, and comment
test/graphql/types/Comment/hasUserVoted.test.ts:159
↓ 13 callersFunctioncreateTestEvent
(organizationId: string)
test/graphql/types/Mutation/updateEventVolunteer.test.ts:119
↓ 13 callersFunctioncreateTestEvent
(organizationId: string)
test/graphql/types/Mutation/sendEventInvitations.test.ts:136
↓ 13 callersFunctioncreateTestOrganization
()
test/graphql/types/Mutation/sendEventInvitations.test.ts:73
↓ 13 callersFunctioncreateUser
()
test/graphql/types/Mutation/createChatMessage.test.ts:54
↓ 13 callersFunctiondeleteChatMessageResolver
( _parent: unknown, args: z.infer<typeof mutationDeleteChatMessageArgumentsSchema>, ctx: GraphQLContext, )
src/graphql/types/Mutation/deleteChatMessage.ts:24
↓ 13 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteerForInstance.test.ts:30
↓ 13 callersFunctioneventAttendeeCreatedAtResolver
( parent: EventAttendeeType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventAttendee/createdAt.ts:9
↓ 13 callersFunctiongetAdminAuth
()
test/graphql/types/Mutation/createAgendaItem.test.ts:25
↓ 13 callersFunctiongetAdminAuth
()
test/graphql/types/Mutation/createTag.test.ts:25
↓ 13 callersFunctiongetUserAuthToken
( emailAddress: string, password: string, )
test/graphql/types/Mutation/createChatMessage.test.ts:79
↓ 13 callersFunctionhashEmailVerificationToken
(token: string)
src/utilities/emailVerificationTokenUtils.ts:46
↓ 13 callersFunctionloadOAuthConfig
(env = process.env)
src/config/oauth.ts:17
↓ 13 callersFunctionmakeCtx
(isAdmin = true, userId = "1")
test/graphql/types/Mutation/uploadPluginZip.test.ts:90
↓ 13 callersFunctionmakeCtx
(overrides: Partial<TestCtx> = {})
test/graphql/types/Mutation/plugin/deletePlugin.test.ts:60
↓ 13 callersFunctionmakeCtx
(overrides: Partial<TestCtx> = {})
test/graphql/types/Mutation/plugin/createPlugin.test.ts:68
↓ 13 callersFunctionmaskEmail
(email: string)
src/utilities/maskEmail.ts:14
↓ 13 callersFunctionpledgerResolver
( parent: FundCampaignPledgeType, _args: Record<string, unknown>, ctx: GraphQLContext, )
src/graphql/types/FundCampaignPledge/pledger.ts:10
↓ 13 callersFunctionresolveOrganizationsWhereMember
( parent: User, args: { filter?: string | null }, ctx: ContextType, )
src/graphql/types/User/organizationsWhereMember.ts:77
↓ 13 callersFunctionsetupWorkerMocks
* Helper function to set up worker mocks for tests. * Mocks runMaterializationWorker and cleanupOldInstances with default success values.
test/workers/backgroundWorkerService.metrics.test.ts:91
↓ 13 callersFunctionsha256
(s: string)
src/services/auth/refreshStore.ts:15
↓ 13 callersFunctionvalidateCloudBeaverPassword
(input: string)
scripts/setup/validators.ts:98
↓ 13 callersFunctionwrapBatchWithTracing
( name: string, batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, )
src/utilities/dataloaders/wrapBatchWithTracing.ts:18
↓ 12 callersMethodactivatePlugin
* Activate a plugin
src/plugin/manager/core.ts:329
↓ 12 callersFunctionaddVoteToComment
( commentId: string, userId: string, type: "up_vote" | "down_vote", )
test/graphql/types/Comment/upVotesCount.test.ts:135
↓ 12 callersFunctionaddVoteToComment
( commentId: string, userId: string, type: "up_vote" | "down_vote", )
test/graphql/types/Comment/downVotesCount.test.ts:135
↓ 12 callersFunctionassertOrganizationAdmin
( currentUser: HasRole | undefined, membership: HasRole | undefined, errorMessage: string, )
src/utilities/authorization.ts:7
↓ 12 callersFunctionassertValidationError
(errorObj: unknown)
test/routes/graphqlErrorValidation.test.ts:145
↓ 12 callersFunctioncreateOrg
()
test/graphql/types/Organization/advertisement.test.ts:13
↓ 12 callersFunctioncreateOrgCategoryVolunteerActionItem
()
test/graphql/types/Mutation/updateActionItem.test.ts:134
← previousnext →201–300 of 1,648, ranked by callers