LiteralFieldType


Constructors

new LiteralFieldType()

new LiteralFieldType(literal): LiteralFieldType

Parameters

ParameterType
literalstring | number | boolean

Returns

LiteralFieldType


Properties

literalStringPrefix

static literalStringPrefix: string = '%';

Methods

getLiteral()

getLiteral(): string | number | boolean

Returns

string | number | boolean


getScalarFieldType()

getScalarFieldType(): ScalarFieldTypeEnum

Returns

ScalarFieldTypeEnum


toJSON()

toJSON(): string

Returns

string