mirror of
https://gitea.tendokyu.moe/Kayori/Medusa.net.git
synced 2026-09-30 02:37:55 +03:00
Regenerated apiClient.ts, gql/graphql.ts, types/api/index.ts and typed-router.d.ts to pick up the sppass/cardless, plugin UI, PIN, and username endpoints/types added in the previous two commits.
19 lines
520 B
TypeScript
19 lines
520 B
TypeScript
import { defineConfig } from 'orval';
|
|
|
|
export default defineConfig({
|
|
medusa: {
|
|
input: 'http://localhost:5120/openapi/v1.json',
|
|
output: {
|
|
namingConvention: 'camelCase',
|
|
target: './src/data/apiClient.ts',
|
|
schemas: './src/types/api',
|
|
client: 'vue-query',
|
|
override: {
|
|
mutator: {
|
|
path: './src/data/customFetch.ts',
|
|
name: 'customFetch',
|
|
},
|
|
},
|
|
}
|
|
}
|
|
}); |