Repository URL to install this package:
|
Version:
1.3.1 ▾
|
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,
}