@ngxs/store 3.8.1-dev.master-b5c0348 → 3.8.1-dev.master-22b962e
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.
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* Init action
|
|
3
3
|
*/
|
|
4
4
|
export class InitState {
|
|
5
|
-
static get type() {
|
|
6
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
7
|
-
return '@@INIT';
|
|
8
|
-
}
|
|
9
5
|
}
|
|
6
|
+
InitState.type = '@@INIT';
|
|
10
7
|
/**
|
|
11
8
|
* Update action
|
|
12
9
|
*/
|
|
@@ -14,9 +11,6 @@ export class UpdateState {
|
|
|
14
11
|
constructor(addedStates) {
|
|
15
12
|
this.addedStates = addedStates;
|
|
16
13
|
}
|
|
17
|
-
static get type() {
|
|
18
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
19
|
-
return '@@UPDATE_STATE';
|
|
20
|
-
}
|
|
21
14
|
}
|
|
22
|
-
|
|
15
|
+
UpdateState.type = '@@UPDATE_STATE';
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3N0b3JlL3NyYy9hY3Rpb25zL2FjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7O0dBRUc7QUFDSCxNQUFNLE9BQU8sU0FBUzs7QUFDSixjQUFJLEdBQUcsUUFBUSxDQUFDO0FBR2xDOztHQUVHO0FBQ0gsTUFBTSxPQUFPLFdBQVc7SUFHdEIsWUFBbUIsV0FBeUI7UUFBekIsZ0JBQVcsR0FBWCxXQUFXLENBQWM7SUFBRyxDQUFDOztBQUZoQyxnQkFBSSxHQUFHLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGxhaW5PYmplY3QgfSBmcm9tICdAbmd4cy9zdG9yZS9pbnRlcm5hbHMnO1xuXG4vKipcbiAqIEluaXQgYWN0aW9uXG4gKi9cbmV4cG9ydCBjbGFzcyBJbml0U3RhdGUge1xuICBzdGF0aWMgcmVhZG9ubHkgdHlwZSA9ICdAQElOSVQnO1xufVxuXG4vKipcbiAqIFVwZGF0ZSBhY3Rpb25cbiAqL1xuZXhwb3J0IGNsYXNzIFVwZGF0ZVN0YXRlIHtcbiAgc3RhdGljIHJlYWRvbmx5IHR5cGUgPSAnQEBVUERBVEVfU1RBVEUnO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBhZGRlZFN0YXRlcz86IFBsYWluT2JqZWN0KSB7fVxufVxuIl19
|
package/fesm2015/ngxs-store.js
CHANGED
|
@@ -1237,11 +1237,8 @@ function jit_hasInjectableAnnotation(stateClass) {
|
|
|
1237
1237
|
* Init action
|
|
1238
1238
|
*/
|
|
1239
1239
|
class InitState {
|
|
1240
|
-
static get type() {
|
|
1241
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
1242
|
-
return '@@INIT';
|
|
1243
|
-
}
|
|
1244
1240
|
}
|
|
1241
|
+
InitState.type = '@@INIT';
|
|
1245
1242
|
/**
|
|
1246
1243
|
* Update action
|
|
1247
1244
|
*/
|
|
@@ -1249,11 +1246,8 @@ class UpdateState {
|
|
|
1249
1246
|
constructor(addedStates) {
|
|
1250
1247
|
this.addedStates = addedStates;
|
|
1251
1248
|
}
|
|
1252
|
-
static get type() {
|
|
1253
|
-
// NOTE: Not necessary to declare the type in this way in your code. See https://github.com/ngxs/store/pull/644#issuecomment-436003138
|
|
1254
|
-
return '@@UPDATE_STATE';
|
|
1255
|
-
}
|
|
1256
1249
|
}
|
|
1250
|
+
UpdateState.type = '@@UPDATE_STATE';
|
|
1257
1251
|
|
|
1258
1252
|
const NGXS_DEVELOPMENT_OPTIONS = new InjectionToken('NGXS_DEVELOPMENT_OPTIONS', {
|
|
1259
1253
|
providedIn: 'root',
|