Brandon Presley
672931746b
This reduces the jitter in the homepage when you have scrolled down a significant amount. Related to #165. Still need to do other list pages.
24 lines
341 B
TypeScript
24 lines
341 B
TypeScript
import GymSet from "./gym-set";
|
|
|
|
export type HomePageParams = {
|
|
Sets: {
|
|
search?: string;
|
|
|
|
/**
|
|
* Reload the current list with limit = offset
|
|
*/
|
|
refresh?: number;
|
|
|
|
/**
|
|
* Reload the list with limit = 0
|
|
*/
|
|
reset?: number;
|
|
};
|
|
EditSet: {
|
|
set: GymSet;
|
|
};
|
|
EditSets: {
|
|
ids: number[];
|
|
};
|
|
};
|