import { enhanceSku } from '../utils/enhanceSku' ; import type { Product } from '../clients/search/types/ProductSearchResult' ; import type { Resolver } from '..' ; export const StoreProductGroup = { hasVariant : ( root ) => root . skus . map ( ( sku ) => enhanceSku ( sku , root ) ) , productGroupID : ( { product } ) => product , name : ( { name } ) => name } ;