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
↓ 15 callers
Function
OrganizationCreatorResolver
( parent: Organizationtype, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Organization/creator.ts:7
↓ 15 callers
Function
calculateMedian
(values: number[])
src/utilities/metrics/dbHelpers.ts:56
↓ 15 callers
Function
colorize
* Format a message with color
src/install/utils/logger.ts:34
↓ 15 callers
Function
createMockBuilders
()
test/drizzle/tables/organization.test.ts:169
↓ 15 callers
Function
createMockMaterializedInstance
(overrides = {})
test/workers/eventCleanupWorker.test.ts:50
↓ 15 callers
Function
createRecurringEventWithInstances
( organizationId: string, creatorId: string, options: { instanceCount?: number; startDate?: Date; int
test/helpers/recurringEventTestHelpers.ts:17
↓ 15 callers
Function
createTestAdvertisement
()
test/drizzle/tables/advertisementAttachments.test.ts:61
↓ 15 callers
Function
createTestComment
* Creates a test comment on a post
test/graphql/types/Mutation/updateCommentVote.test.ts:78
↓ 15 callers
Function
createTestEvent
()
test/drizzle/tables/eventAttachments.test.ts:62
↓ 15 callers
Function
createTestOrganization
()
test/graphql/types/Mutation/updateEventVolunteer.test.ts:82
↓ 15 callers
Function
createTestOrganization
* Creates a test organization
test/graphql/types/Mutation/updateCommentVote.test.ts:37
↓ 15 callers
Function
createTestPost
* Creates a test post in an organization
test/graphql/types/Mutation/updateCommentVote.test.ts:60
↓ 15 callers
Function
createTestUser
* Helper function to create a test user for foreign key references.
test/drizzle/tables/familyMemberships.test.ts:59
↓ 15 callers
Function
createTestUser
()
test/graphql/types/Mutation/createEventVolunteer.test.ts:120
↓ 15 callers
Function
createTestUser
()
test/graphql/types/Mutation/updateEventVolunteerGroup.test.ts:104
↓ 15 callers
Function
ensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteer.test.ts:27
↓ 15 callers
Function
ensureAdminAuth
()
test/graphql/types/Mutation/updateVolunteerMembership.test.ts:27
↓ 15 callers
Function
eventAttendeesCheckInStatusResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/attendeesCheckInStatus.ts:11
↓ 15 callers
Function
eventCreatorResolver
( parent: EventType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Event/creator.ts:7
↓ 15 callers
Function
expectSpecificError
( result: CreateEventMutationResponse, expectedError: Partial<TalawaGraphQLFormattedError>, )
test/graphql/types/Mutation/createEvent.test.ts:98
↓ 15 callers
Method
getInstance
* Get singleton instance
src/utilities/auth/oauth/OAuthProviderRegistry.ts:17
↓ 15 callers
Function
hashRefreshToken
(token: string)
src/utilities/refreshTokenUtils.ts:26
↓ 15 callers
Function
isInstalled
(command: string)
src/install/utils/packageCheck.ts:14
↓ 15 callers
Method
setHash
(key: string, values: Record<string, string>)
test/utilities/leakyBucket.test.ts:223
↓ 15 callers
Function
setup
(_ctx: GlobalSetupContext)
test/setup.ts:10
↓ 15 callers
Function
stableStringify
(obj: unknown)
src/services/caching/cacheKeyGenerator.ts:53
↓ 15 callers
Function
validateFileContent
( fileName: string, content: string, )
scripts/check_sanitization.ts:47
↓ 14 callers
Function
FundCreatorResolver
( parent: Fundtype, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Fund/creator.ts:8
↓ 14 callers
Function
createCategoryFolderAgendaItem
()
test/graphql/types/Mutation/updateAgendaItem.test.ts:118
↓ 14 callers
Function
createFundCampaignPledge
( fundCampaignId: string, pledgerId: string, )
test/graphql/types/Query/fund.test.ts:1739
↓ 14 callers
Function
createMockWindowConfig
(overrides = {})
test/workers/eventGeneration/windowManager.test.ts:34
↓ 14 callers
Function
createOrganizationLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/organizationLoader.ts:36
↓ 14 callers
Function
createTestChat
(organizationId: string, creatorId: string)
test/drizzle/tables/chatMessages.test.ts:87
↓ 14 callers
Function
createTestDependencyChain
* Creates the full dependency chain (user, org, post, comment) and returns all IDs.
test/drizzle/tables/commentVotes.test.ts:113
↓ 14 callers
Function
createTestOrganization
()
test/drizzle/tables/chatMessages.test.ts:45
↓ 14 callers
Function
createTestOrganization
(authToken: string)
test/graphql/types/Mutation/updateStandaloneEvent.test.ts:19
↓ 14 callers
Function
createTestUser
()
test/drizzle/tables/chatMessages.test.ts:63
↓ 14 callers
Function
createTestUser
(email?: string)
test/graphql/types/Mutation/acceptEventInvitations.test.ts:102
↓ 14 callers
Function
ensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteerGroupForInstance.test.ts:30
↓ 14 callers
Function
ensureAdminAuth
()
test/graphql/types/Mutation/verifyEventInvitation.test.ts:19
↓ 14 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/updateAgendaFolder.test.ts:21
↓ 14 callers
Function
getFutureDate
(daysFromNow: number, hours = 10)
test/graphql/types/Mutation/createEvent.test.ts:59
↓ 14 callers
Function
getKeyPathsWithNonUndefinedValues
({ keyPaths, object, }: { keyPaths: Paths<T>[]; object: T; })
src/utilities/getKeyPathsWithNonUndefinedValues.ts:42
↓ 14 callers
Function
getProviderConfig
( provider: ProviderKey, env = process.env, )
src/config/oauth.ts:60
↓ 14 callers
Method
getProviderName
* Get the unique name identifier for this provider * @returns Provider name (e.g., "google", "github")
src/utilities/auth/oauth/interfaces/IOAuthProvider.ts:12
↓ 14 callers
Function
invalidateEntity
( cache: { del(keys: string | string[]): Promise<unknown> }, entity: string, id: string | number, )
src/services/caching/invalidation.ts:16
↓ 14 callers
Function
mockStandaloneEvent
( eventId: string, orgId: string, _userId: string, userRole: "administrator" | "member" = "administrator",
test/graphql/types/Mutation/updateStandaloneEvent.test.ts:44
↓ 14 callers
Method
rateLimit
( tier: | keyof typeof import("~/src/config/rateLimits").rateLimitTiers | RateLimitTier, )
src/fastifyPlugins/rateLimit.ts:15
↓ 14 callers
Function
read
(file: string)
test/unit/setup/AtomicEnvWriter.test.ts:31
↓ 14 callers
Function
read
(file: string)
test/unit/setup/envFileManager.test.ts:27
↓ 14 callers
Function
tagFolderCreatorResolver
( parent: TagFolderType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/TagFolder/creator.ts:21
↓ 14 callers
Method
trackCacheMiss
* Record a cache miss.
src/utilities/metrics/performanceTracker.ts:72
↓ 14 callers
Function
validateCloudBeaverAdmin
(input: string)
scripts/setup/validators.ts:83
↓ 14 callers
Function
validateFileContent
( content: string, filePath: string, config: TSDocConfiguration, )
test/scripts/check_tsdoc.test.ts:83
↓ 14 callers
Function
validatePortNumbers
(answers: SetupAnswers)
scripts/setup/setup.ts:248
↓ 14 callers
Function
wrapBatchWithMetrics
( op: string, perf: PerformanceTracker, batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, )
src/utilities/metrics/withMetrics.ts:18
↓ 14 callers
Function
wrapWithCache
( batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, opts: WrapWithCacheOptions<K, V>, )
src/services/caching/wrappers.ts:69
↓ 14 callers
Function
zParseOrThrow
( schema: TSchema, data: unknown, )
src/graphql/validators/helpers.ts:62
↓ 13 callers
Function
VolunteerMembershipVolunteerResolver
( parent: VolunteerMembershipType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerMembership/volunteer.ts:10
↓ 13 callers
Method
_create_temp_file
Create a temporary file with given content.
test/scripts/test_disable_statements_check.py:39
↓ 13 callers
Function
advertisementUpdaterResolver
( parent: AdvertisementType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/Advertisement/updater.ts:8
↓ 13 callers
Method
buildInitialSchema
* Build the initial schema
src/graphql/schemaManager.ts:42
↓ 13 callers
Function
calculateMean
(values: number[])
src/utilities/metrics/dbHelpers.ts:20
↓ 13 callers
Function
compareVersions
(v1: string, v2: string)
src/install/utils/packageCheck.ts:123
↓ 13 callers
Function
createActionItemLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/actionItemLoader.ts:36
↓ 13 callers
Function
createEventLoader
( db: DrizzleClient, cache: CacheService | null, perf?: PerformanceTracker, )
src/utilities/dataloaders/eventLoader.ts:36
↓ 13 callers
Function
createOrgMembership
( authToken: string, organizationId: string, memberId: string, )
test/graphql/types/ActionItem/organization.test.ts:99
↓ 13 callers
Function
createRegularUser
()
test/graphql/types/Query/fund.test.ts:1543
↓ 13 callers
Function
createTestActionItem
( authToken: string, categoryId: string, organizationId: string, volunteerId: string, )
test/graphql/types/ActionItem/organization.test.ts:181
↓ 13 callers
Function
createTestAttachment
(postId: string)
test/graphql/types/Post/sorting.test.ts:130
↓ 13 callers
Function
createTestComment
* Helper function to create a test organization, post, and comment
test/graphql/types/Comment/hasUserVoted.test.ts:159
↓ 13 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/updateEventVolunteer.test.ts:119
↓ 13 callers
Function
createTestEvent
(organizationId: string)
test/graphql/types/Mutation/sendEventInvitations.test.ts:136
↓ 13 callers
Function
createTestOrganization
()
test/graphql/types/Mutation/sendEventInvitations.test.ts:73
↓ 13 callers
Function
createUser
()
test/graphql/types/Mutation/createChatMessage.test.ts:54
↓ 13 callers
Function
deleteChatMessageResolver
( _parent: unknown, args: z.infer<typeof mutationDeleteChatMessageArgumentsSchema>, ctx: GraphQLContext, )
src/graphql/types/Mutation/deleteChatMessage.ts:24
↓ 13 callers
Function
ensureAdminAuth
()
test/graphql/types/Mutation/deleteEventVolunteerForInstance.test.ts:30
↓ 13 callers
Function
eventAttendeeCreatedAtResolver
( parent: EventAttendeeType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventAttendee/createdAt.ts:9
↓ 13 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/createAgendaItem.test.ts:25
↓ 13 callers
Function
getAdminAuth
()
test/graphql/types/Mutation/createTag.test.ts:25
↓ 13 callers
Function
getUserAuthToken
( emailAddress: string, password: string, )
test/graphql/types/Mutation/createChatMessage.test.ts:79
↓ 13 callers
Function
hashEmailVerificationToken
(token: string)
src/utilities/emailVerificationTokenUtils.ts:46
↓ 13 callers
Function
loadOAuthConfig
(env = process.env)
src/config/oauth.ts:17
↓ 13 callers
Function
makeCtx
(isAdmin = true, userId = "1")
test/graphql/types/Mutation/uploadPluginZip.test.ts:90
↓ 13 callers
Function
makeCtx
(overrides: Partial<TestCtx> = {})
test/graphql/types/Mutation/plugin/deletePlugin.test.ts:60
↓ 13 callers
Function
makeCtx
(overrides: Partial<TestCtx> = {})
test/graphql/types/Mutation/plugin/createPlugin.test.ts:68
↓ 13 callers
Function
maskEmail
(email: string)
src/utilities/maskEmail.ts:14
↓ 13 callers
Function
pledgerResolver
( parent: FundCampaignPledgeType, _args: Record<string, unknown>, ctx: GraphQLContext, )
src/graphql/types/FundCampaignPledge/pledger.ts:10
↓ 13 callers
Function
resolveOrganizationsWhereMember
( parent: User, args: { filter?: string | null }, ctx: ContextType, )
src/graphql/types/User/organizationsWhereMember.ts:77
↓ 13 callers
Function
setupWorkerMocks
* 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 callers
Function
sha256
(s: string)
src/services/auth/refreshStore.ts:15
↓ 13 callers
Function
validateCloudBeaverPassword
(input: string)
scripts/setup/validators.ts:98
↓ 13 callers
Function
wrapBatchWithTracing
( name: string, batchFn: (keys: readonly K[]) => Promise<(V | null)[]>, )
src/utilities/dataloaders/wrapBatchWithTracing.ts:18
↓ 12 callers
Method
activatePlugin
* Activate a plugin
src/plugin/manager/core.ts:329
↓ 12 callers
Function
addVoteToComment
( commentId: string, userId: string, type: "up_vote" | "down_vote", )
test/graphql/types/Comment/upVotesCount.test.ts:135
↓ 12 callers
Function
addVoteToComment
( commentId: string, userId: string, type: "up_vote" | "down_vote", )
test/graphql/types/Comment/downVotesCount.test.ts:135
↓ 12 callers
Function
assertOrganizationAdmin
( currentUser: HasRole | undefined, membership: HasRole | undefined, errorMessage: string, )
src/utilities/authorization.ts:7
↓ 12 callers
Function
assertValidationError
(errorObj: unknown)
test/routes/graphqlErrorValidation.test.ts:145
↓ 12 callers
Function
createOrg
()
test/graphql/types/Organization/advertisement.test.ts:13
↓ 12 callers
Function
createOrgCategoryVolunteerActionItem
()
test/graphql/types/Mutation/updateActionItem.test.ts:134
← previous
next →
201–300 of 1,648, ranked by callers