@bondsports/types 2.2.103 → 2.2.104
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/roles/dto/permission-group.dto.d.ts +8 -2
- package/dist/types/roles/dto/permission-group.dto.js +7 -2
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/entities/Permission.d.ts +1 -0
- package/dist/types/roles/entities/Permission.js.map +1 -1
- package/package.json +1 -1
@@ -1,17 +1,23 @@
|
|
1
1
|
import { PermissionDto } from "./permission.dto";
|
2
|
+
import { PaginatedSearchDto } from "../../dto/general.dto";
|
2
3
|
export declare class CreatePermissionGroupDto {
|
3
4
|
displayName: string;
|
4
|
-
active
|
5
|
+
active?: boolean;
|
6
|
+
}
|
7
|
+
export declare class BatchCreatePermissionGroupDto {
|
8
|
+
dtos: CreatePermissionGroupDto[];
|
5
9
|
}
|
6
10
|
export declare class PermissionGroupDto extends CreatePermissionGroupDto {
|
7
11
|
id: number;
|
8
12
|
permissions?: PermissionDto[];
|
13
|
+
parentGroupId?: number;
|
14
|
+
childGroups?: PermissionGroupDto[];
|
9
15
|
}
|
10
16
|
export declare class UpdateRolePermissionGroupsDto {
|
11
17
|
roleId: number;
|
12
18
|
permissionGroupsIds: number[];
|
13
19
|
}
|
14
|
-
export declare class GetPermissionGroupsOptionsDto {
|
20
|
+
export declare class GetPermissionGroupsOptionsDto extends PaginatedSearchDto {
|
15
21
|
includeInactive?: boolean;
|
16
22
|
includePermissions?: boolean;
|
17
23
|
}
|
@@ -1,20 +1,25 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetPermissionGroupsOptionsDto = exports.UpdateRolePermissionGroupsDto = exports.PermissionGroupDto = exports.CreatePermissionGroupDto = void 0;
|
3
|
+
exports.GetPermissionGroupsOptionsDto = exports.UpdateRolePermissionGroupsDto = exports.PermissionGroupDto = exports.BatchCreatePermissionGroupDto = exports.CreatePermissionGroupDto = void 0;
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
4
5
|
class CreatePermissionGroupDto {
|
5
6
|
constructor() {
|
6
7
|
this.active = true;
|
7
8
|
}
|
8
9
|
}
|
9
10
|
exports.CreatePermissionGroupDto = CreatePermissionGroupDto;
|
11
|
+
class BatchCreatePermissionGroupDto {
|
12
|
+
}
|
13
|
+
exports.BatchCreatePermissionGroupDto = BatchCreatePermissionGroupDto;
|
10
14
|
class PermissionGroupDto extends CreatePermissionGroupDto {
|
11
15
|
}
|
12
16
|
exports.PermissionGroupDto = PermissionGroupDto;
|
13
17
|
class UpdateRolePermissionGroupsDto {
|
14
18
|
}
|
15
19
|
exports.UpdateRolePermissionGroupsDto = UpdateRolePermissionGroupsDto;
|
16
|
-
class GetPermissionGroupsOptionsDto {
|
20
|
+
class GetPermissionGroupsOptionsDto extends general_dto_1.PaginatedSearchDto {
|
17
21
|
constructor() {
|
22
|
+
super(...arguments);
|
18
23
|
this.includeInactive = false;
|
19
24
|
this.includePermissions = false;
|
20
25
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AACA,uDAA2D;AAE3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAQ/D;AARD,gDAQC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,gCAAkB;IAArE;;QACC,oBAAe,GAAI,KAAK,CAAC;QAEzB,uBAAkB,GAAI,KAAK,CAAC;IAC7B,CAAC;CAAA;AAJD,sEAIC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAG7D,MAAa,UAAW,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAG7D,MAAa,UAAW,SAAQ,+BAAc;CAc7C;AAdD,gCAcC"}
|