Commit Graph

178 Commits

Author SHA1 Message Date
Dillon Kearns
5b19e2dc3e Rename BackendTask.throw -> BackendTask.allowFatal. 2023-01-16 18:24:48 -08:00
Dillon Kearns
60afaee624 Rename Exception -> RecoverableError. 2023-01-16 17:48:46 -08:00
Dillon Kearns
2ddd0c89e8 Use record for parameters in Pages.Generate to make it more manageable to keep track of names. 2023-01-13 15:53:57 -08:00
Dillon Kearns
be32cbd2be Update docs and rename a BackendTask.Port Error variant. 2023-01-13 10:03:39 -08:00
Dillon Kearns
ac366d663c Update Env docs. 2023-01-13 08:52:54 -08:00
Dillon Kearns
ceb0113198 Update docs and add Exception.unwrap helper. 2023-01-10 16:23:15 -08:00
Dillon Kearns
e5bcdf2d6e Rename Exception.Catchable -> Exception.Exception to reduce number of terms. 2023-01-10 11:06:20 -08:00
Dillon Kearns
d68f943967 Update docs. 2023-01-10 10:40:20 -08:00
Dillon Kearns
fd1c27e6b8 Update HTTP API. 2023-01-08 10:50:56 -08:00
Dillon Kearns
8f34381954 Add BackendTask.Http.bytesBody. 2023-01-07 15:26:31 -08:00
Dillon Kearns
ef0f091790 Make BackendTask.Http.get take an Expect, add Http.getJson and Http.post helpers. 2023-01-07 10:38:52 -08:00
Dillon Kearns
2ffea79f0b Merge requestWithOptions into a Maybe Options for BackendTask.Http.Request. 2023-01-07 10:22:10 -08:00
Dillon Kearns
55e94c3970 Update withMetadata to accept a combine function. 2023-01-07 09:56:51 -08:00
Dillon Kearns
2abf10a468 Replace BackendTask.Http.expect*Response helpers with a more composable withMetadata expect builder. 2023-01-06 18:17:36 -08:00
Dillon Kearns
9c07ae57b8 Pass through caching options from request. 2023-01-06 12:53:48 -08:00
Dillon Kearns
b98b5bd7f3 Update docs. 2023-01-06 10:35:10 -08:00
Dillon Kearns
b1afe428e4 Update docs.json. 2023-01-02 11:04:11 -08:00
Dillon Kearns
4146ed1a11 Use raw string instead of TerminalText to let user use whichever ansi package they prefer. 2023-01-01 16:54:36 -08:00
Dillon Kearns
7f23779816 Rename DataSource -> BackendTask. 2023-01-01 14:45:54 -08:00
Dillon Kearns
5d4953a92f Use errors with more formatting. 2023-01-01 14:41:10 -08:00
Dillon Kearns
6bd91eb68e Make DataSource.Port error catchable. 2022-12-31 13:24:00 -08:00
Dillon Kearns
1f109fca7c Add missing doc comment. 2022-12-31 13:19:08 -08:00
Dillon Kearns
ad42776fb2 Update docs. 2022-12-28 19:29:08 -07:00
Dillon Kearns
09e5c389b5 Update docs and fix some errors in elm-pages run. 2022-12-28 19:22:58 -07:00
Dillon Kearns
78f2657c85 Remove exposed phantom variants. 2022-10-07 10:17:33 -07:00
Dillon Kearns
ebb4aa4b96 Update SetCookie docs. 2022-10-07 10:11:12 -07:00
Dillon Kearns
eb398c30e3 Move nested Maybe wrapped in Result to flat Err variant in Session API, and remove obsolete expectSession helper. 2022-10-06 09:50:44 -07:00
Dillon Kearns
b4a603fca8 Change argument order. 2022-10-06 09:35:42 -07:00
Dillon Kearns
7fea8a2853 Remove some obsolete exposed values from Session API, and update docs. 2022-10-06 08:54:25 -07:00
Dillon Kearns
96ad324e4b Make HttpOnly cookies the default (opt in to JS visibile cookies instead of opting out). 2022-10-06 07:56:14 -07:00
Dillon Kearns
fbfcd49721 Separate out SetCookie records from Options so the Options can be passed as standalone value. 2022-10-05 15:30:29 -07:00
Dillon Kearns
1d27e96dfb Update docs. 2022-10-05 08:44:38 -07:00
Dillon Kearns
cddf0ca412 Update docs. 2022-09-15 08:10:01 -07:00
Dillon Kearns
4689157d47 Add missing doc comment. 2022-09-06 11:04:11 -07:00
Dillon Kearns
c5148bb765 Update docs. 2022-08-24 09:49:10 -07:00
Dillon Kearns
2804afccef Move FormData and Method types to package-exposed module. 2022-08-22 08:17:43 -07:00
Dillon Kearns
9f18ef1ef5 Move field status type to package-exposed module. 2022-08-22 08:00:12 -07:00
Dillon Kearns
a0477a0441 Remove redundant functions. 2022-08-03 10:11:41 +02:00
Dillon Kearns
6d63a11d4f Remove redundant function. 2022-08-03 09:55:13 +02:00
Dillon Kearns
32c451fe82 Remove obsolete function. 2022-08-03 09:52:51 +02:00
Dillon Kearns
762471b8e0 Regenerate docs. 2022-08-03 09:33:29 +02:00
Dillon Kearns
985e79922c Update docs and remove obsolete globalErrors helper. 2022-08-01 10:40:51 +02:00
Dillon Kearns
16d081c42b Update docs. 2022-07-25 15:32:12 +02:00
Dillon Kearns
60607c3353 Update docs. 2022-07-25 15:16:06 +02:00
Dillon Kearns
67972fb945 Hide internal types for simpler docs. 2022-07-25 13:27:02 +02:00
Dillon Kearns
603c6ecea7 Rename type variable. 2022-07-25 13:15:14 +02:00
Dillon Kearns
1e5c4666ee Add Validation.map<n> functions. 2022-07-25 10:16:30 +02:00
Dillon Kearns
565833804c Migrate select field renderer to new form type. 2022-07-24 21:21:25 +02:00
Dillon Kearns
6a5a9f4c8c Add Validation.fieldStatus. 2022-07-24 21:14:18 +02:00
Dillon Kearns
f1f25f787e Rename types. 2022-07-24 21:00:47 +02:00