Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adico1/clean-on-nest
/ functions
Functions
350 in github.com/adico1/clean-on-nest
⨍
Functions
350
◇
Types & classes
476
↓ 25 callers
Method
handle
(response: IResponseMessage)
libs/bootcamp-interfaceadapters/src/lib/common/presenter.interface.ts:5
↓ 22 callers
Method
save
(entity: TType)
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:6
↓ 21 callers
Method
create
(entity: Partial<TType>)
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:2
↓ 14 callers
Method
get
(id: TIdType)
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:4
↓ 14 callers
Method
mapFrom
(source: AccountEntity)
libs/bootcamp-data/src/lib/accounts.data-entity.mapper.ts:6
↓ 13 callers
Method
exec
(updateAccountDto: UpdateAccountDto)
apps/bootcamp-api/src/accounts/api.put/put.accounts.facade.ts:6
↓ 12 callers
Method
getByQuery
(query: object)
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:5
↓ 12 callers
Method
render
()
libs/bootcamp-interfaceadapters/src/lib/ui_engines/nest.view.ts:30
↓ 12 callers
Method
validate
(request: TRequestMessage)
libs/bootcamp-businesslogic/src/lib/common/interfaces/validator.interface.ts:8
↓ 11 callers
Method
createAccountRepository
(connection: Connection)
apps/bootcamp-api/src/accounts/common/factory.ts:17
↓ 11 callers
Method
getRepository
(entity)
apps/bootcamp-api/db/database.service.ts:8
↓ 10 callers
Method
delete
(id: TIdType)
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:7
↓ 9 callers
Method
toMessage
(dto: AccountIdDto)
apps/bootcamp-api/src/accounts/dto/account-id.dto.ts:14
↓ 8 callers
Method
createForgotPasswordRepository
(connection: Connection)
apps/bootcamp-api/src/accounts/common/factory.ts:25
↓ 8 callers
Method
getValue
(key: string, throwOnMissing = true)
apps/bootcamp-api/src/config/config.service.ts:11
↓ 6 callers
Method
register
( @Res() res: Response, @Body() createUserDto: CreateAccountDto)
apps/bootcamp-api/src/accounts/accounts.controller.ts:115
↓ 5 callers
Method
getTypeOrmConfig
()
apps/bootcamp-api/src/config/config.service.ts:34
↓ 4 callers
Method
isValidInetLocation
(inetLocation: InetLocation, validationResult: IValidationResult)
libs/bootcamp-businesslogic/src/lib/common/accounts.helper.ts:22
↓ 3 callers
Function
Roles
(...roles: string[])
apps/bootcamp-api/src/auth/decorators/roles.decorator.ts:3
↓ 3 callers
Method
createRefreshTokenRepository
(connection: Connection)
apps/bootcamp-api/src/accounts/common/factory.ts:21
↓ 3 callers
Method
createVerificationCode
()
libs/bootcamp-entities/src/lib/interfaces/verification-generator.dependencies.interface.ts:2
↓ 3 callers
Function
from
(id: number)
apps/bootcamp-api/src/accounts/accounts.controller.spec.ts:13
↓ 3 callers
Method
getExpirationDate
(hoursToVerify: number)
libs/bootcamp-entities/src/lib/interfaces/verification-generator.dependencies.interface.ts:3
↓ 2 callers
Function
adminLogin
(httpServer: any)
apps/bootcamp-api/e2e/accounts/accounts.e2e-helper.ts:7
↓ 2 callers
Method
createAccessToken
(payload: any)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:24
↓ 2 callers
Method
createLoginToken
(payload: LoggedInUser, inetLocation: InetLocation)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:50
↓ 2 callers
Method
createRefreshToken
(userId, inetLoc: InetLocation)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:28
↓ 2 callers
Method
encryptUser
(user: Account)
libs/bootcamp-businesslogic/src/lib/common/encrypt.user.ts:5
↓ 2 callers
Method
from
(dto: Partial<RefreshTokenDto>)
apps/bootcamp-api/src/auth/refresh-token/refresh-token.dto.ts:22
↓ 2 callers
Method
getAll
()
libs/bootcamp-entities/src/lib/common/interfaces/repository.interface.ts:3
↓ 2 callers
Method
getByEmail
(email: string)
libs/bootcamp-data/src/lib/forgot-password.repository.ts:40
↓ 2 callers
Method
getByVerification
(verification: string)
libs/bootcamp-data/src/lib/account-repository.ts:29
↓ 2 callers
Function
isAccessToken
(accessToken)
apps/bootcamp-api/e2e/accounts/accounts.e2e-helper.ts:44
↓ 2 callers
Method
isPassword
(password: string)
libs/bootcamp-businesslogic/src/lib/common/accounts.helper.ts:14
↓ 2 callers
Method
isProduction
()
apps/bootcamp-api/src/config/config.service.ts:29
↓ 2 callers
Function
isRefreshToken
(refreshToken)
apps/bootcamp-api/e2e/accounts/accounts.e2e-helper.ts:39
↓ 2 callers
Function
userLogin
(httpServer: any)
apps/bootcamp-api/e2e/accounts/accounts.e2e-helper.ts:23
↓ 2 callers
Method
userToLoggedInUser
(user: Partial<Account>)
libs/bootcamp-entities/src/lib/logged-in-user.ts:11
↓ 1 callers
Method
blockUser
(user)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:113
↓ 1 callers
Function
bootstrap
()
apps/bootcamp-api/src/main.ts:16
↓ 1 callers
Method
checkPassword
(attemptPass: string, user: Account)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:93
↓ 1 callers
Method
closeDbConnection
* Closes the database connections
apps/bootcamp-api/e2e/test.utils.ts:41
↓ 1 callers
Method
createAccountForForgotPassword
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:87
↓ 1 callers
Method
createAccountForUserLogin
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:72
↓ 1 callers
Method
createAccountToTestDeleteApiById
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:102
↓ 1 callers
Method
createAdminAccount
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:116
↓ 1 callers
Method
createTenRandomAccounts
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:47
↓ 1 callers
Method
deleteAllAccounts
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:41
↓ 1 callers
Method
deleteAllAnswers
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:29
↓ 1 callers
Method
deleteAllDecks
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:32
↓ 1 callers
Method
deleteAllForgotPassword
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:35
↓ 1 callers
Method
encryptedCompare
(attemptPass: string, password: string)
libs/bootcamp-entities/src/lib/interfaces/auth.dependencies.interface.ts:3
↓ 1 callers
Method
ensureValues
(keys: string[])
apps/bootcamp-api/src/config/config.service.ts:20
↓ 1 callers
Method
error
()
libs/bootcamp-interfaceadapters/src/lib/common/view-output.implementation.ts:14
↓ 1 callers
Method
execUseCase
(request: CreateAccountsRequestMessage)
libs/bootcamp-businesslogic/src/lib/common/account.service.ts:20
↓ 1 callers
Method
findByEmailOrThrowException
(email: string)
libs/bootcamp-businesslogic/src/lib/common/account.service.ts:49
↓ 1 callers
Method
findByVerification
(verification: string)
libs/bootcamp-businesslogic/src/lib/accounts/verify-email/verify-email.accounts.interactor.ts:29
↓ 1 callers
Method
findForgotPasswordByEmail
(email: string)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:57
↓ 1 callers
Method
findForgotPasswordByUuid
(verification:string)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:38
↓ 1 callers
Method
findRefreshToken
(token: string)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:42
↓ 1 callers
Method
findToken
(token: string)
libs/bootcamp-businesslogic/src/lib/common/refresh-token.service.ts:14
↓ 1 callers
Method
forgotPassword
( @Res() res: Response, @Request() req: ExpressRequest, @Body() createForgotPassword
apps/bootcamp-api/src/accounts/accounts.controller.ts:196
↓ 1 callers
Method
forgotPasswordVerify
( @Res() res: Response, @Request() req: ExpressRequest, @Body() verifyUuidDto: Verif
apps/bootcamp-api/src/accounts/accounts.controller.ts:208
↓ 1 callers
Method
fromEntity
(entity: RefreshTokenEntity)
apps/bootcamp-api/src/auth/refresh-token/refresh-token.dto.ts:33
↓ 1 callers
Method
getAccessToken
(payload: any)
libs/bootcamp-entities/src/lib/interfaces/auth.dependencies.interface.ts:2
↓ 1 callers
Method
getBrowserInfo
()
apps/bootcamp-api/src/accounts/dto/inet-location.dto.ts:21
↓ 1 callers
Method
getById
(request: AccountIdRequestMessage)
libs/bootcamp-interfaceadapters/src/lib/modules/accounts/get-by-id/get-by-id.account.controller.ts:20
↓ 1 callers
Method
getCountry
()
apps/bootcamp-api/src/accounts/dto/inet-location.dto.ts:25
↓ 1 callers
Method
getEntities
* Returns the entites of the database
apps/bootcamp-api/e2e/test.utils.ts:51
↓ 1 callers
Method
getIp
()
apps/bootcamp-api/src/accounts/dto/inet-location.dto.ts:17
↓ 1 callers
Method
isEmailUnique
(email: string)
libs/bootcamp-businesslogic/src/lib/common/account.service.ts:36
↓ 1 callers
Function
isItemFormatValid
(item)
apps/bootcamp-api/e2e/accounts/accounts.e2e-spec.ts:127
↓ 1 callers
Method
isPasswordMatch
(password: string, passwordRepeat: string)
libs/bootcamp-businesslogic/src/lib/common/accounts.helper.ts:18
↓ 1 callers
Method
isUserBlocked
(user)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:87
↓ 1 callers
Method
loadAll
* Insert the data from the src/test/fixtures folder
apps/bootcamp-api/e2e/test.utils.ts:85
↓ 1 callers
Method
login
( @Res() res: Response, @Request() req: ExpressRequest)
apps/bootcamp-api/src/accounts/accounts.controller.ts:150
↓ 1 callers
Method
passwordsAreMatch
(user)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:106
↓ 1 callers
Method
passwordsDoNotMatch
(user)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:121
↓ 1 callers
Method
put
(request: PutAccountsRequestMessage)
libs/bootcamp-interfaceadapters/src/lib/modules/accounts/put/put.account.controller.ts:20
↓ 1 callers
Method
refreshAccessToken
( @Res() res: Response, @Request() req: ExpressRequest, @Body() refreshAccessTokenDt
apps/bootcamp-api/src/accounts/accounts.controller.ts:181
↓ 1 callers
Method
resetPassword
( @Res() res: Response, @Body() resetPasswordDto: ResetPasswordDto)
apps/bootcamp-api/src/accounts/accounts.controller.ts:221
↓ 1 callers
Method
resetUserPassword
(email: string, password: string)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:72
↓ 1 callers
Function
run
()
apps/bootcamp-api/src/scripts/seed.ts:6
↓ 1 callers
Method
run
()
apps/bootcamp-api/src/accounts/seed/accounts.seed.ts:18
↓ 1 callers
Method
save
(entity: Account)
libs/bootcamp-data/src/lib/in-memory/in-memory.account.repository.ts:31
↓ 1 callers
Method
saveForgotPassword
(email:string, inetLoc: InetLocation)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:23
↓ 1 callers
Method
setForgotPasswordFinalUsed
(forgotPassword: ForgotPassword)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:67
↓ 1 callers
Method
setForgotPasswordFirstUsed
(forgotPassword: ForgotPassword, inetLoc: InetLocation)
libs/bootcamp-businesslogic/src/lib/common/forgot-pasword.service.ts:49
↓ 1 callers
Method
setRegistrationInfo
(user)
libs/bootcamp-businesslogic/src/lib/common/account.service.ts:44
↓ 1 callers
Method
setUserAsVerified
(account)
libs/bootcamp-businesslogic/src/lib/accounts/verify-email/verify-email.accounts.interactor.ts:40
↓ 1 callers
Method
toEntity
()
apps/bootcamp-api/src/auth/refresh-token/refresh-token.dto.ts:47
↓ 1 callers
Method
toValidate
(metatype: Function)
apps/bootcamp-api/src/accounts/common/accounts.pipe.ts:33
↓ 1 callers
Method
validateUser
(username: string, pass: string)
libs/bootcamp-businesslogic/src/lib/common/auth.service.ts:57
↓ 1 callers
Method
verifyEmail
( @Res() res: Response, @Request() req: ExpressRequest, @Body() verifyUuidDto: Verif
apps/bootcamp-api/src/accounts/accounts.controller.ts:132
Method
accountId
(accountId: string)
libs/bootcamp-businesslogic/src/lib/accounts/get-by-id/get-by-id.accounts.request.message.ts:7
Method
accountId
(accountId: string)
libs/bootcamp-businesslogic/src/lib/accounts/delete/delete.accounts.request.message.ts:8
Method
accountId
(accountId: string)
libs/bootcamp-businesslogic/src/lib/accounts/get-all/get-all.accounts.request.message.ts:8
Method
canActivate
(context: ExecutionContext)
apps/bootcamp-api/src/auth/guards/login.guard.ts:6
Method
canActivate
(context: ExecutionContext)
apps/bootcamp-api/src/auth/guards/authenticated.guard.ts:5
Method
cleanAll
* Cleans all the entities
apps/bootcamp-api/e2e/test.utils.ts:71
next →
1–100 of 350, ranked by callers