feat(medusa): Update BuildQuery typings (#1672)

This commit is contained in:
Adrien de Peretti
2022-06-17 10:03:51 +02:00
committed by GitHub
parent 453688682c
commit 93aaaa71bd
2 changed files with 13 additions and 10 deletions
+1 -4
View File
@@ -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),
}