Add user detail API + modal. Closes #2002

This commit is contained in:
Gabe Kangas
2022-07-20 20:42:23 -07:00
parent 82a0b492a5
commit f3a16be0dd
21 changed files with 543 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.13.0
// sqlc v1.14.0
package db
@@ -52,6 +52,19 @@ type IpBan struct {
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