Pages.Internal.Platform.GeneratorApplication
Exposed for internal use only (used in generated code).
type
alias
Flags
=
{ compatibilityKey
:
Int
}
type
alias
Model
=
{ staticResponses
:
BackendTask
Throwable
()
, errors
:
List
BuildError
, allRawResponses
:
RequestsAndPending
, done
:
Bool
}
type
Msg
=
GotDataBatch
Value
|
GotBuildError
BuildError
init
:
BackendTask
Throwable
()
->
FlagsIncludingArgv
Flags
-> (
Model
,
Effect
)
requestDecoder
:
Decoder
Request
update
:
Msg
->
Model
-> (
Model
,
Effect
)
app
:
GeneratorProgramConfig
->
StatefulProgram
Model
Msg
(
BackendTask
Throwable
())
Flags
elm doc
preview
Open Files
Close Preview
README
Browse Source
ApiRoute
BackendTask
BackendTask.Env
BackendTask.File
BackendTask.Glob
BackendTask.Http
BackendTask.Port
Exception
Form
Form.Field
Form.FieldStatus
Form.FieldView
Form.FormData
Form.Validation
Form.Value
Head
Head.Seo
Pages.Fetcher
Pages.Flags
Pages.FormState
Pages.Generate
Pages.Internal.NotFoundReason
Pages.Internal.Platform
Pages.Internal.Platform.Cli
Pages.Internal.Platform.GeneratorApplication
Pages.Internal.ResponseSketch
Pages.Internal.RoutePattern
Pages.Internal.Router
Pages.Manifest
Pages.Manifest.Category
Pages.Msg
Pages.PageUrl
Pages.Script
Pages.Transition
Pages.Url
Path
QueryParams
Server.Request
Server.Response
Server.Session
Server.SetCookie