MCPcopy Create free account

hub / github.com/NightClover-code/modern-ecommerce / functions

Functions268 in github.com/NightClover-code/modern-ecommerce

Methodconstructor
( private aiConfig: AiConfigService, private productTool: ProductGenerationTool, )
apps/server/src/ai/agents/product-expert.agent.ts:10
Methodconstructor
(private dto: ClassConstructor<any>)
apps/server/src/interceptors/serialize.interceptor.ts:16
Methodconstructor
(private appService: AppService)
apps/server/src/app/controllers/app.controller.ts:12
Methodconstructor
(private cloudinary: CloudinaryService)
apps/server/src/app/services/app.service.ts:6
Methodconstructor
(private cartService: CartService)
apps/server/src/cart/controller/cart.controller.ts:23
Methodconstructor
( @InjectModel(Cart.name) private cartModel: Model<CartDocument>, private productsService: ProductsSer
apps/server/src/cart/services/cart.service.ts:15
Methodconstructor
(private ordersService: OrdersService)
apps/server/src/orders/controller/orders.controller.ts:18
Methodconstructor
(@InjectModel(Order.name) private orderModel: Model<Order>)
apps/server/src/orders/services/orders.service.ts:13
FunctioncorsConfig
()
apps/server/src/utils/config.ts:12
MethodcreateMany
(products: Partial<Product>[])
apps/server/src/products/services/products.service.ts:87
MethodcreateOrder
(@Body() body: any, @CurrentUser() user: UserDocument)
apps/server/src/orders/controller/orders.controller.ts:22
FunctioncreateProduct
( data: ProductFormData, formState: ProductResponseState, formData: FormData, )
apps/web/src/modules/products/actions/create-product.ts:18
MethodcreateProduct
( @Body() productData: Omit<ProductDto, 'images'>, @UploadedFiles() files: Express.Multer.File[], )
apps/server/src/products/controller/products.controller.ts:76
MethodcreateReview
( @Param('id') id: string, @Body() { rating, comment }: ReviewDto, @CurrentUser() user: UserDocume
apps/server/src/products/controller/products.controller.ts:108
MethodcreateReview
( id: string, user: UserDocument, rating: number, comment: string, )
apps/server/src/products/services/products.service.ts:129
MethodcreateSample
()
apps/server/src/products/services/products.service.ts:93
MethoddeleteMany
()
apps/server/src/users/services/users.service.ts:158
MethoddeleteMany
()
apps/server/src/products/services/products.service.ts:193
MethoddeleteUser
(@Param('id') id: string)
apps/server/src/users/controller/users.controller.ts:38
MethoddeleteUser
(@Param('id') id: string)
apps/server/src/products/controller/products.controller.ts:60
MethodgenerateUsers
()
apps/server/src/users/controller/users.controller.ts:62
MethodgenerateUsers
(count: number)
apps/server/src/users/services/users.service.ts:168
MethodgetCart
(@CurrentUser() user: UserDocument)
apps/server/src/cart/controller/cart.controller.ts:26
MethodgetOrder
(@Param('id') id: string)
apps/server/src/orders/controller/orders.controller.ts:40
MethodgetOrders
()
apps/server/src/orders/controller/orders.controller.ts:28
MethodgetProduct
(@Param('id') id: string)
apps/server/src/products/controller/products.controller.ts:54
MethodgetProducts
( @Query('keyword') keyword: string, @Query('page') page: string, @Query('limit') limit: string,
apps/server/src/products/controller/products.controller.ts:40
MethodgetProfile
(@CurrentUser() user: UserDocument)
apps/server/src/users/controller/auth.controller.ts:77
MethodgetTopRatedProducts
()
apps/server/src/products/controller/products.controller.ts:49
MethodgetUser
(@Param('id') id: string)
apps/server/src/users/controller/users.controller.ts:45
MethodgetUserOrders
(@CurrentUser() user: UserDocument)
apps/server/src/orders/controller/orders.controller.ts:34
MethodgetUsers
( @Query('page') page: string = '1', @Query('limit') limit: string = '20', )
apps/server/src/users/controller/users.controller.ts:26
FunctionhandleAddToCart
()
apps/web/src/modules/products/components/product-details.tsx:41
FunctionhandleBrandLogoChange
(e: React.ChangeEvent<HTMLInputElement>)
apps/web/src/modules/admin/components/create-product-form.tsx:111
FunctionhandleCategoryChange
(value: string)
apps/web/src/modules/admin/components/create-product-form.tsx:94
FunctionhandleChange
( e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, )
apps/web/src/modules/admin/components/create-product-form.tsx:83
FunctionhandleDelete
()
apps/web/src/modules/admin/components/products-actions.tsx:17
FunctionhandleFileChange
(e: React.ChangeEvent<HTMLInputElement>)
apps/web/src/modules/admin/components/create-product-form.tsx:102
FunctionhandlePlaceOrder
()
apps/web/src/modules/checkout/components/order-review.tsx:29
FunctionhandleSubmit
(e: React.FormEvent)
apps/web/src/modules/orders/components/stripe-button.tsx:33
FunctionimageFileFilter
(req: any, file: any, cb: any)
apps/server/src/utils/index.ts:1
Methodintercept
(context: ExecutionContext, next: CallHandler)
apps/server/src/interceptors/serialize.interceptor.ts:18
Methodlogin
(user: UserDocument)
apps/server/src/users/services/auth.service.ts:33
Methodlogout
( @CurrentUser() user: UserDocument, @Res({ passthrough: true }) response: Response, )
apps/server/src/users/controller/auth.controller.ts:108
Methodlogout
(userId: string)
apps/server/src/users/services/auth.service.ts:116
FunctionmarkAsDelivered
()
apps/web/src/modules/admin/components/admin-order-details.tsx:24
Functionmiddleware
(request: NextRequest)
apps/web/src/middleware.ts:7
FunctiononKeyDown
(e: React.KeyboardEvent<HTMLTextAreaElement>)
apps/web/src/modules/ai/components/product-expert-input.tsx:33
MethodonStepFinish
({ text, toolCalls, toolResults, finishReason })
apps/server/src/ai/agents/product-expert.agent.ts:214
FunctiononSubmit
(data: ShippingFormData)
apps/web/src/modules/checkout/components/shipping-form.tsx:40
FunctiononSubmit
(values: z.infer<typeof formSchema>)
apps/web/src/modules/checkout/components/payment-form.tsx:42
FunctiononSubmit
(e: React.FormEvent)
apps/web/src/components/search-box.tsx:13
Methodrefresh
( @Req() request: Request, @Res({ passthrough: true }) response: Response, )
apps/server/src/users/controller/auth.controller.ts:82
MethodremoveFromCart
( @Param('productId') productId: string, @CurrentUser() user: UserDocument, )
apps/server/src/cart/controller/cart.controller.ts:51
MethodsavePaymentMethod
( @Body() { paymentMethod }: SavePaymentMethodDto, @CurrentUser() user: UserDocument, )
apps/server/src/cart/controller/cart.controller.ts:67
MethodsaveShipping
( @Body() shippingDetails: SaveShippingDetailsDto, @CurrentUser() user: UserDocument, )
apps/server/src/cart/controller/cart.controller.ts:59
Functionupdate
(props: ToasterToast)
apps/web/src/hooks/use-toast.ts:145
MethodupdateCartItem
( @Param('productId') productId: string, @Body('qty') qty: number, @CurrentUser() user: UserDocume
apps/server/src/cart/controller/cart.controller.ts:42
MethodupdateOrderDelivery
(@Param('id') id: string)
apps/server/src/orders/controller/orders.controller.ts:55
MethodupdateOrderPayment
( @Param('id') id: string, @Body() { paymentResult }: any, )
apps/server/src/orders/controller/orders.controller.ts:46
MethodupdateProduct
(@Param('id') id: string, @Body() product: ProductDto)
apps/server/src/products/controller/products.controller.ts:102
MethodupdateProfile
( @CurrentUser() user: UserDocument, @Body() updateDto: ProfileDto, )
apps/server/src/users/controller/auth.controller.ts:138
MethodupdateUser
( @Param('id') id: string, @Body() credentials: AdminProfileDto, )
apps/server/src/users/controller/users.controller.ts:52
MethoduploadFile
(@UploadedFile() file: Express.Multer.File)
apps/server/src/app/controllers/app.controller.ts:16
MethoduploadImages
(images: string[])
apps/server/src/cloudinary/services/cloudinary.service.ts:27
Functionusers
()
apps/server/src/utils/data/users.ts:3
Methodvalidate
(payload: TokenPayload)
apps/server/src/strategies/jwt.strategy.ts:21
Methodvalidate
(email: string, password: string)
apps/server/src/strategies/local.strategy.ts:15
← previous201–268 of 268, ranked by callers