⬆️ Upgrade dealer

This commit is contained in:
2024-09-17 16:52:42 +08:00
parent f6482225ab
commit ee16094855
7 changed files with 20 additions and 60 deletions

View File

@ -5,13 +5,7 @@ import "git.solsynth.dev/hydrogen/dealer/pkg/hyper"
// Realm profiles basically fetched from Hydrogen.Passport
// But cache at here for better usage and database relations
type Realm struct {
hyper.BaseModel
hyper.BaseRealm
Alias string `json:"alias"`
Name string `json:"name"`
Description string `json:"description"`
Channels []Channel `json:"channels"`
IsPublic bool `json:"is_public"`
IsCommunity bool `json:"is_community"`
ExternalID uint `json:"external_id"`
Channels []Channel `json:"channels"`
}