Gallery scrubber (#5133)

This commit is contained in:
WithoutPants
2024-08-28 08:59:41 +10:00
committed by GitHub
parent ce47efc415
commit 996dfb1c2f
21 changed files with 501 additions and 102 deletions

View File

@@ -275,6 +275,10 @@ export const useFindGallery = (id: string) => {
return GQL.useFindGalleryQuery({ variables: { id }, skip });
};
export const useFindGalleryImageID = (id: string, index: number) => {
return GQL.useFindGalleryImageIdQuery({ variables: { id, index } });
};
export const useFindGalleries = (filter?: ListFilterModel) =>
GQL.useFindGalleriesQuery({
skip: filter === undefined,