mirror of
https://github.com/owncast/owncast.git
synced 2024-12-18 07:12:33 +03:00
132 lines
2.6 KiB
Go
132 lines
2.6 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.19.1
|
|
|
|
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 Auth struct {
|
|
ID int32
|
|
UserID string
|
|
Token string
|
|
Type string
|
|
Timestamp time.Time
|
|
}
|
|
|
|
type IpBan struct {
|
|
IpAddress string
|
|
Notes sql.NullString
|
|
CreatedAt sql.NullTime
|
|
}
|
|
|
|
type Message struct {
|
|
ID string
|
|
UserID sql.NullString
|
|
Body sql.NullString
|
|
EventType sql.NullString
|
|
HiddenAt sql.NullTime
|
|
Timestamp sql.NullTime
|
|
Title sql.NullString
|
|
Subtitle sql.NullString
|
|
Image sql.NullString
|
|
Link sql.NullString
|
|
}
|
|
|
|
type Notification struct {
|
|
ID int32
|
|
Channel string
|
|
Destination string
|
|
CreatedAt sql.NullTime
|
|
}
|
|
|
|
type ReplayClip struct {
|
|
ID string
|
|
StreamID string
|
|
ClippedBy sql.NullString
|
|
ClipTitle sql.NullString
|
|
RelativeStartTime sql.NullFloat64
|
|
RelativeEndTime sql.NullFloat64
|
|
Timestamp sql.NullTime
|
|
}
|
|
|
|
type Stream struct {
|
|
ID string
|
|
StreamTitle sql.NullString
|
|
StartTime sql.NullTime
|
|
EndTime sql.NullTime
|
|
}
|
|
|
|
type User struct {
|
|
ID string
|
|
DisplayName string
|
|
DisplayColor int32
|
|
CreatedAt sql.NullTime
|
|
DisabledAt sql.NullTime
|
|
PreviousNames sql.NullString
|
|
NamechangedAt sql.NullTime
|
|
Scopes sql.NullString
|
|
AuthenticatedAt sql.NullTime
|
|
Type sql.NullString
|
|
LastUsed interface{}
|
|
}
|
|
|
|
type UserAccessToken struct {
|
|
Token string
|
|
UserID string
|
|
Timestamp time.Time
|
|
}
|
|
|
|
type VideoSegment struct {
|
|
ID string
|
|
StreamID string
|
|
OutputConfigurationID string
|
|
Path string
|
|
RelativeTimestamp float32
|
|
Timestamp sql.NullTime
|
|
}
|
|
|
|
type VideoSegmentOutputConfiguration struct {
|
|
ID string
|
|
VariantID string
|
|
Name string
|
|
StreamID string
|
|
SegmentDuration int32
|
|
Bitrate int32
|
|
Framerate int32
|
|
ResolutionWidth sql.NullInt32
|
|
ResolutionHeight sql.NullInt32
|
|
Timestamp sql.NullTime
|
|
}
|