From 4b0f2d4cc6efa6f0a0c8ee83c4071af6dcbafdcb Mon Sep 17 00:00:00 2001 From: joeyczheng Date: Tue, 24 Mar 2026 10:43:12 +0800 Subject: [PATCH] chore(client): remove redeclared `UserInfo` in client package Signed-off-by: joeyczheng --- client/organization.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/client/organization.go b/client/organization.go index f0c21626..aec50405 100644 --- a/client/organization.go +++ b/client/organization.go @@ -126,19 +126,6 @@ type JoinRequestResponse struct { ReviewedAt *time.Time `json:"reviewed_at,omitempty"` } -// UserInfo represents user information for API responses -type UserInfo struct { - ID string `json:"id"` - Username string `json:"username"` - Email string `json:"email"` - Avatar string `json:"avatar"` - TenantID uint64 `json:"tenant_id"` - IsActive bool `json:"is_active"` - CanAccessAllTenants bool `json:"can_access_all_tenants"` - CreatedAt time.Time `json:"created_at"` - UpdatedAt time.Time `json:"updated_at"` -} - // SharedKnowledgeBaseInfo represents a shared knowledge base type SharedKnowledgeBaseInfo struct { ShareID string `json:"share_id"`