Commit Graph
30 Commits
Author SHA1 Message Date
zakariaelas 52c47abd40 fix: allow empty string to search product route 2021-10-25 15:50:51 +01:00
zakariaelas c960851e58 merge develop and resolve conflicts 2021-10-18 12:50:31 +01:00
zakariaelas 569595d0bb fix: include shipping profile and requirement relations when fetching custom shipping options 2021-10-15 15:01:23 +01:00
zakariaelas f7c765945b fix: jsdoc custom shipping option service 2021-10-14 16:14:20 +01:00
zakariaelas 71d433c335 fix: remove custom shipping options from swapService create method call 2021-10-14 16:10:08 +01:00
zakariaelas 29c5a1f8d2 fix: store cart integration test by removing custom shipping options when creating a swap 2021-10-14 16:03:59 +01:00
zakariaelas 7cdd628997 merge develop and resolve conflicts 2021-10-14 15:44:58 +01:00
zakariaelas 36aeb4fffa fix: remove verbose mode in integration test + fix jsdoc 2021-10-14 14:50:28 +01:00
zakariaelas dba1d5bb69 fix: adjustments based on seb's feedback
- remove eager from shipping_option relationship in `models/custom-shipping-options.ts`
- remove custom_shipping_options relation from cart model
2021-10-14 14:44:36 +01:00
zakariaelas 3d088c351b fix: more adjustments
add: composite unique constraint for shipping_option_id and cart_id
fix: fetchCartOptions to format custom shipping options like normal shipping options
fix: addShippingMethod should throw when custom shipping options is not empty and no optionId corresponds to custom shipping options
2021-10-07 14:54:05 +01:00
zakariaelas 52be911e50 fix: adjustments based on feedback
rename RMAShippingOption to CustomShippingOption
update models and relations
update unit and integration tests
update services
2021-10-06 14:17:36 +01:00
zakariaelas db83448d18 fix: tests 2021-10-01 16:41:27 +01:00
zakariaelas 632ad17e3f fix: merge conflicts 2021-09-30 20:29:58 +01:00
zakariaelas 7ea284bb20 fix: tests 2021-09-30 17:57:46 +01:00
zakariaelas 02ce006440 fix: jsdoc 2021-09-30 17:35:21 +01:00
zakariaelas 79c601279e tests: integration tests 2021-09-30 14:52:43 +01:00
zakariaelas 77ee0bf186 feat: rma shipping option + unit tests 2021-09-30 14:52:34 +01:00
zakariaelas 8a57541b49 add: flatten collection.handle 2021-09-27 14:11:24 +01:00
zakariaelas c3a6045dd8 fix: filter type in jsdoc 2021-09-27 12:48:43 +01:00
zakariaelas 9b6d0c7334 add: request + response interface changes 2021-09-27 12:42:10 +01:00
zakariaelas 24eecd2922 fix: use type to choose transformer before adding or replacing documents 2021-09-24 11:34:14 +01:00
zakariaelas 307b1c9342 fix cursor pagination + flatten variant options field 2021-09-24 01:20:12 +01:00
zakariaelas 451e3bcdcf further adjustments based on seb's feedback 2021-09-22 15:44:52 +01:00
zakariaelas 560cc0de55 add: flatten collection title, tag value, and type value fields 2021-09-21 15:31:02 +01:00
zakariaelas c67ca16a9b more adjustments
move indexing logic to plugin
remove loadToSearchEngine from ProductService
adjust medusa core accordingly
2021-09-21 13:14:08 +01:00
zakariaelas 3a10e37377 adjustments
rename search subscriber
fix: comments in medusa-interfaces/search-service.js
add: use cursor pagination when indexing all products to search engine
fix: emit product_id on product-variant creation
fix: move search API route under products/search
fix: use meilisearchService instead of searchService in plugin loader
2021-09-20 14:44:58 +01:00
zakariaelas 1444353b0a fix: meiliesearch README.md + remove: searchService from silentResolver 2021-09-16 16:49:49 +01:00
zakariaelas 0fbde7c51f add: abstract search functionality to core + adjust meilisearch-plugin
add SearchService interface to medusa-interfaces
add DefaultSearchService skeleton implementation to core
add search-index.js loader to core for indexing db documents
add SearchSubscriber to core
add loadToSearchEngine method in ProductService
switch order of loaders in core to load subscriptions AFTER plugins
adjust service and loader for medusa-plugin-meilisearch
2021-09-16 15:48:09 +01:00
zakariaelas 425c8a5e5d remove: console.log 2021-09-09 17:58:11 +01:00
zakariaelas c56f37415d add: medusa-plugin-meilisearch + add deleted event in productService + tweak emitted event data in productVariantService 2021-09-09 17:56:10 +01:00