sample-piral 0.15.1-beta.4906 → 0.15.1-beta.4910
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/app/index.d.ts
CHANGED
|
@@ -347,7 +347,9 @@ export type AnyComponent<T> = React.ComponentType<T> | FirstParametersOf<Compone
|
|
|
347
347
|
/**
|
|
348
348
|
* The props used by a page component.
|
|
349
349
|
*/
|
|
350
|
-
export interface PageComponentProps<T
|
|
350
|
+
export interface PageComponentProps<T extends {
|
|
351
|
+
[K in keyof T]?: string;
|
|
352
|
+
} = {}, S = any> extends RouteBaseProps<T, S> {
|
|
351
353
|
/**
|
|
352
354
|
* The meta data registered with the page.
|
|
353
355
|
*/
|
|
@@ -628,7 +630,9 @@ export interface ComponentConverters<TProps> extends PiralCustomComponentConvert
|
|
|
628
630
|
/**
|
|
629
631
|
* The props that every registered page component obtains.
|
|
630
632
|
*/
|
|
631
|
-
export interface RouteBaseProps<UrlParams
|
|
633
|
+
export interface RouteBaseProps<UrlParams extends {
|
|
634
|
+
[K in keyof UrlParams]?: string;
|
|
635
|
+
} = {}, UrlState = any> extends ReactRouter.RouteComponentProps<UrlParams, {}, UrlState>, BaseComponentProps {}
|
|
632
636
|
|
|
633
637
|
/**
|
|
634
638
|
* Custom meta data to include for pages.
|
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<title>Piral Sample</title>
|
|
6
6
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
|
|
7
7
|
|
|
8
|
-
<script defer src="/index.
|
|
8
|
+
<script defer src="/index.ac3f19.js"></script></head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="app">
|
|
11
11
|
<div class="pi-center">
|
package/app/index.js
CHANGED
|
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
|
|
|
2
2
|
// behavior for the test environment, we'll try to make it work
|
|
3
3
|
|
|
4
4
|
if (typeof window !== 'undefined') {
|
|
5
|
-
require('.//index.
|
|
5
|
+
require('.//index.ac3f19.js');
|
|
6
6
|
const ctx = window['dbg:piral'];
|
|
7
7
|
const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
|
|
8
8
|
module.exports = dependencies['sample-piral'] || {};
|
package/files.tar
CHANGED
|
Binary file
|
package/files_once.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sample-piral",
|
|
3
3
|
"description": "Example project illustrating the use of the piral and piral-cli packages.",
|
|
4
|
-
"version": "0.15.1-beta.
|
|
4
|
+
"version": "0.15.1-beta.4910",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://piral.io",
|
|
7
7
|
"keywords": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"files": []
|
|
32
32
|
},
|
|
33
33
|
"piralCLI": {
|
|
34
|
-
"version": "0.15.1-beta.
|
|
34
|
+
"version": "0.15.1-beta.4910",
|
|
35
35
|
"generated": true
|
|
36
36
|
},
|
|
37
37
|
"main": "./app/index.js",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@types/react-dom": "^18.0.0",
|
|
44
44
|
"@types/react-router": "^5.1.8",
|
|
45
45
|
"@types/react-router-dom": "^5.1.6",
|
|
46
|
-
"piral-cli": "^0.15.1-beta.
|
|
47
|
-
"piral-cli-webpack5": "^0.15.1-beta.
|
|
46
|
+
"piral-cli": "^0.15.1-beta.4910",
|
|
47
|
+
"piral-cli-webpack5": "^0.15.1-beta.4910",
|
|
48
48
|
"sass": "^1.17.0",
|
|
49
49
|
"bootstrap": "^4.3.1",
|
|
50
|
-
"piral": "^0.15.1-beta.
|
|
51
|
-
"piral-auth": "^0.15.1-beta.
|
|
50
|
+
"piral": "^0.15.1-beta.4910",
|
|
51
|
+
"piral-auth": "^0.15.1-beta.4910",
|
|
52
52
|
"piral-hooks-utils": "^0.15.0",
|
|
53
|
-
"piral-search": "^0.15.1-beta.
|
|
53
|
+
"piral-search": "^0.15.1-beta.4910",
|
|
54
54
|
"reactstrap": "8.10.1",
|
|
55
55
|
"tslib": "2.3.1",
|
|
56
56
|
"react": "18.2.0",
|