@frontegg/rest-api 3.1.61 → 3.1.62
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/package.json +1 -1
- package/roles/interfaces.d.ts +7 -2
package/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
package/roles/interfaces.d.ts
CHANGED
|
@@ -42,10 +42,15 @@ export declare type IAddRoleBase = {
|
|
|
42
42
|
description: string;
|
|
43
43
|
isDefault: boolean;
|
|
44
44
|
level: number;
|
|
45
|
+
};
|
|
46
|
+
export declare type IPermissions = {
|
|
45
47
|
permissions: string[];
|
|
46
48
|
};
|
|
47
|
-
export declare type
|
|
48
|
-
|
|
49
|
+
export declare type IPermissionIds = {
|
|
50
|
+
permissionIds: string[];
|
|
51
|
+
};
|
|
52
|
+
export declare type IAddRole = IAddRoleBase & IPermissions;
|
|
53
|
+
export declare type IAddRoleV2 = IAddRoleBase & IPermissionIds & {
|
|
49
54
|
baseRoleId: string;
|
|
50
55
|
};
|
|
51
56
|
export declare type IUpdateRole = {
|