piral-core 0.14.10-beta.3615 → 0.14.10-beta.3661
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/esm/types/api.d.ts +4 -0
- package/lib/types/api.d.ts +4 -0
- package/package.json +4 -4
- package/src/types/api.ts +6 -1
package/esm/types/api.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export interface RouteBaseProps<UrlParams = any, UrlState = any> extends RouteCo
|
|
|
43
43
|
* The props used by a page component.
|
|
44
44
|
*/
|
|
45
45
|
export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T, S> {
|
|
46
|
+
/**
|
|
47
|
+
* The meta data registered with the page.
|
|
48
|
+
*/
|
|
49
|
+
meta: PiralPageMeta;
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
48
52
|
* The meta data registered for a page.
|
package/lib/types/api.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export interface RouteBaseProps<UrlParams = any, UrlState = any> extends RouteCo
|
|
|
43
43
|
* The props used by a page component.
|
|
44
44
|
*/
|
|
45
45
|
export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T, S> {
|
|
46
|
+
/**
|
|
47
|
+
* The meta data registered with the page.
|
|
48
|
+
*/
|
|
49
|
+
meta: PiralPageMeta;
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
48
52
|
* The meta data registered for a page.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-core",
|
|
3
|
-
"version": "0.14.10-beta.
|
|
3
|
+
"version": "0.14.10-beta.3661",
|
|
4
4
|
"description": "The core library for creating a Piral instance.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portal",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@dbeining/react-atom": "^4.0.0",
|
|
53
|
-
"piral-base": "0.14.10-beta.
|
|
54
|
-
"piral-debug-utils": "0.14.10-beta.
|
|
53
|
+
"piral-base": "0.14.10-beta.3661",
|
|
54
|
+
"piral-debug-utils": "0.14.10-beta.3661"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": ">=16.8.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"@libre/atom",
|
|
79
79
|
"@dbeining/react-atom"
|
|
80
80
|
],
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "6ba6fa4e5956746899b81046ee25ab8bb36520e6"
|
|
82
82
|
}
|
package/src/types/api.ts
CHANGED
|
@@ -49,7 +49,12 @@ export interface RouteBaseProps<UrlParams = any, UrlState = any>
|
|
|
49
49
|
/**
|
|
50
50
|
* The props used by a page component.
|
|
51
51
|
*/
|
|
52
|
-
export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T, S> {
|
|
52
|
+
export interface PageComponentProps<T = any, S = any> extends RouteBaseProps<T, S> {
|
|
53
|
+
/**
|
|
54
|
+
* The meta data registered with the page.
|
|
55
|
+
*/
|
|
56
|
+
meta: PiralPageMeta;
|
|
57
|
+
}
|
|
53
58
|
|
|
54
59
|
/**
|
|
55
60
|
* The meta data registered for a page.
|