cecon-interfaces 1.5.65 → 1.5.67
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/member-access/entities/member-access.entity.mjs +5 -4
- package/dist/esm2022/member-access/interfaces/i-member-access.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/member-access.entity.d.ts +2 -1
- package/dist/member-access/entities/member-access.entity.js +4 -3
- package/dist/member-access/interfaces/i-member-access.d.ts +4 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -4,15 +4,16 @@ export declare class MemberAccessEntity implements IMemberAccess {
|
|
4
4
|
accessCount: number | null;
|
5
5
|
active: boolean;
|
6
6
|
companyId: string;
|
7
|
+
companyName: string;
|
7
8
|
containerId: string | null;
|
8
9
|
createdAt: Date;
|
9
10
|
id: string;
|
10
11
|
imageUrl: string | null;
|
11
12
|
lastAccessAt: Date | null;
|
12
|
-
memberId: string;
|
13
13
|
name: string;
|
14
14
|
rule: MemberRulesEnum;
|
15
15
|
tags: string[];
|
16
16
|
updated: Date;
|
17
|
+
userId: string;
|
17
18
|
constructor(data?: Partial<MemberAccessEntity>);
|
18
19
|
}
|
@@ -3,23 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MemberAccessEntity = void 0;
|
4
4
|
var enums_1 = require("../../member/enums");
|
5
5
|
var MemberAccessEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (14)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function MemberAccessEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (14)
|
10
10
|
this.accessCount = null;
|
11
11
|
this.active = true;
|
12
12
|
this.companyId = '';
|
13
|
+
this.companyName = '';
|
13
14
|
this.containerId = null;
|
14
15
|
this.createdAt = new Date();
|
15
16
|
this.id = '';
|
16
17
|
this.imageUrl = null;
|
17
18
|
this.lastAccessAt = null;
|
18
|
-
this.memberId = '';
|
19
19
|
this.name = '';
|
20
20
|
this.rule = enums_1.MemberRulesEnum.USER;
|
21
21
|
this.tags = [];
|
22
22
|
this.updated = new Date();
|
23
|
+
this.userId = '';
|
23
24
|
if (data) {
|
24
25
|
for (var key in data) {
|
25
26
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -3,14 +3,15 @@ export interface IMemberAccess {
|
|
3
3
|
accessCount: number | null;
|
4
4
|
active: boolean;
|
5
5
|
companyId: string;
|
6
|
+
companyName: string;
|
6
7
|
containerId: string | null;
|
7
8
|
createdAt: Date;
|
8
9
|
id: string;
|
9
|
-
lastAccessAt: Date | null;
|
10
|
-
memberId: string;
|
11
10
|
imageUrl: string | null;
|
11
|
+
lastAccessAt: Date | null;
|
12
12
|
name: string;
|
13
|
-
tags: string[];
|
14
13
|
rule: MemberRulesEnum;
|
14
|
+
tags: string[];
|
15
15
|
updated: Date;
|
16
|
+
userId: string;
|
16
17
|
}
|
package/dist/package.json
CHANGED