Skip to main content

TypeScript shape

interface TokenRanking {
  attribute?: TokenRankingAttribute | null;
  direction?: RankingDirection | null;
}
attribute
TokenRankingAttribute
The field to sort by. See TokenRankingAttribute.
direction
RankingDirection
Sort direction: ASC or DESC. See RankingDirection.