MCPcopy Create free account

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

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

↓ 2 callersFunctioncreateOccurrenceFromDate
* Creates a calculated occurrence object from a given date, applying any relevant exceptions * from the recurrence context. * * @param currentDate
src/services/eventGeneration/occurrenceCalculator.ts:218
↓ 2 callersFunctioncreateOrgAndCampaign
()
test/graphql/types/Mutation/deleteFundCampaignPledge.test.ts:242
↓ 2 callersFunctioncreateOrganizationAndEvent
()
test/graphql/types/Mutation/updateAgendaItem.test.ts:71
↓ 2 callersFunctioncreateOrganizationAndGetId
()
test/graphql/types/Mutation/deleteActionItem.test.ts:35
↓ 2 callersFunctioncreateOrganizationAndGetId
(authToken: string)
test/graphql/types/Query/actionItemsByVolunteer.test.ts:65
↓ 2 callersFunctioncreateOrganizationMember
( organizationId: string, role: "administrator" | "regular" = "regular", )
test/graphql/types/Mutation/createEvent.test.ts:144
↓ 2 callersFunctioncreateOrganizationMembership
( adminAuthToken: string, memberId: string, organizationId: string, role: "regular" | "administrator" = "r
test/graphql/types/Mutation/createChat.test.ts:103
↓ 2 callersFunctioncreateOrganizationMembership
( userId: string, organizationId: string, role: "administrator" | "regular" = "regular", )
test/graphql/types/Query/organizationMembers.test.ts:53
↓ 2 callersFunctioncreateOrganizationMembership
( adminAuthToken: string, memberId: string, organizationId: string, role: "regular" | "administrator" = "r
test/graphql/types/FundCampaign/amountRaised.test.ts:86
↓ 2 callersFunctioncreateOrganizationWithAdmin
( authToken: string, adminUserId: string, )
test/graphql/types/Tag/folder.test.ts:60
↓ 2 callersFunctioncreatePledgeWithCampaign
( token: string, userId: string, campaignId: string, )
test/graphql/types/Mutation/deleteFundCampaignPledge.test.ts:305
↓ 2 callersFunctioncreateRegularUser
()
test/graphql/types/Fund/createdAt.test.ts:61
↓ 2 callersFunctioncreateRegularUser
()
test/graphql/types/FundCampaign/createdAt.test.ts:63
↓ 2 callersFunctioncreateTestChat
(adminAuthToken: string, organizationId: string)
test/graphql/types/Query/chat.test.ts:116
↓ 2 callersFunctioncreateTestChat
(adminAuthToken: string, organizationId: string)
test/graphql/types/Chat/createdAt.test.ts:120
↓ 2 callersFunctioncreateTestChat
(adminAuthToken: string, organizationId: string)
test/graphql/types/Chat/creator.test.ts:72
↓ 2 callersFunctioncreateTestComment
* Creates a test comment directly via drizzle and tracks the ID.
test/drizzle/tables/commentVotes.test.ts:95
↓ 2 callersFunctioncreateTestComment
(creatorId: string)
test/graphql/types/Comment/post.test.ts:45
↓ 2 callersFunctioncreateTestOrganization
()
test/drizzle/tables/eventAttendees.test.ts:33
↓ 2 callersFunctioncreateTestOrganization
* Creates a test organization directly via drizzle and tracks the ID.
test/drizzle/tables/commentVotes.test.ts:57
↓ 2 callersFunctioncreateTestOrganization
(adminAuthToken: string)
test/graphql/types/Mutation/createChat.test.ts:85
↓ 2 callersFunctioncreateTestOrganization
(adminAuthToken: string)
test/graphql/types/Mutation/blockUser.test.ts:59
↓ 2 callersFunctioncreateTestOrganization
(token: string)
test/graphql/types/Mutation/deleteOrganization.metrics.test.ts:25
↓ 2 callersFunctioncreateTestOrganization
(adminAuthToken: string)
test/graphql/types/Query/chat.test.ts:71
↓ 2 callersFunctioncreateTestPost
* Creates a test post directly via drizzle and tracks the ID.
test/drizzle/tables/commentVotes.test.ts:77
↓ 2 callersFunctioncreateTestUser
( role: "regular" | "administrator" = "regular", )
test/graphql/types/Query/post.test.ts:22
↓ 2 callersFunctioncreateUserAndGetToken
(userDetails = {})
test/graphql/types/Query/actionItemsByVolunteer.test.ts:45
↓ 2 callersFunctiondirectoryExists
(dirPath: string)
src/plugin/utils.ts:134
↓ 2 callersFunctiondisconnect
()
scripts/dbManagement/helpers.ts:953
↓ 2 callersFunctionemergencyCleanupBefore
( cutoffDate: Date, drizzleClient: NodePgDatabase<typeof schema>, logger: FastifyBaseLogger, )
src/workers/eventCleanupWorker.ts:285
↓ 2 callersMethodenqueueEventCreated
(payload: EventCreatedPayload)
src/services/notification/NotificationService.ts:43
↓ 2 callersFunctionensureAdminAuth
()
test/drizzle/tables/actionItemCategories.test.ts:24
↓ 2 callersFunctionensureInAppPostCreatedTemplate
()
test/drizzle/tables/NotificationAudience.test.ts:48
↓ 2 callersFunctionestimateInstanceCount
( rule: typeof recurrenceRulesTable.$inferSelect, estimationWindowMonths = 12, )
src/utilities/recurringEvent/calculation.ts:62
↓ 2 callersFunctionfetchCurrentUser
(ctx: GraphQLContext, userId: string)
src/graphql/types/FundCampaignPledge/pledger.ts:25
↓ 2 callersFunctionfindFkForColumn
(columnName: string)
test/drizzle/tables/NotificationAudience.test.ts:630
↓ 2 callersFunctionfindForeignKeyByColumn
(columnName: string)
test/drizzle/tables/EmailNotification.test.ts:165
↓ 2 callersFunctiongetAccessTtlSec
()
src/services/auth/tokens.ts:45
↓ 2 callersMethodgetActivePlugins
* Get active plugins
src/plugin/manager/core.ts:412
↓ 2 callersFunctiongetAdminToken
()
test/graphql/types/Query/chat.test.ts:28
↓ 2 callersFunctiongetAdminToken
()
test/graphql/types/Query/event.test.ts:93
↓ 2 callersMethodgetAggregatedMetricsKey
* Generate cache key for aggregated metrics by timestamp. * * @param timestamp - Timestamp identifier * @returns Cache key in format: `${CacheNa
src/services/metrics/metricsCache.ts:353
↓ 2 callersFunctiongetAuthToken
()
test/graphql/types/Query/post.test.ts:81
↓ 2 callersFunctiongetColumnName
(col: unknown)
test/drizzle/tables/NotificationAudience.test.ts:43
↓ 2 callersFunctiongetColumnName
(col: unknown)
test/drizzle/tables/commentVotes.test.ts:860
↓ 2 callersMethodgetCurrentSchema
()
test/plugin/manager/core.test.ts:25
↓ 2 callersFunctiongetDefaultCookieOptions
()
src/services/auth/authService.ts:32
↓ 2 callersFunctiongetEmailVerificationEmailHtml
( ctx: EmailVerificationContext, )
src/utilities/emailTemplates.ts:149
↓ 2 callersFunctiongetEmailVerificationEmailText
( ctx: EmailVerificationContext, )
src/utilities/emailTemplates.ts:124
↓ 2 callersMethodgetInstalledPlugins
* Get plugins that are marked as installed in the database
src/plugin/manager/core.ts:165
↓ 2 callersFunctiongetNextOccurrenceOfWeekdayTime
( referenceDate: Date, templateDate: Date, )
scripts/dbManagement/helpers.ts:856
↓ 2 callersFunctiongetOrganizationCleanupStatus
( organizationId: string, drizzleClient: NodePgDatabase<typeof schema>, )
src/workers/eventCleanupWorker.ts:217
↓ 2 callersFunctiongetOrganizationMaterializationStatus
( organizationId: string, deps: WorkerDependencies, )
src/workers/eventGeneration/windowManager.ts:169
↓ 2 callersFunctiongetOrganizationsNeedingMaterialization
( config: WindowProcessingConfig, deps: WorkerDependencies, )
src/workers/eventGeneration/windowManager.ts:45
↓ 2 callersFunctiongetPastDate
(daysAgo: number, hours = 10)
test/graphql/types/Mutation/createEvent.test.ts:67
↓ 2 callersMethodgetPluginsDirectory
* Get plugins directory
src/plugin/manager/core.ts:519
↓ 2 callersFunctiongetPostHasUserVotedData
* Helper function to safely extract hasUserVoted data from post response
test/graphql/types/Query/hasUserVoted.test.ts:150
↓ 2 callersFunctiongetUserAgent
Coerce user-agent header to string | undefined (handles string[] from IncomingHttpHeaders).
src/routes/auth.ts:43
↓ 2 callersMethodgetWindowedMetricsKey
* Generate cache key for windowed metrics (hourly or daily). * * @param windowType - Type of time window ('hourly' or 'daily') * @param date - D
src/services/metrics/metricsCache.ts:364
↓ 2 callersFunctionglobalSignInAndGetToken
()
test/graphql/types/Query/actionItemsByVolunteerGroup.test.ts:21
↓ 2 callersMethodhset
(key: string, values: Record<string, string>)
test/utilities/leakyBucket.test.ts:212
↓ 2 callersMethodimportCoreSchema
* Import all core GraphQL schema components
src/graphql/schemaManager.ts:98
↓ 2 callersMethodisAllowedFile
(filePath: string)
scripts/validate_error_handling.ts:423
↓ 2 callersFunctionisCountBasedEvent
( rule: typeof recurrenceRulesTable.$inferSelect, )
src/utilities/recurringEvent/types.ts:23
↓ 2 callersFunctionisNeverEndingEvent
( rule: typeof recurrenceRulesTable.$inferSelect, )
src/utilities/recurringEvent/types.ts:10
↓ 2 callersFunctionkillProcessTree
( pid: number | undefined, signal: "SIGTERM" | "SIGKILL", )
src/utilities/pluginDependencyInstaller.ts:110
↓ 2 callersMethodmatchesSimpleGlob
(filePath: string, pattern: string)
scripts/validate_error_handling.ts:347
↓ 2 callersMethodonUnload
(context: IPluginContext)
src/plugin/types.ts:151
↓ 2 callersFunctionoverrideDbExecute
(newExecute: () => Promise<unknown>)
test/scripts/dbManagement/helpers.test.ts:232
↓ 2 callersFunctionparsePositiveSeconds
( value: string | undefined, defaultSeconds: number, )
src/services/auth/tokens.ts:23
↓ 2 callersFunctionpingDB
()
scripts/dbManagement/helpers.ts:147
↓ 2 callersMethodpipeline
()
test/helpers/FakeRedisZ.ts:10
↓ 2 callersFunctionpromptPassword
( name: string, message: string, validate?: (input: string) => true | string, )
scripts/setup/promptHelpers.ts:84
↓ 2 callersMethodregisterActivePluginExtensions
* Register GraphQL extensions from all active plugins
src/graphql/schemaManager.ts:118
↓ 2 callersFunctionresetEmailVerificationRateLimit
(userId: string)
src/utilities/emailVerificationRateLimit.ts:84
↓ 2 callersFunctionresetPasswordResetRateLimit
(email: string)
src/utilities/passwordResetRateLimit.ts:84
↓ 2 callersMethodresolveAudienceToUserIds
* Resolves audience specification to user IDs
src/graphql/types/Notification/Notification_engine.ts:241
↓ 2 callersFunctionresolvePaths
(paths?: EnvPaths)
scripts/setup/envFileManager.ts:53
↓ 2 callersFunctionsafeCreateOrganizationAndGetId
( authToken: string, )
test/graphql/types/Query/organizationUsers.test.ts:69
↓ 2 callersFunctionserializeEnvVars
(vars: Record<string, string>)
scripts/setup/envFileManager.ts:45
↓ 2 callersMethodsetFailPipeline
(shouldFail: boolean)
test/utilities/leakyBucket.test.ts:166
↓ 2 callersMethodsetReturnEmptyZRange
(shouldReturnEmpty: boolean)
test/utilities/leakyBucket.test.ts:190
↓ 2 callersMethodsetex
(k: string, ttl: number, v: string)
test/services/caching/cacheService.test.ts:21
↓ 2 callersFunctionsetupAuthorizedMocks
()
test/graphql/types/FundCampaign/createdAt.test.ts:277
↓ 2 callersFunctionsetupCreateOrgTest
()
test/graphql/types/Mutation/createOrganization.metrics.test.ts:601
↓ 2 callersFunctionsetupRecurrenceEventwithInstances
()
test/graphql/types/Mutation/createEventVolunteer.test.ts:390
↓ 2 callersFunctionsigninAdmin
()
test/graphql/types/Chat/organization.test.ts:35
↓ 2 callersFunctiontriggerCleanupWorker
( drizzleClient: NodePgDatabase<typeof schema>, logger: FastifyBaseLogger, )
src/workers/backgroundWorkerService.ts:324
↓ 2 callersFunctiontriggerMaterializationWorker
( drizzleClient: NodePgDatabase<typeof schema>, logger: FastifyBaseLogger, )
src/workers/backgroundWorkerService.ts:306
↓ 2 callersMethodupdatePluginInDatabase
* Update plugin in database
src/plugin/manager/lifecycle.ts:457
↓ 2 callersFunctionvalidateOp
(op: string)
src/utilities/metrics/performanceTracker.ts:142
↓ 2 callersFunctionwaitFor
* Helper function to wait for a condition to become true by polling * @param condition - A function that returns true when the condition is met * @p
test/scripts/setup/apiSetup.test.ts:34
↓ 2 callersFunctionwaitForNotifications
( userId: string, authToken: string, timeoutMs = 10000, predicate?: (notification: NotificationListItem) =
test/drizzle/tables/NotificationAudience.test.ts:104
↓ 2 callersFunctionwarnAboutTablePrefixing
* Warns about automatic table name prefixing
src/plugin/utils.ts:278
↓ 2 callersFunctionwithFields
( logger: AppLogger, fields: Record<string, unknown>, )
src/utilities/logging/logger.ts:42
↓ 2 callersMethodzrange
( key: string, start: number, stop: number, withScores?: "WITHSCORES", )
test/helpers/FakeRedisZ.ts:30
↓ 1 callersFunction__resetLastCleanupAtForTests
(value = 0)
src/utilities/emailVerificationRateLimit.ts:94
↓ 1 callersFunction__resetLastCleanupAtForTests
(value = 0)
src/utilities/passwordResetRateLimit.ts:93
↓ 1 callersFunctionaddUserToChat
( adminAuthToken: string, chatId: string, memberId: string, )
test/graphql/types/Chat/createdAt.test.ts:138
↓ 1 callersFunctionaggregateCacheMetrics
* Aggregates cache metrics from multiple snapshots. * * @param snapshots - Array of performance snapshots * @returns Aggregated cache metrics
src/workers/metrics/metricsAggregationWorker.ts:85
← previousnext →1,001–1,100 of 1,648, ranked by callers