get single merch

This commit is contained in:
nquidox 2026-03-16 21:09:01 +03:00
parent ec4fe5151e
commit 7922c00238
4 changed files with 117 additions and 7 deletions

View file

@ -46,12 +46,18 @@ type extraDataDTO struct {
Links []originLink `json:"links"`
}
type ListResponse struct {
type listResponse struct {
MerchUuid string `json:"merch_uuid"`
Name string `json:"name"`
Labels []string `json:"labels,omitempty"`
}
type singleMerchResponse struct {
MerchUuid string `json:"merch_uuid"`
Name string `json:"name"`
Origins []originLink `json:"origins"`
}
type getMerchInternal struct {
Id int64 `json:"id"`
MerchUuid string `json:"merch_uuid"`