cecon-interfaces 1.5.62 → 1.5.64
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 +6 -5
- package/dist/esm2022/member-access/interfaces/i-member-access.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +11 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/member-access.entity.d.ts +3 -2
- package/dist/member-access/entities/member-access.entity.js +5 -4
- package/dist/member-access/interfaces/i-member-access.d.ts +3 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { MemberRulesEnum } from '../../member/enums';
|
2
2
|
import { IMemberAccess } from '../interfaces/i-member-access';
|
3
3
|
export declare class MemberAccessEntity implements IMemberAccess {
|
4
4
|
accessCount: number | null;
|
@@ -9,7 +9,8 @@ export declare class MemberAccessEntity implements IMemberAccess {
|
|
9
9
|
lastAccessAt: Date | null;
|
10
10
|
memberId: string;
|
11
11
|
name: string;
|
12
|
-
rule:
|
12
|
+
rule: MemberRulesEnum;
|
13
|
+
tags: string[];
|
13
14
|
updated: Date;
|
14
15
|
constructor(data?: Partial<MemberAccessEntity>);
|
15
16
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.MemberAccessEntity = void 0;
|
4
|
-
var
|
4
|
+
var enums_1 = require("../../member/enums");
|
5
5
|
var MemberAccessEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (11)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function MemberAccessEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (11)
|
10
10
|
this.accessCount = null;
|
11
11
|
this.active = true;
|
12
12
|
this.createdAt = new Date();
|
@@ -15,7 +15,8 @@ var MemberAccessEntity = /** @class */ (function () {
|
|
15
15
|
this.lastAccessAt = null;
|
16
16
|
this.memberId = '';
|
17
17
|
this.name = '';
|
18
|
-
this.rule =
|
18
|
+
this.rule = enums_1.MemberRulesEnum.USER;
|
19
|
+
this.tags = [];
|
19
20
|
this.updated = new Date();
|
20
21
|
if (data) {
|
21
22
|
for (var key in data) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { MemberRulesEnum } from '../../member/enums';
|
2
2
|
export interface IMemberAccess {
|
3
3
|
accessCount: number | null;
|
4
4
|
active: boolean;
|
@@ -8,6 +8,7 @@ export interface IMemberAccess {
|
|
8
8
|
memberId: string;
|
9
9
|
imageUrl: string | null;
|
10
10
|
name: string;
|
11
|
-
|
11
|
+
tags: string[];
|
12
|
+
rule: MemberRulesEnum;
|
12
13
|
updated: Date;
|
13
14
|
}
|
package/dist/package.json
CHANGED