Commit Graph

1957 Commits

Author SHA1 Message Date
Dillon Kearns
852be5fe11 Fix compiler errors in example. 2023-01-22 14:28:24 -08:00
Dillon Kearns
2973589dea Bump Node version. 2023-01-22 14:18:48 -08:00
Dillon Kearns
0f32ba7daa Use import syntax for adapter script. 2023-01-22 14:17:47 -08:00
Dillon Kearns
69d7237af9 Update codegen template. 2023-01-22 09:33:32 -08:00
Dillon Kearns
c178ec2a18 Update code generation example. 2023-01-22 09:33:32 -08:00
Dillon Kearns
5289639248 Fix type annotation in scaffold generator. 2023-01-22 09:33:31 -08:00
Dillon Kearns
5179b569fb Fix typo. 2023-01-22 09:33:31 -08:00
Dillon Kearns
6c8cf291d8 Change Form.Response API. 2023-01-22 09:33:31 -08:00
Dillon Kearns
00dc4b622d Change signature for rendering forms. 2023-01-22 09:33:31 -08:00
Dillon Kearns
5d730e588c Fix types in scaffolding. 2023-01-22 09:33:31 -08:00
Dillon Kearns
e18d8c0fe7 Add space after string. 2023-01-22 09:33:31 -08:00
Dillon Kearns
55ca73c5e3 Support different types of fields in the AddForm script example. 2023-01-22 09:33:31 -08:00
Dillon Kearns
6e522b505e Add prototype for scaffolding a route with a form. 2023-01-22 09:33:31 -08:00
Dillon Kearns
66babff176 Add missing dependency in example. 2023-01-22 09:33:31 -08:00
Dillon Kearns
89658e1a98 Change import alias in example script. 2023-01-19 08:29:21 -08:00
Dillon Kearns
35ebe5b204 Fix module name regex in example. 2023-01-19 08:28:53 -08:00
Dillon Kearns
da45250fca Remove Recoverable type alias. 2023-01-17 10:57:42 -08:00
Dillon Kearns
8879b3efa6 Rename BackendTask.Custom.get -> BackendTask.Custom.run. 2023-01-17 07:14:03 -08:00
Dillon Kearns
f7825c45c7 Look for BackendTask.Custom definitions in custom-backend-task instead of port-data-source. 2023-01-17 07:08:15 -08:00
Dillon Kearns
ea29d1bbb3 Rename BackendTask.Port -> BackendTask.Custom. 2023-01-17 07:04:18 -08:00
Dillon Kearns
d61ddecca8 Make FatalError opaque. 2023-01-16 21:43:59 -08:00
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
0b54107831 Remove unnecessary metadata for example page. 2023-01-14 09:26:58 -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
77e37c5d0b Add another example script. 2023-01-12 12:04:37 -08:00
Dillon Kearns
a88c0400d2 Fix example script. 2023-01-12 12:04:30 -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
0c8bebee1d Try a different cache path to see if netlify gives error. 2023-01-09 14:37:21 -08:00
Dillon Kearns
c31e952afa Try custom caching options to test netlify error. 2023-01-09 14:20:46 -08:00
Dillon Kearns
c4636ec93b Fix error in example. 2023-01-09 14:09:11 -08:00
Dillon Kearns
5d83cafff5 Force netlify build when parent folders change. 2023-01-09 13:19:26 -08:00
Dillon Kearns
e2297cd52f Add build generator step to netlify build command. 2023-01-09 11:29:22 -08:00
Dillon Kearns
0afe0b37ca Update example to latest and fix some types in API. 2023-01-09 11:24:50 -08:00
Dillon Kearns
fd08eda9f7 Fix error in script. 2023-01-08 11:44:09 -08:00
Dillon Kearns
7c71fe492c Fix error in docs site. 2023-01-08 11:13:39 -08:00
Dillon Kearns
2ae58cc0ab Fix test case compiler errors. 2023-01-08 11:04:27 -08:00
Dillon Kearns
a77787135d Don't list or delete dot-files in example to prevent git noise. 2023-01-08 11:04:17 -08:00
Dillon Kearns
e61a430a80 Update gitignore. 2023-01-08 10:58:42 -08:00
Dillon Kearns
e0d949c008 Fix example. 2023-01-07 15:41:52 -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
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
9db4a351c4 Change test name. 2023-01-06 10:21:05 -08:00
Dillon Kearns
89491a9515 Use HTTP conditional requests, and fix some handling of HTTP error cases for BackendTask error paths (return the error data instead of handling them as build errors). 2023-01-06 10:03:19 -08:00
Dillon Kearns
7f23779816 Rename DataSource -> BackendTask. 2023-01-01 14:45:54 -08:00
Dillon Kearns
dd11836490 Remove unused. 2023-01-01 14:23:13 -08:00
Dillon Kearns
6bd91eb68e Make DataSource.Port error catchable. 2022-12-31 13:24:00 -08:00
Dillon Kearns
b9902c2c8c Remove Debug.todo in example. 2022-12-31 12:00:02 -08:00