Zakaria El Asri
f0be31120f
refactor(medusa): Migrate ProductService to TS (#1625)
* refactor: product service
* fix: type errors in consumers
* fix: use Status enum instead of ProductStatus
* fix: remove ProductStatus
* fix: rename ProductStatus
* fix: product model nullable fields
* fix: explicit typecasting in listVariants
* fix: use atomicPhase in public methods
* fix: use transactionManager in protected methods
* fix: remove disable eslint rule comment
* fix: retrieveVariants relations
* fix: retrieveVariants
* fix: FilterableProductProps validation
* fix: nullable thumbnail
* fix: tests by making model column types more explicit
* move upsert method to repo layer
* fix: unit tests
* fix: integration tests
* fix: product tags query + integration test
* fix: rename FindWithRelationsOptions to FindWithoutRelationsOptions
* fix (productRepository): use string[] for relations
* refactor: extract price relation filtering logic into util
* fix: failing unit test
* rename DTO suffix to Input suffix
* fix: missing awaits
* fix: check for images and tags length
* fix: remove unneeded function
* extract types used in product service to types folder
* fix: use text instead of varchar
* remove: reorderOptions from ProductService
* fix: product model
* fix: add private retrieve method
* fix: conflicts
* fix: failing unit test
* fix: integration test
* fix: remove ProductSelector type
* fix: remove validateId
* fix: use spread operator
* fix: repo method typings
* fix: remove comment
2022-06-20 10:50:46 +01:00
..
2021-12-08 10:15:22 +01:00
2021-10-08 12:11:58 +02:00
2022-06-19 12:58:47 +02:00
2021-10-08 12:11:58 +02:00
2022-03-21 19:03:42 +01:00
2021-10-26 13:20:38 +02:00
2022-06-13 20:29:23 +02:00
2022-05-17 11:19:46 +02:00
2022-05-11 07:43:19 +02:00
2022-03-23 17:17:19 +01:00
2022-06-20 10:50:46 +01:00
2021-12-07 17:07:23 +01:00
2022-03-23 17:17:19 +01:00
2022-04-12 15:49:31 +02:00
2021-12-08 10:15:22 +01:00