MCPcopy Create free account

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

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

↓ 22 callersMethodloadPlugin
* Load a specific plugin
src/plugin/manager/core.ts:189
↓ 22 callersMethodmanageDocker
( pluginId: string, manifest: IPluginManifest, action: "install" | "activate" | "deactivate" | "uninstal
src/plugin/manager/lifecycle.ts:607
↓ 22 callersFunctionvalidatePort
(input: string)
scripts/setup/validators.ts:44
↓ 21 callersFunctionVolunteerMembershipUpdatedByResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/updatedBy.ts:10
↓ 21 callersFunctionaddMembership
( organizationId: string, memberId: string, role: "administrator" | "regular", )
test/graphql/types/Mutation/updateThisAndFollowingEvents.test.ts:25
↓ 21 callersMethodcacheAggregatedMetrics
* Cache aggregated metrics with a timestamp identifier. * * @param metrics - The aggregated metrics to cache * @param timestamp - Timestamp iden
src/services/metrics/metricsCache.ts:41
↓ 21 callersFunctioncreateMockEvent
( id: string, isInviteOnly: boolean, creatorId: string, eventType: "standalone" | "generated" = "stand
test/graphql/types/Query/eventQueries/filterInviteOnlyEvents.test.ts:34
↓ 21 callersFunctioncreateTestPledge
* Helper to create a pledge
test/graphql/types/FundCampaign/pledges.integration.test.ts:204
↓ 21 callersFunctioncreateTestUser
* Helper to create a user for pledging
test/graphql/types/FundCampaign/pledges.integration.test.ts:163
↓ 21 callersFunctionerrToError
(err: unknown)
scripts/setup/AtomicEnvWriter.ts:15
↓ 21 callersFunctionfilterInviteOnlyEvents
( input: FilterInviteOnlyEventsInput, )
src/graphql/types/Query/eventQueries/unifiedEventQueries.ts:74
↓ 21 callersFunctiongetAdminAuthToken
()
test/graphql/types/Mutation/updateSingleRecurringEventInstance.test.ts:45
↓ 21 callersFunctioninitializePluginSystem
( context: IPluginContext, pluginsDirectory?: string, )
src/plugin/registry.ts:35
↓ 21 callersFunctionmakeCtx
(overrides: Partial<TestCtx> = {})
test/graphql/types/Mutation/plugin/installPlugin.test.ts:58
↓ 21 callersFunctionpromptList
( name: string, message: string, choices: string[], defaultValue?: string, )
scripts/setup/promptHelpers.ts:37
↓ 20 callersFunctionVolunteerMembershipCreatedByResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/createdBy.ts:10
↓ 20 callersFunctioncreateContext
(initialContext)
src/routes/graphql.ts:140
↓ 20 callersFunctioncreateMockChildProcess
( options: { stdout?: string; stderr?: string; exitCode?: number; error?: Error; } = {}, )
test/utilities/pluginDependencyInstaller.test.ts:20
↓ 20 callersFunctioncreateMockDb
()
test/services/auth/authService.test.ts:43
↓ 20 callersFunctioncreateOrganizationAndGetId
(authToken: string)
test/graphql/types/Mutation/updateThisAndFollowingEvents.test.ts:41
↓ 20 callersFunctioncreateTagFolder
( adminAuthToken: string, organizationId: string, name?: string, parentFolderId?: string, )
test/graphql/types/Mutation/updateTagFolder.test.ts:68
↓ 20 callersFunctioneventAttendeeEventResolver
( parent: EventAttendeeType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventAttendee/event.ts:20
↓ 20 callersFunctioneventAttendeesResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/attendees.ts:10
↓ 20 callersFunctionfileExists
(filePath: string)
scripts/setup/AtomicEnvWriter.ts:276
↓ 20 callersMethodgetUserProfile
* Fetch user profile information using access token * @param accessToken - OAuth access token * @returns User profile with provider ID, email, and
src/utilities/auth/oauth/interfaces/IOAuthProvider.ts:33
↓ 20 callersFunctioninstallPluginFromZip
( options: PluginInstallationOptions, )
src/utilities/pluginInstaller/installation.ts:18
↓ 19 callersFunctionVolunteerMembershipCreatedAtResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/createdAt.ts:7
↓ 19 callersFunctionVolunteerMembershipGroupResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/group.ts:10
↓ 19 callersFunctioncheckAndInsertData
( table: PgTable, rows: T[], conflictTarget: AnyPgColumn | AnyPgColumn[], batchSize: number, )
scripts/dbManagement/helpers.ts:160
↓ 19 callersFunctioncleanupFundAndOrg
( adminAuthToken: string, fundId: string, orgId: string, )
test/graphql/types/Mutation/createFund.test.ts:52
↓ 19 callersFunctioncreateMockVolunteers
()
test/graphql/types/Event/volunteers.test.ts:38
↓ 19 callersFunctioncreateTestEvent
()
test/drizzle/tables/eventAttendees.test.ts:75
↓ 19 callersFunctioncreateTestFund
* Helper to create a fund for testing
test/graphql/types/FundCampaign/pledges.integration.test.ts:116
↓ 19 callersFunctioncreateTestFundCampaign
* Helper to create a fund campaign for testing
test/graphql/types/FundCampaign/pledges.integration.test.ts:135
↓ 19 callersFunctioncreateTestOrganization
* Helper to create a unique organization for testing
test/graphql/types/FundCampaign/pledges.integration.test.ts:76
↓ 19 callersFunctioncreateUser
()
test/graphql/types/Mutation/createChatMembership.test.ts:51
↓ 19 callersFunctionemailSetup
(answers: SetupAnswers)
scripts/setup/emailSetup.ts:42
↓ 19 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/sendEventInvitations.test.ts:23
↓ 19 callersFunctionformatExpiryTime
(expirySeconds: number)
src/utilities/emailTemplates.ts:92
↓ 19 callersFunctiongetAdminAuth
()
test/graphql/types/Mutation/updateAgendaItem.test.ts:30
↓ 19 callersFunctiongetInstanceId
(instanceIds: string[], index: number)
test/graphql/types/Mutation/updateEntireRecurringEventSeries.test.ts:19
↓ 19 callersMethodmatchesGlobPattern
(filePath: string, pattern: string)
scripts/validate_error_handling.ts:323
↓ 19 callersFunctionmetricsCacheProxy
( cache: TCache, perf: { trackCacheHit: () => void; trackCacheMiss: () => void; }, logger?: FastifyBas
src/services/metrics/metricsCacheProxy.ts:12
↓ 19 callersFunctionrecordMessageId
(message?: { id?: string | null })
test/drizzle/tables/chatMessages.test.ts:39
↓ 19 callersFunctionupdaterResolver
( parent: FundCampaignType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/FundCampaign/updater.ts:10
↓ 19 callersFunctionwrite
(file: string, content: string)
test/unit/setup/envFileManager.test.ts:23
↓ 18 callersFunctioncreateRecurringEventWithInstances
( organizationId: string, creatorId: string, )
test/graphql/types/Mutation/updateThisAndFollowingEvents.test.ts:64
↓ 18 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/createEventVolunteer.test.ts:30
↓ 18 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/updateEventVolunteerGroup.test.ts:27
↓ 18 callersFunctiongetAdminAuth
()
test/graphql/types/Mutation/updateTagFolder.test.ts:23
↓ 18 callersFunctiongetAdminAuthToken
()
test/graphql/types/Comment/hasUserVoted.test.ts:45
↓ 18 callersFunctiongetTimeWindows
( startTime: Date, endTime: Date, options?: TimeWindowOptions, )
src/utilities/metrics/dbHelpers.ts:249
↓ 18 callersFunctionresolveEvent
( parent: AgendaItemType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/AgendaItem/event.ts:9
↓ 18 callersFunctiontagCreatorResolver
( parent: TagType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Tag/creator.ts:21
↓ 18 callersMethodtrackCacheHit
* Record a cache hit.
src/utilities/metrics/performanceTracker.ts:67
↓ 18 callersMethodtrackDb
* Record a database operation duration. * @param ms - Duration in milliseconds
src/utilities/metrics/performanceTracker.ts:62
↓ 18 callersFunctionvalidateEmail
(input: string)
scripts/setup/validators.ts:64
↓ 17 callersFunctionEventVolunteerGroupVolunteersResolver
( parent: EventVolunteerGroupType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerGroup/volunteers.ts:11
↓ 17 callersFunctionVolunteerMembershipEventResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/event.ts:10
↓ 17 callersFunctioncalculateInstanceOccurrences
( config: OccurrenceCalculationConfig, logger: ServiceDependencies["logger"], )
src/services/eventGeneration/occurrenceCalculator.ts:20
↓ 17 callersMethodclearByPattern
* Delete all keys matching a glob pattern. * Uses SCAN internally to avoid blocking Redis. * @param pattern - Glob pattern (e.g., "talawa:v1:user:
src/services/caching/CacheService.ts:32
↓ 17 callersFunctioncreateFileMetadata
(name: string, mimeType: string)
test/graphql/inputs/MutationCreateAdvertisementInputAttachments.test.ts:19
↓ 17 callersFunctioncreateMockCache
* Creates a mock CacheService for testing.
test/graphql/utils/withResolverCache.test.ts:8
↓ 17 callersFunctioncreateOrgAndVenue
()
test/graphql/types/Mutation/updateVenue.test.ts:61
↓ 17 callersFunctioncreateOrganization
(adminAuthToken: string)
test/graphql/types/Mutation/updateTagFolder.test.ts:49
↓ 17 callersFunctioncreateTestEventVolunteer
( userId: string, eventId: string, creatorId: string, hasAccepted = false, isPublic = true, hoursVolunte
test/graphql/types/Mutation/updateEventVolunteer.test.ts:162
↓ 17 callersFunctioncreateTestOrganization
* Helper function to create a test organization for foreign key references.
test/drizzle/tables/chats.test.ts:26
↓ 17 callersFunctioncreateTestPost
()
test/drizzle/tables/postAttachments.test.ts:67
↓ 17 callersFunctioncreateTestUser
* Creates a test user in the database with optional field overrides. * @param overrides - Optional object to override default user values * @param
test/drizzle/tables/users.test.ts:62
↓ 17 callersFunctioncreateTestUser
()
test/graphql/types/Mutation/deleteEventVolunteerGroup.test.ts:106
↓ 17 callersFunctiondecodeCursor
(encodedCursor: string)
test/utilities/defaultGraphQlConnection.test.ts:20
↓ 17 callersFunctiongetPluginManagerInstance
()
src/plugin/registry.ts:61
↓ 17 callersFunctionisPerformanceTracker
( value: unknown, )
src/utilities/metrics/performanceTracker.ts:270
↓ 17 callersFunctionsetupAuthorizedMocks
()
test/graphql/types/FundCampaign/updater.test.ts:14
↓ 17 callersFunctionwithResolverCache
( options: WithResolverCacheOptions<TParent, TArgs, TContext, TResult>, resolver: ( parent: TParent, arg
src/graphql/utils/withResolverCache.ts:96
↓ 16 callersFunctionEventVolunteerStatusResolver
( parent: EventVolunteerType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteer/volunteerStatus.ts:12
↓ 16 callersFunctionaddUserToOrg
( userId: string, orgId: string, )
test/graphql/types/Query/fund.test.ts:1797
↓ 16 callersFunctionbuildOAuthProviderRegistry
()
src/utilities/auth/oauth/providerFactory.ts:11
↓ 16 callersFunctioncreateDataloaders
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/index.ts:53
↓ 16 callersFunctioncreateFundCampaign
(fundId: string)
test/graphql/types/Query/fund.test.ts:1681
↓ 16 callersFunctioncreateMockVolunteerGroups
()
test/graphql/types/Event/volunteerGroups.test.ts:37
↓ 16 callersFunctioncreateTestOrganization
(token: string)
test/graphql/types/Mutation/createAdvertisement.test.ts:39
↓ 16 callersFunctioncreateTestOrganization
(authToken: string)
test/graphql/types/Mutation/updateSingleRecurringEventInstance.test.ts:60
↓ 16 callersFunctioncreateTestPost
()
test/drizzle/tables/postVotes.test.ts:68
↓ 16 callersMethoddel
* Delete one or more keys from the cache. * @param keys - Single key or array of keys to delete.
src/services/caching/CacheService.ts:25
↓ 16 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/createVolunteerMembership.test.ts:32
↓ 16 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteerGroup.test.ts:29
↓ 16 callersFunctionensureAdminAuth
()
test/graphql/types/Mutation/acceptEventInvitations.test.ts:27
↓ 16 callersFunctiongetNextOccurrenceDate
( currentDate: Date, recurrenceRule: typeof recurrenceRulesTable.$inferSelect, )
src/services/eventGeneration/occurrenceCalculator.ts:420
↓ 16 callersMethodgetTestLifecycle
()
test/plugin/manager/core.test.ts:105
↓ 16 callersFunctiongetVersion
(command: string)
src/install/utils/packageCheck.ts:39
↓ 16 callersFunctioninvalidateEntityLists
( cache: { clearByPattern(pattern: string): Promise<unknown> }, entity: string, )
src/services/caching/invalidation.ts:37
↓ 16 callersFunctionisBooleanString
(input: unknown)
scripts/setup/setup.ts:205
↓ 16 callersFunctionmockRecurringEventInstance
( instanceId: string, orgId: string, userId: string, userRole: "administrator" | "member" = "administrator
test/graphql/types/Mutation/updateSingleRecurringEventInstance.test.ts:87
↓ 16 callersFunctionrunBestEffortInvalidation
( promises: Promise<unknown>[], entity: string, logger: FastifyBaseLogger, )
src/graphql/utils/runBestEffortInvalidation.ts:12
↓ 16 callersMethodtestPost
( url: string, data: Record<string, string> | URLSearchParams, headers?: Record<string, string>, )
test/utilities/auth/oauth/BaseOAuthProvider.test.ts:56
↓ 16 callersFunctionvalidateCloudBeaverURL
(input: string)
scripts/setup/validators.ts:137
↓ 16 callersFunctionwithQueryMetrics
( options: WithQueryMetricsOptions, resolver: ( parent: TParent, args: TArgs, context: TContext, ) =>
src/graphql/utils/withQueryMetrics.ts:47
↓ 16 callersFunctionwrite
(file: string, content: string)
test/unit/setup/AtomicEnvWriter.test.ts:27
↓ 15 callersFunctionEventVolunteerGroupsResolver
( parent: EventVolunteerType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteer/groups.ts:11
← previousnext →101–200 of 1,648, ranked by callers