-- Generated by scripts/generate.mjs. Do not edit. module Dagger.GeneratedCode ( code , id , vcsGeneratedPaths , vcsIgnoredPaths , withVCSGeneratedPaths , withVCSIgnoredPaths ) where import Effect.Aff (Aff) import Dagger.Internal.Runtime as R import Dagger.Types as T -- | The directory containing the generated code. code :: T.GeneratedCode -> T.Directory code = R.select "code" [] -- | A unique identifier for this GeneratedCode. id :: T.GeneratedCode -> Aff T.ID id = R.scalar "id" [] -- | List of paths to mark generated in version control (i.e. .gitattributes). vcsGeneratedPaths :: T.GeneratedCode -> Aff (Array String) vcsGeneratedPaths = R.scalar "vcsGeneratedPaths" [] -- | List of paths to ignore in version control (i.e. .gitignore). vcsIgnoredPaths :: T.GeneratedCode -> Aff (Array String) vcsIgnoredPaths = R.scalar "vcsIgnoredPaths" [] -- | Set the list of paths to mark generated in version control. withVCSGeneratedPaths :: (Array String) -> T.GeneratedCode -> T.GeneratedCode withVCSGeneratedPaths argPaths = R.select "withVCSGeneratedPaths" [R.argument "paths" "[String!]!" argPaths] -- | Set the list of paths to ignore in version control. withVCSIgnoredPaths :: (Array String) -> T.GeneratedCode -> T.GeneratedCode withVCSIgnoredPaths argPaths = R.select "withVCSIgnoredPaths" [R.argument "paths" "[String!]!" argPaths]