@architect/docs
Advanced tools
Comparing version 30.0.10 to 30.0.11
@@ -7,6 +7,5 @@ # Roadmap | ||
- `arc-workflows` expose support structured http status codes and errors | ||
- `arc-sandbox` error traps | ||
- `arc-sandbox` error traps for 302, 403, 404 and 500 | ||
- `arc-env` infra env var and configuration management | ||
- `arc-functions`, `arc-workflows` add `text/html` and `text/css` route handlers | ||
- `text/javascript` and `text/css` route handlers | ||
- `arc-docs`: examples and guides | ||
@@ -13,0 +12,0 @@ |
@@ -45,2 +45,3 @@ # Functions | ||
- `session` (optional) a plain `Object` | ||
- `status` (optional) HTTP error statusCode responses: `500`, `403` or `404` | ||
- `next` is an optional function to continue middleware execution | ||
@@ -157,3 +158,7 @@ | ||
- `req` is a plain object with `path`, `method`, `query`, `params`, `body` keys | ||
- `res` is a function that must be invoked with either `json` or `location` and optionally a `session` key | ||
- `res` is a function that must be invoked with named params: | ||
- `json` a plain `Object` value | ||
- or `location` with a url value (a string starting w `/`) | ||
- `session` (optional) a plain `Object` | ||
- `status` (optional) HTTP error statusCode responses: `500`, `403` or `404` | ||
- `next` is an optional function to continue middleware execution | ||
@@ -160,0 +165,0 @@ |
{ | ||
"name": "@architect/docs", | ||
"version": "30.0.10", | ||
"version": "30.0.11", | ||
"main": "index", | ||
@@ -5,0 +5,0 @@ "scripts": { |
55393