Pages.Internal.Platform.Cli
Exposed for internal use only (used in generated code).
type
alias
Flags
=
Value
type
alias
Model
route
=
{ staticResponses
:
BackendTask
Throwable
Effect
, errors
:
List
BuildError
, allRawResponses
:
RequestsAndPending
, maybeRequestJson
:
RenderRequest
route
, isDevServer
:
Bool
}
type
Msg
=
GotDataBatch
Value
|
GotBuildError
BuildError
type
alias
Program
route
=
Program
Flags
(
Model
route)
Msg
cliApplication
:
ProgramConfig
userMsg
userModel
(
Maybe
route)
pageData
actionData
sharedData
effect
mappedMsg
errorPage
->
Program
(
Maybe
route)
init
:
SiteConfig
->
RenderRequest
route
->
ProgramConfig
userMsg
userModel
route
pageData
actionData
sharedData
effect
mappedMsg
errorPage
->
Value
-> (
Model
route,
Effect
)
requestDecoder
:
Decoder
Request
update
:
Msg
->
Model
route -> (
Model
route,
Effect
)
currentCompatibilityKey
:
Int
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