chore: added missing withTransacton, create-variant using TO (#3047)
Create variant integrated with Inventory modules
This commit is contained in:
1 parent
150696de99
commit
aa54d902e5
11 files changed
+409
-128
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { EntityManager } from "typeorm"
|
||||
import { FindConfig } from "../../types/common"
|
||||
|
||||
import {
|
||||
@@ -15,6 +16,8 @@ import {
|
||||
} from "../../types/inventory"
|
||||
|
||||
export interface IInventoryService {
|
||||
withTransaction(transactionManager?: EntityManager): this
|
||||
|
||||
listInventoryItems(
|
||||
selector: FilterableInventoryItemProps,
|
||||
config?: FindConfig<InventoryItemDTO>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { EntityManager } from "typeorm"
|
||||
import { FindConfig } from "../../types/common"
|
||||
|
||||
import {
|
||||
@@ -8,6 +9,7 @@ import {
|
||||
} from "../../types/stock-location"
|
||||
|
||||
export interface IStockLocationService {
|
||||
withTransaction(transactionManager?: EntityManager): this
|
||||
list(
|
||||
selector: FilterableStockLocationProps,
|
||||
config?: FindConfig<StockLocationDTO>
|
||||
|
||||
Reference in new issue
Block a user