Something went wrong. Try again.
Dagger 1.0.0 beta SDK experiments
dagger purescript gleam clojure
Something went wrong. Try again.
1.7 kB · 53 lines
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354-- Generated by scripts/generate.mjs. Do not edit.module Dagger.ObjectTypeDef ( constructor , deprecated , description , fields , functions , id , name , sourceMap , sourceModuleName ) where
import Data.Maybe (Maybe)import Effect.Aff (Aff)import Dagger.Internal.Runtime as Rimport Dagger.Types as T
-- | The function used to construct new instances of this object, if any.constructor :: T.ObjectTypeDef -> Aff (Maybe T.Function)constructor = R.nullableObject "Function" "constructor" []
-- | The reason this enum member is deprecated, if any.deprecated :: T.ObjectTypeDef -> Aff (Maybe String)deprecated = R.scalar "deprecated" []
-- | The doc string for the object, if any.description :: T.ObjectTypeDef -> Aff Stringdescription = R.scalar "description" []
-- | Static fields defined on this object, if any.fields :: T.ObjectTypeDef -> Aff (Array T.FieldTypeDef)fields = R.objectList "FieldTypeDef" "fields" []
-- | Functions defined on this object, if any.functions :: T.ObjectTypeDef -> Aff (Array T.Function)functions = R.objectList "Function" "functions" []
-- | A unique identifier for this ObjectTypeDef.id :: T.ObjectTypeDef -> Aff T.IDid = R.scalar "id" []
-- | The name of the object.name :: T.ObjectTypeDef -> Aff Stringname = R.scalar "name" []
-- | The location of this object declaration.sourceMap :: T.ObjectTypeDef -> Aff (Maybe T.SourceMap)sourceMap = R.nullableObject "SourceMap" "sourceMap" []
-- | If this ObjectTypeDef is associated with a Module, the name of the module. Unset otherwise.sourceModuleName :: T.ObjectTypeDef -> Aff StringsourceModuleName = R.scalar "sourceModuleName" []