Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add BUNDLE metadata to allow Phygitals offers (#644)
* add types of metadata and some unit tests * feat: complete new metadata types and unit tests * implement function createVariantProductItem() to create variant items for same product * fix test * refector createVariantProductMetadata() using createVariantProductItem() * fix e2e tests * add first e2e test for bundle * fix e2e test * feat: add BUNDLE in subgraph * speed up codegen/lintprettier for subgraph core-sdk package * add metadataUri in subgraph schema at item level * implement getBundleMetadataEntities() and ensure getProductWithVariants() consider BUNDLE offers * code styling * factorise code between productv1 and bundle e2e tests * add bundleUuid in bundle metadata * pr remarks * fix lint * fix subgraph test * fix subgraph test * fix and complete e2e tests * PR review remarks * add missing fields on nftItem metadata * create an Unknown type item in bundle, do deal with unsupported item metadata types
- Loading branch information