linstrom/storage-new/models/UserRemote.go
mstar 67b507f4bd
Some checks are pending
/ test (push) Waiting to run
Describe all types for the new storage system
2025-03-27 10:45:57 +01:00

23 lines
602 B
Go

package models
import "gorm.io/gorm"
// "Cached" extra data for accounts, in case they are remote
type UserRemoteLinks struct {
// ---- Section: gorm
// Sets this struct up as a value that an Account may have
gorm.Model
User User
UserId string
// Just about every link here is optional to accomodate for servers with only minimal accounts
// Minimal being handle, ap link and inbox
ApLink string
ViewLink *string
FollowersLink *string
FollowingLink *string
InboxLink string
OutboxLink *string
FeaturedLink *string
FeaturedTagsLink *string
}