Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NexdApp/nexd-backend
/ functions
Functions
147 in github.com/NexdApp/nexd-backend
⨍
Functions
147
◇
Types & classes
156
↓ 41 callers
Method
get
( propertyPath: string, defaultValue: T = undefined, )
src/configuration/configuration.service.ts:23
↓ 8 callers
Method
create
(payload: RegisterDto)
src/modules/users/users.service.ts:45
↓ 7 callers
Method
findOne
( @Param('userId', UserIdValidationPipe) userId: string, )
src/modules/users/users.controller.ts:75
↓ 6 callers
Method
getById
(userId: string)
src/modules/users/users.service.ts:26
↓ 4 callers
Method
getByEmail
(email: string)
src/modules/users/users.service.ts:37
↓ 4 callers
Method
init
()
e2e/database-test.ts:50
↓ 3 callers
Method
createToken
(user: User)
src/modules/auth/auth.service.ts:37
↓ 3 callers
Method
getAll
(filters: { userId?: string; zipCode?: string[]; includeRequester?: boolean; excludeUserId?: b
src/modules/helpRequests/help-requests.service.ts:110
↓ 3 callers
Method
getById
(id: number)
src/modules/helpRequests/help-requests.service.ts:30
↓ 3 callers
Function
requestLoggerMiddleware
src/middlewares/requestLogger.middleware.ts:6
↓ 3 callers
Method
validateUserByEmail
(email: string, pass: string)
src/modules/auth/auth.service.ts:23
↓ 2 callers
Method
comparePassword
(attempt: string)
src/modules/users/user.entity.ts:55
↓ 2 callers
Method
createArticle
(createArticleDto: CreateArticleDto)
src/modules/articles/articles.service.ts:22
↓ 2 callers
Function
createRequestParams
()
src/middlewares/requestLogger.middleware.spec.ts:4
↓ 2 callers
Method
findAll
(query: GetAllArticlesQueryParams)
src/modules/articles/articles.service.ts:41
↓ 2 callers
Method
findOne
( @Param('helpListId') helpListId: number, @ReqUser() user: UserID, )
src/modules/helpLists/help-lists.controller.ts:82
↓ 2 callers
Method
getById
( userId: string, helpListId: number, options: { checkOwner: boolean; } = { checkOwner:
src/modules/helpLists/help-lists.service.ts:28
↓ 2 callers
Method
getTypeOrmConfig
()
src/configuration/configuration.service.ts:30
↓ 2 callers
Method
populateRequest
( helpRequest: HelpRequest, createRequestDto: HelpRequestCreateDto, )
src/modules/helpRequests/help-requests.service.ts:59
↓ 1 callers
Function
Roles
(...roles: string[])
src/decorators/roles.decorator.ts:3
↓ 1 callers
Method
addOrUpdateArticle
( helpRequest: HelpRequest, articleId: number, helpRequestArticleDto: CreateOrUpdateHelpRequestArt
src/modules/helpRequests/help-requests.service.ts:142
↓ 1 callers
Method
addRequest
( userId: string, helpList: HelpList, helpRequest: HelpRequest, )
src/modules/helpLists/help-lists.service.ts:113
↓ 1 callers
Function
bootstrap
()
src/main.ts:12
↓ 1 callers
Function
bootstrap
()
scripts/write-typeorm-config.ts:8
↓ 1 callers
Method
changeArticleDoneForAll
( userId: string, helpList: HelpList, articleId: number, articleDone: boolean, )
src/modules/helpLists/help-lists.service.ts:172
↓ 1 callers
Method
changeArticleDoneForRequest
( userId: string, helpList: HelpList, helpRequestId: number, articleId: number, articleDon
src/modules/helpLists/help-lists.service.ts:142
↓ 1 callers
Method
create
(userId: string, createRequestDto: HelpListCreateDto)
src/modules/helpLists/help-lists.service.ts:54
↓ 1 callers
Method
create
( createRequestDto: HelpRequestCreateDto, userId: string, )
src/modules/helpRequests/help-requests.service.ts:48
↓ 1 callers
Method
createCall
* Creates new Call object in the database * * @param callSid
src/modules/phone/phone.service.ts:49
↓ 1 callers
Method
createConnectionDB
( options?: Partial<ConnectionOptions>, )
e2e/database-test.ts:56
↓ 1 callers
Method
createData
(modelName: string, className: any)
e2e/database-test.ts:72
↓ 1 callers
Method
createPasswordResetToken
(email: string)
src/modules/users/users.service.ts:76
↓ 1 callers
Method
findRequest
(id: number)
src/modules/helpRequests/help-requests.service.ts:192
↓ 1 callers
Method
getAllByUser
(userId: string)
src/modules/helpLists/help-lists.service.ts:68
↓ 1 callers
Method
getAndSaveRecord
* Marks an call as recorded and sets the url to the to the audio file * * @param callSid * @param recordingUrl
src/modules/phone/phone.service.ts:138
↓ 1 callers
Method
getByPhoneNumber
(phoneNumber: string)
src/modules/users/users.service.ts:41
↓ 1 callers
Method
getErrorDescription
(exceptionResponse)
src/errorHandling/http-exception.filter.ts:61
↓ 1 callers
Method
getErrorType
(exceptionResponse)
src/errorHandling/http-exception.filter.ts:54
↓ 1 callers
Method
handleIncomingCall
( res: Response, body: { FromCountry: string; CallSid: string; From: string; F
src/modules/phone/phone.service.ts:205
↓ 1 callers
Method
helpRequestAndUserFromCall
( callSid: string, createHelpRequestDto: HelpRequestCreateDto, userId: string, )
src/modules/phone/phone.service.ts:160
↓ 1 callers
Method
isUUID
(str: any, version = 'all')
src/modules/users/userId-validation.pipe.ts:39
↓ 1 callers
Method
loadModel
(model: Model)
e2e/database-test.ts:89
↓ 1 callers
Method
queryCalls
* Returns all calls matching the provided query parameters * * @param queryParameters
src/modules/phone/phone.service.ts:81
↓ 1 callers
Method
register
(@Body() payload: RegisterDto)
src/modules/auth/auth.controller.ts:66
↓ 1 callers
Method
reload
()
e2e/database-test.ts:45
↓ 1 callers
Method
removeArticle
(helpRequest: HelpRequest, articleId: number)
src/modules/helpRequests/help-requests.service.ts:175
↓ 1 callers
Method
removeRequest
( userId: string, helpList: HelpList, helpRequest: HelpRequest, )
src/modules/helpLists/help-lists.service.ts:126
↓ 1 callers
Function
setupSwagger
(app: INestApplication, globalPrefix: string)
src/swagger/index.ts:12
↓ 1 callers
Method
subscribeToShutdown
(shutdownFn: () => void)
src/app.service.ts:15
↓ 1 callers
Method
sync
()
e2e/database-test.ts:41
↓ 1 callers
Method
update
( @Param('userId') userId: string, @Body() updateUserDto: UpdateUserDto, @ReqUser() user: UserID,
src/modules/users/users.controller.ts:104
↓ 1 callers
Method
update
( userId: string, helpList: HelpList, helpListUpdate: HelpListCreateDto, )
src/modules/helpLists/help-lists.service.ts:80
↓ 1 callers
Method
update
(requestId: number, requestEntity: HelpRequestCreateDto)
src/modules/helpRequests/help-requests.service.ts:185
↓ 1 callers
Method
updatePasswordIfResetTokenMatches
(payload: EmailPasswordResetDto)
src/modules/users/users.service.ts:85
↓ 1 callers
Method
validate
(payload: any)
src/modules/auth/jwt.strategy.ts:16
Method
APIPort
()
src/configuration/configuration.service.ts:16
Method
addArticleInHelpRequest
( @Param('helpRequestId', HelpRequestByIdPipe) helpRequest: HelpRequest, @Param('articleId', ParseIntP
src/modules/helpRequests/help-requests.controller.ts:151
Method
addHelpRequestToList
( @Param('helpListId', HelpListByIdPipe) helpList: HelpList, @Param('helpRequestId', HelpRequestByIdPi
src/modules/helpLists/help-lists.controller.ts:138
Method
canActivate
( context: ExecutionContext, )
src/modules/auth/adminsecret-auth.guard.ts:10
Method
canActivate
( context: ExecutionContext, )
src/modules/auth/userResourceOrAdminsecret.guard.ts:10
Method
catch
(exception: HttpException, host: ArgumentsHost)
src/errorHandling/http-exception.filter.ts:14
Method
configure
(consumer: MiddlewareConsumer)
src/modules/phone/phone.module.ts:22
Method
constructor
(private readonly appService: AppService)
src/app.controller.ts:7
Method
constructor
( @InjectRepository(User) private readonly userRepository: Repository<User>, )
src/modules/users/users.service.ts:21
Method
constructor
( @Optional() private readonly options: UserIdValidationOptions = {}, )
src/modules/users/userId-validation.pipe.ts:22
Method
constructor
(private readonly userService: UsersService)
src/modules/users/users.controller.ts:41
Method
constructor
(private readonly usersService: UsersService)
src/modules/users/user-by-id-.pipe.ts:6
Method
constructor
(private readonly helpListsService: HelpListsService)
src/modules/helpLists/help-lists.controller.ts:50
Method
constructor
( @InjectRepository(HelpList) private readonly helpListsRepository: Repository<HelpList>, @InjectR
src/modules/helpLists/help-lists.service.ts:21
Method
constructor
(private readonly helpListsService: HelpListsService)
src/modules/helpLists/help-list-by-id.pipe.ts:11
Method
constructor
(private readonly helpRequestsService: HelpRequestsService)
src/modules/helpRequests/help-request-by-id.pipe.ts:11
Method
constructor
(private readonly helpRequestsService: HelpRequestsService)
src/modules/helpRequests/help-requests.controller.ts:46
Method
constructor
( @InjectRepository(HelpRequest) private readonly helpRequestRepository: Repository<HelpRequest>,
src/modules/helpRequests/help-requests.service.ts:23
Method
constructor
( private usersService: UsersService, private jwtService: JwtService, )
src/modules/auth/auth.service.ts:8
Method
constructor
(private configService: ConfigurationService)
src/modules/auth/adminsecret-auth.guard.ts:8
Method
constructor
(private configService: ConfigurationService)
src/modules/auth/userResourceOrAdminsecret.guard.ts:8
Method
constructor
(private configService: ConfigurationService)
src/modules/auth/jwt.strategy.ts:8
Method
constructor
(private authService: AuthService)
src/modules/auth/local.strategy.ts:8
Method
constructor
( private authService: AuthService, private usersService: UsersService, )
src/modules/auth/auth.controller.ts:42
Method
constructor
(private readonly callService: PhoneService)
src/modules/phone/phone.controller.ts:37
Method
constructor
* * @param callRepo * @param helpRequestRepo
src/modules/phone/phone.service.ts:37
Method
constructor
( language: string, country: string, comment: string, number: string, )
src/modules/phone/dto/phone-number.dto.ts:25
Method
constructor
( private readonly articlesService: ArticlesService, private readonly unitsService: UnitsService, )
src/modules/articles/articles.controller.ts:34
Method
constructor
( @InjectRepository(Article) private readonly articlesRepository: Repository<Article>, private rea
src/modules/articles/articles.service.ts:16
Method
constructor
( @InjectRepository(Unit) private readonly unitsRepository: Repository<Unit>, )
src/modules/articles/units.service.ts:9
Method
constructor
( @InjectRepository(LocationInfo) private readonly localInfoRepo: Repository<LocationInfo>, )
src/modules/locationInfos/locationInfos.service.ts:9
Method
constructor
(private configService: ConfigService)
src/configuration/configuration.service.ts:7
Method
constructor
( @Inject(DB_CONNECTION_TOKEN) private readonly DBConnection: Connection, @Inject('DataFixture') priva
e2e/database-test.ts:35
Method
converted
( @Param('sid') sid: string, @Body() createHelpRequestDto: HelpRequestCreateDto, @ReqUser() user:
src/modules/phone/phone.controller.ts:105
Method
deleteHelpRequestFromHelpList
( @Param('helpListId', HelpListByIdPipe) helpList: HelpList, @Param('helpRequestId', HelpRequestByIdPi
src/modules/helpLists/help-lists.controller.ts:162
Method
down
(queryRunner: QueryRunner)
src/migrations/1590326322861-Init.ts:129
Method
down
(queryRunner: QueryRunner)
src/migrations/1591643297425-UnitValues2.ts:13
Method
down
(queryRunner: QueryRunner)
src/migrations/1590358948116-ModifyArticleStatus.ts:17
Method
down
(queryRunner: QueryRunner)
src/migrations/1590960420421-ArticlePopularityUnitExtension.ts:46
Method
down
()
src/migrations/1590960420422-UnitValues.ts:13
Method
findAll
(@Query() query: GetAllArticlesQueryParams)
src/modules/articles/articles.controller.ts:54
Method
findMe
(@ReqUser() user: UserID)
src/modules/users/users.controller.ts:62
Method
getAll
()
src/modules/users/users.service.ts:72
Method
getAll
()
src/modules/users/users.controller.ts:53
Method
getAll
( @Query() query: GetAllQueryParams, @ReqUser() user: any, )
src/modules/helpRequests/help-requests.controller.ts:51
next →
1–100 of 147, ranked by callers