import { xLuceneTypeConfig } from '@terascope/types' ; import BaseType from '../base-type' ; import { GraphQLType , TypeESMapping } from '../../interfaces' ; export default class AnyType extends BaseType { toESMapping ( _version ? ) { return { mapping : { [ this . field ] : { enabled : false } } } ; } toGraphQL ( ) { return this . _formatGql ( 'JSON' ) ; } toXlucene ( ) { return { } ; } }