Brandon Presley
386a9a7bb2
Since we already have the whole updated set, might as well pass it around instead of re-fetching it.
24 lines
322 B
TypeScript
24 lines
322 B
TypeScript
import GymSet from "./gym-set";
|
|
|
|
export type HomePageParams = {
|
|
Sets: {
|
|
search?: string;
|
|
|
|
/**
|
|
* Update the specified set
|
|
*/
|
|
refresh?: GymSet;
|
|
|
|
/**
|
|
* Reload the list with limit = 0
|
|
*/
|
|
reset?: number;
|
|
};
|
|
EditSet: {
|
|
set: GymSet;
|
|
};
|
|
EditSets: {
|
|
ids: number[];
|
|
};
|
|
};
|