feat(medusa): Add metadata to Product Category (#5599)
* ✨ feat(migrations): add metadata column to product_category table in database to store additional information about each product category * ✨ feat(product-category.ts): add metadata field to ProductCategory model to store additional details 📝 docs(product-category.ts): add documentation for new metadata field in ProductCategory model * ✨ feat(product-category.ts): add metadata field to ProductCategoryInput type to support additional data * ✨ feat(ProductCategory.ts): add optional metadata field to ProductCategory model to store additional details * ✨ feat(product-categories): add metadata field to product categories for additional information storage 📝 docs(product-categories): add documentation for new metadata field in product categories * ✨ feat(product-categories): add 'metadata' field to default and allowed product category fields for enhanced data tracking * ✨ feat(product-category.ts): add metadata support to product categories 🔧 refactor(product-category.ts): import setMetadata from utils to handle metadata setting in a more efficient way * ✨ feat(models): add metadata field to AdminPostProductCategoriesCategoryReq and AdminPostProductCategoriesReq models to store additional information * 📝 docs(api-reference): add metadata field to ProductCategory schema in both admin and store specs 🔧 fix(api-reference): make metadata field required in ProductCategory schema to ensure data consistency * Create nine-fishes-matter.md --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
6
.changeset/nine-fishes-matter.md
Normal file
6
.changeset/nine-fishes-matter.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
"@medusajs/client-types": patch
|
||||
---
|
||||
|
||||
feat(medusa): Add `metadata` to Product Category
|
||||
Reference in New Issue
Block a user