UNPKG

@techsio/storefront-data

Version:

Medusa-first storefront data layer built on TanStack Query.

12 lines (11 loc) • 442 B
import { createQueryKey, normalizeQueryKeyPart } from "../shared/query-keys.js"; function createProductLocationAvailabilityQueryKeys(namespace) { return { detail: (params)=>createQueryKey(namespace, "product-location-availability", "detail", normalizeQueryKeyPart(params, { omitKeys: [ "enabled" ] })) }; } export { createProductLocationAvailabilityQueryKeys };