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

This commit is contained in:
Oli Juhl authored and GitHub committed 2024-02-05 16:03:26 +00:00
1 parent ede221d4f7
commit 823b98aaa1
49 files changed
+2716 -13

No files matched your search

@@ -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 = {