chore: Update modules deps (#9286)

This commit is contained in:
Adrien de Peretti
2024-09-26 11:14:35 +05:30
committed by GitHub
parent 11d8264062
commit e096feb7d5
518 changed files with 1115 additions and 957 deletions
@@ -1,4 +1,4 @@
import { EventBusTypes } from "@medusajs/types"
import { EventBusTypes } from "@medusajs/framework/types"
export function buildExpectedEventMessageShape(options: {
eventName: string
@@ -1,4 +1,4 @@
import { CreateFulfillmentDTO } from "@medusajs/types"
import { CreateFulfillmentDTO } from "@medusajs/framework/types"
export function generateCreateFulfillmentData(
data: Partial<CreateFulfillmentDTO> & {
@@ -1,6 +1,6 @@
import { generateCreateShippingOptionsData } from "./shipping-options"
import { generateCreateFulfillmentData } from "./fulfillment"
import { IFulfillmentModuleService } from "@medusajs/types"
import { IFulfillmentModuleService } from "@medusajs/framework/types"
export * from "./shipping-options"
export * from "./fulfillment"
@@ -1,4 +1,4 @@
import { AbstractFulfillmentProviderService } from "@medusajs/utils"
import { AbstractFulfillmentProviderService } from "@medusajs/framework/utils"
export class FulfillmentProviderServiceFixtures extends AbstractFulfillmentProviderService {
static identifier = "fixtures-fulfillment-provider"
@@ -1,4 +1,4 @@
import { CreateShippingOptionDTO } from "@medusajs/types"
import { CreateShippingOptionDTO } from "@medusajs/framework/types"
export function generateCreateShippingOptionsData({
name,
@@ -4,8 +4,12 @@ import {
IFulfillmentModuleService,
ServiceZoneDTO,
UpdateFulfillmentSetDTO,
} from "@medusajs/types"
import { FulfillmentEvents, GeoZoneType, Modules } from "@medusajs/utils"
} from "@medusajs/framework/types"
import {
FulfillmentEvents,
GeoZoneType,
Modules,
} from "@medusajs/framework/utils"
import {
MockEventBusService,
moduleIntegrationTestRunner,
@@ -2,7 +2,7 @@ import { resolve } from "path"
import {
IFulfillmentModuleService,
UpdateFulfillmentDTO,
} from "@medusajs/types"
} from "@medusajs/framework/types"
import {
MockEventBusService,
moduleIntegrationTestRunner,
@@ -12,7 +12,7 @@ import {
generateCreateFulfillmentData,
generateCreateShippingOptionsData,
} from "../../__fixtures__"
import { FulfillmentEvents, Modules } from "@medusajs/utils"
import { FulfillmentEvents, Modules } from "@medusajs/framework/utils"
jest.setTimeout(100000)
@@ -2,8 +2,12 @@ import {
CreateGeoZoneDTO,
IFulfillmentModuleService,
UpdateGeoZoneDTO,
} from "@medusajs/types"
import { FulfillmentEvents, GeoZoneType, Modules } from "@medusajs/utils"
} from "@medusajs/framework/types"
import {
FulfillmentEvents,
GeoZoneType,
Modules,
} from "@medusajs/framework/utils"
import {
MockEventBusService,
moduleIntegrationTestRunner,
@@ -1,6 +1,9 @@
import { ModulesDefinition } from "@medusajs/modules-sdk"
import { FulfillmentSetDTO, IFulfillmentModuleService } from "@medusajs/types"
import { Module, Modules } from "@medusajs/utils"
import { ModulesDefinition } from "@medusajs/framework/modules-sdk"
import {
FulfillmentSetDTO,
IFulfillmentModuleService,
} from "@medusajs/framework/types"
import { Module, Modules } from "@medusajs/framework/utils"
import { FulfillmentModuleService, FulfillmentProviderService } from "@services"
import {
initModules,
@@ -3,8 +3,12 @@ import {
GeoZoneDTO,
IFulfillmentModuleService,
UpdateServiceZoneDTO,
} from "@medusajs/types"
import { FulfillmentEvents, GeoZoneType, Modules } from "@medusajs/utils"
} from "@medusajs/framework/types"
import {
FulfillmentEvents,
GeoZoneType,
Modules,
} from "@medusajs/framework/utils"
import {
MockEventBusService,
moduleIntegrationTestRunner,
@@ -2,8 +2,12 @@ import {
CreateShippingOptionDTO,
IFulfillmentModuleService,
UpdateShippingOptionDTO,
} from "@medusajs/types"
import { FulfillmentEvents, GeoZoneType, Modules } from "@medusajs/utils"
} from "@medusajs/framework/types"
import {
FulfillmentEvents,
GeoZoneType,
Modules,
} from "@medusajs/framework/utils"
import { FulfillmentProviderService } from "@services"
import {
MockEventBusService,
@@ -1,7 +1,7 @@
import {
CreateShippingProfileDTO,
IFulfillmentModuleService,
} from "@medusajs/types"
} from "@medusajs/framework/types"
import {
MockEventBusService,
moduleIntegrationTestRunner,
@@ -10,7 +10,7 @@ import {
buildExpectedEventMessageShape,
generateCreateShippingOptionsData,
} from "../../__fixtures__"
import { FulfillmentEvents, Modules } from "@medusajs/utils"
import { FulfillmentEvents, Modules } from "@medusajs/framework/utils"
import { resolve } from "path"
import { FulfillmentProviderService } from "@services"
import { FulfillmentProviderServiceFixtures } from "../../__fixtures__/providers"