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

This commit is contained in:
Oliver Windall Juhl
2020-10-20 17:07:47 +02:00
committed by GitHub
parent 883e80a038
commit cc23a3b070
2 changed files with 23 additions and 2 deletions
+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 },