Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import {
  MetaTypeLabelValue,
} from './generic'

// { label: 'bundleprice', type: 'PriceInfo', value: '30' },
export type PricesSale = MetaTypeLabelValue<'Sale', 'sale', '30'>
export type PricesReg = MetaTypeLabelValue<'Reg', 'reg', '30'>
export type PricesCost = MetaTypeLabelValue<'PriceInfo', 'costprice', '60'>
export type PricesBundle = MetaTypeLabelValue<'PriceInfo', 'bundleprice', '60'>

export type MetaTypeLabelValuePrice = PricesSale | PricesReg | PricesCost | PricesBundle
export type MetaTypeLabelValuePricesList = Array<MetaTypeLabelValuePrice>

// @todo extend
export type CartPrice = number | string

export type Currency = '$' | 'pound' | ''

export {
  MetaTypeLabelValuePricesList as Prices,
}