mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			706 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			706 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| overwrite: true
 | |
| schema:
 | |
|     - '../datahub-graphql-core/src/main/resources/*.graphql'
 | |
| config:
 | |
|     scalars:
 | |
|         Long: number
 | |
| documents:
 | |
|     - 'src/**/*.graphql'
 | |
| generates:
 | |
|     src/types.generated.ts:
 | |
|         plugins:
 | |
|             - 'typescript'
 | |
|     src/possibleTypes.generated.ts:
 | |
|         plugins:
 | |
|             - 'fragment-matcher'
 | |
|     src/:
 | |
|         preset: near-operation-file
 | |
|         presetConfig:
 | |
|             extension: '.generated.ts'
 | |
|             baseTypesPath: types.generated.ts
 | |
|         plugins:
 | |
|             - 'typescript-operations'
 | |
|             - 'typescript-react-apollo'
 | |
|             - add:
 | |
|                   content: '/* eslint-disable */'
 | |
| hooks:
 | |
|     afterAllFileWrite:
 | |
|         - prettier --write
 | 
