Replaces MongoDB support with PostgreSQL (#151)

- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
This commit is contained in:
Sebastian Rindom
2021-01-26 10:26:14 +01:00
co-authored by Oliver Windall Juhl
parent 5f819486fc
commit f1baca3cbd
499 changed files with 25909 additions and 16128 deletions
+6 -5
View File
@@ -1,6 +1,6 @@
{
"name": "medusa-interfaces",
"version": "1.0.14",
"version": "1.0.14-alpha.170+0646bd3",
"description": "Core interfaces for Medusa",
"main": "dist/index.js",
"repository": {
@@ -28,13 +28,14 @@
"cross-env": "^5.2.1",
"eslint": "^6.8.0",
"jest": "^25.5.2",
"prettier": "^1.19.1"
"prettier": "^1.19.1",
"typeorm": "^0.2.29"
},
"peerDependencies": {
"mongoose": "5.x"
"typeorm": "0.x"
},
"dependencies": {
"medusa-core-utils": "^1.0.11"
"medusa-core-utils": "^1.0.12-alpha.787+0646bd3"
},
"gitHead": "3cc7cbe5124cbcbb75f6e1435db4dcfaa2a60408"
"gitHead": "0646bd395a6056657cb0aa93c13699c4a9dbbcdd"
}