feat(medusa): Update BuildQuery typings (#1672)
This commit is contained in:
@@ -78,10 +78,7 @@ export function buildQuery<TEntity = unknown>(
|
||||
}, {} as Partial<Writable<TEntity>>)
|
||||
}
|
||||
|
||||
const query: FindConfig<TEntity> & {
|
||||
where: Partial<Writable<TEntity>>
|
||||
withDeleted?: boolean
|
||||
} = {
|
||||
const query: ExtendedFindConfig<TEntity> = {
|
||||
where: build(selector),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user