aboutsummaryrefslogtreecommitdiff
path: root/orval.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'orval.config.ts')
-rw-r--r--orval.config.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/orval.config.ts b/orval.config.ts
deleted file mode 100644
index 7151ef3..0000000
--- a/orval.config.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { defineConfig } from 'orval';
-
-export default defineConfig({
- pantry: {
- input: './src/conf/openapi-pantry.yaml',
- output: {
- mode: "tags",
- workspace: "./src",
- target: "./util/pantry.ts",
- schemas: "./model",
- client: "react-query",
- prettier: true,
- override: {
- useDates: true,
- mutator: {
- path: "./conf/mutator.ts",
- name: "useMutator",
- },
- query: {
- useQuery: true,
- },
- },
- },
- hooks: {
- afterAllFilesWrite: 'prettier --write',
- },
- },
-}); \ No newline at end of file