cecon-interfaces 1.5.61 → 1.5.63
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 -5
- package/dist/esm2022/member-access/interfaces/i-member-access.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +25 -25
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member-access/entities/member-access.entity.d.ts +2 -2
- package/dist/member-access/entities/member-access.entity.js +4 -4
- package/dist/member-access/interfaces/i-member-access.d.ts +2 -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,7 @@ 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
13
|
updated: Date;
|
14
14
|
constructor(data?: Partial<MemberAccessEntity>);
|
15
15
|
}
|
@@ -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 (12)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function MemberAccessEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (12)
|
10
10
|
this.accessCount = null;
|
11
11
|
this.active = true;
|
12
12
|
this.createdAt = new Date();
|
@@ -15,7 +15,7 @@ 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
19
|
this.updated = new Date();
|
20
20
|
if (data) {
|
21
21
|
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,6 @@ export interface IMemberAccess {
|
|
8
8
|
memberId: string;
|
9
9
|
imageUrl: string | null;
|
10
10
|
name: string;
|
11
|
-
rule:
|
11
|
+
rule: MemberRulesEnum;
|
12
12
|
updated: Date;
|
13
13
|
}
|
package/dist/package.json
CHANGED