split category fetching from menu items

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-16 23:31:18 +03:00
parent 3d985584fe
commit 17bcf316da
9 changed files with 92 additions and 57 deletions

View File

@@ -0,0 +1,13 @@
/* eslint-disable */
/* Generated by scripts/endpoint-generate.mjs — do not edit by hand */
import type { ExecutionResult } from "graphql";
import { execute } from "../graphql/execute";
import type { CategoryQuery, CategoryQueryVariables } from "../graphql/graphql";
import { categoryDocument } from "./category.gql";
export const categoryQuery = {
async execute(variables?: CategoryQueryVariables): Promise<ExecutionResult<CategoryQuery>> {
return execute<CategoryQuery, CategoryQueryVariables>(categoryDocument, variables);
},
};