Module

GraphQL.Client.CodeGen.Js

Package
purescript-graphql-client
Repository
OxfordAbstracts/purescript-graphql-client

Schema codegen functions that are designed to be called by Javascript code

#defNull Source

defNull :: forall a. a -> Nullable a -> a

#InputOptionsJs Source

type InputOptionsJs = { cache :: Nullable { get :: String -> Promise (Nullable Json), set :: { key :: String, val :: Json } -> Promise Unit }, dir :: Nullable String, externalTypes :: Nullable (Object { moduleName :: String, typeName :: String }), fieldTypeOverrides :: Nullable (Object (Object { moduleName :: String, typeName :: String })), isHasura :: Nullable Boolean, modulePath :: Nullable (Array String), useNewtypesForRecords :: Nullable Boolean }