cecon-interfaces 1.5.97 → 1.5.99
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/member-access/entities/index.mjs +3 -1
- package/dist/esm2022/member-access/entities/member-access-permission.entity.mjs +17 -0
- package/dist/esm2022/member-access/entities/member-access-role.entity.mjs +18 -0
- package/dist/esm2022/member-access/interfaces/i-member-access-permissions.mjs +2 -0
- package/dist/esm2022/member-access/interfaces/i-member-access-role.mjs +2 -0
- package/dist/esm2022/member-access/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +35 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/index.d.ts +2 -0
- package/dist/member-access/entities/index.js +5 -1
- package/dist/member-access/entities/member-access-permission.entity.d.ts +6 -0
- package/dist/member-access/entities/member-access-permission.entity.js +21 -0
- package/dist/member-access/entities/member-access-role.entity.d.ts +8 -0
- package/dist/member-access/entities/member-access-role.entity.js +22 -0
- package/dist/member-access/interfaces/i-member-access-permissions.d.ts +4 -0
- package/dist/member-access/interfaces/i-member-access-permissions.js +2 -0
- package/dist/member-access/interfaces/i-member-access-role.d.ts +6 -0
- package/dist/member-access/interfaces/i-member-access-role.js +2 -0
- package/dist/member-access/interfaces/index.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,5 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MemberAccessEntity = void 0;
|
3
|
+
exports.MemberAccessEntity = exports.MemberAccessRoleEntity = exports.MemberAccessRolePermissionEntity = void 0;
|
4
|
+
var member_access_permission_entity_1 = require("./member-access-permission.entity");
|
5
|
+
Object.defineProperty(exports, "MemberAccessRolePermissionEntity", { enumerable: true, get: function () { return member_access_permission_entity_1.MemberAccessRolePermissionEntity; } });
|
6
|
+
var member_access_role_entity_1 = require("./member-access-role.entity");
|
7
|
+
Object.defineProperty(exports, "MemberAccessRoleEntity", { enumerable: true, get: function () { return member_access_role_entity_1.MemberAccessRoleEntity; } });
|
4
8
|
var member_access_entity_1 = require("./member-access.entity");
|
5
9
|
Object.defineProperty(exports, "MemberAccessEntity", { enumerable: true, get: function () { return member_access_entity_1.MemberAccessEntity; } });
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { IMemberAccessRolePermission } from '../interfaces/i-member-access-permissions';
|
2
|
+
export declare class MemberAccessRolePermissionEntity implements IMemberAccessRolePermission {
|
3
|
+
id: string;
|
4
|
+
name: string;
|
5
|
+
constructor(data?: Partial<MemberAccessRolePermissionEntity>);
|
6
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberAccessRolePermissionEntity = void 0;
|
4
|
+
var MemberAccessRolePermissionEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function MemberAccessRolePermissionEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.id = '';
|
10
|
+
this.name = '';
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return MemberAccessRolePermissionEntity;
|
20
|
+
}());
|
21
|
+
exports.MemberAccessRolePermissionEntity = MemberAccessRolePermissionEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ERole } from '../../general';
|
2
|
+
import { IMemberAccessRole } from '../interfaces/i-member-access-role';
|
3
|
+
import { MemberAccessRolePermissionEntity } from './member-access-permission.entity';
|
4
|
+
export declare class MemberAccessRoleEntity implements IMemberAccessRole {
|
5
|
+
permissions: MemberAccessRolePermissionEntity[];
|
6
|
+
role: ERole;
|
7
|
+
constructor(data?: Partial<MemberAccessRoleEntity>);
|
8
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberAccessRoleEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var MemberAccessRoleEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (2)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function MemberAccessRoleEntity(data) {
|
9
|
+
// #region Properties (2)
|
10
|
+
this.permissions = [];
|
11
|
+
this.role = general_1.ERole.USER;
|
12
|
+
if (data) {
|
13
|
+
for (var key in data) {
|
14
|
+
if (data.hasOwnProperty(key) && key in this) {
|
15
|
+
this[key] = data[key];
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
return MemberAccessRoleEntity;
|
21
|
+
}());
|
22
|
+
exports.MemberAccessRoleEntity = MemberAccessRoleEntity;
|
package/dist/package.json
CHANGED