Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@comparaonline/offers-models

comparaonline2.7kUNLICENSED6.9.8TypeScript support: included

Models for comparaonline offers

models, model, offers, offer

readme

Offers Model Package

This library contains the types definition for the models which are part of the market-place offers cycle.

How to use:

Add the @comparaonline/offers-models to project.

  • Use as the example: `typescript import { Country } from '@comparaonline/offers-models'

const chile:Country = { code: 'cl', name: 'Chile' };

`

Contains Types definition for:

  • BusinessUnit
  • Company
  • Country
  • Config: Generic Config for Entity
    • ConfigMoney
    • ConfigMoneyInstallment
    • ConfigNumber
    • ConfigPercentage
  • Division
  • Format: Generic Format Unit
    • FormatMoney
    • FormatNumber
    • FormatPercentage
    • FormatUnit
  • Entity: Generic entity model
    • EntityMoneyInstallment
    • EntityList
    • EntityMoney
    • EntityNumber
    • EntityPercentage
    • EntityTerm
  • EntityFilter
  • Filter
  • Offer
  • Product
  • ProductAttribute: Generic product attribute model.
    • MoneyInstallmentAttribute
    • IntegerAttribute
    • StringAttribute
    • ListAttribute
    • MoneyAttribute
    • TermAttribute