feat: Application types generation from project GQL schema's (#8995)

This commit is contained in:
Adrien de Peretti
2024-09-06 11:45:32 +02:00
committed by GitHub
parent ac30a989f4
commit 2c5e72d141
92 changed files with 5129 additions and 443 deletions

View File

@@ -4,8 +4,8 @@ import { PaymentModuleService } from "@services"
import { moduleIntegrationTestRunner } from "medusa-test-utils"
import {
createPaymentCollections,
createPayments,
createPaymentSessions,
createPayments,
} from "../../../__fixtures__"
jest.setTimeout(30000)
@@ -23,6 +23,7 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
"payment",
"paymentCollection",
"paymentProvider",
"paymentSession",
"refundReason",
])
@@ -55,6 +56,14 @@ moduleIntegrationTestRunner<IPaymentModuleService>({
field: "paymentProvider",
},
},
paymentSession: {
id: {
field: "paymentSession",
linkable: "payment_session_id",
primaryKey: "id",
serviceName: "payment",
},
},
refundReason: {
id: {
linkable: "refund_reason_id",