mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-06 04:32:47 +02:00
Pagination Hook (#3494)
* Backend changes for pagination hook + Paginated users table * Frontend changes for pagination hook * Fix invited users endpoint * Fix layout shift & add enter to submit user invites * mypy * Cleanup * Resolve PR concerns & remove UserStatus * Fix errors --------- Co-authored-by: hagen-danswer <hagen@danswer.ai>
This commit is contained in:
@ -43,17 +43,11 @@ logger = getLogger(__name__)
|
||||
# GLOBAL_CURATOR = "global_curator"
|
||||
|
||||
|
||||
# class UserStatus(str, Enum):
|
||||
# LIVE = "live"
|
||||
# INVITED = "invited"
|
||||
# DEACTIVATED = "deactivated"
|
||||
|
||||
|
||||
# class FullUserSnapshot(BaseModel):
|
||||
# id: UUID
|
||||
# email: str
|
||||
# role: UserRole
|
||||
# status: UserStatus
|
||||
# is_active: bool
|
||||
|
||||
|
||||
# class InvitedUserSnapshot(BaseModel):
|
||||
|
Reference in New Issue
Block a user