{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":751837657,"defaultBranch":"main","name":"e-commerce-api","ownerLogin":"muhammadranju","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-02-02T12:43:56.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/80270685?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715273931.0","currentOid":""},"activityList":{"items":[{"before":"338058990a32718021b5b80bf72977544e850b51","after":"e43f5a35be8064afc3246518e29b6ebe0b79007d","ref":"refs/heads/main","pushedAt":"2024-06-21T03:40:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Implement createPaymentController with SSLCommerz integration\n\n- Added `createPaymentController` to handle payment creation requests.\n- Integrated SSLCommerz payment gateway for processing payments.\n- Included validation for payment ID and user ID.\n- Populated order details and user address for payment data.\n- Defined necessary URLs for payment success, failure, cancellation, and IPN.\n- Handled SSLCommerz payment initialization and response.\n- Provided HATEOAS links for API navigation.\n- Added error handling for payment initialization failures.","shortMessageHtmlLink":"feat: Implement createPaymentController with SSLCommerz integration"}},{"before":"6132bcb5023fa5626a996216d2bf76c5e62f0a18","after":"338058990a32718021b5b80bf72977544e850b51","ref":"refs/heads/main","pushedAt":"2024-06-19T18:11:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"refactor: Enhance authorization logic with ability-based middleware\n\n- Replaced `restricted.middleware` with `restrictedMode` middleware for ability-based authorization.\n- Integrated `setAbilities` and `canPerform` middleware to handle permission checks.\n- Ensured the routes for profile retrieval, profile update, and password change use the new authorization logic.","shortMessageHtmlLink":"refactor: Enhance authorization logic with ability-based middleware"}},{"before":"28b925187655875d6081acfac6302ba75f0f2f7c","after":"6132bcb5023fa5626a996216d2bf76c5e62f0a18","ref":"refs/heads/main","pushedAt":"2024-06-19T16:42:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"refactor: Update payment methods and correct naming conventions\n\n- Modified `PaymentMethods` to include `MOBILE_BANKING` and `INTERNET_BANKING`.\n- Corrected the naming conventions for `PaymentMethods` keys.\n- Ensured all enums and constants are consistent with the rest of the codebase.\n- Improved readability and maintainability of the configuration and constants.","shortMessageHtmlLink":"refactor: Update payment methods and correct naming conventions"}},{"before":"7e18848a323455462aa89ca6d4fa256e8b03e3f3","after":"28b925187655875d6081acfac6302ba75f0f2f7c","ref":"refs/heads/main","pushedAt":"2024-06-18T21:17:53.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Enhance order schema with transactionID, trackingNumber, and detailed paymentType fields","shortMessageHtmlLink":"feat: Enhance order schema with transactionID, trackingNumber, and de…"}},{"before":"263ad476ac799b8f63c316298dbada9d1682ea00","after":"7e18848a323455462aa89ca6d4fa256e8b03e3f3","ref":"refs/heads/main","pushedAt":"2024-06-17T05:57:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(orders.routes)!: Refactor order routes to use dynamic permissions middleware\n\n- Replaced `restrictedArray` with dynamic permission checks using `setAbilities` and `canPerform`.\n- Enhanced route security by specifying required actions (create, read, update, delete) on the \"Orders\" resource.\n- Improved code readability and maintainability by centralizing permission logic.","shortMessageHtmlLink":"feat(orders.routes)!: Refactor order routes to use dynamic permission…"}},{"before":"3ba2fb9660c94add472f46e9d587d11ed59d3c68","after":"263ad476ac799b8f63c316298dbada9d1682ea00","ref":"refs/heads/main","pushedAt":"2024-06-15T18:46:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(orderController)!: Update createOrderController to include payment link\n\n- Added a payment link in the response to the newly created order.\n- Updated links array in the response to include the payment endpoint.\n- Ensured consistency and clarity in the response object structure.","shortMessageHtmlLink":"feat(orderController)!: Update createOrderController to include payme…"}},{"before":"8f5c40a0638b6c54c6ed93543a7029a818fbde7c","after":"3ba2fb9660c94add472f46e9d587d11ed59d3c68","ref":"refs/heads/main","pushedAt":"2024-06-14T18:15:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(Orders.model)!: Enhance Order schema with payment status and methods\n\n- Added `paymentStatus` field with enum validation and default value `UNPAID`.\n- Added `paymentMethods` field with enum validation and default value `CASH_ON_DELIVERY`.\n- Renamed `status` field to `orderStatus` for clarity.\n- Included necessary imports for `AvailablePaymentStatus`, `PaymentStatus`, `PaymentMethods`, and `AvailablePaymentMethods`.","shortMessageHtmlLink":"feat(Orders.model)!: Enhance Order schema with payment status and met…"}},{"before":"8a172eaa5b9d0bb12a2040f586b079851779932d","after":"8f5c40a0638b6c54c6ed93543a7029a818fbde7c","ref":"refs/heads/main","pushedAt":"2024-06-13T18:23:33.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(Orders.model)!: Enhance Order schema with payment status and methods\n\n- Added `paymentStatus` field with enum validation and default value `UNPAID`.\n- Added `paymentMethods` field with enum validation and default value `CASH_ON_DELIVERY`.\n- Renamed `status` field to `orderStatus` for clarity.\n- Included necessary imports for `AvailablePaymentStatus`, `PaymentStatus`, `PaymentMethods`, and `AvailablePaymentMethods`.","shortMessageHtmlLink":"feat(Orders.model)!: Enhance Order schema with payment status and met…"}},{"before":"f119675089895ed4d4b0e5453e5861560c103833","after":"8a172eaa5b9d0bb12a2040f586b079851779932d","ref":"refs/heads/main","pushedAt":"2024-06-12T18:19:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Add cancel payment controller\n\n- Implemented `cancelPaymentController` to handle payment cancellation requests.\n- Added response to return a success message upon successful cancellation.\n- Utilized `ApiResponse` for standardized response format.\n- Applied `asyncHandler` for handling asynchronous operations and errors.","shortMessageHtmlLink":"feat: Add cancel payment controller"}},{"before":"e5b3b3bc8037581b55908d2457fe306ab17246cf","after":"f119675089895ed4d4b0e5453e5861560c103833","ref":"refs/heads/main","pushedAt":"2024-06-10T18:06:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactor payment routes and middleware\n\n- Replaced old middleware and route handlers with updated versions.\n- Added `authMiddleware`, `setAbilities`, and `canPerform` middleware for enhanced authorization.\n- Updated routes to include new payment controller methods: `create`, `success`, `cancel`, `failed`, and `ipn`.","shortMessageHtmlLink":"feat: Refactor payment routes and middleware"}},{"before":"1255cac06e1ef18e68b0aee1da14490109b164cf","after":"e5b3b3bc8037581b55908d2457fe306ab17246cf","ref":"refs/heads/main","pushedAt":"2024-06-09T18:14:35.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Update sslcommerz dependency to sslcommerz-lts\n\n- Replaced \"sslcommerz\": \"^1.7.0\" with \"sslcommerz-lts\": \"^1.1.0\" in package.json dependencies.","shortMessageHtmlLink":"feat: Update sslcommerz dependency to sslcommerz-lts"}},{"before":"6202b1433b20bd4d088e73ed1b8f233dee5f0f34","after":"1255cac06e1ef18e68b0aee1da14490109b164cf","ref":"refs/heads/main","pushedAt":"2024-06-08T17:45:45.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Enhance address schema with additional shipping fields\n\n- Added new fields to the address schema: ship_name, ship_address, ship_city, ship_state, ship_postcode, ship_country, and ship_phone.\n- Retained existing fields and structure while integrating new optional shipping information fields.\n- Ensured consistency with the default values and validation requirements.","shortMessageHtmlLink":"feat: Enhance address schema with additional shipping fields"}},{"before":"689da9ea92b105ba4e33f4eb7aa14b1e6e00c073","after":"6202b1433b20bd4d088e73ed1b8f233dee5f0f34","ref":"refs/heads/main","pushedAt":"2024-06-07T12:37:35.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Add multer middleware for image upload in category creation route\n\n- Integrated multer middleware to handle image uploads in the category creation route.\n- Ensured that the `upload.single(\"image\")` middleware is applied before the category creation controller.\n- Maintained existing routes and middleware checks for admin authentication and permissions.","shortMessageHtmlLink":"feat: Add multer middleware for image upload in category creation route"}},{"before":"e7248ade0a9673554c79926acebcffe446e3326c","after":"689da9ea92b105ba4e33f4eb7aa14b1e6e00c073","ref":"refs/heads/main","pushedAt":"2024-06-07T04:38:50.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Add middleware for setting abilities and validating permissions\n\n- Implemented setAbilities middleware to define and set abilities for the current user or seller.\n- Implemented canPerform middleware to check and validate if the user or seller can perform specific actions on subjects.\n- Added error handling to throw a 403 ApiError if the user lacks the necessary permissions.","shortMessageHtmlLink":"feat: Add middleware for setting abilities and validating permissions"}},{"before":"024f49d25d512eddb7b01ddb983416184638da12","after":"e7248ade0a9673554c79926acebcffe446e3326c","ref":"refs/heads/main","pushedAt":"2024-06-06T05:29:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactored categoriesGetByIdController: improved readability and documentation, streamlined category data fetching and HATEOAS link generation, and ensured consistent response format.","shortMessageHtmlLink":"feat: Refactored categoriesGetByIdController: improved readability an…"}},{"before":"fab1910b0761a618725bfed020f0d093abca58c1","after":"024f49d25d512eddb7b01ddb983416184638da12","ref":"refs/heads/main","pushedAt":"2024-06-01T18:28:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"chore!: Refactor Category Schema Default Value for Parent Field\n\n- Changed default value of `parent` field in `categorySchema` from `null` to `undefined`.\n- Ensured category URLs are properly slugified when the `name` field is modified.\n- Removed commented-out code for creating category URLs.","shortMessageHtmlLink":"chore!: Refactor Category Schema Default Value for Parent Field"}},{"before":"26147aa894ecb5cc73318e94748040f347603c72","after":"fab1910b0761a618725bfed020f0d093abca58c1","ref":"refs/heads/main","pushedAt":"2024-06-01T17:51:29.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"chore(store routes)!: Refactor Store Router to Use New Restricted Mode Middleware\n\n- Replaced restrictedArray middleware with setAbilities and canPerform for granular permission checks.\n- Updated POST, PATCH, and DELETE routes for stores to use new restricted mode middleware.\n- Ensured proper role-based authorization for creating, updating, and deleting stores.","shortMessageHtmlLink":"chore(store routes)!: Refactor Store Router to Use New Restricted Mod…"}},{"before":"99df39d2abebdba919b576e369c2e39f2387f86b","after":"26147aa894ecb5cc73318e94748040f347603c72","ref":"refs/heads/main","pushedAt":"2024-05-31T19:09:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactor Product Routes to Enhance Role-Based Access Control\n\n- Replaced restricted middleware with new restrictedMode middleware functions.\n- Added setAbilities and canPerform middleware to validate user permissions for product creation, update, and deletion.\n- Simplified import statements for middleware.\n- Ensured consistency in route definitions and middleware application.","shortMessageHtmlLink":"feat: Refactor Product Routes to Enhance Role-Based Access Control"}},{"before":"15eed37d82248d3df3df11bc47a09d8874eaefe9","after":"99df39d2abebdba919b576e369c2e39f2387f86b","ref":"refs/heads/main","pushedAt":"2024-05-31T15:41:19.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(auth): implement admin signup functionality\n\n- Added a new signup controller for registering admin\n- Validates request body for required fields (name, email, password, phoneNumber)\n- Ensures password meets a minimum length of 8 characters\n- Validates email format using email-validator and customEmailValidator services\n- Checks if email already exists in the database\n- Validates role against available user roles\n- Creates and saves a new admin object in the database\n- Generates HATEOAS links for additional related API endpoints\n- Returns API response with admin data and HATEOAS links upon successful registration\n- Throws ApiError on validation errors or if email already exists","shortMessageHtmlLink":"feat(auth): implement admin signup functionality"}},{"before":"9252e7867e2aed64a05a84912b7cb17b68c85767","after":"15eed37d82248d3df3df11bc47a09d8874eaefe9","ref":"refs/heads/main","pushedAt":"2024-05-31T13:46:21.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Enhance category retrieval to include parent category details and improve response format\n\n- Added `.populate(\"parent\")` to include parent category details in the response\n- Modified response to include parent category information: name, URL, description, status, and image\n- Refactored the response structure to provide a more detailed category object\n- Updated HATEOAS links to ensure proper navigation for category operations\n- Ensured consistent and informative API responses for category retrieval by ID","shortMessageHtmlLink":"feat: Enhance category retrieval to include parent category details a…"}},{"before":"5c67003c7b13dd6dfd67720e1c6270d5648688d6","after":"9252e7867e2aed64a05a84912b7cb17b68c85767","ref":"refs/heads/main","pushedAt":"2024-05-30T03:35:40.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactor Brand schema to use slugified URLs and ensure unique brand names\n\n- Replaced 'brand_url' with 'slug' for normalized brand URLs\n- Used 'slugify' library to generate slugs from brand names\n- Ensured unique brand names by removing the 'unique' constraint from the 'name' field\n- Updated 'pre-save' hook to generate slugs using 'slugify' for consistent URL formatting","shortMessageHtmlLink":"feat: Refactor Brand schema to use slugified URLs and ensure unique b…"}},{"before":"f09d4cbde007738ced28b2eac94155d43fab5f40","after":"5c67003c7b13dd6dfd67720e1c6270d5648688d6","ref":"refs/heads/main","pushedAt":"2024-05-28T19:04:19.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactor address routes to use restrictedMode middleware for action-based authorization\n\n- Removed `restricted` middleware and associated `UserRolesEnum` restrictions\n- Added `setAbilities` and `canPerform` middleware to enforce action-based permissions","shortMessageHtmlLink":"feat: Refactor address routes to use restrictedMode middleware for ac…"}},{"before":"698ce542f2e04aaac915e948029a9df984de7ad9","after":"f09d4cbde007738ced28b2eac94155d43fab5f40","ref":"refs/heads/main","pushedAt":"2024-05-28T18:45:35.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Integrate CASL for permission handling\n\n- Added @casl/ability dependency for role-based access control.\n- Updated brand controller to include ability checks for create, update, and delete operations.\n- Modified route definitions to incorporate new permission middleware (`canPerform` and `setAbilities`).\n- Updated `package.json` to include the new dependency.","shortMessageHtmlLink":"feat: Integrate CASL for permission handling"}},{"before":"d51a6230df957d88df92c0bb507907b6eef2b7ac","after":"698ce542f2e04aaac915e948029a9df984de7ad9","ref":"refs/heads/main","pushedAt":"2024-05-27T18:19:15.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Add role-based access control to all routes\n\n- Introduced `restricted` middleware to enforce role-based access control\n- Applied `restrictedArray` to all protected all routes\n- Defined restricted roles: ADMIN, EDITOR, MANAGER, SELLER\n- Ensured consistent use of middlewares across routes for security and rate limiting","shortMessageHtmlLink":"feat: Add role-based access control to all routes"}},{"before":"bac4a196aac512f544ca9ca0dc33383cfec77ee7","after":"d51a6230df957d88df92c0bb507907b6eef2b7ac","ref":"refs/heads/main","pushedAt":"2024-05-27T09:57:41.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat(auth): Enhance refresh token endpoint with HATEOAS links and config refactor\n\n- Added HATEOAS links to the refresh token endpoint response to provide navigation options for the client.\n- Refactored the code to use the `config` module for environment variables.\n- Ensured new tokens are included in cookies and response with appropriate HTTP security settings.","shortMessageHtmlLink":"feat(auth): Enhance refresh token endpoint with HATEOAS links and con…"}},{"before":"0fa750af16b3d4909d4af3be33e6d2a69f6eb782","after":"bac4a196aac512f544ca9ca0dc33383cfec77ee7","ref":"refs/heads/main","pushedAt":"2024-05-26T19:28:49.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Enhance signup controller with HATEOAS links for improved API usability\n\n- Added HATEOAS links to the signup controller response, providing navigation options for users.\n- Included links for registration, login, and password recovery to streamline user interaction.","shortMessageHtmlLink":"feat: Enhance signup controller with HATEOAS links for improved API u…"}},{"before":"7e8754ae0e7df24822f2e1375937206c71788281","after":"0fa750af16b3d4909d4af3be33e6d2a69f6eb782","ref":"refs/heads/main","pushedAt":"2024-05-26T16:25:05.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Refactor store routes for consistency and clarity\n\n- Renamed the endpoint \"/store\" to \"/stores\" for consistency with other routes.\n- Updated route definitions to match the modified endpoint names.\n- Ensured consistent naming convention throughout the routes.","shortMessageHtmlLink":"feat: Refactor store routes for consistency and clarity"}},{"before":"f944f7b008beee5f23a6e3d9da2733e1e1fb3f93","after":"7e8754ae0e7df24822f2e1375937206c71788281","ref":"refs/heads/main","pushedAt":"2024-05-25T16:40:58.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Enhance store update controller: Add authorization check and maintain field updates\n\n- Added sellerId extraction from req.seller.\n- Included authorization check to ensure only the store owner can update the store.\n- Ensured fields are updated only if provided in the request body.\n- Maintained existing functionality for updating store details.","shortMessageHtmlLink":"feat: Enhance store update controller: Add authorization check and ma…"}},{"before":"b5d358c0d9dd209d404414127bbb3542dca32e17","after":"f944f7b008beee5f23a6e3d9da2733e1e1fb3f93","ref":"refs/heads/main","pushedAt":"2024-05-24T09:42:31.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Added a `reviews` field to the product schema to store references to associated reviews.\n- Updated the `comments` field to `reviews` to accurately reflect its purpose.\n- Modified the comments to reflect the changes made.","shortMessageHtmlLink":"feat: Added a reviews field to the product schema to store referenc…"}},{"before":"b50b060f3628fed11c0bbc8d927f2fe0924809fe","after":"b5d358c0d9dd209d404414127bbb3542dca32e17","ref":"refs/heads/main","pushedAt":"2024-05-24T09:40:56.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"muhammadranju","name":"Muhammad Ranju","path":"/muhammadranju","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/80270685?s=80&v=4"},"commit":{"message":"feat: Added `Reviews` to Model References\n- Updated `comments.routes` to `reviews.routes` in ModelRefNames\n- Cleaned up code formatting for consistency and readability","shortMessageHtmlLink":"feat: Added Reviews to Model References"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEay6YrwA","startCursor":null,"endCursor":null}},"title":"Activity · muhammadranju/e-commerce-api"}