Some checks failed
Release Workflow / determine-release-type (push) Has been cancelled
Release Workflow / checks (push) Has been cancelled
Release Workflow / e2e-tests (push) Has been cancelled
Release Workflow / build-images (push) Has been cancelled
Release Workflow / publish-release (push) Has been cancelled
Release Workflow / request-docs-version-update (push) Has been cancelled
* fix(notifications): persist delivery health status * fix: pr feedback double update
18 lines
593 B
TypeScript
18 lines
593 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: [
|
|
{
|
|
command: "vp",
|
|
args: ["fmt", "--write", "{{path}}"],
|
|
},
|
|
{ command: "bun", args: ["scripts/patch-api-client.ts"] },
|
|
],
|
|
},
|
|
plugins: [...defaultPlugins, "@tanstack/react-query", "@hey-api/client-fetch"],
|
|
});
|