lupine.web 1.0.21 → 1.0.23
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/package.json
CHANGED
|
@@ -3,7 +3,14 @@ import { PageRouter } from './page-router';
|
|
|
3
3
|
import { IToClientDelivery, JsonObject } from '../models';
|
|
4
4
|
|
|
5
5
|
export type RenderPageFunctionsType = {
|
|
6
|
-
fetchData: (
|
|
6
|
+
fetchData: (
|
|
7
|
+
url: string,
|
|
8
|
+
postBody?: string | JsonObject,
|
|
9
|
+
returnRawResponse?: boolean,
|
|
10
|
+
returnHeaders?: boolean
|
|
11
|
+
) => Promise<any>;
|
|
12
|
+
// add host for mobile app, which needs the host
|
|
13
|
+
baseUrl: (urlWithoutHost?: string) => string;
|
|
7
14
|
[key: string]: Function;
|
|
8
15
|
};
|
|
9
16
|
export interface PageProps {
|