Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Braineanear/EcommerceAPI
/ functions
Functions
293 in github.com/Braineanear/EcommerceAPI
⨍
Functions
293
◇
Types & classes
393
Method
constructor
( protected readonly repository: CategoryRepository, protected readonly awsService: AwsS3Service,
monolithic/src/app/modules/category/category.service.ts:16
Method
constructor
( @InjectModel(Category.name) protected readonly model: PaginateModel<CategoryDocument>, )
monolithic/src/app/modules/category/repositories/category.repository.ts:11
Method
constructor
(private readonly service: CartService)
monolithic/src/app/modules/cart/cart.controller.ts:36
Method
constructor
( protected readonly repository: CartRepository, protected readonly debuggerService: DebuggerService,
monolithic/src/app/modules/cart/cart.service.ts:20
Method
constructor
( @InjectModel(Cart.name) protected readonly model: PaginateModel<CartDocument>, )
monolithic/src/app/modules/cart/repositories/cart.repository.ts:11
Method
constructor
(private readonly service: ColorService)
monolithic/src/app/modules/color/color.controller.ts:35
Method
constructor
(protected readonly repository: ColorRepository)
monolithic/src/app/modules/color/color.service.ts:9
Method
constructor
( @InjectModel(Color.name) protected readonly model: PaginateModel<ColorDocument>, )
monolithic/src/app/modules/color/repositories/color.repository.ts:11
Method
constructor
( protected readonly repository: OrderRepository, protected readonly debuggerService: DebuggerService,
monolithic/src/app/modules/order/order.service.ts:24
Method
constructor
(private readonly service: OrderService)
monolithic/src/app/modules/order/order.controller.ts:35
Method
constructor
( @InjectModel(Order.name) protected readonly model: PaginateModel<OrderDocument>, )
monolithic/src/app/modules/order/repositories/order.repository.ts:11
Method
constructor
( protected readonly repository: FavoriteRepository, protected readonly debuggerService: DebuggerServi
monolithic/src/app/modules/favorite/favorite.service.ts:15
Method
constructor
(private readonly service: FavoriteService)
monolithic/src/app/modules/favorite/favorite.controller.ts:38
Method
constructor
( @InjectModel(Favorite.name) protected readonly model: PaginateModel<FavoriteDocument>, )
monolithic/src/app/modules/favorite/repositories/favorite.repository.ts:11
Method
constructor
(private readonly service: ReviewService)
monolithic/src/app/modules/review/review.controller.ts:39
Method
constructor
( protected readonly repository: ReviewRepository, protected readonly debuggerService: DebuggerService
monolithic/src/app/modules/review/review.service.ts:14
Method
constructor
( @InjectModel(Review.name) protected readonly model: PaginateModel<ReviewDocument>, )
monolithic/src/app/modules/review/repositories/review.repository.ts:9
Method
constructor
(private readonly service: HistoryService)
monolithic/src/app/modules/history/history.controller.ts:16
Method
constructor
( protected readonly repository: HistoryRepository, protected readonly debuggerService: DebuggerServic
monolithic/src/app/modules/history/history.service.ts:11
Method
constructor
( @InjectModel(History.name) protected readonly model: PaginateModel<HistoryDocument>, )
monolithic/src/app/modules/history/repositories/history.repository.ts:11
Method
constructor
(private readonly service: TagService)
monolithic/src/app/modules/tag/tag.controller.ts:45
Method
constructor
(protected readonly repository: TagRepository)
monolithic/src/app/modules/tag/tag.service.ts:9
Method
constructor
( @InjectModel(Tag.name) protected readonly model: PaginateModel<TagDocument>, )
monolithic/src/app/modules/tag/repositories/tag.repository.ts:11
Method
constructor
( @Inject(REQUEST) private req: RequestWithUser, @Inject(WINSTON_MODULE_PROVIDER) private readonly log
monolithic/src/app/shared/debugger/debugger.service.ts:11
Method
constructor
(config: ConfigService)
monolithic/src/app/shared/strategies/jwt-strategy.ts:9
Method
constructor
()
monolithic/src/app/shared/strategies/google-strategy.ts:7
Method
constructor
( private readonly repository: LoggerRepository, private readonly configService: ConfigService, )
monolithic/src/app/shared/logger/logger.service.ts:15
Method
constructor
( @InjectModel(Logger.name) private readonly model: PaginateModel<ILoggerDocument>, )
monolithic/src/app/shared/logger/repositories/logger.repository.ts:11
Method
constructor
( private readonly jwtService: JwtService, private readonly configService: ConfigService, private
monolithic/src/app/shared/guards/auth.guard.ts:11
Method
constructor
(private readonly reflector: Reflector)
monolithic/src/app/shared/guards/roles.guard.ts:7
Method
constructor
(pagination: Partial<IPaginateOptions> = {}, sorting: Object | string = {})
monolithic/src/app/shared/dtos/pagination-options.dto.ts:7
Method
constructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/interceptors/file-image.interceptor.ts:17
Method
constructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/services/mail.service.ts:15
Method
constructor
( private readonly configService: ConfigService, private readonly debuggerService: DebuggerSer
monolithic/src/app/shared/aws/aws.service.ts:27
Method
constructor
( private readonly reflector: Reflector, private readonly configService: ConfigService, )
monolithic/src/app/shared/filters/mongoose-error.filter.ts:20
Method
constructor
( private readonly reflector: Reflector, private readonly configService: ConfigService, )
monolithic/src/app/shared/filters/mongo-driver-error.filter.ts:18
Method
constructor
(private readonly configService: ConfigService)
monolithic/src/app/shared/filters/http-exception.filter.ts:15
Method
constructor
(protected readonly model: PaginateModel<T>)
monolithic/src/app/shared/repositories/base.repository.ts:9
Method
countProductInCart
( @AuthUser() user: any, @Param('productId') productId: string, )
monolithic/src/app/modules/cart/cart.controller.ts:116
Function
create
(doc: Partial<T>, user?: any)
monolithic/src/app/shared/services/base.service.ts:16
Method
create
(@Body() data: CreateBrandDto)
monolithic/src/app/modules/brand/brand.controller.ts:52
Method
create
(@Body() data: CreateProductDto)
monolithic/src/app/modules/product/product.controller.ts:59
Method
create
(createProductDto: Partial<CreateProductDto>)
monolithic/src/app/modules/product/product.service.ts:38
Method
create
(@Body() data: CreateUserDto)
monolithic/src/app/modules/user/user.controller.ts:58
Method
create
(userDto: CreateUserDto)
monolithic/src/app/modules/user/user.service.ts:107
Method
create
(@Body() data: CreateSizeDto)
monolithic/src/app/modules/size/size.controller.ts:27
Method
create
(@Body() data: CreateCategoryDto)
monolithic/src/app/modules/category/category.controller.ts:52
Method
create
( createCategoryDto: CreateCategoryDto, )
monolithic/src/app/modules/category/category.service.ts:24
Method
create
(@Body() data: CreateColorDto)
monolithic/src/app/modules/color/color.controller.ts:44
Method
create
( createOrderDTO: Partial<OrderDocument>, userId: Types.ObjectId, )
monolithic/src/app/modules/order/order.service.ts:155
Method
create
(@Body() data: any, @AuthUser() user: any)
monolithic/src/app/modules/order/order.controller.ts:38
Method
create
(doc: CreateFavoriteDto, user: UserDocument)
monolithic/src/app/modules/favorite/favorite.service.ts:36
Method
create
(@Body() data: CreateFavoriteDto, @AuthUser() user: any)
monolithic/src/app/modules/favorite/favorite.controller.ts:87
Method
create
(@Body() data: CreateReviewDto, @AuthUser() user: any)
monolithic/src/app/modules/review/review.controller.ts:101
Method
create
(doc: Partial<ReviewDocument>, userId: string)
monolithic/src/app/modules/review/review.service.ts:68
Method
create
(@Body() data: CreateTagDto)
monolithic/src/app/modules/tag/tag.controller.ts:55
Method
create
(doc: Partial<ILoggerDocument>)
monolithic/src/app/shared/logger/repositories/logger.repository.ts:16
Method
create
(doc: Partial<T>)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:6
Method
create
(doc: Partial<T>)
monolithic/src/app/shared/repositories/base.repository.ts:11
Method
debug
( description: string, sClass: string, sFunction: string, data?: any, )
monolithic/src/app/shared/debugger/debugger.service.ts:30
Function
deleteById
(id: string | Types.ObjectId)
monolithic/src/app/shared/services/base.service.ts:71
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/brand/brand.controller.ts:101
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/product/product.controller.ts:111
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/user/user.controller.ts:129
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/size/size.controller.ts:77
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/category/category.controller.ts:95
Method
deleteById
(id: string | Types.ObjectId)
monolithic/src/app/modules/category/category.service.ts:63
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/color/color.controller.ts:85
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/favorite/favorite.controller.ts:76
Method
deleteById
(@Param('id') id: string)
monolithic/src/app/modules/tag/tag.controller.ts:105
Method
deleteById
(id: string | Types.ObjectId)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:13
Method
deleteById
(_id: string | Types.ObjectId)
monolithic/src/app/shared/repositories/base.repository.ts:51
Method
deleteCart
(@AuthUser() user: any)
monolithic/src/app/modules/cart/cart.controller.ts:104
Method
deleteHistory
(@Param('id') id: string, @AuthUser() user: any)
monolithic/src/app/modules/history/history.controller.ts:31
Method
deleteHistory
(id: string, user: HistoryDocument)
monolithic/src/app/modules/history/history.service.ts:18
Method
deleteItemFromCart
(@Body() data: ProductCartDto, @AuthUser() user: any)
monolithic/src/app/modules/cart/cart.controller.ts:93
Method
deleteItemFromCart
(doc: ProductCartDto, user: string)
monolithic/src/app/modules/cart/cart.service.ts:167
Method
deleteLoggedinUserDetails
(@AuthUser() user: any)
monolithic/src/app/modules/user/user.controller.ts:78
Method
deleteLoggedinUserDetails
(userId: string)
monolithic/src/app/modules/user/user.service.ts:35
Method
deleteMainImage
(@Param('id') id: string)
monolithic/src/app/modules/product/product.controller.ts:144
Method
deleteMainImage
( id: string | Types.ObjectId, )
monolithic/src/app/modules/product/product.service.ts:126
Function
deleteMany
(filter: object)
monolithic/src/app/shared/services/base.service.ts:87
Method
deleteMany
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:15
Method
deleteMany
(filter: FilterQuery<T>)
monolithic/src/app/shared/repositories/base.repository.ts:59
Function
deleteOne
(filter: object)
monolithic/src/app/shared/services/base.service.ts:79
Method
deleteOne
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:14
Method
deleteOne
(filter: FilterQuery<T>)
monolithic/src/app/shared/repositories/base.repository.ts:55
Method
deleteReview
(@Param('id') id: string, @AuthUser() user: any)
monolithic/src/app/modules/review/review.controller.ts:89
Method
deleteReview
(id: string, userId: string)
monolithic/src/app/modules/review/review.service.ts:44
Method
deleteSubImage
(@Param('id') id: string, @Param('imageId') imageId: string)
monolithic/src/app/modules/product/product.controller.ts:178
Method
deleteSubImage
( id: string | Types.ObjectId, imageId: string | Types.ObjectId, )
monolithic/src/app/modules/product/product.service.ts:147
Method
error
( description: string, sClass: string, sFunction: string, error?: any, )
monolithic/src/app/shared/debugger/debugger.service.ts:43
Function
find
(filter: object)
monolithic/src/app/shared/services/base.service.ts:36
Method
find
(filter: object)
monolithic/src/app/shared/interfaces/i-base-repository.interface.ts:9
Method
find
( filter: FilterQuery<T>, projection: any = null, sort: any = { _id: -1 }, )
monolithic/src/app/shared/repositories/base.repository.ts:28
Method
findAll
(@Query(new PaginationPipe()) q: FindBrandsDto)
monolithic/src/app/modules/brand/brand.controller.ts:61
Method
findAll
(@Query(new PaginationPipe()) q: FindProductsDto)
monolithic/src/app/modules/product/product.controller.ts:84
Method
findAll
(@Query(new PaginationPipe()) q: FindUsersDto)
monolithic/src/app/modules/user/user.controller.ts:109
Method
findAll
(@Query(new PaginationPipe()) q: FindSizesDto)
monolithic/src/app/modules/size/size.controller.ts:37
Method
findAll
(@Query(new PaginationPipe()) q: FindCategoriesDto)
monolithic/src/app/modules/category/category.controller.ts:61
← previous
next →
101–200 of 293, ranked by callers