External module "discourse/parseLiteral"
Functions
parseLiteral
parseLiteral<DataImmutable, DataMutable>( ast: ValueNode , variables: IVariables | null | undefined , factory: function ) : Internal < DataMutable >
Type parameters
DataImmutable
DataMutable: DataImmutable
Parameters
ast: ValueNode
variables: IVariables | null | undefined
factory: function
( data: DataImmutable ) : DataMutable
Parameters
Returns DataMutable
Returns Internal < DataMutable >
a concrete Link
class
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Invoked when a value is passed inline to a GraphQL query. Due to GraphQL language not being quite JSON, the inline value will need to be converted into the GraphQL AST. This function coerces to the internal type.
{ TypeError } invalid incoming data