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
↓ 3 callers
Function
drizzleTypeToPostgresType
* Converts a Drizzle column type to PostgreSQL SQL type
src/plugin/utils.ts:224
↓ 3 callers
Method
emitFundCampaignCreated
( data: { campaignId: string; campaignName: string; fundName: string; organizationId: string;
src/graphql/types/Notification/EventBus/eventBus.ts:335
↓ 3 callers
Method
emitFundCampaignPledgeCreated
( data: { pledgeId: string; campaignName: string; organizationId: string; organizationName: stri
src/graphql/types/Notification/EventBus/eventBus.ts:383
↓ 3 callers
Method
emitFundCreated
( data: { fundId: string; fundName: string; organizationId: string; organizationName: string;
src/graphql/types/Notification/EventBus/eventBus.ts:296
↓ 3 callers
Method
emitJoinRequestSubmitted
( data: { requestId: string; userId: string; userName: string; organizationId: string; organi
src/graphql/types/Notification/EventBus/eventBus.ts:126
↓ 3 callers
Method
emitUserBlocked
( data: { userId: string; userName: string; organizationId: string; organizationName: string;
src/graphql/types/Notification/EventBus/eventBus.ts:219
↓ 3 callers
Method
executePostHooks
* Execute post hooks for an event
src/plugin/manager/core.ts:471
↓ 3 callers
Method
executePreHooks
* Execute pre hooks for an event
src/plugin/manager/core.ts:450
↓ 3 callers
Function
expectValidErrorResponse
( body: { error: Record<string, unknown> }, expectedCode: string, message?: string, detailsMatcher?: (d: u
test/routes/objects.test.ts:14
↓ 3 callers
Function
extendGenerationWindow
( organizationId: string, additionalMonths: number, drizzleClient: ServiceDependencies["drizzleClient"], l
src/services/eventGeneration/windowManager.ts:101
↓ 3 callers
Function
fetchBaseTemplates
* Fetches the base event templates for a given list of recurring event instances. * * @param instances - An array of recurring event instances. * @
src/graphql/types/Query/eventQueries/recurringEventInstanceQueries.ts:458
↓ 3 callers
Function
fetchExceptions
* Fetches event exceptions for a given list of instances. * Uses direct instance ID lookups for precise exception matching. * * @param instances -
src/graphql/types/Query/eventQueries/recurringEventInstanceQueries.ts:501
↓ 3 callers
Method
flush
* Flush queued notifications by delegating to the global event bus. Accepts the * full GraphQL context since the event bus / notification engine req
src/services/notification/NotificationService.ts:55
↓ 3 callers
Function
getAdminAuthToken
()
test/graphql/types/Comment/post.test.ts:27
↓ 3 callers
Function
getCleanupStats
( organizationId: string, drizzleClient: ServiceDependencies["drizzleClient"], )
src/services/eventGeneration/windowManager.ts:216
↓ 3 callers
Function
getClearAccessTokenCookieOptions
( options: CookieConfigOptions, )
src/utilities/cookieConfig.ts:92
↓ 3 callers
Function
getClearRefreshTokenCookieOptions
( options: CookieConfigOptions, )
src/utilities/cookieConfig.ts:113
↓ 3 callers
Function
getColumnName
(col: unknown)
test/drizzle/tables/chatMessageReadReceipts.test.ts:14
↓ 3 callers
Function
getGlobalCleanupStatistics
( drizzleClient: NodePgDatabase<typeof schema>, )
src/workers/eventCleanupWorker.ts:332
↓ 3 callers
Function
getOrdinal
(num: number)
src/utilities/recurrenceFormatter.ts:23
↓ 3 callers
Function
getPasswordResetEmailHtml
( ctx: PasswordResetEmailContext, )
src/utilities/emailTemplates.ts:42
↓ 3 callers
Function
getPasswordResetEmailText
( ctx: PasswordResetEmailContext, )
src/utilities/emailTemplates.ts:17
↓ 3 callers
Function
getPluginSystemStatus
()
src/plugin/registry.ts:94
↓ 3 callers
Function
getProcessingStatistics
( deps: WorkerDependencies, )
src/workers/eventGeneration/windowManager.ts:280
↓ 3 callers
Function
getVenuesComplexityFn
()
test/graphql/types/Event/venues.test.ts:176
↓ 3 callers
Function
hasIndexFor
(columnName: string)
test/drizzle/tables/NotificationAudience.test.ts:565
↓ 3 callers
Function
healthCheck
( statusGetter: () => ReturnType< typeof getBackgroundWorkerStatus > = getBackgroundWorkerStatus, )
src/workers/backgroundWorkerService.ts:387
↓ 3 callers
Function
insertAgendaItemUrls
(agendaItemId: string, urls: string[])
test/graphql/types/Mutation/updateAgendaItem.test.ts:58
↓ 3 callers
Method
isFileSuppressed
(content: string)
scripts/validate_error_handling.ts:809
↓ 3 callers
Method
isPluginLoaded
* Check if plugin is loaded
src/plugin/manager/core.ts:428
↓ 3 callers
Function
mapRecurringInstanceToEvent
( instance: RecurringEventInstance, )
src/graphql/utils/mapRecurringInstanceToEvent.ts:11
↓ 3 callers
Function
markEmailVerificationTokenAsUsed
( drizzleClient: PostgresJsDatabase<typeof schema>, tokenHash: string, )
src/utilities/emailVerificationTokenUtils.ts:148
↓ 3 callers
Function
markPasswordResetTokenAsUsed
( drizzleClient: PostgresJsDatabase<typeof schema>, tokenHash: string, )
src/utilities/passwordResetTokenUtils.ts:152
↓ 3 callers
Function
postgresSetup
( answers: SetupAnswers, )
scripts/setup/setup.ts:1085
↓ 3 callers
Function
readEnv
( envFile: string = ".env", encoding: BufferEncoding = "utf-8", )
scripts/setup/AtomicEnvWriter.ts:249
↓ 3 callers
Method
rebuildSchema
* Dynamically rebuild the GraphQL schema
src/graphql/schemaManager.ts:62
↓ 3 callers
Function
record
(k: string, ms: number)
src/utilities/metrics/performanceTracker.ts:151
↓ 3 callers
Method
renderTemplate
* Renders a template by replacing variables * * @param template - The notification template * @param variables - Variables to replace in the tem
src/graphql/types/Notification/Notification_engine.ts:305
↓ 3 callers
Function
revokeAllUserEmailVerificationTokens
( drizzleClient: PostgresJsDatabase<typeof schema>, userId: string, )
src/utilities/emailVerificationTokenUtils.ts:173
↓ 3 callers
Function
revokeAllUserPasswordResetTokens
( drizzleClient: PostgresJsDatabase<typeof schema>, userId: string, )
src/utilities/passwordResetTokenUtils.ts:177
↓ 3 callers
Function
run
()
scripts/validate_error_handling.ts:1088
↓ 3 callers
Function
runSingleOrganizationWorker
( organizationId: string, drizzleClient: NodePgDatabase<typeof schema>, logger: FastifyBaseLogger, )
src/workers/eventGeneration/eventGenerationPipeline.ts:139
↓ 3 callers
Function
sanitizeKeyPart
* Sanitize a value for use in a Redis cache key. * Replaces unsafe characters with underscores. * * @param value - The value to sanitize. * @retur
src/services/caching/cacheKeyGenerator.ts:17
↓ 3 callers
Method
sendEmail
* Send a single email using the configured SMTP server
src/services/email/providers/SMTPProvider.ts:141
↓ 3 callers
Function
setCI
(answers: SetupAnswers)
scripts/setup/setup.ts:522
↓ 3 callers
Function
setHeaders
( reply: FastifyReply, tier: RateLimitTier, remaining: number, resetAt: number, )
src/fastifyPlugins/rateLimit.ts:30
↓ 3 callers
Function
setupSuccessMocks
( mocks: ReturnType<typeof createMockGraphQLContext>["mocks"], mockAdminUser: ReturnType<typeof createMock
test/graphql/types/Mutation/createUser.metrics.test.ts:52
↓ 3 callers
Function
storePasswordResetToken
( drizzleClient: PostgresJsDatabase<typeof schema>, userId: string, tokenHash: string, expiresAt: Date | n
src/utilities/passwordResetTokenUtils.ts:72
↓ 3 callers
Method
toJSON
()
scripts/setup/SetupError.ts:46
↓ 3 callers
Method
unregister
* Remove a provider from registry (for testing) * @param providerName - Name of provider to remove
src/utilities/auth/oauth/OAuthProviderRegistry.ts:97
↓ 3 callers
Function
upVotersComplexity
(args: { first?: number | null | undefined; last?: number | null | undefined; })
src/graphql/types/Post/upVoters.ts:64
↓ 3 callers
Function
updateWindowAfterProcessing
( windowId: string, processingResult: WindowProcessingResult, deps: WorkerDependencies, )
src/workers/eventGeneration/windowManager.ts:93
↓ 3 callers
Function
validateRecurrenceInput
( recurrence: z.infer<typeof recurrenceInputSchema>, startDate: Date, )
src/utilities/recurringEvent/validation.ts:15
↓ 3 callers
Function
validateResolvedInstance
( resolvedInstance: ResolvedRecurringEventInstance, logger: ServiceDependencies["logger"], )
src/services/eventGeneration/instanceResolver.ts:270
↓ 2 callers
Function
addMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Mutation/deleteStandaloneEvent.test.ts:17
↓ 2 callers
Function
addMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Mutation/deleteEntireRecurringEventSeries.test.ts:19
↓ 2 callers
Function
addMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Mutation/deleteSingleEventInstance.test.ts:19
↓ 2 callers
Function
addMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Mutation/deleteThisAndFollowingEvents.test.ts:19
↓ 2 callers
Function
addMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Query/ActionItemByOrg.test.ts:74
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/createAgendaItem.test.ts:60
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/deleteAgendaFolder.test.ts:77
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/createTag.test.ts:99
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/createTagFolder.test.ts:99
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/deleteTagFolder.test.ts:99
↓ 2 callers
Function
addOrganizationMembership
(params: { adminAuthToken: string; memberId: string; organizationId: string; role: "administrator" | "regu
test/graphql/types/Mutation/updateTagFolder.test.ts:93
↓ 2 callers
Function
addUserToChat
( adminAuthToken: string, chatId: string, memberId: string, )
test/graphql/types/Query/chat.test.ts:134
↓ 2 callers
Function
addUserToOrg
(userId: string, orgId: string)
test/graphql/types/Query/fundCampaignPledge.test.ts:199
↓ 2 callers
Method
branchExists
(branch: string)
scripts/validate_error_handling.ts:308
↓ 2 callers
Function
buildTestApp
(options: BuildTestAppOptions = {})
test/unit/routes/auth/auth.routes.test.ts:41
↓ 2 callers
Function
caddySetup
(answers: SetupAnswers)
scripts/setup/setup.ts:1143
↓ 2 callers
Function
calculateCompletionDateFromCount
( startDate: Date, count: number, frequency: string, interval = 1, )
src/utilities/recurringEvent/calculation.ts:17
↓ 2 callers
Method
callOnActivateHook
* Call the onActivate lifecycle hook for a plugin
src/plugin/manager/lifecycle.ts:495
↓ 2 callers
Method
callOnDeactivateHook
* Call the onDeactivate lifecycle hook for a plugin
src/plugin/manager/lifecycle.ts:512
↓ 2 callers
Method
callOnUnloadHook
* Call the onUnload lifecycle hook for a plugin
src/plugin/manager/lifecycle.ts:579
↓ 2 callers
Function
checkDataSize
(stage: string)
scripts/dbManagement/helpers.ts:892
↓ 2 callers
Function
checkEnvFile
( envFile: string = DEFAULT_ENV_FILE, )
scripts/setup/envFileManager.ts:74
↓ 2 callers
Function
checkPrerequisites
(packageJsonPath: string)
src/install/utils/packageCheck.ts:217
↓ 2 callers
Function
cleanupOrganizationInstances
* Cleans up old materialized instances for a single, specific organization based on its * retention policy. * * @param windowConfig - The materiali
src/workers/eventCleanupWorker.ts:75
↓ 2 callers
Function
cleanupSpecificOrganization
( organizationId: string, drizzleClient: NodePgDatabase<typeof schema>, logger: FastifyBaseLogger, )
src/workers/eventCleanupWorker.ts:167
↓ 2 callers
Function
clearAuthCookies
( reply: FastifyReply, cookieOptions?: CookieConfigOptions, )
src/services/auth/authService.ts:304
↓ 2 callers
Function
cloudbeaverSetup
( answers: SetupAnswers, )
scripts/setup/setup.ts:957
↓ 2 callers
Function
createActionItemCategory
( organizationId: string, )
test/graphql/types/Mutation/updateActionItem.test.ts:55
↓ 2 callers
Function
createActionItemCategory
( organizationId: string, )
test/graphql/types/Mutation/deleteActionItem.test.ts:52
↓ 2 callers
Function
createCreator
(adminToken: string)
test/graphql/types/Chat/organization.test.ts:48
↓ 2 callers
Function
createDefaultWorkerConfig
()
src/workers/eventGeneration/eventGenerationPipeline.ts:228
↓ 2 callers
Function
createEmptyResult
* Creates an empty worker result object, used when no materialization work is found. * * @param startTime - The start time of the worker run, used t
src/workers/eventGeneration/eventGenerationPipeline.ts:213
↓ 2 callers
Function
createEventAndVolunteer
(organizationId: string, userId: string)
test/graphql/types/Mutation/createActionItem.test.ts:84
↓ 2 callers
Function
createEventAndVolunteer
(organizationId: string, userId: string)
test/graphql/types/Mutation/deleteActionItem.test.ts:86
↓ 2 callers
Function
createMockDeletedOrganization
(orgId: string)
test/graphql/types/Mutation/deleteOrganization.metrics.test.ts:217
↓ 2 callers
Function
createMockDrizzleClient
()
test/_Mocks_/drizzleClientMock.ts:31
↓ 2 callers
Function
createMockEvent
(overrides = {})
test/workers/eventGeneration/windowManager.test.ts:74
↓ 2 callers
Function
createMockRedis
* Create a mock Redis client for testing. * Uses double type assertion to bypass strict FastifyRedis typing.
test/fastifyPlugins/cacheService.test.ts:12
↓ 2 callers
Function
createMockRelation
()
test/unit/drizzle/tables/actionItemExceptions.test.ts:259
↓ 2 callers
Function
createMockRelation
()
test/unit/drizzle/tables/chatMemberships.test.ts:201
↓ 2 callers
Function
createMockRelation
()
test/unit/drizzle/tables/eventVolunteers.test.ts:300
↓ 2 callers
Function
createMockRelation
()
test/unit/drizzle/tables/advertisements.test.ts:240
↓ 2 callers
Function
createMockRelation
()
test/unit/drizzle/tables/recurrenceRules.test.ts:264
↓ 2 callers
Function
createMockTransaction
( mockDeletedOrganization: ReturnType<typeof createMockDeletedOrganization>, )
test/graphql/types/Mutation/deleteOrganization.metrics.test.ts:236
↓ 2 callers
Function
createMultipartPayload
({ operations, map, fileContent, fileType = "text/plain", fileName = "blob", boundary = `----WebKitFormB
test/helpers.ts:59
↓ 2 callers
Function
createNotificationLogForTests
()
test/drizzle/tables/NotificationAudience.test.ts:81
← previous
next →
901–1,000 of 1,648, ranked by callers