This commit is contained in:
parent
08f6de0bd7
commit
5e93ecee73
12 changed files with 241 additions and 109 deletions
|
@ -1,6 +1,10 @@
|
|||
package models
|
||||
|
||||
import "gorm.io/gorm"
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
// UserRemoteLinks contains cached links for remote users
|
||||
type UserRemoteLinks struct {
|
||||
|
@ -13,11 +17,11 @@ type UserRemoteLinks struct {
|
|||
// 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
|
||||
ViewLink sql.NullString
|
||||
FollowersLink sql.NullString
|
||||
FollowingLink sql.NullString
|
||||
InboxLink string
|
||||
OutboxLink *string
|
||||
FeaturedLink *string
|
||||
FeaturedTagsLink *string
|
||||
OutboxLink sql.NullString
|
||||
FeaturedLink sql.NullString
|
||||
FeaturedTagsLink sql.NullString
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue