Module

Prospero.Client

Package
purescript-prospero
Repository
rowtype-yoga/purescript-prospero

#ClientError Source

type ClientError = { message :: String }

#Selection Source

newtype Selection :: Type -> Type -> Row Type -> Typenewtype Selection (parent :: Type) (result :: Type) (params :: Row Type)

Constructors

#AssertNonEmpty Source

class AssertNonEmpty :: Symbol -> Constraintclass AssertNonEmpty sym 

Instances

#ChildKind Source

class ChildKind (a :: Type) (kind :: Type) | a -> kind

Instances

#ChildRecord Source

class ChildRecord :: Type -> Symbol -> Row Type -> Constraintclass ChildRecord (childType :: Type) (childName :: Symbol) (childInner :: Row Type) | childType -> childName childInner

Instances

#ExtractArgs Source

class ExtractArgs :: Type -> Row Type -> Constraintclass ExtractArgs (fieldType :: Type) (args :: Row Type) | fieldType -> args

Instances

#FindArg Source

class FindArg :: RowList Type -> Symbol -> Type -> Constraintclass FindArg (argsRL :: RowList Type) (argName :: Symbol) (argType :: Type) | argsRL argName -> argType

Instances

#FindField Source

class FindField :: Symbol -> RowList Type -> Symbol -> Type -> Constraintclass FindField (parentName :: Symbol) (rl :: RowList Type) (name :: Symbol) (fieldType :: Type) | rl name -> fieldType

Instances

#FindVariantMember Source

class FindVariantMember :: Symbol -> RowList Type -> Type -> Constraintclass FindVariantMember (typeName :: Symbol) (rl :: RowList Type) (memberType :: Type) | typeName rl -> memberType

Instances

#LowercaseChar Source

class LowercaseChar :: Symbol -> Symbol -> Constraintclass LowercaseChar (upper :: Symbol) (lower :: Symbol) | upper -> lower

Instances

#LowercaseFirst Source

class LowercaseFirst :: Symbol -> Symbol -> Constraintclass LowercaseFirst (input :: Symbol) (output :: Symbol) | input -> output

Instances

#ParseFragmentTypeName Source

class ParseFragmentTypeName :: Symbol -> Symbol -> Symbol -> Constraintclass ParseFragmentTypeName (sym :: Symbol) (typeName :: Symbol) (rest :: Symbol) | sym -> typeName rest

Instances

#ParseFragmentTypeNameGo Source

