MCPcopy Create free account

hub / github.com/ahmetuysal/nest-hackathon-starter / functions

Functions50 in github.com/ahmetuysal/nest-hackathon-starter

↓ 2 callersMethodfromUserEntity
(entity: User)
src/user/models/user.response.ts:20
↓ 2 callersMethodgetUserEntityById
(id: number)
src/user/user.service.ts:10
↓ 2 callersMethodgetUserEntityByUsername
( username: string, )
src/user/user.service.ts:16
↓ 2 callersMethodisEmailAvailable
(email: string)
src/auth/auth.service.ts:324
↓ 2 callersFunctionmockUser
(fields?: Partial<AuthUser>)
test/utils/mock-user.ts:3
↓ 2 callersMethodsendVerifyEmailMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:39
↓ 1 callersFunctionbootstrap
()
src/main.ts:8
↓ 1 callersMethodisUsernameAvailable
(username: string)
src/auth/auth.service.ts:316
↓ 1 callersMethodsendPasswordChangeInfoMail
( name: string, email: string, )
src/mail-sender/mail-sender.service.ts:157
↓ 1 callersMethodsendResetPasswordMail
(email: string)
src/auth/auth.service.ts:179
↓ 1 callersMethodvalidateUser
(payload: JwtPayload)
src/auth/auth.service.ts:264
↓ 1 callersMethodverifyEmail
(token: string)
src/auth/auth.service.ts:99
MethodchangeEmail
(token: string)
src/auth/auth.service.ts:160
MethodchangeEmail
(@Query('token') token: string)
src/auth/auth.controller.ts:102
MethodchangePassword
( changePasswordRequest: ChangePasswordRequest, userId: number, name: string, email: string,
src/auth/auth.service.ts:244
MethodchangePassword
( @Body() changePasswordRequest: ChangePasswordRequest, @Usr() user: AuthUser, )
src/auth/auth.controller.ts:115
MethodcheckEmailAvailability
( @Body() checkEmailRequest: CheckEmailRequest, )
src/auth/auth.controller.ts:49
MethodcheckUsernameAvailability
( @Body() checkUsernameRequest: CheckUsernameRequest, )
src/auth/auth.controller.ts:38
Methodconstructor
( private readonly prisma: PrismaService, private readonly userService: UserService, private reado
src/auth/auth.service.ts:27
Methodconstructor
(private readonly authService: AuthService)
src/auth/jwt.strategy.ts:11
Methodconstructor
(private readonly authService: AuthService)
src/auth/auth.controller.ts:34
Methodconstructor
(isUsernameAvailable: boolean)
src/auth/models/response/check-username.response.ts:4
Methodconstructor
(token: string)
src/auth/models/response/login.response.ts:4
Methodconstructor
(isEmailAvailable: boolean)
src/auth/models/response/check-email.response.ts:4
Methodconstructor
(private readonly userService: UserService)
src/user/user.controller.ts:22
Methodconstructor
(private readonly prisma: PrismaService)
src/user/user.service.ts:8
Methodconstructor
()
src/common/services/prisma.service.ts:9
Methodconstructor
()
src/mail-sender/mail-sender.service.ts:21
MethodgetTracker
(req: Record<string, unknown>)
src/common/guards/throttler-behind-proxy.guard.ts:7
MethodgetUserWithToken
(@Usr() user: AuthUser)
src/auth/auth.controller.ts:74
MethodhealthCheck
()
src/app.controller.ts:10
Methodlogin
(loginRequest: LoginRequest)
src/auth/auth.service.ts:279
Methodlogin
(@Body() loginRequest: LoginRequest)
src/auth/auth.controller.ts:66
MethodonModuleDestroy
()
src/common/services/prisma.service.ts:19
MethodonModuleInit
()
src/common/services/prisma.service.ts:15
MethodresendVerificationMail
( name: string, email: string, userId: number, )
src/auth/auth.service.ts:70
MethodresendVerificationMail
(@Usr() user: AuthUser)
src/auth/auth.controller.ts:138
MethodresetPassword
( resetPasswordRequest: ResetPasswordRequest, )
src/auth/auth.service.ts:221
MethodresetPassword
( @Body() resetPasswordRequest: ResetPasswordRequest, )
src/auth/auth.controller.ts:129
MethodsendChangeEmailMail
( changeEmailRequest: ChangeEmailRequest, userId: number, name: string, oldEmail: string, )
src/auth/auth.service.ts:121
MethodsendChangeEmailMail
( @Usr() user: AuthUser, @Body() changeEmailRequest: ChangeEmailRequest, )
src/auth/auth.controller.ts:88
MethodsendChangeEmailMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:81
MethodsendResetPassword
(@Param('email') email: string)
src/auth/auth.controller.ts:108
MethodsendResetPasswordMail
( name: string, email: string, token: string, )
src/mail-sender/mail-sender.service.ts:119
Methodsignup
(signupRequest: SignupRequest)
src/auth/auth.service.ts:34
Methodsignup
(@Body() signupRequest: SignupRequest)
src/auth/auth.controller.ts:60
MethodupdateUser
( @Param('id', ParseIntPipe) id: number, @Body() updateRequest: UpdateUserRequest, @Usr() user: Au
src/user/user.controller.ts:28
MethodupdateUser
( userId: number, updateRequest: UpdateUserRequest, )
src/user/user.service.ts:25
Methodvalidate
(payload: JwtPayload)
src/auth/jwt.strategy.ts:19
MethodverifyMail
(@Query('token') token: string)
src/auth/auth.controller.ts:80