mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-24 01:13:32 -06:00
whole buncha stuff
This commit is contained in:
parent
b48072fef6
commit
4e281f31b0
12 changed files with 151 additions and 24 deletions
|
|
@ -26,10 +26,10 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// GTSAccount represents a GoToSocial user account
|
||||
type GTSAccount struct {
|
||||
GTSAvatar
|
||||
GTSHeader
|
||||
// Account represents a GoToSocial user account
|
||||
type Account struct {
|
||||
Avatar
|
||||
Header
|
||||
URI string
|
||||
URL string
|
||||
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
|
||||
|
|
@ -66,7 +66,7 @@ type GTSAccount struct {
|
|||
SuspensionOrigin int
|
||||
}
|
||||
|
||||
type GTSAvatar struct {
|
||||
type Avatar struct {
|
||||
AvatarFileName string
|
||||
AvatarContentType string
|
||||
AvatarFileSize int
|
||||
|
|
@ -75,7 +75,7 @@ type GTSAvatar struct {
|
|||
AvatarStorageSchemaVersion int
|
||||
}
|
||||
|
||||
type GTSHeader struct {
|
||||
type Header struct {
|
||||
HeaderFileName string
|
||||
HeaderContentType string
|
||||
HeaderFileSize int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue