@bondsports/types 2.2.114 → 2.2.115
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 +0 -1
- package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
- package/dist/types/roles/dto/permission.dto.d.ts +1 -8
- package/dist/types/roles/dto/permission.dto.js +2 -8
- package/dist/types/roles/dto/permission.dto.js.map +1 -1
- package/dist/types/roles/entities/Permission.d.ts +4 -6
- package/dist/types/roles/entities/Permission.js +2 -2
- package/dist/types/roles/entities/Permission.js.map +1 -1
- package/dist/types/roles/entities/PermissionGroup.d.ts +1 -1
- package/package.json +1 -1
@@ -10,7 +10,6 @@ export declare class BatchCreatePermissionGroupDto {
|
|
10
10
|
export declare class PermissionGroupDto extends CreatePermissionGroupDto {
|
11
11
|
id: number;
|
12
12
|
permissions?: PermissionDto[];
|
13
|
-
parentGroupId?: number;
|
14
13
|
childGroups?: PermissionGroupDto[];
|
15
14
|
}
|
16
15
|
export declare class UpdateRolePermissionGroupsDto {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;
|
1
|
+
{"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAM/D;AAND,gDAMC;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,11 +1,4 @@
|
|
1
|
-
export declare class
|
1
|
+
export declare class PermissionDto {
|
2
2
|
name: string;
|
3
|
-
parentId?: number;
|
4
|
-
hasPermission?: boolean;
|
5
3
|
permissionGroupId?: number;
|
6
|
-
parentPermissionId?: CreatePermissionDto;
|
7
|
-
childPermissions?: CreatePermissionDto[];
|
8
|
-
}
|
9
|
-
export declare class PermissionDto extends CreatePermissionDto {
|
10
|
-
id: number;
|
11
4
|
}
|
@@ -1,13 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PermissionDto =
|
4
|
-
class
|
5
|
-
constructor() {
|
6
|
-
this.hasPermission = true;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
exports.CreatePermissionDto = CreatePermissionDto;
|
10
|
-
class PermissionDto extends CreatePermissionDto {
|
3
|
+
exports.PermissionDto = void 0;
|
4
|
+
class PermissionDto {
|
11
5
|
}
|
12
6
|
exports.PermissionDto = PermissionDto;
|
13
7
|
//# sourceMappingURL=permission.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,
|
1
|
+
{"version":3,"file":"permission.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAIzB;AAJD,sCAIC"}
|
@@ -1,11 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { BaseEntity } from 'typeorm';
|
2
2
|
import { PermissionGroup } from './PermissionGroup';
|
3
|
-
export declare class Permission extends
|
3
|
+
export declare class Permission extends BaseEntity {
|
4
4
|
name: string;
|
5
|
-
|
5
|
+
createdAt: Date;
|
6
|
+
updatedAt: Date;
|
6
7
|
permissionGroup: PermissionGroup;
|
7
8
|
permissionGroupId: number;
|
8
|
-
hasPermission: boolean;
|
9
|
-
parentPermission?: Permission;
|
10
|
-
childPermissions: Permission[];
|
11
9
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.Permission = void 0;
|
4
|
-
const
|
5
|
-
class Permission extends
|
4
|
+
const typeorm_1 = require("typeorm");
|
5
|
+
class Permission extends typeorm_1.BaseEntity {
|
6
6
|
}
|
7
7
|
exports.Permission = Permission;
|
8
8
|
//# sourceMappingURL=Permission.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAA0I;AAG1I,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
|