fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes (#3478)

## What

Declare and use AdminExtendedStoresRes for `[get] /admin/store` endpoint.

## Why

Only `[get] /admin/store` returns `ExtendedStoreDTO`. Other `/admin/store` endpoints return `Store`.

## How

* Create new AdminExtendedStoresRes OAS schema
* Update medusa-js
* Update medusa-react
This commit is contained in:
Patrick
2023-03-15 11:17:34 +00:00
committed by GitHub
parent 10bf05c147
commit 6748877c69
5 changed files with 34 additions and 9 deletions
+8
View File
@@ -0,0 +1,8 @@
---
"@medusajs/client-types": patch
"medusa-react": patch
"@medusajs/medusa-js": patch
"@medusajs/medusa": patch
---
fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes