Nachos Pillage Milwaukee

    commercetools-entities-schemas

    1.1.24 • Public • Published

    commercetools entities schemas

    Reusable commercetools entities schemas definitions

    Docs

    • baseTypes
    • address
    • addressDraft
    • asset
    • assetSource
    • attribute
    • baseMoney
    • createdBy
    • customFields
    • dateTime
    • image
    • lastModifiedBy
    • priceDraft
    • reference
    • resourceIdentifier
    • geoJSONGeometry
    • localizedString
    • money
    • reviewRatingStatistics
    • assetDraft
    • customFieldsDraft
    • date
    • key
    • price
    • slug
    • general purpose
    • message
    • pagedQueryResult
    • categories
    • category
    • categoryDraft
    • channel
    • channel
    • channelDraft
    • customer
    • customer
    • customerDraft
    • customerSignInResult
    • customerToken
    • customerGroup
    • customerGroup
    • customerGroupDraft
    • httpApi
    • pagedQueryResult
    • searchParams
    • store
    • store
    • storeDraft
    • taxCategory
    • subRate
    • taxCategory
    • taxCategoryDraft
    • taxRate
    • taxRateDraft
    • discount
    • discountCode
    • cart
    • cart
    • lineItem
    • lineItemDraft
    • order
    • order
    • orderFromCartDraft
    • shippingMethod
    • shippingMethod

    Install

    npm i commercetools-entities-schemas --save

    Usage

    After adding it to your project just require the desired schemas.

    You can require the specific schema you need:

    const address = require("commercetools-entities-schemas/baseTypes/address");

    You can also require by group:

    const { address } = require("commercetools-entities-schemas/baseTypes");

    Or get everything at once:

    const schemas = require("commercetools-entities-schemas");
    
    const address = schemas.baseTypes.address

    Install

    npm i commercetools-entities-schemas

    DownloadsWeekly Downloads

    73

    Version

    1.1.24

    License

    ISC

    Unpacked Size

    189 kB

    Total Files

    275

    Last publish

    Collaborators

    • rubenbrieva
    • xemayebenes
    • fmoro