chore: payment auto capture + remove enum from utils (#7513)

What:

- handles payments session that are auto captured
- removes all the enums from `@medusajs/types`
- move all `@medusajs/types` to devDependencies
This commit is contained in:
Carlos R. L. Rodrigues
2024-05-29 11:12:59 +00:00
committed by GitHub
parent 2c5ba408d4
commit f1ced57d5f
68 changed files with 210 additions and 333 deletions
+1 -1
View File
@@ -29,6 +29,7 @@
"test:integration": "jest --passWithNoTests"
},
"devDependencies": {
"@medusajs/types": "^1.11.16",
"cross-env": "^5.2.1",
"jest": "^29.6.3",
"pg-god": "^1.0.12",
@@ -40,7 +41,6 @@
},
"dependencies": {
"@medusajs/modules-sdk": "^1.12.11",
"@medusajs/types": "^1.11.16",
"@medusajs/utils": "^1.11.9",
"@mikro-orm/core": "5.9.7",
"@mikro-orm/postgresql": "5.9.7",
@@ -1,5 +1,7 @@
import {
InternalModuleDeclaration,
MODULE_RESOURCE_TYPE,
MODULE_SCOPE,
MedusaModule,
ModuleRegistrationName,
} from "@medusajs/modules-sdk"
@@ -8,8 +10,6 @@ import {
ILinkModule,
LinkModuleDefinition,
LoaderOptions,
MODULE_RESOURCE_TYPE,
MODULE_SCOPE,
ModuleExports,
ModuleJoinerConfig,
ModuleServiceInitializeCustomDataLayerOptions,
@@ -1,4 +1,4 @@
import { MODULE_RESOURCE_TYPE } from "@medusajs/types"
import { MODULE_RESOURCE_TYPE } from "@medusajs/modules-sdk"
export * from "./compose-link-name"
export * from "./generate-entity"