@ngxs/store 19.0.0-dev.master-179a5bb → 19.0.0-dev.master-6b0346e

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/index.d.ts CHANGED
@@ -275,12 +275,13 @@ declare function SelectorOptions(options: _SharedSelectorOptions): ClassDecorato
275
275
  /**
276
276
  * Status of a dispatched action
277
277
  */
278
- declare const enum ActionStatus {
279
- Dispatched = "DISPATCHED",
280
- Successful = "SUCCESSFUL",
281
- Canceled = "CANCELED",
282
- Errored = "ERRORED"
283
- }
278
+ declare const ActionStatus: {
279
+ readonly Dispatched: "DISPATCHED";
280
+ readonly Successful: "SUCCESSFUL";
281
+ readonly Canceled: "CANCELED";
282
+ readonly Errored: "ERRORED";
283
+ };
284
+ type ActionStatus = (typeof ActionStatus)[keyof typeof ActionStatus];
284
285
  interface ActionContext<T = any> {
285
286
  status: ActionStatus;
286
287
  action: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxs/store",
3
- "version": "19.0.0-dev.master-179a5bb",
3
+ "version": "19.0.0-dev.master-6b0346e",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -26,14 +26,14 @@
26
26
  "types": "./internals/index.d.ts",
27
27
  "default": "./fesm2022/ngxs-store-internals.mjs"
28
28
  },
29
- "./plugins": {
30
- "types": "./plugins/index.d.ts",
31
- "default": "./fesm2022/ngxs-store-plugins.mjs"
32
- },
33
29
  "./operators": {
34
30
  "types": "./operators/index.d.ts",
35
31
  "default": "./fesm2022/ngxs-store-operators.mjs"
36
32
  },
33
+ "./plugins": {
34
+ "types": "./plugins/index.d.ts",
35
+ "default": "./fesm2022/ngxs-store-plugins.mjs"
36
+ },
37
37
  "./internals/testing": {
38
38
  "types": "./internals/testing/index.d.ts",
39
39
  "default": "./fesm2022/ngxs-store-internals-testing.mjs"