Commit Graph

31 Commits

Author SHA1 Message Date
Dillon Kearns
0272216a7e Update AddRoute script. 2023-04-19 10:17:56 -07:00
Dillon Kearns
65716ac34e Use latest elm-codegen and fix type annotation in AddRoute example. 2023-04-02 21:49:49 -07:00
Dillon Kearns
c548e9b85b Include lamdera/codecs dependency in elm.json rewriting helpers. 2023-03-11 14:10:57 -08:00
Dillon Kearns
15edcd502e Add helpers for JSON Encoder for fields in Scaffold module. 2023-03-09 11:07:22 -08:00
Dillon Kearns
1e66901d93 Move elm-codegen type information to package instead of user-code. 2023-03-09 11:03:54 -08:00
Dillon Kearns
590eb91bbc Update elm-codegen package in example. 2023-03-08 11:02:17 -08:00
Dillon Kearns
154a4ff0b0 Handle form result in case expression in route generator. 2023-03-04 07:39:10 -08:00
Dillon Kearns
f4cf8a7069 Make transition strategy the default and move formId argument to rendering. 2023-03-03 18:45:25 -08:00
Dillon Kearns
d48485e541 Rename argument sharedModel -> shared. 2023-03-02 11:43:22 -08:00
Dillon Kearns
e19b547808 Remove PageUrl argument and rename RouteBuilder.StaticPayload -> RouteBuilder.App. 2023-03-02 11:36:34 -08:00
Dillon Kearns
5a2545329e Use Scaffold namespace for generator modules. 2023-02-06 22:04:11 -08:00
Dillon Kearns
2fa6c41d72 Add more type information to Form.Context record in generator. 2023-02-06 20:54:19 -08:00
Dillon Kearns
bcaabe81d8 Extract some code in generator. 2023-02-06 20:36:32 -08:00
Dillon Kearns
e5e007741a Inline more helpers. 2023-02-06 18:23:56 -08:00
Dillon Kearns
3de46b4a99 Inline more helpers. 2023-02-06 18:15:09 -08:00
Dillon Kearns
e85a148da6 Inline helpers. 2023-02-06 15:13:46 -08:00
Dillon Kearns
915b21a501 Change options to better match Field API. 2023-02-06 14:49:03 -08:00
Dillon Kearns
8887770ecb Simplify scaffolding script. 2023-02-06 14:23:04 -08:00
Dillon Kearns
57a3ecf13f Parse module name into List in CLI options parser helper. 2023-02-06 14:17:28 -08:00
Dillon Kearns
17ed841d4b Extract the form rendering line from generator since it's a small amount of code and has customization opportunities. 2023-02-06 14:13:30 -08:00
Dillon Kearns
de0a9d9ac9 Use some import alias in script. 2023-02-06 14:01:29 -08:00
Dillon Kearns
21e38074c5 Rename AddForm to AddRoute now that they handle both cases. 2023-02-06 13:55:17 -08:00
Dillon Kearns
df7f275566 Move some helpers outside of form helper to make it more customizable. 2023-02-06 13:53:24 -08:00
Dillon Kearns
5aeade0daf Extract helper for module name CLI options parsing. 2023-02-06 12:07:41 -08:00
Dillon Kearns
da132b13f3 Extract more helpers from form generator helper. 2023-02-06 12:00:48 -08:00
Dillon Kearns
2977c467b1 Extract CLI parsing helper for form fields. 2023-02-06 11:19:14 -08:00
Dillon Kearns
b3689478d3 Extract some helpers for generating forms. 2023-02-06 10:53:20 -08:00
Dillon Kearns
ae28135a6c Update blog example scripts to use Html instead of Styled Html. 2023-02-04 08:22:31 -08:00
Dillon Kearns
4e9900779f Include AddRoute script in blog engine project. 2023-02-04 07:57:20 -08:00
Dillon Kearns
49f6e14042 Use transitioning state in form route generator. 2023-02-03 10:19:15 -08:00
Dillon Kearns
18e2e43da3 Add initial setup for blog-engine example. 2023-02-02 11:07:57 -08:00