elm-pages 3.0.0-beta.30 → 3.0.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Review-DeadCodeEliminateData.elmi +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Review-DeadCodeEliminateData.elmo +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/d.dat +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/i.dat +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/o.dat +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm.json +1 -1
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/Reporter.elm.js +4 -104
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/Runner.elm.js +7125 -6415
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/node_runner.js +1 -1
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/node_supervisor.js +1 -1
- package/generator/dead-code-review/elm.json +4 -4
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Internal-RoutePattern.elmi +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Internal-RoutePattern.elmo +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Review-NoContractViolations.elmi +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Review-NoContractViolations.elmo +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/d.dat +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/i.dat +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/o.dat +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/elm.json +1 -1
- package/generator/review/elm-stuff/tests-0.19.1/js/Reporter.elm.js +4 -104
- package/generator/review/elm-stuff/tests-0.19.1/js/Runner.elm.js +16847 -16037
- package/generator/review/elm-stuff/tests-0.19.1/js/node_runner.js +1 -1
- package/generator/review/elm-stuff/tests-0.19.1/js/node_supervisor.js +1 -1
- package/generator/review/elm.json +5 -5
- package/generator/src/build.js +2 -1
- package/generator/src/cli.js +99 -93
- package/generator/src/compatibility-key.js +1 -1
- package/generator/src/compile-elm.js +18 -1
- package/generator/src/render.js +0 -2
- package/generator/src/resolve-elm-module.js +63 -0
- package/generator/src/rewrite-client-elm-json.js +1 -0
- package/generator/src/rewrite-elm-json-help.js +56 -0
- package/generator/src/rewrite-elm-json.js +13 -3
- package/generator/template/elm.json +1 -2
- package/package.json +17 -16
- package/src/Pages/Internal/Platform/Cli.elm +91 -0
- package/src/Pages/Internal/Platform.elm +1 -0
- package/src/Scaffold/Form.elm +187 -111
- package/src/Scaffold/Route.elm +261 -249
- package/src/Server/Session.elm +29 -9
- package/src/Server/SetCookie.elm +11 -3
package/src/Scaffold/Route.elm
CHANGED
|
@@ -46,6 +46,7 @@ import Cli.Validate
|
|
|
46
46
|
import Elm
|
|
47
47
|
import Elm.Annotation
|
|
48
48
|
import Elm.Declare
|
|
49
|
+
import Elm.Op
|
|
49
50
|
import Pages.Internal.RoutePattern as RoutePattern
|
|
50
51
|
|
|
51
52
|
|
|
@@ -590,7 +591,14 @@ userFunction moduleName definitions =
|
|
|
590
591
|
( "shared", Just (Elm.Annotation.named [ "Shared" ] "Model") )
|
|
591
592
|
( "msg", Just (Elm.Annotation.named [] "Msg") )
|
|
592
593
|
( "model", Just (Elm.Annotation.named [] "Model") )
|
|
593
|
-
|
|
594
|
+
(\app shared msg model ->
|
|
595
|
+
localState.update app shared msg model
|
|
596
|
+
|> Elm.withType
|
|
597
|
+
(Elm.Annotation.tuple
|
|
598
|
+
(localType "Model")
|
|
599
|
+
effectType
|
|
600
|
+
)
|
|
601
|
+
)
|
|
594
602
|
, initFn =
|
|
595
603
|
Elm.Declare.fn2 "init"
|
|
596
604
|
( "app", Just appType )
|
|
@@ -1083,204 +1091,206 @@ buildWithLocalState_ :
|
|
|
1083
1091
|
-> Elm.Expression
|
|
1084
1092
|
-> Elm.Expression
|
|
1085
1093
|
buildWithLocalState_ buildWithLocalStateArg buildWithLocalStateArg0 =
|
|
1086
|
-
Elm.
|
|
1087
|
-
(Elm.
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
[
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1094
|
+
Elm.Op.pipe
|
|
1095
|
+
(Elm.apply
|
|
1096
|
+
(Elm.value
|
|
1097
|
+
{ importFrom = [ "RouteBuilder" ]
|
|
1098
|
+
, name =
|
|
1099
|
+
case buildWithLocalStateArg.state of
|
|
1100
|
+
LocalState ->
|
|
1101
|
+
"buildWithLocalState"
|
|
1102
|
+
|
|
1103
|
+
SharedState ->
|
|
1104
|
+
"buildWithSharedState"
|
|
1105
|
+
, annotation =
|
|
1106
|
+
Just
|
|
1107
|
+
(Elm.Annotation.function
|
|
1108
|
+
[ Elm.Annotation.record
|
|
1109
|
+
[ ( "view"
|
|
1110
|
+
, Elm.Annotation.function
|
|
1111
|
+
[ Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1112
|
+
, Elm.Annotation.var "model"
|
|
1113
|
+
, Elm.Annotation.namedWith
|
|
1114
|
+
[ "RouteBuilder" ]
|
|
1115
|
+
"App"
|
|
1116
|
+
[ Elm.Annotation.var "data"
|
|
1117
|
+
, Elm.Annotation.var "action"
|
|
1118
|
+
, Elm.Annotation.var "routeParams"
|
|
1119
|
+
]
|
|
1110
1120
|
]
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1121
|
+
(Elm.Annotation.namedWith
|
|
1122
|
+
[ "View" ]
|
|
1123
|
+
"View"
|
|
1124
|
+
[ Elm.Annotation.namedWith
|
|
1125
|
+
[ "PagesMsg" ]
|
|
1126
|
+
"PagesMsg"
|
|
1127
|
+
[ Elm.Annotation.named [] "Msg" ]
|
|
1128
|
+
]
|
|
1129
|
+
)
|
|
1130
|
+
)
|
|
1131
|
+
, ( "init"
|
|
1132
|
+
, Elm.Annotation.function
|
|
1133
|
+
[ Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1134
|
+
, Elm.Annotation.namedWith
|
|
1135
|
+
[ "RouteBuilder" ]
|
|
1136
|
+
"App"
|
|
1137
|
+
[ Elm.Annotation.var "data"
|
|
1138
|
+
, Elm.Annotation.var "action"
|
|
1139
|
+
, Elm.Annotation.var "routeParams"
|
|
1140
|
+
]
|
|
1119
1141
|
]
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1142
|
+
(Elm.Annotation.tuple
|
|
1143
|
+
(Elm.Annotation.named [] "Model")
|
|
1144
|
+
(Elm.Annotation.namedWith
|
|
1145
|
+
[ "Effect" ]
|
|
1146
|
+
"Effect"
|
|
1147
|
+
[ Elm.Annotation.named [] "Msg" ]
|
|
1148
|
+
)
|
|
1149
|
+
)
|
|
1150
|
+
)
|
|
1151
|
+
, ( "update"
|
|
1152
|
+
, Elm.Annotation.function
|
|
1153
|
+
[ Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1154
|
+
, Elm.Annotation.namedWith
|
|
1155
|
+
[ "RouteBuilder" ]
|
|
1156
|
+
"App"
|
|
1157
|
+
[ localType "Data"
|
|
1158
|
+
, localType "ActionData"
|
|
1159
|
+
, localType "RouteParams"
|
|
1160
|
+
]
|
|
1161
|
+
, Elm.Annotation.named [] "Msg"
|
|
1162
|
+
, Elm.Annotation.named [] "Model"
|
|
1131
1163
|
]
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1164
|
+
(case buildWithLocalStateArg.state of
|
|
1165
|
+
LocalState ->
|
|
1166
|
+
Elm.Annotation.tuple
|
|
1167
|
+
(localType "Model")
|
|
1168
|
+
(Elm.Annotation.namedWith
|
|
1169
|
+
[ "Effect" ]
|
|
1170
|
+
"Effect"
|
|
1171
|
+
[ localType "Msg" ]
|
|
1172
|
+
)
|
|
1173
|
+
|
|
1174
|
+
SharedState ->
|
|
1175
|
+
Elm.Annotation.triple
|
|
1176
|
+
(localType "Model")
|
|
1177
|
+
(Elm.Annotation.namedWith
|
|
1178
|
+
[ "Effect" ]
|
|
1179
|
+
"Effect"
|
|
1180
|
+
[ localType "Msg" ]
|
|
1181
|
+
)
|
|
1182
|
+
(Elm.Annotation.maybe (Elm.Annotation.named [ "Shared" ] "Msg"))
|
|
1139
1183
|
)
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
"App"
|
|
1148
|
-
[ localType "Data"
|
|
1149
|
-
, localType "ActionData"
|
|
1150
|
-
, localType "RouteParams"
|
|
1184
|
+
)
|
|
1185
|
+
, ( "subscriptions"
|
|
1186
|
+
, Elm.Annotation.function
|
|
1187
|
+
[ Elm.Annotation.var "routeParams"
|
|
1188
|
+
, Elm.Annotation.namedWith [ "Path" ] "Path" []
|
|
1189
|
+
, Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1190
|
+
, Elm.Annotation.var "model"
|
|
1151
1191
|
]
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
[ localType "Msg" ]
|
|
1163
|
-
)
|
|
1164
|
-
|
|
1165
|
-
SharedState ->
|
|
1166
|
-
Elm.Annotation.triple
|
|
1167
|
-
(localType "Model")
|
|
1168
|
-
(Elm.Annotation.namedWith
|
|
1169
|
-
[ "Effect" ]
|
|
1170
|
-
"Effect"
|
|
1171
|
-
[ localType "Msg" ]
|
|
1172
|
-
)
|
|
1173
|
-
(Elm.Annotation.maybe (Elm.Annotation.named [ "Shared" ] "Msg"))
|
|
1174
|
-
)
|
|
1175
|
-
)
|
|
1176
|
-
, ( "subscriptions"
|
|
1177
|
-
, Elm.Annotation.function
|
|
1178
|
-
[ Elm.Annotation.var "routeParams"
|
|
1179
|
-
, Elm.Annotation.namedWith [ "Path" ] "Path" []
|
|
1180
|
-
, Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1181
|
-
, Elm.Annotation.var "model"
|
|
1182
|
-
]
|
|
1183
|
-
(Elm.Annotation.namedWith [] "Sub" [ localType "Msg" ])
|
|
1184
|
-
)
|
|
1185
|
-
]
|
|
1186
|
-
, Elm.Annotation.namedWith
|
|
1187
|
-
[ "RouteBuilder" ]
|
|
1188
|
-
"Builder"
|
|
1189
|
-
[ localType "RouteParams"
|
|
1190
|
-
, localType "Data"
|
|
1191
|
-
, localType "ActionData"
|
|
1192
|
+
(Elm.Annotation.namedWith [] "Sub" [ localType "Msg" ])
|
|
1193
|
+
)
|
|
1194
|
+
]
|
|
1195
|
+
, Elm.Annotation.namedWith
|
|
1196
|
+
[ "RouteBuilder" ]
|
|
1197
|
+
"Builder"
|
|
1198
|
+
[ localType "RouteParams"
|
|
1199
|
+
, localType "Data"
|
|
1200
|
+
, localType "ActionData"
|
|
1201
|
+
]
|
|
1192
1202
|
]
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
]
|
|
1203
|
-
)
|
|
1204
|
-
)
|
|
1205
|
-
}
|
|
1206
|
-
)
|
|
1207
|
-
[ Elm.record
|
|
1208
|
-
[ Tuple.pair
|
|
1209
|
-
"view"
|
|
1210
|
-
(Elm.functionReduced
|
|
1211
|
-
"buildWithLocalStateUnpack"
|
|
1212
|
-
(\functionReducedUnpack ->
|
|
1213
|
-
Elm.functionReduced
|
|
1214
|
-
"unpack"
|
|
1215
|
-
(\functionReducedUnpack_2_1_2_0_2_2_0_1_0_2_0_0 ->
|
|
1216
|
-
Elm.functionReduced
|
|
1217
|
-
"unpack"
|
|
1218
|
-
(buildWithLocalStateArg.view
|
|
1219
|
-
functionReducedUnpack
|
|
1220
|
-
functionReducedUnpack_2_1_2_0_2_2_0_1_0_2_0_0
|
|
1221
|
-
)
|
|
1203
|
+
(Elm.Annotation.namedWith
|
|
1204
|
+
[ "RouteBuilder" ]
|
|
1205
|
+
"StatefulRoute"
|
|
1206
|
+
[ localType "RouteParams"
|
|
1207
|
+
, localType "Data"
|
|
1208
|
+
, localType "ActionData"
|
|
1209
|
+
, localType "Model"
|
|
1210
|
+
, localType "Msg"
|
|
1211
|
+
]
|
|
1222
1212
|
)
|
|
1213
|
+
)
|
|
1214
|
+
}
|
|
1215
|
+
)
|
|
1216
|
+
[ Elm.record
|
|
1217
|
+
[ Tuple.pair
|
|
1218
|
+
"view"
|
|
1219
|
+
(Elm.functionReduced
|
|
1220
|
+
"buildWithLocalStateUnpack"
|
|
1221
|
+
(\functionReducedUnpack ->
|
|
1222
|
+
Elm.functionReduced
|
|
1223
|
+
"unpack"
|
|
1224
|
+
(\functionReducedUnpack_2_1_2_0_2_2_0_1_0_2_0_0 ->
|
|
1225
|
+
Elm.functionReduced
|
|
1226
|
+
"unpack"
|
|
1227
|
+
(buildWithLocalStateArg.view
|
|
1228
|
+
functionReducedUnpack
|
|
1229
|
+
functionReducedUnpack_2_1_2_0_2_2_0_1_0_2_0_0
|
|
1230
|
+
)
|
|
1231
|
+
)
|
|
1232
|
+
)
|
|
1223
1233
|
)
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1234
|
+
, Tuple.pair
|
|
1235
|
+
"init"
|
|
1236
|
+
(Elm.functionReduced
|
|
1237
|
+
"buildWithLocalStateUnpack"
|
|
1238
|
+
(\functionReducedUnpack ->
|
|
1239
|
+
Elm.functionReduced
|
|
1240
|
+
"unpack"
|
|
1241
|
+
(buildWithLocalStateArg.init
|
|
1242
|
+
functionReducedUnpack
|
|
1243
|
+
)
|
|
1244
|
+
)
|
|
1235
1245
|
)
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1246
|
+
, Tuple.pair
|
|
1247
|
+
"update"
|
|
1248
|
+
(Elm.functionReduced
|
|
1249
|
+
"buildWithLocalStateUnpack"
|
|
1250
|
+
(\functionReducedUnpack ->
|
|
1251
|
+
Elm.functionReduced
|
|
1252
|
+
"unpack"
|
|
1253
|
+
(\functionReducedUnpack_2_1_2_0_2_2_2_1_0_2_0_0 ->
|
|
1254
|
+
Elm.functionReduced
|
|
1255
|
+
"unpack"
|
|
1256
|
+
(\functionReducedUnpack_2_1_2_1_2_0_2_2_2_1_0_2_0_0 ->
|
|
1257
|
+
Elm.functionReduced
|
|
1258
|
+
"unpack"
|
|
1259
|
+
(buildWithLocalStateArg.update
|
|
1260
|
+
functionReducedUnpack
|
|
1261
|
+
functionReducedUnpack_2_1_2_0_2_2_2_1_0_2_0_0
|
|
1262
|
+
functionReducedUnpack_2_1_2_1_2_0_2_2_2_1_0_2_0_0
|
|
1263
|
+
)
|
|
1264
|
+
)
|
|
1265
|
+
)
|
|
1266
|
+
)
|
|
1257
1267
|
)
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1268
|
+
, Tuple.pair
|
|
1269
|
+
"subscriptions"
|
|
1270
|
+
(Elm.functionReduced
|
|
1271
|
+
"buildWithLocalStateUnpack"
|
|
1272
|
+
(\functionReducedUnpack ->
|
|
1273
|
+
Elm.functionReduced
|
|
1274
|
+
"unpack"
|
|
1275
|
+
(\functionReducedUnpack_2_1_2_0_2_2_3_1_0_2_0_0 ->
|
|
1276
|
+
Elm.functionReduced
|
|
1277
|
+
"unpack"
|
|
1278
|
+
(\functionReducedUnpack_2_1_2_1_2_0_2_2_3_1_0_2_0_0 ->
|
|
1279
|
+
Elm.functionReduced
|
|
1280
|
+
"unpack"
|
|
1281
|
+
(buildWithLocalStateArg.subscriptions
|
|
1282
|
+
functionReducedUnpack
|
|
1283
|
+
functionReducedUnpack_2_1_2_0_2_2_3_1_0_2_0_0
|
|
1284
|
+
functionReducedUnpack_2_1_2_1_2_0_2_2_3_1_0_2_0_0
|
|
1285
|
+
)
|
|
1286
|
+
)
|
|
1287
|
+
)
|
|
1288
|
+
)
|
|
1279
1289
|
)
|
|
1280
|
-
|
|
1290
|
+
]
|
|
1281
1291
|
]
|
|
1282
|
-
|
|
1283
|
-
|
|
1292
|
+
)
|
|
1293
|
+
buildWithLocalStateArg0
|
|
1284
1294
|
|
|
1285
1295
|
|
|
1286
1296
|
buildNoState_ :
|
|
@@ -1290,73 +1300,75 @@ buildNoState_ :
|
|
|
1290
1300
|
-> Elm.Expression
|
|
1291
1301
|
-> Elm.Expression
|
|
1292
1302
|
buildNoState_ buildNoStateArg buildNoStateArg0 =
|
|
1293
|
-
Elm.
|
|
1294
|
-
(Elm.
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
[
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
(Elm.Annotation.namedWith
|
|
1313
|
-
[ "View" ]
|
|
1314
|
-
"View"
|
|
1315
|
-
[ Elm.Annotation.namedWith
|
|
1316
|
-
[ "PagesMsg" ]
|
|
1317
|
-
"PagesMsg"
|
|
1318
|
-
[ Elm.Annotation.named [] "Msg" ]
|
|
1303
|
+
Elm.Op.pipe
|
|
1304
|
+
(Elm.apply
|
|
1305
|
+
(Elm.value
|
|
1306
|
+
{ importFrom = [ "RouteBuilder" ]
|
|
1307
|
+
, name = "buildNoState"
|
|
1308
|
+
, annotation =
|
|
1309
|
+
Just
|
|
1310
|
+
(Elm.Annotation.function
|
|
1311
|
+
[ Elm.Annotation.record
|
|
1312
|
+
[ ( "view"
|
|
1313
|
+
, Elm.Annotation.function
|
|
1314
|
+
[ Elm.Annotation.namedWith [ "Shared" ] "Model" []
|
|
1315
|
+
, Elm.Annotation.namedWith
|
|
1316
|
+
[ "RouteBuilder" ]
|
|
1317
|
+
"App"
|
|
1318
|
+
[ Elm.Annotation.named [] "Data"
|
|
1319
|
+
, Elm.Annotation.named [] "ActionData"
|
|
1320
|
+
, Elm.Annotation.named [] "RouteParams"
|
|
1321
|
+
]
|
|
1319
1322
|
]
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
, Elm.Annotation.unit
|
|
1323
|
+
(Elm.Annotation.namedWith
|
|
1324
|
+
[ "View" ]
|
|
1325
|
+
"View"
|
|
1326
|
+
[ Elm.Annotation.namedWith
|
|
1327
|
+
[ "PagesMsg" ]
|
|
1328
|
+
"PagesMsg"
|
|
1329
|
+
[ Elm.Annotation.named [] "Msg" ]
|
|
1330
|
+
]
|
|
1331
|
+
)
|
|
1332
|
+
)
|
|
1333
|
+
]
|
|
1334
|
+
, Elm.Annotation.namedWith
|
|
1335
|
+
[ "RouteBuilder" ]
|
|
1336
|
+
"Builder"
|
|
1337
|
+
[ Elm.Annotation.named [] "RouteParams"
|
|
1338
|
+
, Elm.Annotation.named [] "Data"
|
|
1339
|
+
, Elm.Annotation.named [] "ActionData"
|
|
1340
|
+
]
|
|
1339
1341
|
]
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
(\functionReducedUnpack0 ->
|
|
1350
|
-
Elm.functionReduced
|
|
1351
|
-
"unpack"
|
|
1352
|
-
(buildNoStateArg.view
|
|
1353
|
-
functionReducedUnpack0
|
|
1342
|
+
(Elm.Annotation.namedWith
|
|
1343
|
+
[ "RouteBuilder" ]
|
|
1344
|
+
"StatefulRoute"
|
|
1345
|
+
[ Elm.Annotation.named [] "RouteParams"
|
|
1346
|
+
, Elm.Annotation.named [] "Data"
|
|
1347
|
+
, Elm.Annotation.named [] "ActionData"
|
|
1348
|
+
, Elm.Annotation.record []
|
|
1349
|
+
, Elm.Annotation.unit
|
|
1350
|
+
]
|
|
1354
1351
|
)
|
|
1352
|
+
)
|
|
1353
|
+
}
|
|
1354
|
+
)
|
|
1355
|
+
[ Elm.record
|
|
1356
|
+
[ Tuple.pair
|
|
1357
|
+
"view"
|
|
1358
|
+
(Elm.functionReduced
|
|
1359
|
+
"unpack"
|
|
1360
|
+
(\functionReducedUnpack0 ->
|
|
1361
|
+
Elm.functionReduced
|
|
1362
|
+
"unpack"
|
|
1363
|
+
(buildNoStateArg.view
|
|
1364
|
+
functionReducedUnpack0
|
|
1365
|
+
)
|
|
1366
|
+
)
|
|
1355
1367
|
)
|
|
1356
|
-
|
|
1368
|
+
]
|
|
1357
1369
|
]
|
|
1358
|
-
|
|
1359
|
-
|
|
1370
|
+
)
|
|
1371
|
+
buildNoStateArg0
|
|
1360
1372
|
|
|
1361
1373
|
|
|
1362
1374
|
effectType : Elm.Annotation.Annotation
|