mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
17 lines
366 B
TypeScript
17 lines
366 B
TypeScript
import type { CodegenConfig } from '@graphql-codegen/cli'
|
|
|
|
const config: CodegenConfig = {
|
|
schema: 'http://localhost:9009/graphql/',
|
|
documents: ['src/**/*.vue', 'src/**/*.ts'],
|
|
generates: {
|
|
'./src/gql/': {
|
|
preset: 'client',
|
|
plugins: [],
|
|
config: {
|
|
useTypeImport: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
export default config
|