models.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. // Code generated by sqlc. DO NOT EDIT.
  2. // versions:
  3. // sqlc v1.19.1
  4. package db
  5. import (
  6. "database/sql"
  7. "time"
  8. )
  9. type ApAcceptedActivity struct {
  10. ID int32
  11. Iri string
  12. Actor string
  13. Type string
  14. Timestamp time.Time
  15. }
  16. type ApFollower struct {
  17. Iri string
  18. Inbox string
  19. Name sql.NullString
  20. Username string
  21. Image sql.NullString
  22. Request string
  23. RequestObject []byte
  24. CreatedAt sql.NullTime
  25. ApprovedAt sql.NullTime
  26. DisabledAt sql.NullTime
  27. }
  28. type ApOutbox struct {
  29. Iri string
  30. Value []byte
  31. Type string
  32. CreatedAt sql.NullTime
  33. LiveNotification sql.NullBool
  34. }
  35. type Auth struct {
  36. ID int32
  37. UserID string
  38. Token string
  39. Type string
  40. Timestamp time.Time
  41. }
  42. type IpBan struct {
  43. IpAddress string
  44. Notes sql.NullString
  45. CreatedAt sql.NullTime
  46. }
  47. type Message struct {
  48. ID string
  49. UserID sql.NullString
  50. Body sql.NullString
  51. EventType sql.NullString
  52. HiddenAt sql.NullTime
  53. Timestamp sql.NullTime
  54. Title sql.NullString
  55. Subtitle sql.NullString
  56. Image sql.NullString
  57. Link sql.NullString
  58. }
  59. type Notification struct {
  60. ID int32
  61. Channel string
  62. Destination string
  63. CreatedAt sql.NullTime
  64. }
  65. type ReplayClip struct {
  66. ID string
  67. StreamID string
  68. ClippedBy sql.NullString
  69. ClipTitle sql.NullString
  70. RelativeStartTime sql.NullFloat64
  71. RelativeEndTime sql.NullFloat64
  72. Timestamp sql.NullTime
  73. }
  74. type Stream struct {
  75. ID string
  76. StreamTitle sql.NullString
  77. StartTime sql.NullTime
  78. EndTime sql.NullTime
  79. }
  80. type User struct {
  81. ID string
  82. DisplayName string
  83. DisplayColor int32
  84. CreatedAt sql.NullTime
  85. DisabledAt sql.NullTime
  86. PreviousNames sql.NullString
  87. NamechangedAt sql.NullTime
  88. Scopes sql.NullString
  89. AuthenticatedAt sql.NullTime
  90. Type sql.NullString
  91. LastUsed interface{}
  92. }
  93. type UserAccessToken struct {
  94. Token string
  95. UserID string
  96. Timestamp time.Time
  97. }
  98. type VideoSegment struct {
  99. ID string
  100. StreamID string
  101. OutputConfigurationID string
  102. Path string
  103. RelativeTimestamp float32
  104. Timestamp sql.NullTime
  105. }
  106. type VideoSegmentOutputConfiguration struct {
  107. ID string
  108. VariantID string
  109. Name string
  110. StreamID string
  111. SegmentDuration int32
  112. Bitrate int32
  113. Framerate int32
  114. ResolutionWidth sql.NullInt32
  115. ResolutionHeight sql.NullInt32
  116. Timestamp sql.NullTime
  117. }