Socket
Book a DemoInstallSign in
Socket

@itleadopencommerce/api-plugin-products

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itleadopencommerce/api-plugin-products

Products plugin for the Reaction API

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
5
Created
Source

api-plugin-products

npm (scoped) CircleCI semantic-release

Summary

Products 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.1.4

Summary

Fix encode / decode namespaces errors

v0.1.3

Summary

Set default fields for query -> variants() and products() "Filter by archived" isArchived: Boolean = false

"Filter by visibility" isVisible: Boolean = true

v0.1.2

Summary

type ProductVariant -> product can return null.

PS Temporary. Need to fix test data

v0.1.1

Deprecated

  • product() ->
    • rm permission verification to read data
    • shopId is not required anymore
  • products() ->
    • rm permission verification to read data
    • shopId is not required anymore

new methods

  • variant() -> get variant by variant id
  • variants() -> get variants with pagination by search query
  • encodeVariantOpaqueId() / decodeVariantOpaqueId() methods for variantId

graphQl schema changes

  • productId -> return main product id for the variant
  • product -> return main product data for the variant
  • split schemas to product.graphql and variant.graphql

FAQs

Package last updated on 22 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts