Feature/cleanup chapter actions (#525)
* Extract chapter actions into "Chapters" * Extract chapter action menu into component * Rename "SelectionFABActionItem" to "MenuItem" * Decouple "MenuItem" from "SelectionFAB" * Use "MenuItem" in "ActionMenus" * Merge chapter action menus * Simplify chapter "mark as read" action
This commit is contained in:
@@ -1452,6 +1452,13 @@ export class RequestManager {
|
||||
return this.doRequest(GQLMethod.USE_QUERY, GET_CHAPTERS, variables, options);
|
||||
}
|
||||
|
||||
public getChapters(
|
||||
variables: GetChaptersQueryVariables,
|
||||
options?: QueryOptions<GetChaptersQueryVariables, GetChaptersQuery>,
|
||||
): AbortabaleApolloQueryResponse<GetChaptersQuery> {
|
||||
return this.doRequest(GQLMethod.QUERY, GET_CHAPTERS, variables, options);
|
||||
}
|
||||
|
||||
public useGetMangaChapters(
|
||||
mangaId: number | string,
|
||||
options?: QueryHookOptions<GetChaptersQuery, GetChaptersQueryVariables>,
|
||||
|
||||
Reference in New Issue
Block a user