feat(cards): Generate placeholders for cards without a pair

This commit is contained in:
2024-12-03 19:20:28 +01:00
parent b179541532
commit f880e9f10c
4 changed files with 51 additions and 11 deletions

View File

@@ -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"`
}