feat(medusa-interfaces): Adds schema options to base model
This commit is contained in:
1 parent
883e80a038
commit
cc23a3b070
2 files changed
+23
-2
No files matched your search
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user