initial commit

This commit is contained in:
TakuyaYagam1 committed 2026-10-05 14:23:31 +03:00
commit 88c14b627e
224 files changed
+17204

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
import { defineConfig } from "orval";
export default defineConfig({
lincodex: {
input: {
target: "../../api/core/openapi.bundle.yml",
},
output: {
mode: "tags-split",
target: "../src/shared/api/endpoints",
indexFiles: true,
schemas: {
path: "../src/shared/api/schemas",
type: "zod",
splitByTags: true,
},
client: "react-query",
httpClient: "fetch",
mock: {
indexMockFiles: true,
generators: [{ type: "msw" }],
},
override: {
mutator: {
path: "../src/shared/api/client.ts",
name: "apiRequest",
},
fetch: {
includeHttpResponseReturnType: false,
},
query: {
signal: true,
},
},
},
},
});