Fix naming in end-to-end to use new route exposed top-level value.

This commit is contained in:
Dillon Kearns 2022-03-07 08:34:22 -08:00
parent 8acabc3281
commit 9f788d8aba
7 changed files with 21 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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