feat(medusa-interfaces): Adds schema options to base model

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2020-10-20 17:07:47 +02:00
1 parent 883e80a038
commit cc23a3b070
2 files changed
+23 -2

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ import DiscountSchema from "./schemas/discount"
class CartModel extends BaseModel {
static modelName = "Cart"
static schemaOptions = {
minimize: false,
}
static schema = {
email: { type: String },
billing_address: { type: AddressSchema },