Skip to main content

@terascope/data-types / interfaces

interfaces

Index

Interfaces

InterfaceDescription
ESMappingOptions-
GraphQLType-
TypeESMapping-

References

DataTypeConfig

Re-exports DataTypeConfig

Type Aliases

AvailableType

AvailableType: DeprecatedFieldType

Deprecated

use FieldType from @terascope/types

Source

data-types/src/interfaces.ts:46


AvailableVersion

AvailableVersion: DataTypeVersion

Deprecated

use DataTypeVersion from @terascope/types

Source

data-types/src/interfaces.ts:56


DataTypeMapping

DataTypeMapping: object

Index signature

[key: string]: ActualType

Source

data-types/src/interfaces.ts:71


FieldTypeConfig

FieldTypeConfig: DataTypeFieldConfig

Deprecated

use DataTypeFieldConfig from @terascope/types

Source

data-types/src/interfaces.ts:65


GraphQLOptions

GraphQLOptions: object

Type declaration

createInputType?

optional createInputType: boolean

customTypes?

optional customTypes: string[]

description?

optional description: string

includeAllInputFields?

optional includeAllInputFields: boolean

references?

optional references: string[]

typeName?

optional typeName: string

useSnakeCase?

optional useSnakeCase: boolean

Source

data-types/src/interfaces.ts:20


GraphQLTypeReferences

GraphQLTypeReferences: object & object

Type declaration

__all?

optional __all: string[]

Source

data-types/src/interfaces.ts:39


GraphQLTypesResult

GraphQLTypesResult: object

Type declaration

baseType

baseType: string

customTypes

customTypes: string[]

inputType?

optional inputType: string

Source

data-types/src/interfaces.ts:14


GroupedFields

GroupedFields: Record<string, string[]>

An object of base fields with their child fields

Source

data-types/src/interfaces.ts:12


MergeGraphQLOptions

MergeGraphQLOptions: object

Type declaration

createInputTypes?

optional createInputTypes: boolean

customTypes?

optional customTypes: string[]

includeAllInputFields?

optional includeAllInputFields: boolean

references?

optional references: GraphQLTypeReferences

removeScalars?

optional removeScalars: boolean

useSnakeCase?

optional useSnakeCase: boolean

Source

data-types/src/interfaces.ts:30


TypeConfigFields

TypeConfigFields: DataTypeFields

Deprecated

use DataTypeFields from @terascope/types

Source

data-types/src/interfaces.ts:76

Variables

AvailableTypes

const AvailableTypes: readonly DeprecatedFieldType[]

Deprecated

use availableFieldTypes from @terascope/types

Source

data-types/src/interfaces.ts:51


AvailableVersions

const AvailableVersions: readonly number[] = dataTypeVersions

Deprecated

use dataTypeVersions from @terascope/types

Source

data-types/src/interfaces.ts:60