fix(modules-sdk): Entity types (#13002)
* fix(modules-sdk): Entity types * Create forty-laws-wait.md
This commit is contained in:
5
.changeset/forty-laws-wait.md
Normal file
5
.changeset/forty-laws-wait.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/types": patch
|
||||
---
|
||||
|
||||
fix(modules-sdk): Entity types
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user