fix(modules-sdk): Entity types (#13002)

* fix(modules-sdk): Entity types

* Create forty-laws-wait.md
This commit is contained in:
Oli Juhl
2025-07-22 19:48:35 +02:00
committed by GitHub
parent 0db5bf6f8c
commit 468b81c2cb
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(modules-sdk): Entity types

View File

@@ -80,7 +80,7 @@ export type RemoteQueryInput<TEntry extends string> =
/**
* The name of the entity to retrieve. For example, `product`.
*/
entity: TEntry
entity: TEntry | keyof RemoteQueryEntryPoints
/**
* The fields and relations to retrieve in the entity.
*/