Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PalisadoesFoundation/talawa-api
/ functions
Functions
1,648 in github.com/PalisadoesFoundation/talawa-api
⨍
Functions
1,648
◇
Types & classes
363
↓ 8 callers
Function
expectSuccessfulEvent
( result: CreateEventMutationResponse, expectedName: string, )
test/graphql/types/Mutation/createEvent.test.ts:157
↓ 8 callers
Method
findCatchBlocks
(content: string)
scripts/validate_error_handling.ts:653
↓ 8 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/deleteAgendaItem.test.ts:30
↓ 8 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/createAgendaCategory.test.ts:25
↓ 8 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/createAgendaFolder.test.ts:25
↓ 8 callers
Function
getAdminAuthToken
()
test/graphql/types/Query/hasUserVoted.test.ts:43
↓ 8 callers
Function
getAdminAuthToken
()
test/graphql/types/Query/venue.test.ts:28
↓ 8 callers
Function
getBackgroundWorkerStatus
()
src/workers/backgroundWorkerService.ts:344
↓ 8 callers
Function
getColumnName
( col: (typeof tableConfig.indexes)[0]["config"]["columns"][0] | undefined, )
test/drizzle/tables/fundCampaigns.test.ts:641
↓ 8 callers
Function
getColumnName
(col: unknown)
test/drizzle/tables/EmailNotification.test.ts:25
↓ 8 callers
Function
getNodeVersionFromPackageJson
( packageJsonPath: string, )
src/install/utils/packageCheck.ts:158
↓ 8 callers
Function
getPackageManager
()
src/install/utils/osDetection.ts:117
↓ 8 callers
Method
getPlugin
* Get a specific plugin
src/plugin/manager/core.ts:421
↓ 8 callers
Method
getPluginModule
* Get plugin module for lifecycle hooks
src/plugin/manager/lifecycle.ts:397
↓ 8 callers
Function
getRecurringEventInstanceById
( instanceId: string, organizationId: string, drizzleClient: ServiceDependencies["drizzleClient"], logger:
src/graphql/types/Query/eventQueries/recurringEventInstanceQueries.ts:185
↓ 8 callers
Function
installPluginDependenciesWithErrorHandling
( pluginId: string, logger?: { info?: (message: string) => void; error?: (message: string) => void; },
src/utilities/pluginDependencyInstaller.ts:248
↓ 8 callers
Function
isEmailAddressVerifiedResolver
( parent: UserType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/User/isEmailAddressVerified.ts:16
↓ 8 callers
Function
isRefreshTokenValid
( db: DrizzleClient, token: string, userId: string, )
src/services/auth/refreshStore.ts:95
↓ 8 callers
Function
isSanitizedInput
( value: unknown, )
src/utilities/sanitizer.ts:79
↓ 8 callers
Function
makeDrizzle
()
test/graphql/types/Query/eventQueries/standaloneEventQueries.test.ts:9
↓ 8 callers
Function
makeLogger
()
test/graphql/types/Query/eventQueries/standaloneEventQueries.test.ts:23
↓ 8 callers
Function
makeValidEnvConfig
()
test/unit/createServer.assertSecretsPresent.test.ts:8
↓ 8 callers
Function
persistRefreshToken
( db: DrizzleClient, params: PersistRefreshTokenParams, )
src/services/auth/refreshStore.ts:46
↓ 8 callers
Method
populate
(key: string, entries: Array<{ timestamp: number; id: string }>)
test/utilities/leakyBucket.test.ts:157
↓ 8 callers
Function
resolveFolder
( parent: AgendaItemType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/AgendaItem/folder.ts:9
↓ 8 callers
Method
start
* Start timing an operation manually. Returns a function to call when the operation completes. * @param op - Name of the operation being timed * @
src/utilities/metrics/performanceTracker.ts:56
↓ 8 callers
Function
storeRefreshToken
( drizzleClient: PostgresJsDatabase<typeof schema>, userId: string, tokenHash: string, expiresAt: Date, )
src/utilities/refreshTokenUtils.ts:38
↓ 8 callers
Method
testGet
(url: string, headers?: Record<string, string>)
test/utilities/auth/oauth/BaseOAuthProvider.test.ts:65
↓ 8 callers
Function
validateWindowConfig
(config: WindowManagerConfig)
src/services/eventGeneration/windowManager.ts:278
↓ 8 callers
Function
verifyRecaptchaToken
( token: string, secretKey: string, expectedAction?: string, scoreThreshold: number = 0.5, )
src/utilities/recaptchaUtils.ts:22
↓ 7 callers
Method
applyFixes
()
scripts/validate_error_handling.ts:1002
↓ 7 callers
Function
assertPreservedError
( errorObj: unknown, expectedMessage: string, )
test/routes/graphqlErrorValidation.test.ts:322
↓ 7 callers
Function
atomicWriteEnv
( content: string, options: AtomicWriteOptions = {}, )
scripts/setup/AtomicEnvWriter.ts:201
↓ 7 callers
Method
checkConsoleUsage
( filePath: string, lineNumber: number, line: string, )
scripts/validate_error_handling.ts:860
↓ 7 callers
Function
checkPackage
( name: string, requiredVersion?: string, )
src/install/utils/packageCheck.ts:192
↓ 7 callers
Function
checkRequired
(name: string, value: string)
src/createServer.ts:72
↓ 7 callers
Function
checkSanitization
()
scripts/check_sanitization.ts:304
↓ 7 callers
Function
cleanupTemp
( tempFile: string, logger?: { warn: (msg: string) => void }, )
scripts/setup/AtomicEnvWriter.ts:180
↓ 7 callers
Function
commitTemp
( envFile: string, tempFile: string, )
scripts/setup/AtomicEnvWriter.ts:92
↓ 7 callers
Function
createChatMutation
(creatorToken: string, orgId: string)
test/graphql/types/Chat/messages.test.ts:90
↓ 7 callers
Function
createCreator
(adminToken: string)
test/graphql/types/Chat/messages.test.ts:64
↓ 7 callers
Function
createCursor
(data: Record<string, unknown>)
test/graphql/types/Event/agendaFolders.test.ts:13
↓ 7 callers
Function
createFakeDeleteChain
(returningData: unknown[])
test/graphql/types/Mutation/deleteChatMessage.test.ts:82
↓ 7 callers
Function
createMockCache
* Create a mock CacheService for testing.
test/services/caching/invalidation.test.ts:11
↓ 7 callers
Function
createMockCreatedUser
( emailAddress: string, creatorId = "admin-user", )
test/graphql/types/Mutation/createUser.metrics.test.ts:34
↓ 7 callers
Function
createMockExistingOrganization
( orgId: string, avatarName: string | null = null, )
test/graphql/types/Mutation/updateOrganization.metrics.test.ts:397
↓ 7 callers
Function
createOrgMutation
(adminToken: string)
test/graphql/types/Chat/messages.test.ts:81
↓ 7 callers
Function
createOrganizationAndGetId
(authToken: string)
test/graphql/types/Mutation/deleteEntireRecurringEventSeries.test.ts:35
↓ 7 callers
Function
createRecurringEventSetup
( organizationId: string, creatorId: string, )
test/graphql/types/Mutation/deleteEventVolunteerGroupForInstance.test.ts:171
↓ 7 callers
Function
createSequentialMockDb
* Creates a mock DrizzleClient with sequential responses for testing DataLoaders. * Each call to where() will return the next result set in the array
test/utilities/dataloaders/dataloader.metrics.test.ts:33
↓ 7 callers
Function
createTestAdvertisement
(token: string, organizationId: string)
test/graphql/types/Mutation/deleteAdvertisement.test.ts:81
↓ 7 callers
Function
createTestCommentVote
* Creates a test comment vote
test/graphql/types/Mutation/deleteCommentVote.test.ts:99
↓ 7 callers
Function
createTestCommentVote
* Creates a test comment vote
test/graphql/types/Mutation/updateCommentVote.test.ts:98
↓ 7 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/createEventVolunteer.test.ts:139
↓ 7 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/deleteEventVolunteer.test.ts:119
↓ 7 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/deleteEventVolunteerGroup.test.ts:121
↓ 7 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:120
↓ 7 callers
Function
createTestEventVolunteer
( userId: string, eventId: string, creatorId: string, )
test/graphql/types/Mutation/deleteEventVolunteer.test.ts:162
↓ 7 callers
Function
createTestEventVolunteerGroup
( eventId: string, leaderId: string, creatorId: string, name?: string, description?: string, volunteersR
test/graphql/types/Mutation/deleteEventVolunteerGroupForInstance.test.ts:241
↓ 7 callers
Function
createTestOrganization
()
test/graphql/types/Mutation/deleteEventVolunteerForInstance.test.ts:91
↓ 7 callers
Function
createTestOrganization
(token: string)
test/graphql/types/Mutation/deleteAdvertisement.test.ts:55
↓ 7 callers
Function
createTestOrganization
()
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:83
↓ 7 callers
Function
createTestOrganization
()
test/graphql/types/Mutation/verifyEventInvitation.test.ts:61
↓ 7 callers
Function
createTestPostVote
* Creates a test post vote
test/graphql/types/Mutation/deletePostVote.test.ts:84
↓ 7 callers
Function
createTestUser
()
test/graphql/types/Mutation/deleteEventVolunteerGroupForInstance.test.ts:113
↓ 7 callers
Function
createTestUser
()
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:105
↓ 7 callers
Function
createTestVenueBooking
* Helper to create a venue booking.
test/graphql/types/Mutation/deleteVenueBooking.test.ts:159
↓ 7 callers
Function
createTestVolunteerMembership
( eventId: string, userId: string, creatorId: string, initialStatus: "invited" | "requested" | "accepted"
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:163
↓ 7 callers
Function
ensureBackup
( envFile: string, backupFile: string, )
scripts/setup/AtomicEnvWriter.ts:43
↓ 7 callers
Function
eventCreatedAtResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/createdAt.ts:5
↓ 7 callers
Function
expectGraphQLErrorCode
( errors: readonly GraphQLError[] | null | undefined, code: string, )
test/graphql/types/Mutation/updateFundCampaign.test.ts:26
↓ 7 callers
Function
generateEmailVerificationToken
()
src/utilities/emailVerificationTokenUtils.ts:30
↓ 7 callers
Function
generatePasswordResetToken
()
src/utilities/passwordResetTokenUtils.ts:37
↓ 7 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/deleteTagFolder.test.ts:25
↓ 7 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/deleteAgendaCategory.test.ts:30
↓ 7 callers
Function
getColumnName
(col: unknown)
test/drizzle/tables/chatMessages.test.ts:19
↓ 7 callers
Method
getConfig
()
test/utilities/auth/oauth/BaseOAuthProvider.test.ts:51
↓ 7 callers
Function
getErrCode
(err: unknown)
scripts/setup/AtomicEnvWriter.ts:5
↓ 7 callers
Function
getEventsByIds
( eventIds: string[], drizzleClient: ServiceDependencies["drizzleClient"], logger: ServiceDependencies["log
src/graphql/types/Query/eventQueries/unifiedEventQueries.ts:329
↓ 7 callers
Method
getLineContent
(lines: string[], lineNumber: number)
scripts/validate_error_handling.ts:780
↓ 7 callers
Method
handlePluginError
* Handle plugin errors
src/plugin/manager/core.ts:369
↓ 7 callers
Method
invalidateMetricsCache
* Invalidate metrics cache entries matching a pattern. * * @param pattern - Optional glob pattern (e.g., "metrics:aggregated:*" or "metrics:aggreg
src/services/metrics/metricsCache.ts:293
↓ 7 callers
Method
isSystemInitialized
* Check if system is initialized (successfully)
src/plugin/manager/core.ts:505
↓ 7 callers
Function
maritalStatusResolver
( parent: User, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/User/maritalStatus.ts:23
↓ 7 callers
Function
mockChatMessagesTableFindFirst
( ctx: GraphQLContext, returnValue: Partial<ChatMessage> = {}, )
test/graphql/types/Mutation/deleteChatMessage.test.ts:66
↓ 7 callers
Function
mockFindFirst
* Mocks findFirst to resolve with the given returnValue. * Production code passes an SQL expression object (and(...)) for where, not a callback, * s
test/services/auth/refreshStore.test.ts:31
↓ 7 callers
Function
normalizeRecurrenceRule
( rule: typeof recurrenceRulesTable.$inferSelect, )
src/utilities/recurringEvent/calculation.ts:150
↓ 7 callers
Method
onSchemaUpdate
* Register a callback to be notified when the schema is updated
src/graphql/schemaManager.ts:237
↓ 7 callers
Function
resolveGetMyPledgesForCampaign
( _parent: Record<string, unknown>, args: { campaignId: string }, ctx: GraphQLContext, )
src/graphql/types/Query/getUserPledgesByCampaignID.ts:13
↓ 7 callers
Function
resolveNaturalLanguageCode
( parent: UserType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/User/naturalLanguageCode.ts:21
↓ 7 callers
Function
resolveOrgIdWhereMembershipRequested
( parent: User, _args: Record<string, unknown>, ctx: ExplicitGraphQLContext & ImplicitMercuriusContext, )
test/graphql/types/User/orgIdWhereMembershipRequested.test.ts:10
↓ 7 callers
Function
resolver
()
src/graphql/types/Query/user.ts:28
↓ 7 callers
Function
runMetricsAggregationWorkerSafely
( getMetricsSnapshots: (windowMinutes?: number) => PerfSnapshot[], windowMinutes: number, logger: FastifyBa
src/workers/backgroundWorkerService.ts:268
↓ 7 callers
Function
setupServer
()
test/routes/objects.test.ts:275
↓ 7 callers
Function
shutdownTracing
()
src/observability/tracing/bootstrap.ts:118
↓ 7 callers
Function
signAccessToken
(user: { id: string; email: string; })
src/services/auth/tokens.ts:98
↓ 7 callers
Function
signIn
( db: DrizzleClient, log: FastifyBaseLogger, input: SignInInput, )
src/services/auth/authService.ts:143
↓ 7 callers
Function
signUp
( db: DrizzleClient, log: FastifyBaseLogger, input: SignUpInput, )
src/services/auth/authService.ts:65
↓ 7 callers
Function
signinAdmin
()
test/graphql/types/Chat/messages.test.ts:51
↓ 7 callers
Method
validateFile
(filePath: string)
scripts/validate_error_handling.ts:428
← previous
next →
501–600 of 1,648, ranked by callers