Describe all types for the new storage system
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Melody Becker 2025-03-27 10:45:57 +01:00
parent 8d4ba2ecae
commit 67b507f4bd
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
25 changed files with 74 additions and 27 deletions

View file

@ -6,6 +6,10 @@ import (
"gorm.io/gorm"
)
// One key-value field attached to an account
// If the value is an uri, the server may attempt to verify ownership
// over that uri by checking the content for a `rel="me"` anchor
// linking back to the account the field is attached to
type UserInfoField struct {
gorm.Model // Can actually just embed this as is here as those are not something directly exposed :3
Name string