@dosgato/templating 0.0.55 → 0.0.56
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.
- package/dist/component.d.ts +3 -1
- package/package.json +1 -1
package/dist/component.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
2
3
|
import type { IncomingHttpHeaders } from 'http';
|
|
4
|
+
import type { ParsedUrlQuery } from 'querystring';
|
|
3
5
|
import { ResourceProvider } from './provider.js';
|
|
4
6
|
import { APIClient } from './render.js';
|
|
5
7
|
/**
|
|
@@ -182,7 +184,7 @@ export declare abstract class Component<DataType extends ComponentData = any, Fe
|
|
|
182
184
|
hadError: boolean;
|
|
183
185
|
autoLabel: string;
|
|
184
186
|
reqHeaders: IncomingHttpHeaders;
|
|
185
|
-
|
|
187
|
+
reqQuery: ParsedUrlQuery;
|
|
186
188
|
/**
|
|
187
189
|
* For logging errors during rendering without crashing the render. If your fetch, setContext,
|
|
188
190
|
* render, or renderVariation functions throw, the error will be logged but the page render will
|