import type { BagItem } from '@farfetch/blackout-client'; import type { CustomAttributesAdapted, PriceAdapted, SizeAdapted } from '../../helpers/adapters/index.js'; import type { MerchantEntity } from './merchant.types.js'; import type { ProductEntity, ProductEntityDenormalized } from './product.types.js'; export type BagItemEntity = Omit & { customAttributes: CustomAttributesAdapted; dateCreated: number | null; id: BagItem['id']; merchant: MerchantEntity['id']; price: PriceAdapted; product: ProductEntity['id']; size: SizeAdapted; }; export type BagItemDenormalized = Omit & { product: ProductEntityDenormalized | undefined; };