mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
13 lines
341 B
TypeScript
13 lines
341 B
TypeScript
/**
|
|
* Represents query params used as list options by the Fleet API
|
|
*/
|
|
export interface IListOptions {
|
|
page: number;
|
|
per_page: number;
|
|
order_key: string;
|
|
order_direction: string;
|
|
}
|
|
|
|
export type IListSort = Pick<IListOptions, "order_key" | "order_direction">;
|
|
|
|
export type IListPagination = Pick<IListOptions, "page" | "per_page">;
|