elm-pages 3.0.0-beta.27 → 3.0.0-beta.28
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.
|
@@ -26333,17 +26333,6 @@ var $author$project$Gen$PagesMsg$annotation_ = {
|
|
|
26333
26333
|
])));
|
|
26334
26334
|
}
|
|
26335
26335
|
};
|
|
26336
|
-
var $author$project$Gen$Platform$Sub$annotation_ = {
|
|
26337
|
-
sub: function (subArg0) {
|
|
26338
|
-
return A3(
|
|
26339
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26340
|
-
_List_fromArray(
|
|
26341
|
-
['Sub']),
|
|
26342
|
-
'Sub',
|
|
26343
|
-
_List_fromArray(
|
|
26344
|
-
[subArg0]));
|
|
26345
|
-
}
|
|
26346
|
-
};
|
|
26347
26336
|
var $author$project$Gen$Server$Response$moduleName_ = _List_fromArray(
|
|
26348
26337
|
['Server', 'Response']);
|
|
26349
26338
|
var $author$project$Gen$Server$Response$annotation_ = {
|
|
@@ -26960,43 +26949,6 @@ var $author$project$GenerateMain$applyIdentityTo = function (to) {
|
|
|
26960
26949
|
_List_fromArray(
|
|
26961
26950
|
[$author$project$Gen$Basics$values_.identity]));
|
|
26962
26951
|
};
|
|
26963
|
-
var $author$project$Gen$Platform$Sub$batch = function (batchArg) {
|
|
26964
|
-
return A2(
|
|
26965
|
-
$author$project$Elm$apply,
|
|
26966
|
-
$author$project$Elm$value(
|
|
26967
|
-
{
|
|
26968
|
-
annotation: $elm$core$Maybe$Just(
|
|
26969
|
-
A2(
|
|
26970
|
-
$author$project$Elm$Annotation$function,
|
|
26971
|
-
_List_fromArray(
|
|
26972
|
-
[
|
|
26973
|
-
$author$project$Elm$Annotation$list(
|
|
26974
|
-
A3(
|
|
26975
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26976
|
-
_List_Nil,
|
|
26977
|
-
'Sub',
|
|
26978
|
-
_List_fromArray(
|
|
26979
|
-
[
|
|
26980
|
-
$author$project$Elm$Annotation$var('msg')
|
|
26981
|
-
])))
|
|
26982
|
-
]),
|
|
26983
|
-
A3(
|
|
26984
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26985
|
-
_List_Nil,
|
|
26986
|
-
'Sub',
|
|
26987
|
-
_List_fromArray(
|
|
26988
|
-
[
|
|
26989
|
-
$author$project$Elm$Annotation$var('msg')
|
|
26990
|
-
])))),
|
|
26991
|
-
importFrom: _List_fromArray(
|
|
26992
|
-
['Sub']),
|
|
26993
|
-
name: 'batch'
|
|
26994
|
-
}),
|
|
26995
|
-
_List_fromArray(
|
|
26996
|
-
[
|
|
26997
|
-
$author$project$Elm$list(batchArg)
|
|
26998
|
-
]));
|
|
26999
|
-
};
|
|
27000
26952
|
var $author$project$Gen$BackendTask$call_ = {
|
|
27001
26953
|
allowFatal: function (allowFatalArg) {
|
|
27002
26954
|
return A2(
|
|
@@ -29720,85 +29672,6 @@ var $author$project$Gen$PagesMsg$call_ = {
|
|
|
29720
29672
|
[mapArg, mapArg0]));
|
|
29721
29673
|
})
|
|
29722
29674
|
};
|
|
29723
|
-
var $author$project$Gen$Platform$Sub$call_ = {
|
|
29724
|
-
batch: function (batchArg) {
|
|
29725
|
-
return A2(
|
|
29726
|
-
$author$project$Elm$apply,
|
|
29727
|
-
$author$project$Elm$value(
|
|
29728
|
-
{
|
|
29729
|
-
annotation: $elm$core$Maybe$Just(
|
|
29730
|
-
A2(
|
|
29731
|
-
$author$project$Elm$Annotation$function,
|
|
29732
|
-
_List_fromArray(
|
|
29733
|
-
[
|
|
29734
|
-
$author$project$Elm$Annotation$list(
|
|
29735
|
-
A3(
|
|
29736
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29737
|
-
_List_Nil,
|
|
29738
|
-
'Sub',
|
|
29739
|
-
_List_fromArray(
|
|
29740
|
-
[
|
|
29741
|
-
$author$project$Elm$Annotation$var('msg')
|
|
29742
|
-
])))
|
|
29743
|
-
]),
|
|
29744
|
-
A3(
|
|
29745
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29746
|
-
_List_Nil,
|
|
29747
|
-
'Sub',
|
|
29748
|
-
_List_fromArray(
|
|
29749
|
-
[
|
|
29750
|
-
$author$project$Elm$Annotation$var('msg')
|
|
29751
|
-
])))),
|
|
29752
|
-
importFrom: _List_fromArray(
|
|
29753
|
-
['Sub']),
|
|
29754
|
-
name: 'batch'
|
|
29755
|
-
}),
|
|
29756
|
-
_List_fromArray(
|
|
29757
|
-
[batchArg]));
|
|
29758
|
-
},
|
|
29759
|
-
map: F2(
|
|
29760
|
-
function (mapArg, mapArg0) {
|
|
29761
|
-
return A2(
|
|
29762
|
-
$author$project$Elm$apply,
|
|
29763
|
-
$author$project$Elm$value(
|
|
29764
|
-
{
|
|
29765
|
-
annotation: $elm$core$Maybe$Just(
|
|
29766
|
-
A2(
|
|
29767
|
-
$author$project$Elm$Annotation$function,
|
|
29768
|
-
_List_fromArray(
|
|
29769
|
-
[
|
|
29770
|
-
A2(
|
|
29771
|
-
$author$project$Elm$Annotation$function,
|
|
29772
|
-
_List_fromArray(
|
|
29773
|
-
[
|
|
29774
|
-
$author$project$Elm$Annotation$var('a')
|
|
29775
|
-
]),
|
|
29776
|
-
$author$project$Elm$Annotation$var('msg')),
|
|
29777
|
-
A3(
|
|
29778
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29779
|
-
_List_Nil,
|
|
29780
|
-
'Sub',
|
|
29781
|
-
_List_fromArray(
|
|
29782
|
-
[
|
|
29783
|
-
$author$project$Elm$Annotation$var('a')
|
|
29784
|
-
]))
|
|
29785
|
-
]),
|
|
29786
|
-
A3(
|
|
29787
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29788
|
-
_List_Nil,
|
|
29789
|
-
'Sub',
|
|
29790
|
-
_List_fromArray(
|
|
29791
|
-
[
|
|
29792
|
-
$author$project$Elm$Annotation$var('msg')
|
|
29793
|
-
])))),
|
|
29794
|
-
importFrom: _List_fromArray(
|
|
29795
|
-
['Sub']),
|
|
29796
|
-
name: 'map'
|
|
29797
|
-
}),
|
|
29798
|
-
_List_fromArray(
|
|
29799
|
-
[mapArg, mapArg0]));
|
|
29800
|
-
})
|
|
29801
|
-
};
|
|
29802
29675
|
var $author$project$Gen$QueryParams$call_ = {
|
|
29803
29676
|
andThen: F2(
|
|
29804
29677
|
function (andThenArg, andThenArg0) {
|
|
@@ -31869,21 +31742,6 @@ var $author$project$Gen$Basics$never = function (neverArg) {
|
|
|
31869
31742
|
_List_fromArray(
|
|
31870
31743
|
[neverArg]));
|
|
31871
31744
|
};
|
|
31872
|
-
var $author$project$Gen$Platform$Sub$none = $author$project$Elm$value(
|
|
31873
|
-
{
|
|
31874
|
-
annotation: $elm$core$Maybe$Just(
|
|
31875
|
-
A3(
|
|
31876
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31877
|
-
_List_Nil,
|
|
31878
|
-
'Sub',
|
|
31879
|
-
_List_fromArray(
|
|
31880
|
-
[
|
|
31881
|
-
$author$project$Elm$Annotation$var('msg')
|
|
31882
|
-
]))),
|
|
31883
|
-
importFrom: _List_fromArray(
|
|
31884
|
-
['Sub']),
|
|
31885
|
-
name: 'none'
|
|
31886
|
-
});
|
|
31887
31745
|
var $author$project$Elm$nothing = $author$project$Elm$maybe($elm$core$Maybe$Nothing);
|
|
31888
31746
|
var $author$project$Gen$Json$Encode$object = function (objectArg) {
|
|
31889
31747
|
return A2(
|
|
@@ -32652,6 +32510,79 @@ var $author$project$Gen$ApiRoute$single = function (singleArg) {
|
|
|
32652
32510
|
_List_fromArray(
|
|
32653
32511
|
[singleArg]));
|
|
32654
32512
|
};
|
|
32513
|
+
var $author$project$GenerateMain$subType = function (inner) {
|
|
32514
|
+
return A3(
|
|
32515
|
+
$author$project$Elm$Annotation$namedWith,
|
|
32516
|
+
_List_fromArray(
|
|
32517
|
+
['Platform', 'Sub']),
|
|
32518
|
+
'Sub',
|
|
32519
|
+
_List_fromArray(
|
|
32520
|
+
[inner]));
|
|
32521
|
+
};
|
|
32522
|
+
var $author$project$GenerateMain$subBatch = function (batchArg) {
|
|
32523
|
+
return A2(
|
|
32524
|
+
$author$project$Elm$apply,
|
|
32525
|
+
$author$project$Elm$value(
|
|
32526
|
+
{
|
|
32527
|
+
annotation: $elm$core$Maybe$Just(
|
|
32528
|
+
A2(
|
|
32529
|
+
$author$project$Elm$Annotation$function,
|
|
32530
|
+
_List_fromArray(
|
|
32531
|
+
[
|
|
32532
|
+
$author$project$Elm$Annotation$list(
|
|
32533
|
+
$author$project$GenerateMain$subType(
|
|
32534
|
+
$author$project$Elm$Annotation$var('msg')))
|
|
32535
|
+
]),
|
|
32536
|
+
$author$project$GenerateMain$subType(
|
|
32537
|
+
$author$project$Elm$Annotation$var('msg')))),
|
|
32538
|
+
importFrom: _List_fromArray(
|
|
32539
|
+
['Platform', 'Sub']),
|
|
32540
|
+
name: 'batch'
|
|
32541
|
+
}),
|
|
32542
|
+
_List_fromArray(
|
|
32543
|
+
[
|
|
32544
|
+
$author$project$Elm$list(batchArg)
|
|
32545
|
+
]));
|
|
32546
|
+
};
|
|
32547
|
+
var $author$project$GenerateMain$subMap = F2(
|
|
32548
|
+
function (mapArg, mapArg0) {
|
|
32549
|
+
return A2(
|
|
32550
|
+
$author$project$Elm$apply,
|
|
32551
|
+
$author$project$Elm$value(
|
|
32552
|
+
{
|
|
32553
|
+
annotation: $elm$core$Maybe$Just(
|
|
32554
|
+
A2(
|
|
32555
|
+
$author$project$Elm$Annotation$function,
|
|
32556
|
+
_List_fromArray(
|
|
32557
|
+
[
|
|
32558
|
+
A2(
|
|
32559
|
+
$author$project$Elm$Annotation$function,
|
|
32560
|
+
_List_fromArray(
|
|
32561
|
+
[
|
|
32562
|
+
$author$project$Elm$Annotation$var('a')
|
|
32563
|
+
]),
|
|
32564
|
+
$author$project$Elm$Annotation$var('msg')),
|
|
32565
|
+
$author$project$GenerateMain$subType(
|
|
32566
|
+
$author$project$Elm$Annotation$var('a'))
|
|
32567
|
+
]),
|
|
32568
|
+
$author$project$GenerateMain$subType(
|
|
32569
|
+
$author$project$Elm$Annotation$var('msg')))),
|
|
32570
|
+
importFrom: _List_fromArray(
|
|
32571
|
+
['Platform', 'Sub']),
|
|
32572
|
+
name: 'map'
|
|
32573
|
+
}),
|
|
32574
|
+
_List_fromArray(
|
|
32575
|
+
[mapArg, mapArg0]));
|
|
32576
|
+
});
|
|
32577
|
+
var $author$project$GenerateMain$subNone = $author$project$Elm$value(
|
|
32578
|
+
{
|
|
32579
|
+
annotation: $elm$core$Maybe$Just(
|
|
32580
|
+
$author$project$GenerateMain$subType(
|
|
32581
|
+
$author$project$Elm$Annotation$var('msg'))),
|
|
32582
|
+
importFrom: _List_fromArray(
|
|
32583
|
+
['Platform', 'Sub']),
|
|
32584
|
+
name: 'none'
|
|
32585
|
+
});
|
|
32655
32586
|
var $author$project$Gen$ApiRoute$succeed = function (succeedArg) {
|
|
32656
32587
|
return A2(
|
|
32657
32588
|
$author$project$Elm$apply,
|
|
@@ -38175,7 +38106,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38175
38106
|
function (maybeRoute, path, model) {
|
|
38176
38107
|
return A2(
|
|
38177
38108
|
$author$project$Elm$withType,
|
|
38178
|
-
$author$project$
|
|
38109
|
+
$author$project$GenerateMain$subType(
|
|
38179
38110
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'Msg')),
|
|
38180
38111
|
A2(
|
|
38181
38112
|
$author$project$Elm$Case$maybe,
|
|
@@ -38199,7 +38130,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38199
38130
|
$author$project$Elm$Case$patternToBranch,
|
|
38200
38131
|
function (templateModel) {
|
|
38201
38132
|
return A2(
|
|
38202
|
-
$author$project$
|
|
38133
|
+
$author$project$GenerateMain$subMap,
|
|
38203
38134
|
A2($author$project$GenerateMain$routeVariantExpression, $author$project$GenerateMain$Msg, route),
|
|
38204
38135
|
A2(
|
|
38205
38136
|
$author$project$Elm$apply,
|
|
@@ -38230,12 +38161,12 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38230
38161
|
A3($author$project$GenerateMain$destructureRouteVariant, $author$project$GenerateMain$Model, 'templateModel', route)),
|
|
38231
38162
|
$author$project$Elm$Case$otherwise(
|
|
38232
38163
|
function (_v10) {
|
|
38233
|
-
return $author$project$
|
|
38164
|
+
return $author$project$GenerateMain$subNone;
|
|
38234
38165
|
})
|
|
38235
38166
|
]));
|
|
38236
38167
|
}));
|
|
38237
38168
|
}),
|
|
38238
|
-
nothing: $author$project$
|
|
38169
|
+
nothing: $author$project$GenerateMain$subNone
|
|
38239
38170
|
}));
|
|
38240
38171
|
}));
|
|
38241
38172
|
var subscriptions = A5(
|
|
@@ -38266,13 +38197,13 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38266
38197
|
function (route, path, model) {
|
|
38267
38198
|
return A2(
|
|
38268
38199
|
$author$project$Elm$withType,
|
|
38269
|
-
$author$project$
|
|
38200
|
+
$author$project$GenerateMain$subType(
|
|
38270
38201
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'Msg')),
|
|
38271
|
-
$author$project$
|
|
38202
|
+
$author$project$GenerateMain$subBatch(
|
|
38272
38203
|
_List_fromArray(
|
|
38273
38204
|
[
|
|
38274
38205
|
A2(
|
|
38275
|
-
$author$project$
|
|
38206
|
+
$author$project$GenerateMain$subMap,
|
|
38276
38207
|
$author$project$Elm$val('MsgGlobal'),
|
|
38277
38208
|
A2(
|
|
38278
38209
|
$author$project$Elm$apply,
|
|
@@ -38590,7 +38521,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38590
38521
|
}(),
|
|
38591
38522
|
gotBatchSub: function () {
|
|
38592
38523
|
if (phase.$ === 'Browser') {
|
|
38593
|
-
return $author$project$
|
|
38524
|
+
return $author$project$GenerateMain$subNone;
|
|
38594
38525
|
} else {
|
|
38595
38526
|
return $author$project$GenerateMain$applyIdentityTo(
|
|
38596
38527
|
$author$project$Elm$val('gotBatchSub'));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "elm-pages",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.28",
|
|
5
5
|
"homepage": "https://elm-pages.com",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
7
|
"description": "Type-safe static sites, written in pure elm with your own custom elm-markup syntax.",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/node": "^18.11.9",
|
|
57
57
|
"@types/serve-static": "^1.15.0",
|
|
58
58
|
"cypress": "^12.5.1",
|
|
59
|
-
"elm-codegen": "^0.
|
|
59
|
+
"elm-codegen": "^0.3.0",
|
|
60
60
|
"elm-optimize-level-2": "^0.3.5",
|
|
61
61
|
"elm-review": "^2.8.2",
|
|
62
62
|
"elm-test": "^0.19.1-revision11",
|