MCPcopy Create free account

hub / github.com/Braineanear/EcommerceAPI / functions

Functions293 in github.com/Braineanear/EcommerceAPI

Methodconstructor
( protected readonly repository: CategoryRepository, protected readonly awsService: AwsS3Service,
monolithic/src/app/modules/category/category.service.ts:16
Methodconstructor
( @InjectModel(Category.name) protected readonly model: PaginateModel<CategoryDocument>, )
monolithic/src/app/modules/category/repositories/category.repository.ts:11
Methodconstructor
(private readonly service: CartService)
monolithic/src/app/modules/cart/cart.controller.ts:36
Methodconstructor
( protected readonly repository: CartRepository, protected readonly debuggerService: DebuggerService,
monolithic/src/app/modules/cart/cart.service.ts:20
Methodconstructor
( @InjectModel(Cart.name) protected readonly model: PaginateModel<CartDocument>, )
monolithic/src/app/modules/cart/repositories/cart.repository.ts:11
Methodconstructor
(private readonly service: ColorService)
monolithic/src/app/modules/color/color.controller.ts:35
Methodconstructor
(protected readonly repository: ColorRepository)
monolithic/src/app/modules/color/color.service.ts:9
Methodconstructor
( @InjectModel(Color.name) protected readonly model: PaginateModel<ColorDocument>, )
monolithic/src/app/modules/color/repositories/color.repository.ts:11
Methodconstructor
( protected readonly repository: OrderRepository, protected readonly debuggerService: DebuggerService,
monolithic/src/app/modules/order/order.service.ts:24
Methodconstructor
(private readonly service: OrderService)
monolithic/src/app/modules/order/order.controller.ts:35
Methodconstructor
( @InjectModel(Order.name) protected readonly model: PaginateModel<OrderDocument>, )
monolithic/src/app/modules/order/repositories/order.repository.ts:11
Methodconstructor
( protected readonly repository: FavoriteRepository, protected readonly debuggerService: DebuggerServi
monolithic/src/app/modules/favorite/favorite.service.ts:15
Methodconstructor
(private readonly service: FavoriteService)
monolithic/src/app/modules/favorite/favorite.controller.ts:38
Methodconstructor
( @InjectModel(Favorite.name) protected readonly model: PaginateModel<FavoriteDocument>, )
monolithic/src/app/modules/favorite/repositories/favorite.repository.ts:11
Methodconstructor
(private readonly service: ReviewService)
monolithic/src/app/modules/review/review.controller.ts:39
Methodconstructor
( protected readonly repository: ReviewRepository, protected readonly debuggerService: DebuggerService
monolithic/src/app/modules/review/review.service.ts:14
Methodconstructor
( @InjectModel(Review.name) protected readonly model: PaginateModel<ReviewDocument>, )
monolithic/src/app/modules/review/repositories/review.repository.ts:9
Methodconstructor
(private readonly service: HistoryService)
monolithic/src/app/modules/history/history.controller.ts:16
Methodconstructor
( protected readonly repository: HistoryRepository, protected readonly debuggerService: DebuggerServic
monolithic/src/app/modules/history/history.service.ts:11
Methodconstructor
( @InjectModel(History.name) protected readonly model: PaginateModel<HistoryDocument>, )
monolithic/src/app/modules/history/repositories/history.repository.ts:11
Methodconstructor
(private readonly service: TagService)
monolithic/src/app/modules/tag/tag.controller.ts:45
Methodconstructor
(protected readonly repository: TagRepository)
monolithic/src/app/modules/tag/tag.service.ts:9
Methodconstructor
( @InjectModel(Tag.name) protected readonly model: PaginateModel<TagDocument>, )
monolithic/src/app/modules/tag/repositories/tag.repository.ts:11
Methodconstructor
( @Inject(REQUEST) private req: RequestWithUser, @Inject(WINSTON_MODULE_PROVIDER) private readonly log
monolithic/src/app/shared/debugger/debugger.service.ts:11
Methodconstructor
(config: ConfigService)
monolithic/src/app/shared/strategies/jwt-strategy.ts:9
Methodconstructor
()
monolithic/src/app/shared/strategies/google-strategy.ts:7
Methodconstructor
( private readonly repository: LoggerRepository, private readonly configService: ConfigService, )
monolithic/src/app/shared/logger/logger.service.ts:15
Methodconstructor
( @InjectModel(Logger.name) private readonly model: PaginateModel<ILoggerDocument>, )
monolithic/src/app/shared/logger/repositories/logger.repository.ts:11
Methodconstructor
( private readonly jwtService: JwtService, private readonly configService: ConfigService, private
monolithic/src/app/shared/guards/auth.guard.ts:11
Methodconstructor
(private readonly reflector: Reflector)
monolithic/src/app/shared/guards/roles.guard.ts:7
Methodconstructor
(pagination: Partial<IPaginateOptions> = {}, sorting: Object | string = {})
monolithic/src/app/shared/dtos/pagination-options.dto.ts:7
Methodconstructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/interceptors/file-image.interceptor.ts:17
Methodconstructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/services/mail.service.ts:15
Methodconstructor
( private readonly configService: ConfigService, private readonly debuggerService: DebuggerSer
monolithic/src/app/shared/aws/aws.service.ts:27
Methodconstructor
( private readonly reflector: Reflector, private readonly configService: ConfigService, )
monolithic/src/app/shared/filters/mongoose-error.filter.ts:20
Methodconstructor
( private readonly reflector: Reflector, private readonly configService: ConfigService, )
monolithic/src/app/shared/filters/mongo-driver-error.filter.ts:18
Methodconstructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/filters/http-exception.filter.ts:15
Methodconstructor
(protected readonly model: PaginateModel<T>)
monolithic/src/app/shared/repositories/base.repository.ts:9
MethodcountProductInCart
( @AuthUser() user: any, @Param('productId') productId: string, )
monolithic/src/app/modules/cart/cart.controller.ts:116
Functioncreate
(doc: Partial<T>, user?: any)
monolithic/src/app/shared/services/base.service.ts:16
Methodcreate
(@Body() data: CreateBrandDto)
monolithic/src/app/modules/brand/brand.controller.ts:52
Methodcreate
(@Body() data: CreateProductDto)
monolithic/src/app/modules/product/product.controller.ts:59
Methodcreate
(createProductDto: Partial<CreateProductDto>)
monolithic/src/app/modules/product/product.service.ts:38
Methodcreate
(@Body() data: CreateUserDto)
monolithic/src/app/modules/user/user.controller.ts:58
Methodcreate
(userDto: CreateUserDto)
monolithic/src/app/modules/user/user.service.ts:107
Methodcreate
(@Body() data: CreateSizeDto)
monolithic/src/app/modules/size/size.controller.ts:27
Methodcreate
(@Body() data: CreateCategoryDto)
monolithic/src/app/modules/category/category.controller.ts:52
Methodcreate
( createCategoryDto: CreateCategoryDto, )
monolithic/src/app/modules/category/category.service.ts:24
Methodcreate
(@Body() data: CreateColorDto)
monolithic/src/app/modules/color/color.controller.ts:44
Methodcreate
( createOrderDTO: Partial<OrderDocument>, userId: Types.ObjectId, )
monolithic/src/app/modules/order/order.service.ts:155
Methodcreate
(@Body() data: any, @AuthUser() user: any)
monolithic/src/app/modules/order/order.controller.ts:38
Methodcreate
(doc: CreateFavoriteDto, user: UserDocument)
monolithic/src/app/modules/favorite/favorite.service.ts:36
Methodcreate
(@Body() data: CreateFavoriteDto, @AuthUser() user: any)
monolithic/src/app/modules/favorite/favorite.controller.ts:87
Methodcreate
(@Body() data: CreateReviewDto, @AuthUser() user: any)
monolithic/src/app/modules/review/review.controller.ts:101
Methodcreate
(doc: Partial<ReviewDocument>, userId: string)
monolithic/src/app/modules/review/review.service.ts:68
Methodcreate
(@Body() data: CreateTagDto)
monolithic/src/app/modules/tag/tag.controller.ts:55
Methodcreate
(doc: Partial<ILoggerDocument>)
monolithic/src/app/shared/logger/repositories/logger.repository.ts:16
Methodcreate
(doc: Partial<T>)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:6
Methodcreate
(doc: Partial<T>)
monolithic/src/app/shared/repositories/base.repository.ts:11
Methoddebug
( description: string, sClass: string, sFunction: string, data?: any, )
monolithic/src/app/shared/debugger/debugger.service.ts:30
FunctiondeleteById
(id: string | Types.ObjectId)
monolithic/src/app/shared/services/base.service.ts:71
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/brand/brand.controller.ts:101
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/product/product.controller.ts:111
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/user/user.controller.ts:129
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/size/size.controller.ts:77
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/category/category.controller.ts:95
MethoddeleteById
(id: string | Types.ObjectId)
monolithic/src/app/modules/category/category.service.ts:63
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/color/color.controller.ts:85
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/favorite/favorite.controller.ts:76
MethoddeleteById
(@Param('id') id: string)
monolithic/src/app/modules/tag/tag.controller.ts:105
MethoddeleteById
(id: string | Types.ObjectId)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:13
MethoddeleteById
(_id: string | Types.ObjectId)
monolithic/src/app/shared/repositories/base.repository.ts:51
MethoddeleteCart
(@AuthUser() user: any)
monolithic/src/app/modules/cart/cart.controller.ts:104
MethoddeleteHistory
(@Param('id') id: string, @AuthUser() user: any)
monolithic/src/app/modules/history/history.controller.ts:31
MethoddeleteHistory
(id: string, user: HistoryDocument)
monolithic/src/app/modules/history/history.service.ts:18
MethoddeleteItemFromCart
(@Body() data: ProductCartDto, @AuthUser() user: any)
monolithic/src/app/modules/cart/cart.controller.ts:93
MethoddeleteItemFromCart
(doc: ProductCartDto, user: string)
monolithic/src/app/modules/cart/cart.service.ts:167
MethoddeleteLoggedinUserDetails
(@AuthUser() user: any)
monolithic/src/app/modules/user/user.controller.ts:78
MethoddeleteLoggedinUserDetails
(userId: string)
monolithic/src/app/modules/user/user.service.ts:35
MethoddeleteMainImage
(@Param('id') id: string)
monolithic/src/app/modules/product/product.controller.ts:144
MethoddeleteMainImage
( id: string | Types.ObjectId, )
monolithic/src/app/modules/product/product.service.ts:126
FunctiondeleteMany
(filter: object)
monolithic/src/app/shared/services/base.service.ts:87
MethoddeleteMany
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:15
MethoddeleteMany
(filter: FilterQuery<T>)
monolithic/src/app/shared/repositories/base.repository.ts:59
FunctiondeleteOne
(filter: object)
monolithic/src/app/shared/services/base.service.ts:79
MethoddeleteOne
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:14
MethoddeleteOne
(filter: FilterQuery<T>)
monolithic/src/app/shared/repositories/base.repository.ts:55
MethoddeleteReview
(@Param('id') id: string, @AuthUser() user: any)
monolithic/src/app/modules/review/review.controller.ts:89
MethoddeleteReview
(id: string, userId: string)
monolithic/src/app/modules/review/review.service.ts:44
MethoddeleteSubImage
(@Param('id') id: string, @Param('imageId') imageId: string)
monolithic/src/app/modules/product/product.controller.ts:178
MethoddeleteSubImage
( id: string | Types.ObjectId, imageId: string | Types.ObjectId, )
monolithic/src/app/modules/product/product.service.ts:147
Methoderror
( description: string, sClass: string, sFunction: string, error?: any, )
monolithic/src/app/shared/debugger/debugger.service.ts:43
Functionfind
(filter: object)
monolithic/src/app/shared/services/base.service.ts:36
Methodfind
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:9
Methodfind
( filter: FilterQuery<T>, projection: any = null, sort: any = { _id: -1 }, )
monolithic/src/app/shared/repositories/base.repository.ts:28
MethodfindAll
(@Query(new PaginationPipe()) q: FindBrandsDto)
monolithic/src/app/modules/brand/brand.controller.ts:61
MethodfindAll
(@Query(new PaginationPipe()) q: FindProductsDto)
monolithic/src/app/modules/product/product.controller.ts:84
MethodfindAll
(@Query(new PaginationPipe()) q: FindUsersDto)
monolithic/src/app/modules/user/user.controller.ts:109
MethodfindAll
(@Query(new PaginationPipe()) q: FindSizesDto)
monolithic/src/app/modules/size/size.controller.ts:37
MethodfindAll
(@Query(new PaginationPipe()) q: FindCategoriesDto)
monolithic/src/app/modules/category/category.controller.ts:61
← previousnext →101–200 of 293, ranked by callers