chore(types): index module type (#9473)
This commit is contained in:
committed by
GitHub
parent
67e08dc989
commit
cc77ca1413
@@ -2,9 +2,9 @@ import {
|
||||
RemoteQueryEntryPoints,
|
||||
RemoteQueryFilters,
|
||||
RemoteQueryGraph,
|
||||
RemoteQueryInput,
|
||||
RemoteQueryObjectConfig,
|
||||
} from "@medusajs/types"
|
||||
import { IndexOrderBy } from "@medusajs/types/dist/index/query-config/query-input-config-order-by"
|
||||
import { QueryContext, QueryFilter, isObject } from "@medusajs/utils"
|
||||
import { parseAndAssignFilters } from "./parse-filters"
|
||||
|
||||
@@ -34,11 +34,7 @@ export function toRemoteQuery<const TEntity extends string>(
|
||||
entity: TEntity | keyof RemoteQueryEntryPoints
|
||||
fields: RemoteQueryObjectConfig<TEntity>["fields"]
|
||||
filters?: RemoteQueryFilters<TEntity>
|
||||
pagination?: {
|
||||
skip?: number
|
||||
take?: number
|
||||
order?: IndexOrderBy<TEntity>
|
||||
}
|
||||
pagination?: Partial<RemoteQueryInput<TEntity>["pagination"]>
|
||||
context?: Record<string, any>
|
||||
},
|
||||
entitiesMap: Map<string, any>
|
||||
|
||||
Reference in New Issue
Block a user