Reduce active apollo queries
This commit is contained in:
@@ -2036,6 +2036,19 @@ export class RequestManager {
|
||||
);
|
||||
}
|
||||
|
||||
public getCategories(
|
||||
options?: QueryOptions<GetCategoriesQueryVariables, GetCategoriesQuery>,
|
||||
): AbortabaleApolloQueryResponse<GetCategoriesQuery> {
|
||||
return this.doRequest(
|
||||
GQLMethod.QUERY,
|
||||
GET_CATEGORIES,
|
||||
{
|
||||
orderBy: CategoryOrderBy.Order,
|
||||
},
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
public createCategory(
|
||||
input: CreateCategoryInput,
|
||||
options?: MutationOptions<CreateCategoryMutation, CreateCategoryMutationVariables>,
|
||||
|
||||
Reference in New Issue
Block a user