get merch methods

This commit is contained in:
nquidox 2025-09-15 17:56:16 +03:00
parent 6be1cc79fa
commit d58ad2970b
4 changed files with 165 additions and 30 deletions

View file

@ -1,5 +1,10 @@
package merch
type merchBundle struct {
Merch
Surugaya
Mandarake
}
type MerchDTO struct {
MerchUuid string `json:"merch_uuid"`
Name string `json:"name"`
@ -15,3 +20,14 @@ type SurugayaDTO struct {
type MandarakeDTO struct {
Link string `json:"link"`
}
type SingleMerchResponse struct {
MerchUuid string `json:"merch_uuid"`
Name string `json:"name"`
Origins []any `json:"origins"`
}
type ListResponse struct {
MerchUuid string `json:"merch_uuid"`
Name string `json:"name"`
}