summaryrefslogtreecommitdiff
path: root/internal/data/models.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-01 10:09:21 +0200
committerKyren223 <Kyren223@proton.me>2024-12-01 10:09:21 +0200
commit78a38f508e7b9d2389c9c422c2d164b9059b03f8 (patch)
tree67550791d99597eaa6ab50334ccc880f06a8de17 /internal/data/models.go
parent94166da109cf19ce48311d07aa67875fcb85f178 (diff)
Implemented frequency creation, BROKEN right now
Diffstat (limited to 'internal/data/models.go')
-rw-r--r--internal/data/models.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/data/models.go b/internal/data/models.go
index 566d2ef..f53d726 100644
--- a/internal/data/models.go
+++ b/internal/data/models.go
@@ -51,13 +51,7 @@ type UserBlockedUser struct {
BlockedUserID snowflake.ID
}
-type UserTrustedUser struct {
- TrusterUserID snowflake.ID
- TrustedUserID snowflake.ID
- TrustedPublicKey []byte
-}
-
-type UsersNetwork struct {
+type UserNetwork struct {
UserID snowflake.ID
NetworkID snowflake.ID
JoinedAt string
@@ -68,3 +62,9 @@ type UsersNetwork struct {
BanReason *string
Position *int64
}
+
+type UserTrustedUser struct {
+ TrusterUserID snowflake.ID
+ TrustedUserID snowflake.ID
+ TrustedPublicKey []byte
+}