chore(client): remove redeclared `UserInfo` in client package

Signed-off-by: joeyczheng <joeyczheng@tencent.com>
main
joeyczheng 2026-03-24 10:43:12 +08:00 committed by lyingbug
parent 4a39081d53
commit 4b0f2d4cc6
1 changed files with 0 additions and 13 deletions

View File

@ -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"`