@comparaonline/offers-models
TypeScript icon, indicating that this package has built-in type declarations

6.9.8 • Public • Published

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:
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

Package Sidebar

Install

npm i @comparaonline/offers-models

Weekly Downloads

617

Version

6.9.8

License

UNLICENSED

Unpacked Size

19 kB

Total Files

63

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara