/ src / types / global.ts
global.ts
 1  import { StorePrice } from "@medusajs/types"
 2  
 3  export type FeaturedProduct = {
 4    id: string
 5    title: string
 6    handle: string
 7    thumbnail?: string
 8  }
 9  
10  export type VariantPrice = {
11    calculated_price_number: number
12    calculated_price: string
13    original_price_number: number
14    original_price: string
15    currency_code: string
16    price_type: string
17    percentage_diff: string
18  }
19  
20  export type StoreFreeShippingPrice = StorePrice & {
21    target_reached: boolean
22    target_remaining: number
23    remaining_percentage: number
24  }