e46f8e2a66
Store the original follow request object and use it for approvals. Closes #1690
53 lines
898 B
Go
53 lines
898 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.13.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type ApAcceptedActivity struct {
|
|
ID int32
|
|
Iri string
|
|
Actor string
|
|
Type string
|
|
Timestamp time.Time
|
|
}
|
|
|
|
type ApFollower struct {
|
|
Iri string
|
|
Inbox string
|
|
Name sql.NullString
|
|
Username string
|
|
Image sql.NullString
|
|
Request string
|
|
RequestObject []byte
|
|
CreatedAt sql.NullTime
|
|
ApprovedAt sql.NullTime
|
|
DisabledAt sql.NullTime
|
|
}
|
|
|
|
type ApOutbox struct {
|
|
Iri string
|
|
Value []byte
|
|
Type string
|
|
CreatedAt sql.NullTime
|
|
LiveNotification sql.NullBool
|
|
}
|
|
|
|
type IpBan struct {
|
|
IpAddress string
|
|
Notes sql.NullString
|
|
CreatedAt sql.NullTime
|
|
}
|
|
|
|
type Notification struct {
|
|
ID int32
|
|
Channel string
|
|
Destination string
|
|
CreatedAt sql.NullTime
|
|
}
|