@platecms/delta-errors 1.16.1 → 1.18.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platecms/delta-errors",
3
- "version": "1.16.1",
3
+ "version": "1.18.0",
4
4
  "description": "Error classes and their data for the Delta platform.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
@@ -17,7 +17,7 @@
17
17
  "src/**/*"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@platecms/delta-types": "1.16.1",
20
+ "@platecms/delta-types": "1.18.0",
21
21
  "tslib": "2.8.1",
22
22
  "class-transformer": "0.5.1",
23
23
  "reflect-metadata": "0.2.2",
@@ -1,4 +1,4 @@
1
- import { ActionType } from "@platecms/delta-types";
1
+ import { PermissionAction } from "@platecms/delta-types";
2
2
  import { BaseErrorContext } from "./base-error-context.type";
3
3
 
4
4
  /**
@@ -8,7 +8,7 @@ export interface ResourceAccessErrorContext extends BaseErrorContext {
8
8
  /**
9
9
  * The action that was attempted.
10
10
  */
11
- action: ActionType;
11
+ action: PermissionAction | string;
12
12
 
13
13
  /**
14
14
  * The resource type that was attempted to be accessed.