Skip to content

Commit 468b81c

Browse files
authored
fix(modules-sdk): Entity types (medusajs#13002)
* fix(modules-sdk): Entity types * Create forty-laws-wait.md
1 parent 0db5bf6 commit 468b81c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/forty-laws-wait.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/types": patch
3+
---
4+
5+
fix(modules-sdk): Entity types

packages/core/types/src/modules-sdk/remote-query-object-from-string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export type RemoteQueryInput<TEntry extends string> =
8080
/**
8181
* The name of the entity to retrieve. For example, `product`.
8282
*/
83-
entity: TEntry
83+
entity: TEntry | keyof RemoteQueryEntryPoints
8484
/**
8585
* The fields and relations to retrieve in the entity.
8686
*/

0 commit comments

Comments
 (0)