MCPcopy Create free account

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

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

↓ 1 callersFunctionremovePluginDirectory
(pluginId: string)
src/plugin/utils.ts:587
↓ 1 callersMethodremoveSchemaUpdateCallback
* Remove a schema update callback
src/graphql/schemaManager.ts:244
↓ 1 callersFunctionreplaceLinks
(dir)
scripts/docs/fix-readme-links.js:6
↓ 1 callersFunctionreplaceRepoUrl
(dir)
scripts/docs/fix-repo-url.js:8
↓ 1 callersMethodrequireAuth
()
src/fastifyPlugins/auth.ts:28
↓ 1 callersFunctionresolveActionItems
( parent: ActionItemCategoryType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/ActionItemCategory/actionItems.ts:11
↓ 1 callersFunctionresolveCleanup
()
test/unit/setup/gracefulCleanup.test.ts:235
↓ 1 callersFunctionresolveNode
(node: ts.Node)
scripts/check_sanitization.ts:161
↓ 1 callersFunctionretryMembershipCreation
( authToken: string, orgId: string, adminUserId: string, )
test/graphql/types/AgendaFolder/updatedAt.test.ts:175
↓ 1 callersFunctionretryWithRateLimitCheck
* Retry function with exponential backoff for handling rate limits. * Handles rate limit errors returned in GraphQL response errors array. * Note: T
test/graphql/types/createRegularUserUsingAdmin.ts:49
↓ 1 callersFunctionrun
()
scripts/dbManagement/addSampleData.ts:70
↓ 1 callersMethodscan
( _cursor: string, _match: string, pattern: string, _count: string, _countValue: number, )
test/services/caching/cacheService.test.ts:33
↓ 1 callersFunctionsearch
(n: ts.Node)
scripts/verify_mock_isolation.ts:67
↓ 1 callersMethodsendEmail
* Send a single email using AWS SES
src/services/email/providers/SESProvider.ts:107
↓ 1 callersMethodset
(key: string, value: T, _ttlSeconds: number)
test/helpers/performanceTestUtils.ts:39
↓ 1 callersMethodset
(key: string, value: T, ttlSeconds: number)
test/services/metrics/metricsCache.test.ts:25
↓ 1 callersMethodsetFailPipelineCommand
(shouldFail: boolean)
test/utilities/leakyBucket.test.ts:174
↓ 1 callersMethodsetFailPipelineCommandOnSecondExec
(shouldFail: boolean)
test/utilities/leakyBucket.test.ts:182
↓ 1 callersMethodsetReturnNullPipeline
(shouldReturnNull: boolean)
test/utilities/leakyBucket.test.ts:170
↓ 1 callersMethodsetReturnNullPipelineOnSecondExec
(shouldReturnNull: boolean)
test/utilities/leakyBucket.test.ts:178
↓ 1 callersFunctionsetup
()
scripts/setup/setup.ts:1191
↓ 1 callersMethodsetupPluginListeners
* Setup listeners for plugin events that require schema rebuilds
src/graphql/schemaManager.ts:24
↓ 1 callersFunctionsetupTestData
(authToken: string, userId: string)
test/graphql/types/Query/event.test.ts:201
↓ 1 callersFunctionshouldGenerateForDaily
* Checks if an instance should be generated for a daily recurring event on a given date. * * @param date - The date to check. * @param recurrenceRu
src/services/eventGeneration/occurrenceCalculator.ts:309
↓ 1 callersFunctionshouldGenerateForMonthly
* Checks if an instance should be generated for a monthly recurring event on a given date, * handling complex patterns like "the first Friday of the
src/services/eventGeneration/occurrenceCalculator.ts:348
↓ 1 callersFunctionshouldGenerateForWeekly
* Checks if an instance should be generated for a weekly recurring event on a given date, * based on the `byDay` filter in the recurrence rule. * *
src/services/eventGeneration/occurrenceCalculator.ts:325
↓ 1 callersFunctionshouldGenerateForYearly
* Checks if an instance should be generated for a yearly recurring event on a given date, * based on `byMonth` and `byMonthDay` filters in the recurr
src/services/eventGeneration/occurrenceCalculator.ts:389
↓ 1 callersFunctionstep
( stepNumber: number, totalSteps: number, message: string, )
src/install/utils/logger.ts:78
↓ 1 callersFunctionsubHeader
(title: string)
src/install/utils/logger.ts:102
↓ 1 callersFunctionsuccess
(message: string)
src/install/utils/logger.ts:48
↓ 1 callersMethodtestValidateConfig
()
test/utilities/auth/oauth/BaseOAuthProvider.test.ts:46
↓ 1 callersMethodtoJSON
* Converts the error to a standardized JSON response format. * * This method is used by the global error handler to create consistent * error re
src/utilities/errors/TalawaRestError.ts:95
↓ 1 callersFunctiontransformEventsConnectionArguments
( arg: z.infer<typeof eventsConnectionArgumentsSchema> & { startDate?: Date; endDate?: Date; includeRec
src/graphql/types/Organization/events.ts:51
↓ 1 callersFunctionupdateMaterializationConfig
( config: Partial<WorkerConfig>, logger: FastifyBaseLogger, )
src/workers/backgroundWorkerService.ts:435
↓ 1 callersFunctionupdateRetentionStartDate
* Updates the retention start date in the window configuration for an organization. * * @param windowId - The ID of the window configuration to upda
src/workers/eventCleanupWorker.ts:144
↓ 1 callersFunctionvalidateActionItemTypeConstraints
( isCompleted: boolean, input: { postCompletionNotes?: string | null; }, )
src/graphql/types/Mutation/updateActionItem.ts:116
↓ 1 callersFunctionvalidateAgendaItemTypeConstraints
( type: string, input: { duration?: string | null | undefined; key?: string | null | undefin
src/graphql/types/Mutation/updateAgendaItem.ts:121
↓ 1 callersFunctionvalidateComment
* Validates a single TSDoc comment block. * @param comment - The comment text including delimiters * @param config - TSDoc parser configuration * @
scripts/check_tsdoc.ts:96
↓ 1 callersFunctionvalidateField
* Validates a single cron field (may contain comma-separated tokens).
scripts/setup/validators.ts:268
↓ 1 callersFunctionvalidateFile
* Validates all TSDoc comments in a file. * @param filePath - Path to the TypeScript file * @param config - TSDoc parser configuration * @returns A
scripts/check_tsdoc.ts:111
↓ 1 callersFunctionvalidatePluginManifest
( manifest: unknown, )
src/plugin/utils.ts:13
↓ 1 callersFunctionvalidateRecurrenceRule
( rule: typeof recurrenceRulesTable.$inferSelect, )
src/utilities/recurringEvent/validation.ts:97
↓ 1 callersFunctionvalidateToken
* Validates a single cron token within a field's range.
scripts/setup/validators.ts:219
↓ 1 callersFunctionvisit
(node: ts.Node)
scripts/verify_mock_isolation.ts:33
↓ 1 callersFunctionvisit
(node: ts.Node)
scripts/check_sanitization.ts:207
↓ 1 callersFunctionwalk
(dir)
scripts/docs/fix-mdx-generics.js:46
↓ 1 callersFunctionwarn
(message: string)
src/install/utils/logger.ts:55
↓ 1 callersMethodzadd
(key: string, score: number, member: string)
test/helpers/FakeRedisZ.ts:26
↓ 1 callersMethodzcard
(key: string)
test/helpers/FakeRedisZ.ts:22
↓ 1 callersMethodzremrangebyscore
( key: string, min: number | string, max: number | string, )
test/helpers/FakeRedisZ.ts:14
FunctionActionButton
({ href, type = "primary", target, children, buttonClassName, }: ActionButtonProps)
docs/src/utils/ActionButton.tsx:12
FunctionHeaderHero
()
docs/src/components/layout/HeaderHero.tsx:5
FunctionHeading
({ text, ...props })
docs/src/utils/Heading.tsx:8
FunctionHomeCallToAction
()
docs/src/utils/HomeCallToAction.tsx:6
FunctionIndex
()
docs/src/pages/index.tsx:7
FunctionRecurringEventInstanceResolver
( parent: EventVolunteerGroupType, _args: Record<string, never>, ctx: GraphQLContext, )
src/graphql/types/EventVolunteerGroup/recurringEventInstance.ts:6
FunctionSection
({ element = "section", children, className, background = "light", }: SectionProps)
docs/src/utils/Section.tsx:11
Function__resetMock
()
test/workers/backgroundWorkerService.metrics.test.ts:34
Function__resetMock
()
test/workers/backgroundWorkerService.test.ts:34
FunctionactionItemUpdatedAtResolver
( parent: ActionItemType, _args: unknown, ctx: GraphQLContext, )
src/graphql/types/ActionItem/updatedAt.ts:5
MethodactivatePlugin
* Activate a plugin - trigger schema rebuild
src/plugin/manager/lifecycle.ts:137
FunctionauthPlugin
* Registers a global preHandler hook that populates `req.currentUser` from a valid access JWT * (via getTokenFromRequest and verifyToken with AccessP
src/fastifyPlugins/auth.ts:66
FunctionauthRoutes
(fastify)
src/routes/auth.ts:71
FunctionbackgroundWorkersPlugin
(fastify: FastifyInstance)
src/plugins/backgroundWorkers.ts:14
FunctionbackgroundWorkersPlugin
(fastify: FastifyInstance)
src/fastifyPlugins/backgroundWorkers.ts:18
FunctionbatchFn
( ids: readonly string[], )
src/utilities/dataloaders/eventLoader.ts:41
FunctionbatchFn
( ids: readonly string[], )
src/utilities/dataloaders/organizationLoader.ts:41
FunctionbatchFn
( ids: readonly string[], )
src/utilities/dataloaders/actionItemLoader.ts:41
Methodclear
()
test/utilities/leakyBucket.test.ts:218
FunctionclearByPattern
* Clear all keys matching a pattern. Forwarded without metrics. * * @param pattern - Glob-style pattern used to match keys to clear. * @retur
src/services/metrics/metricsCacheProxy.ts:88
MethodclearByPattern
(pattern: string)
test/helpers/performanceTestUtils.ts:50
MethodclearByPattern
(pattern: string)
test/services/metrics/metricsCache.test.ts:38
MethodclearByPattern
(pattern: string)
src/services/caching/RedisCacheService.ts:76
FunctionclearMailpitMessages
()
test/helpers/mailpitHelpers.ts:144
Functionconstructor
(providerName: string, config: OAuthConfig)
src/utilities/auth/oauth/providers/BaseOAuthProvider.ts:26
Methodconstructor
(options: { extensions?: { issues?: Array<{ message?: string }> }; })
test/utilities/pluginInstaller.test.ts:150
Methodconstructor
(message: string)
test/utilities/auth/oauth/GoogleOAuthProvider.test.ts:58
Methodconstructor
(private name: string)
test/utilities/auth/oauth/OAuthProviderRegistry.test.ts:11
Methodconstructor
(message: string)
test/utilities/auth/oauth/GitHubOAuthProvider.test.ts:24
Methodconstructor
(message: string)
test/utilities/auth/oauth/BaseOAuthProvider.test.ts:25
Methodconstructor
()
test/fastifyPlugins/performance.config.test.ts:486
Methodconstructor
(message: string)
src/createServer.ts:39
Methodconstructor
( private pluginsDirectory: string, private loadedPlugins: Map<string, ILoadedPlugin>, private extension
src/plugin/manager/extensions.ts:23
Methodconstructor
(private pluginContext: IPluginContext)
src/plugin/manager/registry.ts:14
Methodconstructor
( private pluginContext: IPluginContext, private loadedPlugins: Map<string, ILoadedPlugin>, private exte
src/plugin/manager/lifecycle.ts:41
Methodconstructor
(context: IPluginContext, pluginsDir?: string)
src/plugin/manager/core.ts:62
Methodconstructor
* Creates a new TalawaGraphQLError instance. * * @param options - Error configuration object containing: * - message: Optional custom error me
src/utilities/TalawaGraphQLError.ts:383
Methodconstructor
()
src/utilities/auth/oauth/OAuthProviderRegistry.ts:12
Methodconstructor
( message: string, public code: string, public statusCode?: number, )
src/utilities/auth/oauth/errors.ts:5
Methodconstructor
(message = "Invalid authorization code")
src/utilities/auth/oauth/errors.ts:20
Methodconstructor
(message = "Token exchange failed", details?: string)
src/utilities/auth/oauth/errors.ts:31
Methodconstructor
(message = "Failed to fetch user profile")
src/utilities/auth/oauth/errors.ts:46
Methodconstructor
* Creates a new GitHub OAuth provider instance. * * @param config - OAuth configuration containing client credentials and settings
src/utilities/auth/oauth/providers/GitHubOAuthProvider.ts:26
Methodconstructor
(config: import("../types").OAuthConfig)
src/utilities/auth/oauth/providers/GoogleOAuthProvider.ts:42
Methodconstructor
* Creates a new TalawaRestError instance. * * @param args - Error configuration object containing: * - code: Standardized error code from Erro
src/utilities/errors/TalawaRestError.ts:53
Methodconstructor
( emailService: IEmailProvider, ctx: Pick<GraphQLContext, "drizzleClient" | "log">, )
src/services/email/EmailQueueProcessor.ts:17
Methodconstructor
* Creates an instance of SESProvider. * @param config - The SES configuration object containing region and credentials.
src/services/email/providers/SESProvider.ts:44
Methodconstructor
* Creates an instance of SMTPProvider. * @param config - The SMTP configuration object containing host, port, and credentials.
src/services/email/providers/SMTPProvider.ts:51
Methodconstructor
( private readonly cache: CacheService, private readonly logger?: Logger, private readonly defaultTtlSec
src/services/metrics/metricsCache.ts:22
Methodconstructor
( private readonly redis: RedisLike, private readonly logger: Logger, )
src/services/caching/RedisCacheService.ts:41
← previousnext →1,301–1,400 of 1,648, ranked by callers