@superfluid-finance/sdk-core
Version:
SDK Core for building with Superfluid Protocol
11 lines • 393 B
TypeScript
import { OrderDirection } from "./subgraph/schema.generated";
/**
* For ordering Subgraph queries.
* @type TOrderBy Name of the field which the query is order by.
* WARNING: Ordering by `id` in `desc` order breaks {@link LastIdPaging}.
*/
export type Ordering<TOrderBy extends string> = {
orderBy: TOrderBy;
orderDirection: OrderDirection;
};
//# sourceMappingURL=ordering.d.ts.map