feat(cards): Generate placeholders for cards without a pair
This commit is contained in:
@@ -13,10 +13,14 @@ type Card struct {
|
||||
}
|
||||
|
||||
type CardTemplateOptions struct {
|
||||
Cards []Card `json:"cards"`
|
||||
CardsSwapped []Card `json:"cards_swapped"`
|
||||
EventName string `json:"event_name"`
|
||||
CardSubtitle string `json:"card_subtitle"`
|
||||
BarcodeFormat string `json:"barcode_format"`
|
||||
BarcodePrefix string `json:"barcode_prefix"`
|
||||
CardSegments []CardTemplateSegment `json:"card_segments"`
|
||||
EventName string `json:"event_name"`
|
||||
CardSubtitle string `json:"card_subtitle"`
|
||||
BarcodeFormat string `json:"barcode_format"`
|
||||
BarcodePrefix string `json:"barcode_prefix"`
|
||||
}
|
||||
|
||||
type CardTemplateSegment struct {
|
||||
Cards []Card `json:"cards"`
|
||||
CardsSwapped []Card `json:"cards_swapped"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user