UserQueryInput

UserQueryInput

Pagination input for querying users. Supports both forward and backward pagination.
Use ‘first’ and ‘after’ for forward pagination, or ‘last’ and ‘before’ for backward pagination.

Kind: Input

Fields

Field Type Description
after String A cursor for pagination, returns items after this cursor (forward pagination)
before String A cursor for pagination, returns items before this cursor (backward pagination)
email String if provided, filter users by email
first Int The number of items to return from the beginning of the list (forward pagination)
includeInactive Boolean When true, include inactive users in results. Defaults to false (only active users returned).
last Int The number of items to return from the end of the list (backward pagination)
name String if provided, filter users by name
phone String if provided, filter users by phone
username String if provided, filter users by username

Definition

"""
Pagination input for querying users. Supports both forward and backward pagination.
Use 'first' and 'after' for forward pagination, or 'last' and 'before' for backward pagination.
"""
input UserQueryInput {
  """
  A cursor for pagination, returns items after this cursor (forward pagination)
  """
  after: String
  """
  A cursor for pagination, returns items before this cursor (backward pagination)
  """
  before: String
  """if provided, filter users by email"""
  email: String
  """
  The number of items to return from the beginning of the list (forward pagination)
  """
  first: Int
  """
  When true, include inactive users in results. Defaults to false (only active users returned).
  """
  includeInactive: Boolean = false
  """
  The number of items to return from the end of the list (backward pagination)
  """
  last: Int
  """if provided, filter users by name"""
  name: String
  """if provided, filter users by phone"""
  phone: String
  """if provided, filter users by username"""
  username: String
}