-- Generated by scripts/generate.mjs. Do not edit. module Dagger.WorkspaceModule ( entrypoint , functions , id , main , name , settings , source ) where import Effect.Aff (Aff) import Dagger.Internal.Runtime as R import Dagger.Types as T -- | Compatibility alias for main. -- | Deprecated: Use main. entrypoint :: T.WorkspaceModule -> Aff Boolean entrypoint = R.scalar "entrypoint" [] -- | List the functions of this module's main object, in GraphQL field form. functions :: T.WorkspaceModule -> Aff (Array String) functions = R.scalar "functions" [] -- | A unique identifier for this WorkspaceModule. id :: T.WorkspaceModule -> Aff T.ID id = R.scalar "id" [] -- | Whether the module is the workspace main (functions aliased to Query root). main :: T.WorkspaceModule -> Aff Boolean main = R.scalar "main" [] -- | The module name. name :: T.WorkspaceModule -> Aff String name = R.scalar "name" [] -- | List constructor-backed settings for this module. settings :: T.WorkspaceModule -> Aff (Array T.WorkspaceModuleSetting) settings = R.objectList "WorkspaceModuleSetting" "settings" [] -- | The module source path. source :: T.WorkspaceModule -> Aff String source = R.scalar "source" []