Changeset 0.9.4 (#54)

This commit is contained in:
2026-02-24 10:44:12 +00:00
parent 90021157e6
commit 5e416d3726
26 changed files with 1333 additions and 108 deletions

View File

@@ -11,6 +11,7 @@ import (
"github.com/gin-gonic/gin"
"git.gobha.me/xcaliber/chat-switchboard/crypto"
"git.gobha.me/xcaliber/chat-switchboard/database"
"git.gobha.me/xcaliber/chat-switchboard/providers"
)
@@ -40,9 +41,13 @@ type updateMemberRequest struct {
// ── Handler ─────────────────────────────────
type TeamHandler struct{}
type TeamHandler struct{
vault *crypto.KeyResolver
}
func NewTeamHandler() *TeamHandler { return &TeamHandler{} }
func NewTeamHandler(vault *crypto.KeyResolver) *TeamHandler {
return &TeamHandler{vault: vault}
}
// ── Admin: List All Teams ───────────────────