chore: bump version to 0.0.52 and remove unused queryApi declaration in createQueryByRoutes

This commit is contained in:
2026-02-24 21:46:14 +08:00
parent 026d6733da
commit 983c7175cc
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@kevisual/query", "name": "@kevisual/query",
"version": "0.0.51", "version": "0.0.52",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "npm run clean && bun run bun.config.ts", "build": "npm run clean && bun run bun.config.ts",

View File

@@ -71,7 +71,6 @@ export const createQueryByRoutes = (list: RouteInfo[], options?: CreateQueryOpti
export { queryApi };`; export { queryApi };`;
const code = `${before} const code = `${before}
const api = ${generateApiCode(obj)} as const; const api = ${generateApiCode(obj)} as const;
const queryApi = createQueryApi({ api });
${after} ${after}
` `
return code; return code;