feat: Add copy invite action (#7413)
https://github.com/medusajs/medusa/assets/59018053/2a2d0d39-e020-4146-8679-cbc99d75c98e
This commit is contained in:
@@ -7,15 +7,15 @@ import { currencies } from "./currencies"
|
||||
import { customerGroups } from "./customer-groups"
|
||||
import { customers } from "./customers"
|
||||
import { fulfillmentProviders } from "./fulfillment-providers"
|
||||
import { fulfillments } from "./fulfillments"
|
||||
import { inventoryItems } from "./inventory"
|
||||
import { invites } from "./invites"
|
||||
import { orders } from "./orders"
|
||||
import { payments } from "./payments"
|
||||
import { priceLists } from "./price-lists"
|
||||
import { productTypes } from "./product-types"
|
||||
import { products } from "./products"
|
||||
import { promotions } from "./promotions"
|
||||
import { orders } from "./orders"
|
||||
import { fulfillments } from "./fulfillments"
|
||||
import { reservations } from "./reservations"
|
||||
import { salesChannels } from "./sales-channels"
|
||||
import { shippingOptions } from "./shipping-options"
|
||||
@@ -27,6 +27,8 @@ import { taxes } from "./taxes"
|
||||
import { users } from "./users"
|
||||
import { workflowExecutions } from "./workflow-executions"
|
||||
|
||||
export const backendUrl = __BACKEND_URL__ ?? "http://localhost:9000"
|
||||
|
||||
export const client = {
|
||||
apiKeys: apiKeys,
|
||||
campaigns: campaigns,
|
||||
@@ -58,7 +60,7 @@ export const client = {
|
||||
}
|
||||
|
||||
export const sdk = new Medusa({
|
||||
baseUrl: __BACKEND_URL__ ?? "http://localhost:9000",
|
||||
baseUrl: backendUrl,
|
||||
auth: {
|
||||
type: "session",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user