feat(inventory-next, types): inventory module conversion (#6596)

* init

* create new interface

* prep integration tests

* update denpencies

* inventory service partial tests

* finalize integration tests

* add events

* align events

* adjust inventory level reservation levels

* add test validating reserved quantity after reseration item update

* fix nits

* rename to inventory-next

* update yarn.lock

* remove changelog

* remove fixtures

* remove unused files

* ready for review

* Update packages/inventory-next/package.json

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* pr feedback

* add tests and docs for partition-array util

* remote decorators from private method

* fix unit tests

* add migrations

* add foreign keys

* fix build

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Philip Korsholm
2024-03-08 14:09:05 +01:00
committed by GitHub
parent 8406eb5a35
commit c19d276458
46 changed files with 4896 additions and 14 deletions
@@ -22,8 +22,8 @@ export function moduleIntegrationTestRunner({
joinerConfig = [],
schema = "public",
debug = false,
resolve,
testSuite,
resolve,
injectedDependencies = {},
}: {
moduleName: string
@@ -32,8 +32,8 @@ export function moduleIntegrationTestRunner({
joinerConfig?: any[]
schema?: string
dbName?: string
resolve?: string
injectedDependencies?: Record<string, any>
resolve?: string
debug?: boolean
testSuite: <TService = unknown>(options: SuiteOptions<TService>) => () => void
}) {