@misalon/common 1.0.21 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,5 +5,6 @@ export declare const Roles: {
5
5
  export declare const RestrictedActions: {
6
6
  CREATE_APPOINTMENT: string[];
7
7
  CANCEL_APPOINTMENT: string[];
8
+ APPROVE_APPOINTMENT: string[];
8
9
  MANAGE_SERVICES: string[];
9
10
  };
@@ -8,5 +8,6 @@ exports.Roles = {
8
8
  exports.RestrictedActions = {
9
9
  CREATE_APPOINTMENT: [exports.Roles.ADMIN], // Admins restricted from creating appointments
10
10
  CANCEL_APPOINTMENT: [exports.Roles.ADMIN], // Admins restricted from canceling appointments
11
+ APPROVE_APPOINTMENT: [exports.Roles.USER], // users restricted from approving appointments
11
12
  MANAGE_SERVICES: [exports.Roles.USER], // Users restricted from managing salon services
12
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misalon/common",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [