50 lines
1 KiB
Text
50 lines
1 KiB
Text
|
OutboxItem
|
||
|
|
||
|
Inbox
|
||
|
|
||
|
Outbox
|
||
|
|
||
|
FollowerSet
|
||
|
|
||
|
Actor
|
||
|
name Text
|
||
|
desc Text
|
||
|
createdAt UTCTime
|
||
|
inbox InboxId
|
||
|
outbox OutboxId
|
||
|
followers FollowerSetId
|
||
|
|
||
|
UniqueActorInbox inbox
|
||
|
UniqueActorOutbox outbox
|
||
|
UniqueActorFollowers followers
|
||
|
|
||
|
Follow
|
||
|
person PersonId
|
||
|
actor ActorId -- TODO CONTINUE write a migration adding this field
|
||
|
target FollowerSetId
|
||
|
public Bool
|
||
|
follow OutboxItemId
|
||
|
accept OutboxItemId
|
||
|
|
||
|
UniqueFollow person target
|
||
|
UniqueFollowFollow follow
|
||
|
UniqueFollowAccept accept
|
||
|
|
||
|
Person
|
||
|
username Username
|
||
|
login Text
|
||
|
passphraseHash ByteString
|
||
|
email EmailAddress
|
||
|
verified Bool
|
||
|
verifiedKey Text
|
||
|
verifiedKeyCreated UTCTime
|
||
|
resetPassKey Text
|
||
|
resetPassKeyCreated UTCTime
|
||
|
actor ActorId
|
||
|
-- reviewFollow Bool
|
||
|
|
||
|
UniquePersonUsername username
|
||
|
UniquePersonLogin login
|
||
|
UniquePersonEmail email
|
||
|
UniquePersonActor actor
|