@dosgato/templating 0.0.117 → 0.0.118

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.
@@ -580,6 +580,11 @@ export declare abstract class Page<DataType extends PageData = any, FetchedType
580
580
  * at any time during fetch, context, or render, to set an HTTP header on the response
581
581
  */
582
582
  addHeader: (key: string, value: string | undefined) => void;
583
+ /**
584
+ * This method will be provided to page templates by the render server. You may call it to set
585
+ * the HTTP response status at any time during the fetch, context, or render.
586
+ */
587
+ setStatus: (statusCode: number) => void;
583
588
  /**
584
589
  * URL for the currently rendering page
585
590
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {