mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 13:16:09 +00:00
Fix paginated TS interfaces
This commit is contained in:
1 parent
60db7e2516
commit
0f6cda377c
3 files changed
+9
-7
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { paginated } from "#core:utils/api";
|
||||
import { History, initialUrlParams, updateQueryString } from "#core:utils/history";
|
||||
import {
|
||||
type AlbumFetchAlbumData,
|
||||
type AlbumSchema,
|
||||
type PictureSchema,
|
||||
type PicturesFetchPicturesData,
|
||||
@@ -77,7 +78,7 @@ document.addEventListener("alpine:init", () => {
|
||||
this.albums = await paginated(albumFetchAlbum, {
|
||||
// biome-ignore lint/style/useNamingConvention: API is snake_case
|
||||
query: { parent_id: this.config.parentId },
|
||||
});
|
||||
} as AlbumFetchAlbumData);
|
||||
this.loading = false;
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user