MCPcopy Create free account

hub / github.com/NexdApp/nexd-backend / functions

Functions147 in github.com/NexdApp/nexd-backend

↓ 41 callersMethodget
( propertyPath: string, defaultValue: T = undefined, )
src/configuration/configuration.service.ts:23
↓ 8 callersMethodcreate
(payload: RegisterDto)
src/modules/users/users.service.ts:45
↓ 7 callersMethodfindOne
( @Param('userId', UserIdValidationPipe) userId: string, )
src/modules/users/users.controller.ts:75
↓ 6 callersMethodgetById
(userId: string)
src/modules/users/users.service.ts:26
↓ 4 callersMethodgetByEmail
(email: string)
src/modules/users/users.service.ts:37
↓ 4 callersMethodinit
()
e2e/database-test.ts:50
↓ 3 callersMethodcreateToken
(user: User)
src/modules/auth/auth.service.ts:37
↓ 3 callersMethodgetAll
(filters: { userId?: string; zipCode?: string[]; includeRequester?: boolean; excludeUserId?: b
src/modules/helpRequests/help-requests.service.ts:110
↓ 3 callersMethodgetById
(id: number)
src/modules/helpRequests/help-requests.service.ts:30
↓ 3 callersFunctionrequestLoggerMiddleware
src/middlewares/requestLogger.middleware.ts:6
↓ 3 callersMethodvalidateUserByEmail
(email: string, pass: string)
src/modules/auth/auth.service.ts:23
↓ 2 callersMethodcomparePassword
(attempt: string)
src/modules/users/user.entity.ts:55
↓ 2 callersMethodcreateArticle
(createArticleDto: CreateArticleDto)
src/modules/articles/articles.service.ts:22
↓ 2 callersFunctioncreateRequestParams
()
src/middlewares/requestLogger.middleware.spec.ts:4
↓ 2 callersMethodfindAll
(query: GetAllArticlesQueryParams)
src/modules/articles/articles.service.ts:41
↓ 2 callersMethodfindOne
( @Param('helpListId') helpListId: number, @ReqUser() user: UserID, )
src/modules/helpLists/help-lists.controller.ts:82
↓ 2 callersMethodgetById
( userId: string, helpListId: number, options: { checkOwner: boolean; } = { checkOwner:
src/modules/helpLists/help-lists.service.ts:28
↓ 2 callersMethodgetTypeOrmConfig
()
src/configuration/configuration.service.ts:30
↓ 2 callersMethodpopulateRequest
( helpRequest: HelpRequest, createRequestDto: HelpRequestCreateDto, )
src/modules/helpRequests/help-requests.service.ts:59
↓ 1 callersFunctionRoles
(...roles: string[])
src/decorators/roles.decorator.ts:3
↓ 1 callersMethodaddOrUpdateArticle
( helpRequest: HelpRequest, articleId: number, helpRequestArticleDto: CreateOrUpdateHelpRequestArt
src/modules/helpRequests/help-requests.service.ts:142
↓ 1 callersMethodaddRequest
( userId: string, helpList: HelpList, helpRequest: HelpRequest, )
src/modules/helpLists/help-lists.service.ts:113
↓ 1 callersFunctionbootstrap
()
src/main.ts:12
↓ 1 callersFunctionbootstrap
()
scripts/write-typeorm-config.ts:8
↓ 1 callersMethodchangeArticleDoneForAll
( userId: string, helpList: HelpList, articleId: number, articleDone: boolean, )
src/modules/helpLists/help-lists.service.ts:172
↓ 1 callersMethodchangeArticleDoneForRequest
( userId: string, helpList: HelpList, helpRequestId: number, articleId: number, articleDon
src/modules/helpLists/help-lists.service.ts:142
↓ 1 callersMethodcreate
(userId: string, createRequestDto: HelpListCreateDto)
src/modules/helpLists/help-lists.service.ts:54
↓ 1 callersMethodcreate
( createRequestDto: HelpRequestCreateDto, userId: string, )
src/modules/helpRequests/help-requests.service.ts:48
↓ 1 callersMethodcreateCall
* Creates new Call object in the database * * @param callSid
src/modules/phone/phone.service.ts:49
↓ 1 callersMethodcreateConnectionDB
( options?: Partial<ConnectionOptions>, )
e2e/database-test.ts:56
↓ 1 callersMethodcreateData
(modelName: string, className: any)
e2e/database-test.ts:72
↓ 1 callersMethodcreatePasswordResetToken
(email: string)
src/modules/users/users.service.ts:76
↓ 1 callersMethodfindRequest
(id: number)
src/modules/helpRequests/help-requests.service.ts:192
↓ 1 callersMethodgetAllByUser
(userId: string)
src/modules/helpLists/help-lists.service.ts:68
↓ 1 callersMethodgetAndSaveRecord
* 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 callersMethodgetByPhoneNumber
(phoneNumber: string)
src/modules/users/users.service.ts:41
↓ 1 callersMethodgetErrorDescription
(exceptionResponse)
src/errorHandling/http-exception.filter.ts:61
↓ 1 callersMethodgetErrorType
(exceptionResponse)
src/errorHandling/http-exception.filter.ts:54
↓ 1 callersMethodhandleIncomingCall
( res: Response, body: { FromCountry: string; CallSid: string; From: string; F
src/modules/phone/phone.service.ts:205
↓ 1 callersMethodhelpRequestAndUserFromCall
( callSid: string, createHelpRequestDto: HelpRequestCreateDto, userId: string, )
src/modules/phone/phone.service.ts:160
↓ 1 callersMethodisUUID
(str: any, version = 'all')
src/modules/users/userId-validation.pipe.ts:39
↓ 1 callersMethodloadModel
(model: Model)
e2e/database-test.ts:89
↓ 1 callersMethodqueryCalls
* Returns all calls matching the provided query parameters * * @param queryParameters
src/modules/phone/phone.service.ts:81
↓ 1 callersMethodregister
(@Body() payload: RegisterDto)
src/modules/auth/auth.controller.ts:66
↓ 1 callersMethodreload
()
e2e/database-test.ts:45
↓ 1 callersMethodremoveArticle
(helpRequest: HelpRequest, articleId: number)
src/modules/helpRequests/help-requests.service.ts:175
↓ 1 callersMethodremoveRequest
( userId: string, helpList: HelpList, helpRequest: HelpRequest, )
src/modules/helpLists/help-lists.service.ts:126
↓ 1 callersFunctionsetupSwagger
(app: INestApplication, globalPrefix: string)
src/swagger/index.ts:12
↓ 1 callersMethodsubscribeToShutdown
(shutdownFn: () => void)
src/app.service.ts:15
↓ 1 callersMethodsync
()
e2e/database-test.ts:41
↓ 1 callersMethodupdate
( @Param('userId') userId: string, @Body() updateUserDto: UpdateUserDto, @ReqUser() user: UserID,
src/modules/users/users.controller.ts:104
↓ 1 callersMethodupdate
( userId: string, helpList: HelpList, helpListUpdate: HelpListCreateDto, )
src/modules/helpLists/help-lists.service.ts:80
↓ 1 callersMethodupdate
(requestId: number, requestEntity: HelpRequestCreateDto)
src/modules/helpRequests/help-requests.service.ts:185
↓ 1 callersMethodupdatePasswordIfResetTokenMatches
(payload: EmailPasswordResetDto)
src/modules/users/users.service.ts:85
↓ 1 callersMethodvalidate
(payload: any)
src/modules/auth/jwt.strategy.ts:16
MethodAPIPort
()
src/configuration/configuration.service.ts:16
MethodaddArticleInHelpRequest
( @Param('helpRequestId', HelpRequestByIdPipe) helpRequest: HelpRequest, @Param('articleId', ParseIntP
src/modules/helpRequests/help-requests.controller.ts:151
MethodaddHelpRequestToList
( @Param('helpListId', HelpListByIdPipe) helpList: HelpList, @Param('helpRequestId', HelpRequestByIdPi
src/modules/helpLists/help-lists.controller.ts:138
MethodcanActivate
( context: ExecutionContext, )
src/modules/auth/adminsecret-auth.guard.ts:10
MethodcanActivate
( context: ExecutionContext, )
src/modules/auth/userResourceOrAdminsecret.guard.ts:10
Methodcatch
(exception: HttpException, host: ArgumentsHost)
src/errorHandling/http-exception.filter.ts:14
Methodconfigure
(consumer: MiddlewareConsumer)
src/modules/phone/phone.module.ts:22
Methodconstructor
(private readonly appService: AppService)
src/app.controller.ts:7
Methodconstructor
( @InjectRepository(User) private readonly userRepository: Repository<User>, )
src/modules/users/users.service.ts:21
Methodconstructor
( @Optional() private readonly options: UserIdValidationOptions = {}, )
src/modules/users/userId-validation.pipe.ts:22
Methodconstructor
(private readonly userService: UsersService)
src/modules/users/users.controller.ts:41
Methodconstructor
(private readonly usersService: UsersService)
src/modules/users/user-by-id-.pipe.ts:6
Methodconstructor
(private readonly helpListsService: HelpListsService)
src/modules/helpLists/help-lists.controller.ts:50
Methodconstructor
( @InjectRepository(HelpList) private readonly helpListsRepository: Repository<HelpList>, @InjectR
src/modules/helpLists/help-lists.service.ts:21
Methodconstructor
(private readonly helpListsService: HelpListsService)
src/modules/helpLists/help-list-by-id.pipe.ts:11
Methodconstructor
(private readonly helpRequestsService: HelpRequestsService)
src/modules/helpRequests/help-request-by-id.pipe.ts:11
Methodconstructor
(private readonly helpRequestsService: HelpRequestsService)
src/modules/helpRequests/help-requests.controller.ts:46
Methodconstructor
( @InjectRepository(HelpRequest) private readonly helpRequestRepository: Repository<HelpRequest>,
src/modules/helpRequests/help-requests.service.ts:23
Methodconstructor
( private usersService: UsersService, private jwtService: JwtService, )
src/modules/auth/auth.service.ts:8
Methodconstructor
(private configService: ConfigurationService)
src/modules/auth/adminsecret-auth.guard.ts:8
Methodconstructor
(private configService: ConfigurationService)
src/modules/auth/userResourceOrAdminsecret.guard.ts:8
Methodconstructor
(private configService: ConfigurationService)
src/modules/auth/jwt.strategy.ts:8
Methodconstructor
(private authService: AuthService)
src/modules/auth/local.strategy.ts:8
Methodconstructor
( private authService: AuthService, private usersService: UsersService, )
src/modules/auth/auth.controller.ts:42
Methodconstructor
(private readonly callService: PhoneService)
src/modules/phone/phone.controller.ts:37
Methodconstructor
* * @param callRepo * @param helpRequestRepo
src/modules/phone/phone.service.ts:37
Methodconstructor
( language: string, country: string, comment: string, number: string, )
src/modules/phone/dto/phone-number.dto.ts:25
Methodconstructor
( private readonly articlesService: ArticlesService, private readonly unitsService: UnitsService, )
src/modules/articles/articles.controller.ts:34
Methodconstructor
( @InjectRepository(Article) private readonly articlesRepository: Repository<Article>, private rea
src/modules/articles/articles.service.ts:16
Methodconstructor
( @InjectRepository(Unit) private readonly unitsRepository: Repository<Unit>, )
src/modules/articles/units.service.ts:9
Methodconstructor
( @InjectRepository(LocationInfo) private readonly localInfoRepo: Repository<LocationInfo>, )
src/modules/locationInfos/locationInfos.service.ts:9
Methodconstructor
(private configService: ConfigService)
src/configuration/configuration.service.ts:7
Methodconstructor
( @Inject(DB_CONNECTION_TOKEN) private readonly DBConnection: Connection, @Inject('DataFixture') priva
e2e/database-test.ts:35
Methodconverted
( @Param('sid') sid: string, @Body() createHelpRequestDto: HelpRequestCreateDto, @ReqUser() user:
src/modules/phone/phone.controller.ts:105
MethoddeleteHelpRequestFromHelpList
( @Param('helpListId', HelpListByIdPipe) helpList: HelpList, @Param('helpRequestId', HelpRequestByIdPi
src/modules/helpLists/help-lists.controller.ts:162
Methoddown
(queryRunner: QueryRunner)
src/migrations/1590326322861-Init.ts:129
Methoddown
(queryRunner: QueryRunner)
src/migrations/1591643297425-UnitValues2.ts:13
Methoddown
(queryRunner: QueryRunner)
src/migrations/1590358948116-ModifyArticleStatus.ts:17
Methoddown
(queryRunner: QueryRunner)
src/migrations/1590960420421-ArticlePopularityUnitExtension.ts:46
Methoddown
()
src/migrations/1590960420422-UnitValues.ts:13
MethodfindAll
(@Query() query: GetAllArticlesQueryParams)
src/modules/articles/articles.controller.ts:54
MethodfindMe
(@ReqUser() user: UserID)
src/modules/users/users.controller.ts:62
MethodgetAll
()
src/modules/users/users.service.ts:72
MethodgetAll
()
src/modules/users/users.controller.ts:53
MethodgetAll
( @Query() query: GetAllQueryParams, @ReqUser() user: any, )
src/modules/helpRequests/help-requests.controller.ts:51
next →1–100 of 147, ranked by callers