Module

GraphQL.Client.CodeGen.Js

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

#fromNullable

fromNullable :: forall a. a -> Nullable a -> a

#InputOptionsJs

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

Modules