added some stuff

This commit is contained in:
2026-02-26 15:11:47 -06:00
parent bdad774b16
commit 1d3e911515
2 changed files with 26 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
package tether
import "gorm.io/gorm"
type AuthCtx struct {
UserID string
IsLoggedIn bool
}
type QueryCtx struct {
DB *gorm.DB
AuthCtx *AuthCtx
}
type MutationCtx struct {
DB *gorm.DB
AuthCtx *AuthCtx
}