24 lines
329 B
TypeScript
24 lines
329 B
TypeScript
import GymSet from "./gym-set";
|
|
|
|
export type HomePageParams = {
|
|
Sets: {
|
|
search?: string;
|
|
|
|
/**
|
|
* Reload the specified set by ID.
|
|
*/
|
|
refresh?: number;
|
|
|
|
/**
|
|
* Reload the list with limit = 0
|
|
*/
|
|
reset?: number;
|
|
};
|
|
EditSet: {
|
|
set: GymSet;
|
|
};
|
|
EditSets: {
|
|
ids: number[];
|
|
};
|
|
};
|