chore: Update modules deps (#9286)
This commit is contained in:
committed by
GitHub
parent
11d8264062
commit
e096feb7d5
@@ -1,6 +1,6 @@
|
||||
import { RegionModuleService } from "./services"
|
||||
import loadDefaults from "./loaders/defaults"
|
||||
import { Module, Modules } from "@medusajs/utils"
|
||||
import { Module, Modules } from "@medusajs/framework/utils"
|
||||
|
||||
export default Module(Modules.REGION, {
|
||||
service: RegionModuleService,
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
import { LoaderOptions, Logger, ModulesSdkTypes } from "@medusajs/types"
|
||||
import { ContainerRegistrationKeys, DefaultsUtils } from "@medusajs/utils"
|
||||
import {
|
||||
LoaderOptions,
|
||||
Logger,
|
||||
ModulesSdkTypes,
|
||||
} from "@medusajs/framework/types"
|
||||
import {
|
||||
ContainerRegistrationKeys,
|
||||
DefaultsUtils,
|
||||
} from "@medusajs/framework/utils"
|
||||
import { Country } from "@models"
|
||||
|
||||
export default async ({ container }: LoaderOptions): Promise<void> => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generatePostgresAlterColummnIfExistStatement } from "@medusajs/utils"
|
||||
import { generatePostgresAlterColummnIfExistStatement } from "@medusajs/framework/utils"
|
||||
import { Migration } from "@mikro-orm/migrations"
|
||||
|
||||
export class RegionModuleSetup20240205173216 extends Migration {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generatePostgresAlterColummnIfExistStatement } from "@medusajs/utils"
|
||||
import { generatePostgresAlterColummnIfExistStatement } from "@medusajs/framework/utils"
|
||||
import { Migration } from "@mikro-orm/migrations"
|
||||
|
||||
export class Migration20240624200006 extends Migration {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { model } from "@medusajs/utils"
|
||||
import { model } from "@medusajs/framework/utils"
|
||||
import Region from "./region"
|
||||
|
||||
export default model
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { model } from "@medusajs/utils"
|
||||
import { model } from "@medusajs/framework/utils"
|
||||
import RegionCountry from "./country"
|
||||
|
||||
export default model.define("region", {
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
SoftDeleteReturn,
|
||||
UpdateRegionDTO,
|
||||
UpsertRegionDTO,
|
||||
} from "@medusajs/types"
|
||||
} from "@medusajs/framework/types"
|
||||
import {
|
||||
arrayDifference,
|
||||
getDuplicates,
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
MedusaService,
|
||||
promiseAll,
|
||||
removeUndefined,
|
||||
} from "@medusajs/utils"
|
||||
} from "@medusajs/framework/utils"
|
||||
import { Country, Region } from "@models"
|
||||
import { UpdateRegionInput } from "@types"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Logger, UpdateRegionDTO } from "@medusajs/types"
|
||||
import { Logger, UpdateRegionDTO } from "@medusajs/framework/types"
|
||||
|
||||
export type InitializeModuleInjectableDependencies = {
|
||||
logger?: Logger
|
||||
|
||||
Reference in New Issue
Block a user