dillonkearns/elm-pages-v3-beta/8.0.0

NOTE: the latest version is 21.0.0

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/dillonkearns/elm-pages-v3-beta.

What we checked: Tag 8.0.0 is still on github.com/dillonkearns/elm-pages-v3-beta; its commit b7735572454e is from 2023-01-17 05:49 UTC, before the version was published (2023-01-17 05:52 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/dillonkearns/elm-pages-v3-beta/zipball/8.0.0/

Pages.Internal.Platform

Exposed for internal use only (used in generated code).

type alias Flags =
Value
type alias Model userModel pageData actionData sharedData =
{ key : Maybe Key
, url : Url
, currentPath : String
, ariaNavigationAnnouncement : String
, pageData :
Result
String
{ userModel : userModel
, pageData : pageData
, sharedData : sharedData
, actionData : Maybe actionData
}
, notFound :
Maybe
{ reason : NotFoundReason
, path : Path
}
, userFlags : Value
, transition : Maybe ( Int, Transition )
, nextTransitionKey : Int
, inFlightFetchers : Dict String ( Int, FetcherState actionData )
, pageFormState : PageFormState
, pendingRedirect : Bool
, pendingData : Maybe ( pageData, sharedData, Maybe actionData )
}
type Msg userMsg pageData actionData sharedData errorPage
= LinkClicked UrlRequest
| UrlChanged Url
| UserMsg (Msg userMsg)
| SetField
{ formId : String
, name : String
, value : String
}
| UpdateCacheAndUrlNew
Bool
Url
(Maybe userMsg)
(Result
Error
( Url, ResponseSketch pageData actionData sharedData )
)
| FetcherComplete
Bool
String
Int
(Result Error ( Maybe userMsg, Maybe actionData ))
| FetcherStarted String Int FormData Posix
| PageScrollComplete
| HotReloadCompleteNew Bytes
| ProcessFetchResponse
Int
(Result
Error
( Url, ResponseSketch pageData actionData sharedData )
)
( Result
Error
( Url, ResponseSketch pageData actionData sharedData )
-> Msg userMsg pageData actionData sharedData errorPage
)
type alias Program userModel userMsg pageData actionData sharedData errorPage =
Program
Flags
(Model userModel pageData actionData sharedData)
(Msg userMsg pageData actionData sharedData errorPage)
ProgramConfig
userMsg
userModel
route
pageData
actionData
sharedData
effect
(Msg userMsg pageData actionData sharedData errorPage)
errorPage
-> Program
Flags
(Model userModel pageData actionData sharedData)
(Msg userMsg pageData actionData sharedData errorPage)
ProgramConfig
userMsg
userModel
route
pageData
actionData
sharedData
userEffect
(Msg userMsg pageData actionData sharedData errorPage)
errorPage
-> Flags
-> Url
-> Maybe Key
-> ( Model userModel pageData actionData sharedData
userMsg
pageData
actionData
sharedData
userEffect
errorPage
)
ProgramConfig
userMsg
userModel
route
pageData
actionData
sharedData
userEffect
(Msg userMsg pageData actionData sharedData errorPage)
errorPage
-> Msg userMsg pageData actionData sharedData errorPage
-> Model userModel pageData actionData sharedData
-> ( Model userModel pageData actionData sharedData
userMsg
pageData
actionData
sharedData
userEffect
errorPage
)
type Effect userMsg pageData actionData sharedData userEffect errorPage
= ScrollToTop
| NoEffect
| BrowserLoadUrl String
| BrowserPushUrl String
| BrowserReplaceUrl String
| FetchPageData
Int
(Maybe FormData)
Url
( Result
Error
( Url, ResponseSketch pageData actionData sharedData )
-> Msg userMsg pageData actionData sharedData errorPage
)
| Submit FormData
| SubmitFetcher String Int FormData
| Batch
(List
userMsg
pageData
actionData
sharedData
userEffect
errorPage
)
)
| UserCmd userEffect
| CancelRequest Int
type alias RequestInfo =
{ contentType : String
, body : String
}
ProgramConfig
userMsg
userModel
route
pageData
actionData
sharedData
effect
(Msg userMsg pageData actionData sharedData errorPage)
errorPage
-> Model userModel pageData actionData sharedData
-> Document (Msg userMsg pageData actionData sharedData errorPage)