class ParseFragmentTypeNameGo :: Symbol -> Symbol -> Symbol -> Symbol -> Symbol -> Constraintclass ParseFragmentTypeNameGo (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (typeName :: Symbol) (rest :: Symbol) | head tail acc -> typeName rest

Instances

#ParseGql Source

class ParseGql :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGql (sym :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (resultRL :: RowList Type) (paramsRL :: RowList Type) | sym innerRL -> resultRL paramsRL

Instances

#ParseGqlAfterArgs Source

class ParseGqlAfterArgs :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAfterArgs (rest :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | rest acc innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAfterSpace Source

class ParseGqlAfterSpace :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAfterSpace (rest :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | rest acc innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAfterSpaceByHead Source

class ParseGqlAfterSpaceByHead :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAfterSpaceByHead (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | head tail acc innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAliasedAfterArgs Source

class ParseGqlAliasedAfterArgs :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAliasedAfterArgs (rest :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | rest fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAliasedAfterSpace Source

class ParseGqlAliasedAfterSpace :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAliasedAfterSpace (rest :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | rest fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAliasedAfterSpaceByHead Source

class ParseGqlAliasedAfterSpaceByHead :: Symbol -> Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAliasedAfterSpaceByHead (head :: Symbol) (tail :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | head tail fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlAliasedFieldGo Source

class ParseGqlAliasedFieldGo :: Symbol -> Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlAliasedFieldGo (head :: Symbol) (tail :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | head tail fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlArgSep Source

class ParseGqlArgSep :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgSep (sym :: Symbol) (paramAcc :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym paramAcc argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgSepHead Source

class ParseGqlArgSepHead :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgSepHead (head :: Symbol) (tail :: Symbol) (paramAcc :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail paramAcc argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgValue Source

class ParseGqlArgValue :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgValue (sym :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgValueHead Source

class ParseGqlArgValueHead :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgValueHead (head :: Symbol) (tail :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgs Source

class ParseGqlArgs :: Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgs (sym :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgsColon Source

class ParseGqlArgsColon :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgsColon (sym :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgsGo Source

class ParseGqlArgsGo :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgsGo (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail acc argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlArgsStart Source

class ParseGqlArgsStart :: Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlArgsStart (sym :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlChild Source

class ParseGqlChild :: Type -> Symbol -> RowList Type -> Type -> RowList Type -> Symbol -> Constraintclass ParseGqlChild (childType :: Type) (sym :: Symbol) (paramsIn :: RowList Type) (nestedResult :: Type) (paramsOut :: RowList Type) (rest :: Symbol) | childType sym paramsIn -> nestedResult paramsOut rest

Instances

#ParseGqlChildByKind Source

class ParseGqlChildByKind :: Type -> Type -> Symbol -> RowList Type -> Type -> RowList Type -> Symbol -> Constraintclass ParseGqlChildByKind (kind :: Type) (childType :: Type) (sym :: Symbol) (paramsIn :: RowList Type) (nestedResult :: Type) (paramsOut :: RowList Type) (rest :: Symbol) | kind childType sym paramsIn -> nestedResult paramsOut rest

Instances

#ParseGqlContinue Source

class ParseGqlContinue :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlContinue (rest :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | rest innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlGo Source

class ParseGqlGo :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlGo (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) | head tail acc innerRL accRL paramsIn -> outRL paramsOut

Instances

#ParseGqlLiteralSep Source

class ParseGqlLiteralSep :: Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlLiteralSep (sym :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlLiteralSepHead Source

class ParseGqlLiteralSepHead :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlLiteralSepHead (head :: Symbol) (tail :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlLiteralSkip Source

class ParseGqlLiteralSkip :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlLiteralSkip (head :: Symbol) (tail :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlNested Source

class ParseGqlNested :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNested (sym :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym innerRL accRL paramsIn -> outRL paramsOut rest

Instances

  • (Fail (Text "Unclosed \'{\' — expected \'}\'")) => ParseGqlNested "" parentName innerRL accRL paramsIn outRL paramsOut rest
  • (Cons h t sym, ParseGqlNestedGo h t "" parentName innerRL accRL paramsIn outRL paramsOut rest) => ParseGqlNested sym parentName innerRL accRL paramsIn outRL paramsOut rest

#ParseGqlNestedAfterArgs Source

class ParseGqlNestedAfterArgs :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAfterArgs (rest :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | rest acc innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAfterSpace Source

class ParseGqlNestedAfterSpace :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAfterSpace (rest :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | rest acc innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAfterSpaceByHead Source

class ParseGqlNestedAfterSpaceByHead :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAfterSpaceByHead (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | head tail acc innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAliasedAfterArgs Source

class ParseGqlNestedAliasedAfterArgs :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAliasedAfterArgs (rest :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | rest fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAliasedAfterSpace Source

class ParseGqlNestedAliasedAfterSpace :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAliasedAfterSpace (rest :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | rest fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAliasedAfterSpaceByHead Source

class ParseGqlNestedAliasedAfterSpaceByHead :: Symbol -> Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAliasedAfterSpaceByHead (head :: Symbol) (tail :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | head tail fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedAliasedFieldGo Source

class ParseGqlNestedAliasedFieldGo :: Symbol -> Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedAliasedFieldGo (head :: Symbol) (tail :: Symbol) (fieldAcc :: Symbol) (alias :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail fieldAcc alias innerRL accRL paramsIn -> outRL paramsOut rest

Instances

#ParseGqlNestedContinue Source

class ParseGqlNestedContinue :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedContinue (rest :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (restOut :: Symbol) | rest innerRL accRL paramsIn -> outRL paramsOut restOut

Instances

#ParseGqlNestedGo Source

class ParseGqlNestedGo :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlNestedGo (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail acc innerRL accRL paramsIn -> outRL paramsOut rest

Instances

#ParseGqlParamName Source

class ParseGqlParamName :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlParamName (sym :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlParamNameGo Source

class ParseGqlParamNameGo :: Symbol -> Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlParamNameGo (head :: Symbol) (tail :: Symbol) (acc :: Symbol) (argName :: Symbol) (argsRL :: RowList Type) (paramsIn :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail acc argName argsRL paramsIn -> paramsOut rest

Instances

#ParseGqlSkipStringBody Source

class ParseGqlSkipStringBody :: Symbol -> Symbol -> Constraintclass ParseGqlSkipStringBody (sym :: Symbol) (rest :: Symbol) | sym -> rest

Instances

#ParseGqlSkipStringBodyGo Source

class ParseGqlSkipStringBodyGo :: Symbol -> Symbol -> Symbol -> Constraintclass ParseGqlSkipStringBodyGo (head :: Symbol) (tail :: Symbol) (rest :: Symbol) | head tail -> rest

Instances

#ParseGqlTrimmed Source

class ParseGqlTrimmed :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> Constraintclass ParseGqlTrimmed (sym :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (resultRL :: RowList Type) (paramsRL :: RowList Type) | sym innerRL -> resultRL paramsRL

Instances

#ParseGqlUnionBrace Source

class ParseGqlUnionBrace :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlUnionBrace (sym :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym parentName innerRL paramsIn -> outRL paramsOut rest

Instances

#ParseGqlUnionBraceGo Source

class ParseGqlUnionBraceGo :: Symbol -> Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlUnionBraceGo (head :: Symbol) (tail :: Symbol) (parentName :: Symbol) (innerRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail parentName innerRL paramsIn -> outRL paramsOut rest

Instances

#ParseGqlUnionNested Source

class ParseGqlUnionNested :: Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlUnionNested (sym :: Symbol) (rl :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | sym rl accRL paramsIn -> outRL paramsOut rest

Instances

#ParseGqlUnionNestedGo Source

class ParseGqlUnionNestedGo :: Symbol -> Symbol -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> RowList Type -> Symbol -> Constraintclass ParseGqlUnionNestedGo (head :: Symbol) (tail :: Symbol) (rl :: RowList Type) (accRL :: RowList Type) (paramsIn :: RowList Type) (outRL :: RowList Type) (paramsOut :: RowList Type) (rest :: Symbol) | head tail rl accRL paramsIn -> outRL paramsOut rest

Instances

#RecordRow Source

class RecordRow :: Type -> Row Type -> Constraintclass RecordRow (rec :: Type) (row :: Row Type) | rec -> row

Instances

#ScalarResult Source

class ScalarResult (fieldType :: Type) (resultType :: Type) | fieldType -> resultType

Instances

#SkipDotDotOn Source

class SkipDotDotOn :: Symbol -> Symbol -> Constraintclass SkipDotDotOn (sym :: Symbol) (rest :: Symbol) | sym -> rest

Instances

#SkipDotDotOn1 Source

class SkipDotDotOn1 :: Symbol -> Symbol -> Symbol -> Constraintclass SkipDotDotOn1 (head :: Symbol) (tail :: Symbol) (rest :: Symbol) | head tail -> rest

Instances

#SkipDotDotOn2 Source

class SkipDotDotOn2 :: Symbol -> Symbol -> Symbol -> Constraintclass SkipDotDotOn2 (head :: Symbol) (tail :: Symbol) (rest :: Symbol) | head tail -> rest

Instances

#SkipOnKeyword Source

class SkipOnKeyword :: Symbol -> Symbol -> Constraintclass SkipOnKeyword (sym :: Symbol) (rest :: Symbol) | sym -> rest

Instances

#SkipOnKeyword1 Source

class SkipOnKeyword1 :: Symbol -> Symbol -> Symbol -> Constraintclass SkipOnKeyword1 (head :: Symbol) (tail :: Symbol) (rest :: Symbol) | head tail -> rest

Instances

#SkipOnKeyword2 Source

class SkipOnKeyword2 :: Symbol -> Symbol -> Symbol -> Constraintclass SkipOnKeyword2 (head :: Symbol) (tail :: Symbol) (rest :: Symbol) | head tail -> rest

Instances

#SkipSpaces Source

class SkipSpaces :: Symbol -> Symbol -> Constraintclass SkipSpaces sym result | sym -> result

Instances

#SkipSpacesGo Source

class SkipSpacesGo :: Symbol -> Symbol -> Symbol -> Constraintclass SkipSpacesGo head tail result | head tail -> result

Instances

#UnionResult Source

class UnionResult :: RowList Type -> Type -> Constraintclass UnionResult (nestedRL :: RowList Type) (result :: Type) | nestedRL -> result

Instances

#UnwrapField Source

class UnwrapField (fieldType :: Type) (childType :: Type) | fieldType -> childType

Instances

#WrapResult Source

class WrapResult (fieldType :: Type) (selResult :: Type) (resultType :: Type) | fieldType selResult -> resultType

Instances

#injectTypename Source

#jsonToGraphQLArgs Source

#mutationSelection Source

mutationSelection :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Mutation" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => IsSymbol fields => Selection q (Record result) params

#normalizeFieldList Source

#recoverPartialSuccess Source

recoverPartialSuccess :: forall r. QueryResult r -> Maybe { errors :: Array ClientError, result :: Record r }

#renderArgs Source

renderArgs :: forall args. WriteForeign (Record args) => Record args -> String

#renderGql Source

renderGql :: forall @sym. IsSymbol sym => Proxy sym -> String

#runMutation Source

runMutation :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Mutation" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => WriteForeign (Record params) => ReadForeign { data :: Maybe (Record result), errors :: Maybe (Array ClientError) } => IsSymbol fields => String -> Record params -> Aff (QueryResult result)

#runMutationSelection Source

runMutationSelection :: forall @a result params. ReadForeign { data :: Maybe (Record result), errors :: Maybe (Array ClientError) } => WriteForeign (Record params) => String -> Record params -> Selection a (Record result) params -> Aff (QueryResult result)

#runQuery Source

runQuery :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Query" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => WriteForeign (Record params) => ReadForeign { data :: Maybe (Record result), errors :: Maybe (Array ClientError) } => IsSymbol fields => String -> Record params -> Aff (QueryResult result)

#runSelection Source

runSelection :: forall @a result params. ReadForeign { data :: Maybe (Record result), errors :: Maybe (Array ClientError) } => WriteForeign (Record params) => String -> Record params -> Selection a (Record result) params -> Aff (QueryResult result)

#runSelectionWith Source

runSelectionWith :: forall @a result params. ReadForeign { data :: Maybe (Record result), errors :: Maybe (Array ClientError) } => WriteForeign (Record params) => String -> String -> Record params -> Selection a (Record result) params -> Aff (QueryResult result)

#selection Source

selection :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Query" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => IsSymbol fields => Selection q (Record result) params

#subscribe Source

subscribe :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Subscription" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => WriteForeign (Record params) => ReadForeign (Record result) => IsSymbol fields => String -> Record params -> (QueryResult result -> Effect Unit) -> Aff (Effect Unit)

#subscriptionSelection Source

subscriptionSelection :: forall @q @fields qRow qRL resultRL paramsRL result params. RecordRow q qRow => RowToList qRow qRL => ParseGql fields "Subscription" qRL resultRL paramsRL => ListToRow resultRL result => ListToRow paramsRL params => IsSymbol fields => Selection q (Record result) params

#substituteParams Source

#substituteParamsImpl Source

#withArgs Source

withArgs :: forall args parent result params. WriteForeign (Record args) => Record args -> Selection parent result params -> Selection parent result params

Re-exports from Prospero.Client.GqlUnion

#GqlUnion Source

newtype GqlUnion :: Row Type -> Typenewtype GqlUnion (row :: Row Type)

Constructors

Instances