mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 06:05:31 +03:00
Fix naming in end-to-end to use new route exposed top-level value.
This commit is contained in:
parent
8acabc3281
commit
9f788d8aba
@ -1,4 +1,4 @@
|
||||
module Route.Blog.Slug_ exposing (Data, Model, Msg, page)
|
||||
module Route.Blog.Slug_ exposing (Data, Model, Msg, route)
|
||||
|
||||
import DataSource exposing (DataSource)
|
||||
import Head
|
||||
@ -22,8 +22,8 @@ type alias RouteParams =
|
||||
{ slug : String }
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.preRender
|
||||
{ head = head
|
||||
, pages = pages
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.CookieTest exposing (Data, Model, Msg, page)
|
||||
module Route.CookieTest exposing (Data, Model, Msg, route)
|
||||
|
||||
import DataSource exposing (DataSource)
|
||||
import Head
|
||||
@ -25,8 +25,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.serverRender
|
||||
{ head = head
|
||||
, data = data
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.FileData exposing (Data, Model, Msg, page)
|
||||
module Route.FileData exposing (Data, Model, Msg, route)
|
||||
|
||||
import DataSource exposing (DataSource)
|
||||
import DataSource.File
|
||||
@ -25,8 +25,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.single
|
||||
{ head = head
|
||||
, data = data
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.Index exposing (Data, Model, Msg, page)
|
||||
module Route.Index exposing (Data, Model, Msg, route)
|
||||
|
||||
import DataSource exposing (DataSource)
|
||||
import DataSource.File
|
||||
@ -28,8 +28,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.single
|
||||
{ head = head
|
||||
, data = data
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.Links exposing (Data, Model, Msg, page)
|
||||
module Route.Links exposing (Data, Model, Msg, route)
|
||||
|
||||
import DataSource exposing (DataSource)
|
||||
import Head
|
||||
@ -24,8 +24,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.single
|
||||
{ head = head
|
||||
, data = data
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.Test.BasicAuth exposing (Data, Model, Msg, page)
|
||||
module Route.Test.BasicAuth exposing (Data, Model, Msg, route)
|
||||
|
||||
import Base64
|
||||
import DataSource exposing (DataSource)
|
||||
@ -24,8 +24,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.serverRender
|
||||
{ head = head
|
||||
, data = data
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Route.Test.ResponseHeaders exposing (Data, Model, Msg, page)
|
||||
module Route.Test.ResponseHeaders exposing (Data, Model, Msg, route)
|
||||
|
||||
import Base64
|
||||
import DataSource exposing (DataSource)
|
||||
@ -25,8 +25,8 @@ type alias RouteParams =
|
||||
{}
|
||||
|
||||
|
||||
page : StatelessRoute RouteParams Data
|
||||
page =
|
||||
route : StatelessRoute RouteParams Data
|
||||
route =
|
||||
RouteBuilder.serverRender
|
||||
{ head = head
|
||||
, data = data
|
||||
|
Loading…
Reference in New Issue
Block a user