23 lines
599 B
Go
23 lines
599 B
Go
package models
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
// UserRemoteLinks contains cached links for remote users
|
|
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
|
|
}
|