feat: add user profile fetch in middleware

This commit is contained in:
2025-12-18 08:46:50 -05:00
parent b64bd4fc26
commit 4c96f58cb0
8 changed files with 114 additions and 44 deletions

View File

@@ -14,6 +14,18 @@ export const GetTitleQuery = graphql(
[MediaFragment],
);
export const GetTitleUserDataQuery = graphql(`
query GetTitleUserData($id: Int!) {
Media(id: $id) {
mediaListEntry {
id
progress
status
}
}
}
`);
export const SearchQuery = graphql(
`
query Search($query: String!, $page: Int!, $limit: Int!) {