@telos-dev-team/dealernode-permissions 1.0.5 → 1.0.7
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/dist/permissions.d.ts +13 -0
- package/dist/permissions.js +19 -0
- package/package.json +1 -1
- package/src/permissions.ts +21 -0
package/dist/permissions.d.ts
CHANGED
|
@@ -710,5 +710,18 @@ export declare const PERMISSIONS: {
|
|
|
710
710
|
readonly DELETE: "authorization.user_dealer_permission.delete";
|
|
711
711
|
};
|
|
712
712
|
};
|
|
713
|
+
readonly FAILED_ACTION: {
|
|
714
|
+
readonly OPERATIONS: {
|
|
715
|
+
readonly VIEW: "failed_action.operations.view";
|
|
716
|
+
readonly DELETE: "failed_action.operations.delete";
|
|
717
|
+
readonly EXECUTE: "failed_action.operations.execute";
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
readonly CALENDAR: {
|
|
721
|
+
readonly OPERATIONS: {
|
|
722
|
+
readonly VIEW: "calendar.operations.view";
|
|
723
|
+
readonly UPDATE: "calendar.operations.update";
|
|
724
|
+
};
|
|
725
|
+
};
|
|
713
726
|
};
|
|
714
727
|
export type Permission = typeof PERMISSIONS;
|
package/dist/permissions.js
CHANGED
|
@@ -773,4 +773,23 @@ exports.PERMISSIONS = {
|
|
|
773
773
|
DELETE: 'authorization.user_dealer_permission.delete',
|
|
774
774
|
},
|
|
775
775
|
},
|
|
776
|
+
// ============================================
|
|
777
|
+
// FAILED_ACTION
|
|
778
|
+
// ============================================
|
|
779
|
+
FAILED_ACTION: {
|
|
780
|
+
OPERATIONS: {
|
|
781
|
+
VIEW: 'failed_action.operations.view',
|
|
782
|
+
DELETE: 'failed_action.operations.delete',
|
|
783
|
+
EXECUTE: 'failed_action.operations.execute',
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
// ============================================
|
|
787
|
+
// CALENDAR
|
|
788
|
+
// ============================================
|
|
789
|
+
CALENDAR: {
|
|
790
|
+
OPERATIONS: {
|
|
791
|
+
VIEW: 'calendar.operations.view',
|
|
792
|
+
UPDATE: 'calendar.operations.update',
|
|
793
|
+
},
|
|
794
|
+
},
|
|
776
795
|
};
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -790,6 +790,27 @@ export const PERMISSIONS = {
|
|
|
790
790
|
DELETE: 'authorization.user_dealer_permission.delete',
|
|
791
791
|
},
|
|
792
792
|
},
|
|
793
|
+
|
|
794
|
+
// ============================================
|
|
795
|
+
// FAILED_ACTION
|
|
796
|
+
// ============================================
|
|
797
|
+
FAILED_ACTION: {
|
|
798
|
+
OPERATIONS: {
|
|
799
|
+
VIEW: 'failed_action.operations.view',
|
|
800
|
+
DELETE: 'failed_action.operations.delete',
|
|
801
|
+
EXECUTE: 'failed_action.operations.execute',
|
|
802
|
+
},
|
|
803
|
+
},
|
|
804
|
+
|
|
805
|
+
// ============================================
|
|
806
|
+
// CALENDAR
|
|
807
|
+
// ============================================
|
|
808
|
+
CALENDAR: {
|
|
809
|
+
OPERATIONS: {
|
|
810
|
+
VIEW: 'calendar.operations.view',
|
|
811
|
+
UPDATE: 'calendar.operations.update',
|
|
812
|
+
},
|
|
813
|
+
},
|
|
793
814
|
} as const;
|
|
794
815
|
|
|
795
816
|
export type Permission = typeof PERMISSIONS;
|