@podium/layout
Advanced tools
Comparing version 5.2.7-next.1 to 5.2.7
{ | ||
"name": "@podium/layout", | ||
"version": "5.2.7-next.1", | ||
"version": "5.2.7", | ||
"type": "module", | ||
@@ -44,3 +44,3 @@ "description": "Module for composing full page layouts out of page fragments in a micro frontend architecture.", | ||
"@metrics/client": "2.5.3", | ||
"@podium/client": "5.2.0-next.2", | ||
"@podium/client": "5.1.10", | ||
"@podium/context": "5.0.27", | ||
@@ -56,4 +56,4 @@ "@podium/proxy": "5.0.26", | ||
"devDependencies": { | ||
"@podium/podlet": "5.2.0-next.3", | ||
"@podium/test-utils": "3.0.9", | ||
"@podium/podlet": "5.1.12", | ||
"@podium/test-utils": "2.5.2", | ||
"@semantic-release/changelog": "6.0.3", | ||
@@ -60,0 +60,0 @@ "@semantic-release/commit-analyzer": "11.1.0", |
@@ -0,8 +1,72 @@ | ||
declare global { | ||
namespace Express { | ||
export interface PodiumHttpIncomingParameters { | ||
[key: string]: unknown; | ||
} | ||
declare global { | ||
namespace Express { | ||
export interface Response { | ||
podiumSend(fragment: string, ...args: unknown[]): Response; | ||
/** | ||
* In a layout setting the values on the context are serialized to HTTP headers | ||
* and mainly intended as an "outbox" for information that is sent to the podlet. | ||
*/ | ||
export interface PodiumHttpIncomingContext { | ||
/** | ||
* @see https://podium-lib.io/docs/guides/context#default-context-variables | ||
*/ | ||
'podium-debug'?: string; | ||
/** | ||
* Does user agent sniffing to try to guess the visitor's device type. | ||
* @see https://podium-lib.io/docs/guides/context#default-context-variables | ||
*/ | ||
'podium-device-type'?: string; | ||
/** | ||
* Locale information from the layout. | ||
* @see https://podium-lib.io/docs/guides/context#default-context-variables | ||
*/ | ||
'podium-locale'?: string; | ||
/** | ||
* Used to calculate the podlet's public URL when proxied behind a layout. | ||
* @see https://podium-lib.io/docs/guides/context#construct-public-urls | ||
*/ | ||
'podium-mount-origin'?: string; | ||
/** | ||
* Used to calculate the podlet's public URL when proxied behind a layout. | ||
* @see https://podium-lib.io/docs/guides/context#construct-public-urls | ||
*/ | ||
'podium-mount-pathname'?: string; | ||
/** | ||
* Used to calculate the podlet's public URL when proxied behind a layout. | ||
* @see https://podium-lib.io/docs/guides/context#construct-public-urls | ||
*/ | ||
'podium-public-pathname'?: string; | ||
/** | ||
* Name of the caller. | ||
*/ | ||
'podium-requested-by'?: string; | ||
[key: string]: unknown; | ||
} | ||
export interface PodiumHttpIncomingViewParameters { | ||
[key: string]: unknown; | ||
} | ||
export interface Locals { | ||
podium: HttpIncoming< | ||
PodiumHttpIncomingParameters, | ||
PodiumHttpIncomingContext, | ||
PodiumHttpIncomingViewParameters | ||
>; | ||
} | ||
export interface Response { | ||
/** | ||
* This method wraps the provided fragment in a default HTML document before dispatching. | ||
* | ||
* @param markup The HTML contents of the document | ||
* @param args Parameters sent to the template function | ||
* | ||
* @see https://podium-lib.io/docs/api/layout#respodiumsendfragment | ||
*/ | ||
podiumSend(fragment: string, ...args: unknown[]): Response; | ||
} | ||
} | ||
} | ||
} | ||
@@ -9,0 +73,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
144640
7
1293
0
+ Added@podium/client@5.1.10(transitive)
- Removed@podium/client@5.2.0-next.2(transitive)
Updated@podium/client@5.1.10