linstrom/storage-new/models/UserRemote.go
mstar 8d4ba2ecae
Some checks are pending
/ test (push) Waiting to run
More work on defining the new data structure
2025-03-26 17:14:42 +01:00

22 lines
541 B
Go

package models
import "gorm.io/gorm"
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
}