feat: Region Module (basic CRUD) (#6315)

This commit is contained in:
Oli Juhl
2024-02-05 17:03:26 +01:00
committed by GitHub
parent ede221d4f7
commit 823b98aaa1
49 changed files with 2716 additions and 13 deletions

View File

@@ -1,12 +1,13 @@
import { MedusaError } from "@medusajs/utils"
import { RegionTypes } from "@medusajs/types"
import { MedusaError } from "@medusajs/utils"
import { isDefined } from "medusa-core-utils"
import { WorkflowArguments } from "@medusajs/workflows-sdk"
type RegionResultDTO = {
region_id?: string
region?: RegionTypes.RegionDTO
// TODO: Replace with RegionDTO from Region Module
region?: RegionTypes.RegionDTO__legacy
}
type HandlerInputData = {