Adds gift card line item generation

This commit is contained in:
Sebastian Rindom
2020-07-20 16:29:27 +02:00
parent df47da50fa
commit 4c9b876407
6 changed files with 85 additions and 4 deletions
@@ -7,6 +7,7 @@ export default new mongoose.Schema({
title: { type: String, required: true },
description: { type: String },
thumbnail: { type: String },
is_giftcard: { type: Boolean, default: false },
// mongoose doesn't allow multi-type validation but this field allows both
// an object containing: