← API reference
CANONICAL TYPE REFERENCE

FolderSortField

Folder attribute the folders query orders by.

NAME

Order by the folder's name, compared as text by the database. Names are unique per tenant, so this ordering never needs its TypeID tiebreaker.

CREATED_AT

Order by when the folder was created. This is what the query falls back to when no sort is given, paired with DESC (newest first).

UPDATED_AT

Order by the last write to the folder row — a rename, a description edit, or a re-binding — so a DESC page leads with recently touched folders.

View exact SDL
"""Folder attribute the folders query orders by."""
enum FolderSortField {
  """
  Order by the folder's name, compared as text by the database. Names are unique per tenant, so this ordering never needs its TypeID tiebreaker.
  """
  NAME
  """
  Order by when the folder was created. This is what the query falls back to when no sort is given, paired with DESC (newest first).
  """
  CREATED_AT
  """
  Order by the last write to the folder row — a rename, a description edit, or a re-binding — so a DESC page leads with recently touched folders.
  """
  UPDATED_AT
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.