mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-02-20 07:45:30 -05:00
* refactor: move to tanstack start * refactor: auth flow & volumes * refactor: repo & snapshot details * refactor: backups, create repo, volumes * refactor: create volume & restore snapshot * refactor: notifications * refactor: settings * refactor: breadcrumbs * fix: ts issues * refactor: prod deployment * fix: import css production * refactor: nitro build * refactor: winston -> consola * fix: memory leak is sse events cleanup * fix: cli usage * chore: remove rr routes file * refactor: pr feedbacks * refactor: patch api client to have a global client per call * refactor: pr feedbacks * fix(dockerfile): add explicit port * fix(e2e): healthcheck under /api
19 lines
544 B
TypeScript
19 lines
544 B
TypeScript
import { defaultPlugins, defineConfig } from "@hey-api/openapi-ts";
|
|
import { config } from "./app/server/core/config.js";
|
|
|
|
export default defineConfig({
|
|
input: `http://${config.serverIp}:3000/api/v1/openapi.json`,
|
|
output: {
|
|
path: "./app/client/api-client",
|
|
header: [
|
|
"// @ts-nocheck",
|
|
"// This file is auto-generated by @hey-api/openapi-ts",
|
|
],
|
|
postProcess: [
|
|
"oxfmt",
|
|
{ command: "bun", args: ["scripts/patch-api-client.ts"] },
|
|
],
|
|
},
|
|
plugins: [...defaultPlugins, "@tanstack/react-query", "@hey-api/client-fetch"],
|
|
});
|