elm-pages 3.0.0-beta.28 → 3.0.0-beta.29
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/README.md +1 -1
- package/codegen/elm-pages-codegen.cjs +86 -436
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/Pages-Review-DeadCodeEliminateDataTest.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/js/Runner.elm.js +7 -7
- 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/tests/Pages/Review/DeadCodeEliminateDataTest.elm +7 -7
- 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/js/node_runner.js +1 -1
- package/generator/review/elm-stuff/tests-0.19.1/js/node_supervisor.js +1 -1
- package/generator/src/RouteBuilder.elm +43 -51
- package/generator/src/compatibility-key.js +2 -2
- package/generator/template/app/Route/Index.elm +3 -3
- package/package.json +1 -1
- package/src/Form.elm +178 -306
- package/src/Head.elm +2 -2
- package/src/Pages/Internal/Platform/CompatibilityKey.elm +1 -1
- package/src/Pages/Internal/Platform.elm +2 -2
- package/src/Pages/PageUrl.elm +11 -8
- package/src/PagesMsg.elm +2 -3
- package/src/Path.elm +16 -19
- package/src/QueryParams.elm +17 -158
- package/src/Scaffold/Route.elm +140 -237
- package/src/Server/Request.elm +0 -3
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ https://github.com/dillonkearns/elm-pages/projects
|
|
|
81
81
|
You will see an error if the NPM and Elm package do not have a matching Compatibility Key. Usually it's best to upgrade to the latest version of both the Elm and NPM
|
|
82
82
|
packages when you upgrade. However, in case you want to install versions that are behind the latest, the Compatibility Key is included here for reference.
|
|
83
83
|
|
|
84
|
-
Current Compatibility Key:
|
|
84
|
+
Current Compatibility Key: 12.
|
|
85
85
|
|
|
86
86
|
## Contributors ✨
|
|
87
87
|
|
|
@@ -14934,7 +14934,7 @@ var $author$project$Gen$Path$call_ = {
|
|
|
14934
14934
|
$author$project$Elm$Annotation$function,
|
|
14935
14935
|
_List_fromArray(
|
|
14936
14936
|
[
|
|
14937
|
-
|
|
14937
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil)
|
|
14938
14938
|
]),
|
|
14939
14939
|
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil))),
|
|
14940
14940
|
importFrom: _List_fromArray(
|
|
@@ -14993,9 +14993,7 @@ var $author$project$Gen$Path$call_ = {
|
|
|
14993
14993
|
A2(
|
|
14994
14994
|
$author$project$Elm$Annotation$function,
|
|
14995
14995
|
_List_fromArray(
|
|
14996
|
-
[
|
|
14997
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil)
|
|
14998
|
-
]),
|
|
14996
|
+
[$author$project$Elm$Annotation$string]),
|
|
14999
14997
|
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string))),
|
|
15000
14998
|
importFrom: _List_fromArray(
|
|
15001
14999
|
['Path']),
|
|
@@ -24669,13 +24667,73 @@ var $author$project$Generate$segmentsToRoute = function (routes) {
|
|
|
24669
24667
|
])))))));
|
|
24670
24668
|
});
|
|
24671
24669
|
};
|
|
24670
|
+
var $author$project$Internal$Compiler$addAlias = F4(
|
|
24671
|
+
function (mod, name, ann, aliasCache) {
|
|
24672
|
+
var annDetails = ann.a;
|
|
24673
|
+
return A3(
|
|
24674
|
+
$elm$core$Dict$insert,
|
|
24675
|
+
A2($author$project$Internal$Compiler$formatAliasKey, mod, name),
|
|
24676
|
+
{
|
|
24677
|
+
target: annDetails.annotation,
|
|
24678
|
+
variables: $author$project$Internal$Compiler$getGenerics(ann)
|
|
24679
|
+
},
|
|
24680
|
+
aliasCache);
|
|
24681
|
+
});
|
|
24682
|
+
var $author$project$Internal$Compiler$getAliases = function (_v0) {
|
|
24683
|
+
var ann = _v0.a;
|
|
24684
|
+
return ann.aliases;
|
|
24685
|
+
};
|
|
24686
|
+
var $author$project$Elm$Annotation$alias = F4(
|
|
24687
|
+
function (mod, name, vars, target) {
|
|
24688
|
+
return $author$project$Internal$Compiler$Annotation(
|
|
24689
|
+
{
|
|
24690
|
+
aliases: A4(
|
|
24691
|
+
$author$project$Internal$Compiler$addAlias,
|
|
24692
|
+
mod,
|
|
24693
|
+
name,
|
|
24694
|
+
target,
|
|
24695
|
+
A3(
|
|
24696
|
+
$elm$core$List$foldl,
|
|
24697
|
+
F2(
|
|
24698
|
+
function (ann, aliases) {
|
|
24699
|
+
return A2(
|
|
24700
|
+
$author$project$Internal$Compiler$mergeAliases,
|
|
24701
|
+
$author$project$Internal$Compiler$getAliases(ann),
|
|
24702
|
+
aliases);
|
|
24703
|
+
}),
|
|
24704
|
+
$author$project$Internal$Compiler$getAliases(target),
|
|
24705
|
+
vars)),
|
|
24706
|
+
annotation: A2(
|
|
24707
|
+
$stil4m$elm_syntax$Elm$Syntax$TypeAnnotation$Typed,
|
|
24708
|
+
$author$project$Internal$Compiler$nodify(
|
|
24709
|
+
_Utils_Tuple2(
|
|
24710
|
+
mod,
|
|
24711
|
+
$author$project$Internal$Format$formatType(name))),
|
|
24712
|
+
A2(
|
|
24713
|
+
$elm$core$List$map,
|
|
24714
|
+
A2($elm$core$Basics$composeL, $author$project$Internal$Compiler$nodify, $author$project$Internal$Compiler$getInnerAnnotation),
|
|
24715
|
+
vars)),
|
|
24716
|
+
imports: function () {
|
|
24717
|
+
if (!mod.b) {
|
|
24718
|
+
return A2($elm$core$List$concatMap, $author$project$Internal$Compiler$getAnnotationImports, vars);
|
|
24719
|
+
} else {
|
|
24720
|
+
return _Utils_ap(
|
|
24721
|
+
_List_fromArray(
|
|
24722
|
+
[mod]),
|
|
24723
|
+
A2($elm$core$List$concatMap, $author$project$Internal$Compiler$getAnnotationImports, vars));
|
|
24724
|
+
}
|
|
24725
|
+
}()
|
|
24726
|
+
});
|
|
24727
|
+
});
|
|
24728
|
+
var $author$project$Gen$Path$moduleName_ = _List_fromArray(
|
|
24729
|
+
['Path']);
|
|
24672
24730
|
var $author$project$Gen$Path$annotation_ = {
|
|
24673
|
-
path:
|
|
24674
|
-
$author$project$Elm$Annotation$
|
|
24675
|
-
|
|
24676
|
-
['Path']),
|
|
24731
|
+
path: A4(
|
|
24732
|
+
$author$project$Elm$Annotation$alias,
|
|
24733
|
+
$author$project$Gen$Path$moduleName_,
|
|
24677
24734
|
'Path',
|
|
24678
|
-
_List_Nil
|
|
24735
|
+
_List_Nil,
|
|
24736
|
+
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string))
|
|
24679
24737
|
};
|
|
24680
24738
|
var $author$project$Internal$Types$bool = A2(
|
|
24681
24739
|
$stil4m$elm_syntax$Elm$Syntax$TypeAnnotation$Typed,
|
|
@@ -24823,10 +24881,6 @@ var $author$project$Pages$Internal$RoutePattern$toVariant = function (pattern) {
|
|
|
24823
24881
|
noArgsOrNonEmptyRecordArg);
|
|
24824
24882
|
}
|
|
24825
24883
|
};
|
|
24826
|
-
var $author$project$Internal$Compiler$getAliases = function (_v0) {
|
|
24827
|
-
var ann = _v0.a;
|
|
24828
|
-
return ann.aliases;
|
|
24829
|
-
};
|
|
24830
24884
|
var $author$project$Elm$function = F2(
|
|
24831
24885
|
function (initialArgList, toFullExpression) {
|
|
24832
24886
|
if (!initialArgList.b) {
|
|
@@ -25485,60 +25539,6 @@ var $author$project$Gen$Maybe$andThen = F2(
|
|
|
25485
25539
|
andThenArg0
|
|
25486
25540
|
]));
|
|
25487
25541
|
});
|
|
25488
|
-
var $author$project$Internal$Compiler$addAlias = F4(
|
|
25489
|
-
function (mod, name, ann, aliasCache) {
|
|
25490
|
-
var annDetails = ann.a;
|
|
25491
|
-
return A3(
|
|
25492
|
-
$elm$core$Dict$insert,
|
|
25493
|
-
A2($author$project$Internal$Compiler$formatAliasKey, mod, name),
|
|
25494
|
-
{
|
|
25495
|
-
target: annDetails.annotation,
|
|
25496
|
-
variables: $author$project$Internal$Compiler$getGenerics(ann)
|
|
25497
|
-
},
|
|
25498
|
-
aliasCache);
|
|
25499
|
-
});
|
|
25500
|
-
var $author$project$Elm$Annotation$alias = F4(
|
|
25501
|
-
function (mod, name, vars, target) {
|
|
25502
|
-
return $author$project$Internal$Compiler$Annotation(
|
|
25503
|
-
{
|
|
25504
|
-
aliases: A4(
|
|
25505
|
-
$author$project$Internal$Compiler$addAlias,
|
|
25506
|
-
mod,
|
|
25507
|
-
name,
|
|
25508
|
-
target,
|
|
25509
|
-
A3(
|
|
25510
|
-
$elm$core$List$foldl,
|
|
25511
|
-
F2(
|
|
25512
|
-
function (ann, aliases) {
|
|
25513
|
-
return A2(
|
|
25514
|
-
$author$project$Internal$Compiler$mergeAliases,
|
|
25515
|
-
$author$project$Internal$Compiler$getAliases(ann),
|
|
25516
|
-
aliases);
|
|
25517
|
-
}),
|
|
25518
|
-
$author$project$Internal$Compiler$getAliases(target),
|
|
25519
|
-
vars)),
|
|
25520
|
-
annotation: A2(
|
|
25521
|
-
$stil4m$elm_syntax$Elm$Syntax$TypeAnnotation$Typed,
|
|
25522
|
-
$author$project$Internal$Compiler$nodify(
|
|
25523
|
-
_Utils_Tuple2(
|
|
25524
|
-
mod,
|
|
25525
|
-
$author$project$Internal$Format$formatType(name))),
|
|
25526
|
-
A2(
|
|
25527
|
-
$elm$core$List$map,
|
|
25528
|
-
A2($elm$core$Basics$composeL, $author$project$Internal$Compiler$nodify, $author$project$Internal$Compiler$getInnerAnnotation),
|
|
25529
|
-
vars)),
|
|
25530
|
-
imports: function () {
|
|
25531
|
-
if (!mod.b) {
|
|
25532
|
-
return A2($elm$core$List$concatMap, $author$project$Internal$Compiler$getAnnotationImports, vars);
|
|
25533
|
-
} else {
|
|
25534
|
-
return _Utils_ap(
|
|
25535
|
-
_List_fromArray(
|
|
25536
|
-
[mod]),
|
|
25537
|
-
A2($elm$core$List$concatMap, $author$project$Internal$Compiler$getAnnotationImports, vars));
|
|
25538
|
-
}
|
|
25539
|
-
}()
|
|
25540
|
-
});
|
|
25541
|
-
});
|
|
25542
25542
|
var $author$project$Gen$ApiRoute$moduleName_ = _List_fromArray(
|
|
25543
25543
|
['ApiRoute']);
|
|
25544
25544
|
var $author$project$Gen$ApiRoute$annotation_ = {
|
|
@@ -29673,220 +29673,7 @@ var $author$project$Gen$PagesMsg$call_ = {
|
|
|
29673
29673
|
})
|
|
29674
29674
|
};
|
|
29675
29675
|
var $author$project$Gen$QueryParams$call_ = {
|
|
29676
|
-
andThen: F2(
|
|
29677
|
-
function (andThenArg, andThenArg0) {
|
|
29678
|
-
return A2(
|
|
29679
|
-
$author$project$Elm$apply,
|
|
29680
|
-
$author$project$Elm$value(
|
|
29681
|
-
{
|
|
29682
|
-
annotation: $elm$core$Maybe$Just(
|
|
29683
|
-
A2(
|
|
29684
|
-
$author$project$Elm$Annotation$function,
|
|
29685
|
-
_List_fromArray(
|
|
29686
|
-
[
|
|
29687
|
-
A2(
|
|
29688
|
-
$author$project$Elm$Annotation$function,
|
|
29689
|
-
_List_fromArray(
|
|
29690
|
-
[
|
|
29691
|
-
$author$project$Elm$Annotation$var('a')
|
|
29692
|
-
]),
|
|
29693
|
-
A3(
|
|
29694
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29695
|
-
_List_Nil,
|
|
29696
|
-
'Parser',
|
|
29697
|
-
_List_fromArray(
|
|
29698
|
-
[
|
|
29699
|
-
$author$project$Elm$Annotation$var('b')
|
|
29700
|
-
]))),
|
|
29701
|
-
A3(
|
|
29702
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29703
|
-
_List_Nil,
|
|
29704
|
-
'Parser',
|
|
29705
|
-
_List_fromArray(
|
|
29706
|
-
[
|
|
29707
|
-
$author$project$Elm$Annotation$var('a')
|
|
29708
|
-
]))
|
|
29709
|
-
]),
|
|
29710
|
-
A3(
|
|
29711
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29712
|
-
_List_Nil,
|
|
29713
|
-
'Parser',
|
|
29714
|
-
_List_fromArray(
|
|
29715
|
-
[
|
|
29716
|
-
$author$project$Elm$Annotation$var('b')
|
|
29717
|
-
])))),
|
|
29718
|
-
importFrom: _List_fromArray(
|
|
29719
|
-
['QueryParams']),
|
|
29720
|
-
name: 'andThen'
|
|
29721
|
-
}),
|
|
29722
|
-
_List_fromArray(
|
|
29723
|
-
[andThenArg, andThenArg0]));
|
|
29724
|
-
}),
|
|
29725
|
-
fail: function (failArg) {
|
|
29726
|
-
return A2(
|
|
29727
|
-
$author$project$Elm$apply,
|
|
29728
|
-
$author$project$Elm$value(
|
|
29729
|
-
{
|
|
29730
|
-
annotation: $elm$core$Maybe$Just(
|
|
29731
|
-
A2(
|
|
29732
|
-
$author$project$Elm$Annotation$function,
|
|
29733
|
-
_List_fromArray(
|
|
29734
|
-
[$author$project$Elm$Annotation$string]),
|
|
29735
|
-
A3(
|
|
29736
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29737
|
-
_List_Nil,
|
|
29738
|
-
'Parser',
|
|
29739
|
-
_List_fromArray(
|
|
29740
|
-
[
|
|
29741
|
-
$author$project$Elm$Annotation$var('a')
|
|
29742
|
-
])))),
|
|
29743
|
-
importFrom: _List_fromArray(
|
|
29744
|
-
['QueryParams']),
|
|
29745
|
-
name: 'fail'
|
|
29746
|
-
}),
|
|
29747
|
-
_List_fromArray(
|
|
29748
|
-
[failArg]));
|
|
29749
|
-
},
|
|
29750
|
-
fromResult: function (fromResultArg) {
|
|
29751
|
-
return A2(
|
|
29752
|
-
$author$project$Elm$apply,
|
|
29753
|
-
$author$project$Elm$value(
|
|
29754
|
-
{
|
|
29755
|
-
annotation: $elm$core$Maybe$Just(
|
|
29756
|
-
A2(
|
|
29757
|
-
$author$project$Elm$Annotation$function,
|
|
29758
|
-
_List_fromArray(
|
|
29759
|
-
[
|
|
29760
|
-
A3(
|
|
29761
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29762
|
-
_List_Nil,
|
|
29763
|
-
'Result',
|
|
29764
|
-
_List_fromArray(
|
|
29765
|
-
[
|
|
29766
|
-
$author$project$Elm$Annotation$string,
|
|
29767
|
-
$author$project$Elm$Annotation$var('a')
|
|
29768
|
-
]))
|
|
29769
|
-
]),
|
|
29770
|
-
A3(
|
|
29771
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29772
|
-
_List_Nil,
|
|
29773
|
-
'Parser',
|
|
29774
|
-
_List_fromArray(
|
|
29775
|
-
[
|
|
29776
|
-
$author$project$Elm$Annotation$var('a')
|
|
29777
|
-
])))),
|
|
29778
|
-
importFrom: _List_fromArray(
|
|
29779
|
-
['QueryParams']),
|
|
29780
|
-
name: 'fromResult'
|
|
29781
|
-
}),
|
|
29782
|
-
_List_fromArray(
|
|
29783
|
-
[fromResultArg]));
|
|
29784
|
-
},
|
|
29785
29676
|
fromString: function (fromStringArg) {
|
|
29786
|
-
return A2(
|
|
29787
|
-
$author$project$Elm$apply,
|
|
29788
|
-
$author$project$Elm$value(
|
|
29789
|
-
{
|
|
29790
|
-
annotation: $elm$core$Maybe$Just(
|
|
29791
|
-
A2(
|
|
29792
|
-
$author$project$Elm$Annotation$function,
|
|
29793
|
-
_List_fromArray(
|
|
29794
|
-
[$author$project$Elm$Annotation$string]),
|
|
29795
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'QueryParams', _List_Nil))),
|
|
29796
|
-
importFrom: _List_fromArray(
|
|
29797
|
-
['QueryParams']),
|
|
29798
|
-
name: 'fromString'
|
|
29799
|
-
}),
|
|
29800
|
-
_List_fromArray(
|
|
29801
|
-
[fromStringArg]));
|
|
29802
|
-
},
|
|
29803
|
-
map2: F3(
|
|
29804
|
-
function (map2Arg, map2Arg0, map2Arg1) {
|
|
29805
|
-
return A2(
|
|
29806
|
-
$author$project$Elm$apply,
|
|
29807
|
-
$author$project$Elm$value(
|
|
29808
|
-
{
|
|
29809
|
-
annotation: $elm$core$Maybe$Just(
|
|
29810
|
-
A2(
|
|
29811
|
-
$author$project$Elm$Annotation$function,
|
|
29812
|
-
_List_fromArray(
|
|
29813
|
-
[
|
|
29814
|
-
A2(
|
|
29815
|
-
$author$project$Elm$Annotation$function,
|
|
29816
|
-
_List_fromArray(
|
|
29817
|
-
[
|
|
29818
|
-
$author$project$Elm$Annotation$var('a'),
|
|
29819
|
-
$author$project$Elm$Annotation$var('b')
|
|
29820
|
-
]),
|
|
29821
|
-
$author$project$Elm$Annotation$var('combined')),
|
|
29822
|
-
A3(
|
|
29823
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29824
|
-
_List_Nil,
|
|
29825
|
-
'Parser',
|
|
29826
|
-
_List_fromArray(
|
|
29827
|
-
[
|
|
29828
|
-
$author$project$Elm$Annotation$var('a')
|
|
29829
|
-
])),
|
|
29830
|
-
A3(
|
|
29831
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29832
|
-
_List_Nil,
|
|
29833
|
-
'Parser',
|
|
29834
|
-
_List_fromArray(
|
|
29835
|
-
[
|
|
29836
|
-
$author$project$Elm$Annotation$var('b')
|
|
29837
|
-
]))
|
|
29838
|
-
]),
|
|
29839
|
-
A3(
|
|
29840
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29841
|
-
_List_Nil,
|
|
29842
|
-
'Parser',
|
|
29843
|
-
_List_fromArray(
|
|
29844
|
-
[
|
|
29845
|
-
$author$project$Elm$Annotation$var('combined')
|
|
29846
|
-
])))),
|
|
29847
|
-
importFrom: _List_fromArray(
|
|
29848
|
-
['QueryParams']),
|
|
29849
|
-
name: 'map2'
|
|
29850
|
-
}),
|
|
29851
|
-
_List_fromArray(
|
|
29852
|
-
[map2Arg, map2Arg0, map2Arg1]));
|
|
29853
|
-
}),
|
|
29854
|
-
oneOf: function (oneOfArg) {
|
|
29855
|
-
return A2(
|
|
29856
|
-
$author$project$Elm$apply,
|
|
29857
|
-
$author$project$Elm$value(
|
|
29858
|
-
{
|
|
29859
|
-
annotation: $elm$core$Maybe$Just(
|
|
29860
|
-
A2(
|
|
29861
|
-
$author$project$Elm$Annotation$function,
|
|
29862
|
-
_List_fromArray(
|
|
29863
|
-
[
|
|
29864
|
-
$author$project$Elm$Annotation$list(
|
|
29865
|
-
A3(
|
|
29866
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29867
|
-
_List_Nil,
|
|
29868
|
-
'Parser',
|
|
29869
|
-
_List_fromArray(
|
|
29870
|
-
[
|
|
29871
|
-
$author$project$Elm$Annotation$var('a')
|
|
29872
|
-
])))
|
|
29873
|
-
]),
|
|
29874
|
-
A3(
|
|
29875
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29876
|
-
_List_Nil,
|
|
29877
|
-
'Parser',
|
|
29878
|
-
_List_fromArray(
|
|
29879
|
-
[
|
|
29880
|
-
$author$project$Elm$Annotation$var('a')
|
|
29881
|
-
])))),
|
|
29882
|
-
importFrom: _List_fromArray(
|
|
29883
|
-
['QueryParams']),
|
|
29884
|
-
name: 'oneOf'
|
|
29885
|
-
}),
|
|
29886
|
-
_List_fromArray(
|
|
29887
|
-
[oneOfArg]));
|
|
29888
|
-
},
|
|
29889
|
-
optionalString: function (optionalStringArg) {
|
|
29890
29677
|
return A2(
|
|
29891
29678
|
$author$project$Elm$apply,
|
|
29892
29679
|
$author$project$Elm$value(
|
|
@@ -29896,150 +29683,6 @@ var $author$project$Gen$QueryParams$call_ = {
|
|
|
29896
29683
|
$author$project$Elm$Annotation$function,
|
|
29897
29684
|
_List_fromArray(
|
|
29898
29685
|
[$author$project$Elm$Annotation$string]),
|
|
29899
|
-
A3(
|
|
29900
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29901
|
-
_List_Nil,
|
|
29902
|
-
'Parser',
|
|
29903
|
-
_List_fromArray(
|
|
29904
|
-
[
|
|
29905
|
-
A3(
|
|
29906
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29907
|
-
_List_Nil,
|
|
29908
|
-
'Maybe',
|
|
29909
|
-
_List_fromArray(
|
|
29910
|
-
[$author$project$Elm$Annotation$string]))
|
|
29911
|
-
])))),
|
|
29912
|
-
importFrom: _List_fromArray(
|
|
29913
|
-
['QueryParams']),
|
|
29914
|
-
name: 'optionalString'
|
|
29915
|
-
}),
|
|
29916
|
-
_List_fromArray(
|
|
29917
|
-
[optionalStringArg]));
|
|
29918
|
-
},
|
|
29919
|
-
parse: F2(
|
|
29920
|
-
function (parseArg, parseArg0) {
|
|
29921
|
-
return A2(
|
|
29922
|
-
$author$project$Elm$apply,
|
|
29923
|
-
$author$project$Elm$value(
|
|
29924
|
-
{
|
|
29925
|
-
annotation: $elm$core$Maybe$Just(
|
|
29926
|
-
A2(
|
|
29927
|
-
$author$project$Elm$Annotation$function,
|
|
29928
|
-
_List_fromArray(
|
|
29929
|
-
[
|
|
29930
|
-
A3(
|
|
29931
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29932
|
-
_List_Nil,
|
|
29933
|
-
'Parser',
|
|
29934
|
-
_List_fromArray(
|
|
29935
|
-
[
|
|
29936
|
-
$author$project$Elm$Annotation$var('a')
|
|
29937
|
-
])),
|
|
29938
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'QueryParams', _List_Nil)
|
|
29939
|
-
]),
|
|
29940
|
-
A3(
|
|
29941
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29942
|
-
_List_Nil,
|
|
29943
|
-
'Result',
|
|
29944
|
-
_List_fromArray(
|
|
29945
|
-
[
|
|
29946
|
-
$author$project$Elm$Annotation$string,
|
|
29947
|
-
$author$project$Elm$Annotation$var('a')
|
|
29948
|
-
])))),
|
|
29949
|
-
importFrom: _List_fromArray(
|
|
29950
|
-
['QueryParams']),
|
|
29951
|
-
name: 'parse'
|
|
29952
|
-
}),
|
|
29953
|
-
_List_fromArray(
|
|
29954
|
-
[parseArg, parseArg0]));
|
|
29955
|
-
}),
|
|
29956
|
-
string: function (stringArg) {
|
|
29957
|
-
return A2(
|
|
29958
|
-
$author$project$Elm$apply,
|
|
29959
|
-
$author$project$Elm$value(
|
|
29960
|
-
{
|
|
29961
|
-
annotation: $elm$core$Maybe$Just(
|
|
29962
|
-
A2(
|
|
29963
|
-
$author$project$Elm$Annotation$function,
|
|
29964
|
-
_List_fromArray(
|
|
29965
|
-
[$author$project$Elm$Annotation$string]),
|
|
29966
|
-
A3(
|
|
29967
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29968
|
-
_List_Nil,
|
|
29969
|
-
'Parser',
|
|
29970
|
-
_List_fromArray(
|
|
29971
|
-
[$author$project$Elm$Annotation$string])))),
|
|
29972
|
-
importFrom: _List_fromArray(
|
|
29973
|
-
['QueryParams']),
|
|
29974
|
-
name: 'string'
|
|
29975
|
-
}),
|
|
29976
|
-
_List_fromArray(
|
|
29977
|
-
[stringArg]));
|
|
29978
|
-
},
|
|
29979
|
-
strings: function (stringsArg) {
|
|
29980
|
-
return A2(
|
|
29981
|
-
$author$project$Elm$apply,
|
|
29982
|
-
$author$project$Elm$value(
|
|
29983
|
-
{
|
|
29984
|
-
annotation: $elm$core$Maybe$Just(
|
|
29985
|
-
A2(
|
|
29986
|
-
$author$project$Elm$Annotation$function,
|
|
29987
|
-
_List_fromArray(
|
|
29988
|
-
[$author$project$Elm$Annotation$string]),
|
|
29989
|
-
A3(
|
|
29990
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29991
|
-
_List_Nil,
|
|
29992
|
-
'Parser',
|
|
29993
|
-
_List_fromArray(
|
|
29994
|
-
[
|
|
29995
|
-
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string)
|
|
29996
|
-
])))),
|
|
29997
|
-
importFrom: _List_fromArray(
|
|
29998
|
-
['QueryParams']),
|
|
29999
|
-
name: 'strings'
|
|
30000
|
-
}),
|
|
30001
|
-
_List_fromArray(
|
|
30002
|
-
[stringsArg]));
|
|
30003
|
-
},
|
|
30004
|
-
succeed: function (succeedArg) {
|
|
30005
|
-
return A2(
|
|
30006
|
-
$author$project$Elm$apply,
|
|
30007
|
-
$author$project$Elm$value(
|
|
30008
|
-
{
|
|
30009
|
-
annotation: $elm$core$Maybe$Just(
|
|
30010
|
-
A2(
|
|
30011
|
-
$author$project$Elm$Annotation$function,
|
|
30012
|
-
_List_fromArray(
|
|
30013
|
-
[
|
|
30014
|
-
$author$project$Elm$Annotation$var('a')
|
|
30015
|
-
]),
|
|
30016
|
-
A3(
|
|
30017
|
-
$author$project$Elm$Annotation$namedWith,
|
|
30018
|
-
_List_Nil,
|
|
30019
|
-
'Parser',
|
|
30020
|
-
_List_fromArray(
|
|
30021
|
-
[
|
|
30022
|
-
$author$project$Elm$Annotation$var('a')
|
|
30023
|
-
])))),
|
|
30024
|
-
importFrom: _List_fromArray(
|
|
30025
|
-
['QueryParams']),
|
|
30026
|
-
name: 'succeed'
|
|
30027
|
-
}),
|
|
30028
|
-
_List_fromArray(
|
|
30029
|
-
[succeedArg]));
|
|
30030
|
-
},
|
|
30031
|
-
toDict: function (toDictArg) {
|
|
30032
|
-
return A2(
|
|
30033
|
-
$author$project$Elm$apply,
|
|
30034
|
-
$author$project$Elm$value(
|
|
30035
|
-
{
|
|
30036
|
-
annotation: $elm$core$Maybe$Just(
|
|
30037
|
-
A2(
|
|
30038
|
-
$author$project$Elm$Annotation$function,
|
|
30039
|
-
_List_fromArray(
|
|
30040
|
-
[
|
|
30041
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'QueryParams', _List_Nil)
|
|
30042
|
-
]),
|
|
30043
29686
|
A3(
|
|
30044
29687
|
$author$project$Elm$Annotation$namedWith,
|
|
30045
29688
|
_List_Nil,
|
|
@@ -30051,10 +29694,10 @@ var $author$project$Gen$QueryParams$call_ = {
|
|
|
30051
29694
|
])))),
|
|
30052
29695
|
importFrom: _List_fromArray(
|
|
30053
29696
|
['QueryParams']),
|
|
30054
|
-
name: '
|
|
29697
|
+
name: 'fromString'
|
|
30055
29698
|
}),
|
|
30056
29699
|
_List_fromArray(
|
|
30057
|
-
[
|
|
29700
|
+
[fromStringArg]));
|
|
30058
29701
|
},
|
|
30059
29702
|
toString: function (toStringArg) {
|
|
30060
29703
|
return A2(
|
|
@@ -36082,7 +35725,6 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36082
35725
|
A2($author$project$GenerateMain$routeTemplateFunction, 'view', route),
|
|
36083
35726
|
_List_fromArray(
|
|
36084
35727
|
[
|
|
36085
|
-
maybePageUrl,
|
|
36086
35728
|
A2($author$project$Elm$get, 'global', model),
|
|
36087
35729
|
subModel,
|
|
36088
35730
|
$author$project$Elm$record(
|
|
@@ -36102,6 +35744,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36102
35744
|
_Utils_Tuple2(
|
|
36103
35745
|
'path',
|
|
36104
35746
|
A2($author$project$Elm$get, 'path', page)),
|
|
35747
|
+
_Utils_Tuple2('url', maybePageUrl),
|
|
36105
35748
|
_Utils_Tuple2(
|
|
36106
35749
|
'submit',
|
|
36107
35750
|
A2(
|
|
@@ -36165,6 +35808,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36165
35808
|
_Utils_Tuple2(
|
|
36166
35809
|
'path',
|
|
36167
35810
|
A2($author$project$Elm$get, 'path', page)),
|
|
35811
|
+
_Utils_Tuple2('url', $author$project$Elm$nothing),
|
|
36168
35812
|
_Utils_Tuple2(
|
|
36169
35813
|
'submit',
|
|
36170
35814
|
A2(
|
|
@@ -36564,10 +36208,6 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36564
36208
|
})),
|
|
36565
36209
|
_List_fromArray(
|
|
36566
36210
|
[
|
|
36567
|
-
A2(
|
|
36568
|
-
$author$project$Gen$Maybe$andThen,
|
|
36569
|
-
$author$project$Elm$get('pageUrl'),
|
|
36570
|
-
maybePagePath),
|
|
36571
36211
|
sharedModel,
|
|
36572
36212
|
$author$project$Elm$record(
|
|
36573
36213
|
_List_fromArray(
|
|
@@ -36613,6 +36253,12 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36613
36253
|
$author$project$Gen$Tuple$second(justRouteAndPath)
|
|
36614
36254
|
]))),
|
|
36615
36255
|
_Utils_Tuple2(
|
|
36256
|
+
'url',
|
|
36257
|
+
A2(
|
|
36258
|
+
$author$project$Gen$Maybe$andThen,
|
|
36259
|
+
$author$project$Elm$get('pageUrl'),
|
|
36260
|
+
maybePagePath)),
|
|
36261
|
+
_Utils_Tuple2(
|
|
36616
36262
|
'submit',
|
|
36617
36263
|
A2(
|
|
36618
36264
|
$author$project$Elm$apply,
|
|
@@ -37270,9 +36916,12 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37270
36916
|
_Utils_Tuple2(
|
|
37271
36917
|
'query',
|
|
37272
36918
|
A2(
|
|
37273
|
-
$author$project$Gen$Maybe$
|
|
37274
|
-
$author$project$Gen$
|
|
37275
|
-
A2(
|
|
36919
|
+
$author$project$Gen$Maybe$withDefault,
|
|
36920
|
+
$author$project$Gen$Dict$empty,
|
|
36921
|
+
A2(
|
|
36922
|
+
$author$project$Gen$Maybe$map,
|
|
36923
|
+
$author$project$Gen$QueryParams$call_.fromString,
|
|
36924
|
+
A2($author$project$Elm$get, 'query', record)))),
|
|
37276
36925
|
_Utils_Tuple2(
|
|
37277
36926
|
'fragment',
|
|
37278
36927
|
A2($author$project$Elm$get, 'fragment', record))
|
|
@@ -37461,7 +37110,6 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37461
37110
|
})),
|
|
37462
37111
|
_List_fromArray(
|
|
37463
37112
|
[
|
|
37464
|
-
pageUrl,
|
|
37465
37113
|
$author$project$Elm$record(
|
|
37466
37114
|
_List_fromArray(
|
|
37467
37115
|
[
|
|
@@ -37478,6 +37126,9 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37478
37126
|
'path',
|
|
37479
37127
|
A2($author$project$Elm$get, 'path', justPage)),
|
|
37480
37128
|
_Utils_Tuple2(
|
|
37129
|
+
'url',
|
|
37130
|
+
$author$project$Elm$just(pageUrl)),
|
|
37131
|
+
_Utils_Tuple2(
|
|
37481
37132
|
'submit',
|
|
37482
37133
|
A2(
|
|
37483
37134
|
$author$project$Elm$fn,
|
|
@@ -38148,7 +37799,6 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38148
37799
|
})),
|
|
38149
37800
|
_List_fromArray(
|
|
38150
37801
|
[
|
|
38151
|
-
$author$project$Elm$nothing,
|
|
38152
37802
|
A2(
|
|
38153
37803
|
$elm$core$Maybe$withDefault,
|
|
38154
37804
|
$author$project$Elm$record(_List_Nil),
|
|
Binary file
|
|
Binary file
|