@frontegg/rest-api 3.1.60 → 3.1.61
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.js +1 -1
- package/node/index.js +1 -1
- package/node/roles/interfaces.js +10 -1
- package/package.json +1 -1
- package/roles/interfaces.d.ts +6 -0
- package/roles/interfaces.js +7 -1
package/index.js
CHANGED
package/node/index.js
CHANGED
package/node/roles/interfaces.js
CHANGED
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
5
|
+
});
|
|
6
|
+
exports.PermissionAssignmentTypeEnum = void 0;
|
|
7
|
+
let PermissionAssignmentTypeEnum;
|
|
8
|
+
exports.PermissionAssignmentTypeEnum = PermissionAssignmentTypeEnum;
|
|
9
|
+
|
|
10
|
+
(function (PermissionAssignmentTypeEnum) {
|
|
11
|
+
PermissionAssignmentTypeEnum["NEVER"] = "NEVER";
|
|
12
|
+
PermissionAssignmentTypeEnum["ALWAYS"] = "ALWAYS";
|
|
13
|
+
PermissionAssignmentTypeEnum["ASSIGNABLE"] = "ASSIGNABLE";
|
|
14
|
+
})(PermissionAssignmentTypeEnum || (exports.PermissionAssignmentTypeEnum = PermissionAssignmentTypeEnum = {}));
|
package/package.json
CHANGED
package/roles/interfaces.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare enum PermissionAssignmentTypeEnum {
|
|
2
|
+
NEVER = "NEVER",
|
|
3
|
+
ALWAYS = "ALWAYS",
|
|
4
|
+
ASSIGNABLE = "ASSIGNABLE"
|
|
5
|
+
}
|
|
1
6
|
export declare type IRole = {
|
|
2
7
|
id: string;
|
|
3
8
|
key: string;
|
|
@@ -20,6 +25,7 @@ export declare type IRolePermission = {
|
|
|
20
25
|
fePermission: boolean;
|
|
21
26
|
createdAt: Date;
|
|
22
27
|
updatedAt: Date;
|
|
28
|
+
assignmentType?: PermissionAssignmentTypeEnum;
|
|
23
29
|
};
|
|
24
30
|
export declare type IRolePermissionCategory = {
|
|
25
31
|
id: string;
|
package/roles/interfaces.js
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export let PermissionAssignmentTypeEnum;
|
|
2
|
+
|
|
3
|
+
(function (PermissionAssignmentTypeEnum) {
|
|
4
|
+
PermissionAssignmentTypeEnum["NEVER"] = "NEVER";
|
|
5
|
+
PermissionAssignmentTypeEnum["ALWAYS"] = "ALWAYS";
|
|
6
|
+
PermissionAssignmentTypeEnum["ASSIGNABLE"] = "ASSIGNABLE";
|
|
7
|
+
})(PermissionAssignmentTypeEnum || (PermissionAssignmentTypeEnum = {}));
|