@operato/shell 2.0.0-alpha.107 → 2.0.0-alpha.111

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
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/shell",
3
3
  "description": "WebApplication architecturing shell following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "2.0.0-alpha.107",
5
+ "version": "2.0.0-alpha.111",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -57,10 +57,10 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@material/web": "^1.4.0",
60
- "@operato/graphql": "^2.0.0-alpha.107",
61
- "@operato/popup": "^2.0.0-alpha.107",
62
- "@operato/styles": "^2.0.0-alpha.102",
63
- "@operato/utils": "^2.0.0-alpha.68",
60
+ "@operato/graphql": "^2.0.0-alpha.111",
61
+ "@operato/popup": "^2.0.0-alpha.111",
62
+ "@operato/styles": "^2.0.0-alpha.111",
63
+ "@operato/utils": "^2.0.0-alpha.111",
64
64
  "@webcomponents/scoped-custom-element-registry": "^0.0.9",
65
65
  "lit": "^3.1.2",
66
66
  "lodash-es": "^4.17.21",
@@ -100,5 +100,5 @@
100
100
  "prettier --write"
101
101
  ]
102
102
  },
103
- "gitHead": "32057ca0cb2c8ff542aca6d438d1ffbb77dc1cc8"
103
+ "gitHead": "3525a4247ad184a8d4de91d81db3f72f0e940c79"
104
104
  }
@@ -5,6 +5,13 @@ import isEqual from 'lodash-es/isEqual'
5
5
  import { UPDATE_CONTEXT } from '../../actions/const'
6
6
  import { store } from '../../store'
7
7
 
8
+ export type PageLifecycle = {
9
+ active: boolean
10
+ params: object
11
+ resourceId?: string
12
+ page?: string
13
+ }
14
+
8
15
  function diff(after: any, before: any): any {
9
16
  var changed = false
10
17
  var changes: { [key: string]: any } = {}
@@ -72,7 +79,7 @@ export class PageView extends LitElement {
72
79
  /**
73
80
  * Stores information about the page's lifecycle.
74
81
  */
75
- @property({ type: Object }) lifecycle: any
82
+ @property({ type: Object }) lifecycle!: PageLifecycle
76
83
 
77
84
  /**
78
85
  * The context path for the page.