feat(types,js-sdk,medusa,fulfillment): Types and SDK methods related to Stock Locations (#7625)

This commit is contained in:
Kasper Fabricius Kristensen
2024-06-06 11:04:42 +02:00
committed by GitHub
parent 9677daa568
commit 50ce223e4b
83 changed files with 1327 additions and 351 deletions
@@ -1,4 +1,4 @@
import { generateEntityId } from "@medusajs/utils"
import { Searchable, generateEntityId } from "@medusajs/utils"
import {
BeforeCreate,
Entity,
@@ -9,6 +9,7 @@ import {
@Entity()
export default class FulfillmentProvider {
@Searchable()
@PrimaryKey({ columnType: "text" })
id: string
@@ -2,6 +2,7 @@ import {
createPsqlIndexStatementHelper,
DALUtils,
generateEntityId,
Searchable,
ShippingOptionPriceType,
} from "@medusajs/utils"
@@ -68,6 +69,7 @@ export default class ShippingOption {
@PrimaryKey({ columnType: "text" })
id: string
@Searchable()
@Property({ columnType: "text" })
name: string