@itleadopencommerce/api-plugin-favorites

0.4.2 • Public • Published

api-plugin-catalogs

npm (scoped) CircleCI semantic-release

Summary

Catalogs plugin for the Reaction API

Developer Certificate of Origin

We use the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement for all contributions to Reaction Commerce open source projects. We request that contributors agree to the terms of the DCO and indicate that agreement by signing all commits made to Reaction Commerce projects by adding a line with your name and email address to every Git commit message contributed:

Signed-off-by: Jane Doe <jane.doe@example.com>

You can sign your commit automatically with Git by using git commit -s if you have your user.name and user.email set as part of your Git configuration.

We ask that you use your real name (please no anonymous contributions or pseudonyms). By signing your commit you are certifying that you have the right have the right to submit it under the open source license used by that particular Reaction Commerce project. You must use your real name (no pseudonyms or anonymous contributions are allowed.)

We use the Probot DCO GitHub app to check for DCO signoffs of every commit.

If you forget to sign your commits, the DCO bot will remind you and give you detailed instructions for how to amend your commits to add a signature.

License

This Reaction plugin is GNU GPLv3 Licensed

Change Log

v0.4.2

Summary

Remame method

v0.4.1

Summary

Add variantData method to query. Returns data from context.query.variant() by variantId

v0.4.0

Summary

Add encode and decode support

Rename methods

  • addProductToFavorite() -> addVariantToFavorite()
  • removeProductFromFavorite() -> removeVariantFromFavorite()

Deleted

deleted i118 folder

v0.3.0

Summary

Rebuild main logic -> now client must be authorized to get / update / delete favorites.

Permissions: only client have rights to manipulate gis favorites

Deprecated

Mongo and GraphQL Schemas
  • FavoriteProduct
  • FavoriteProductOption
  • FavoriteProductVariant

cant remove because problems with other plugins

  • api-plugin-pricing-simple
  • api-plugin-inventory ?

TODO remove it in time

Change logic and rename methods

rebuild logic for

  • favorites()
  • addProductToFavorite()
  • removeProductFromFavorite()

Readme

Keywords

none

Package Sidebar

Install

npm i @itleadopencommerce/api-plugin-favorites

Weekly Downloads

0

Version

0.4.2

License

GPL-3.0

Unpacked Size

64.9 kB

Total Files

35

Last publish

Collaborators

  • vladislavfastlink
  • max31459
  • obodinplay
  • iuriiser
  • nick-rebrik
  • yauhendavidovich
  • bondar.m
  • devitlead