feat(medusa): Stock location module (#2907)
* feat: stock location module
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export interface IEventBusService {
|
||||
emit(event: string, data: any): Promise<void>
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./cache"
|
||||
export * from "./event-bus"
|
||||
export * from "./stock-location"
|
||||
export * from "./inventory"
|
||||
|
||||
@@ -18,7 +18,10 @@ export interface IStockLocationService {
|
||||
config?: FindConfig<StockLocationDTO>
|
||||
): Promise<[StockLocationDTO[], number]>
|
||||
|
||||
retrieve(id: string): Promise<StockLocationDTO>
|
||||
retrieve(
|
||||
id: string,
|
||||
config?: FindConfig<StockLocationDTO>
|
||||
): Promise<StockLocationDTO>
|
||||
|
||||
create(input: CreateStockLocationInput): Promise<StockLocationDTO>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user