Remove v1-related code from medusa app (#7326)

* chore: Remove unused validations and utilities

* chore: Remove all resources that are not being loaded

* chore: Remove unused dependencies, typeorm related code and fix tests

* chore: Use createAdminUser in all module tests
This commit is contained in:
Stevche Radevski
2024-05-14 13:21:30 +02:00
committed by GitHub
parent 9dae86daa2
commit d680c7ee4c
226 changed files with 110 additions and 13506 deletions
@@ -9,9 +9,6 @@ module.exports = async (dataSource, data = {}) => {
const user = await manager.insert("user", {
id: "admin_user",
email: "admin@medusa.js",
api_token: "test_token",
role: "admin",
password_hash,
...data,
})