17 lines
414 B
TypeScript

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* The property to order by.
* This is flattened in the public API inside the `OrderBy` struct.
*/
export type OrderByTerm =
| { by: "timestamp" }
| {
by: "metric";
/**
* The name of the metric to order by.
*/
name: string;
}
| { by: "search_relevance" };