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.
@@ -1,4 +1,4 @@
1
- import { EMemberRules } from '../../mobyo/mobyo-api/enum/member-rules.enum';
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: EMemberRules;
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 member_rules_enum_1 = require("../../mobyo/mobyo-api/enum/member-rules.enum");
4
+ var enums_1 = require("../../member/enums");
5
5
  var MemberAccessEntity = /** @class */ (function () {
6
- // #endregion Properties (10)
6
+ // #endregion Properties (11)
7
7
  // #region Constructors (1)
8
8
  function MemberAccessEntity(data) {
9
- // #region Properties (10)
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 = member_rules_enum_1.EMemberRules.user;
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 { EMemberRules } from '../../mobyo/mobyo-api/enum/member-rules.enum';
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
- rule: EMemberRules;
11
+ tags: string[];
12
+ rule: MemberRulesEnum;
12
13
  updated: Date;
13
14
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.62",
3
+ "version": "1.5.64",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.62",
3
+ "version": "1.5.64",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",