cecon-interfaces 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { AppConfigType } from '../../app';
2
- import { InstallationStatusEnum } from '../enums';
2
+ import { EInstallationStatus } from '../enums';
3
3
  import { IInstallation } from '../interfaces/i-installation';
4
4
  import { InstallationAppEntity } from './installation-app.entity';
5
5
  export declare class InstallationEntity implements IInstallation {
@@ -10,7 +10,7 @@ export declare class InstallationEntity implements IInstallation {
10
10
  featureId: string;
11
11
  id: string;
12
12
  lastCheckAt: Date;
13
- status: InstallationStatusEnum;
13
+ status: EInstallationStatus;
14
14
  subscriptionId: string;
15
15
  tags: string[];
16
16
  trialEndDate: Date;
@@ -15,7 +15,7 @@ var InstallationEntity = /** @class */ (function () {
15
15
  this.featureId = '';
16
16
  this.id = '';
17
17
  this.lastCheckAt = new Date();
18
- this.status = enums_1.InstallationStatusEnum.PENDING;
18
+ this.status = enums_1.EInstallationStatus.PENDING;
19
19
  this.subscriptionId = '';
20
20
  this.tags = [];
21
21
  this.trialEndDate = new Date();
@@ -1 +1 @@
1
- export { InstallationStatusEnum } from './status.enum';
1
+ export { EInstallationStatus } from './status.enum';
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstallationStatusEnum = void 0;
3
+ exports.EInstallationStatus = void 0;
4
4
  var status_enum_1 = require("./status.enum");
5
- Object.defineProperty(exports, "InstallationStatusEnum", { enumerable: true, get: function () { return status_enum_1.InstallationStatusEnum; } });
5
+ Object.defineProperty(exports, "EInstallationStatus", { enumerable: true, get: function () { return status_enum_1.EInstallationStatus; } });
@@ -1,4 +1,4 @@
1
- export declare enum InstallationStatusEnum {
1
+ export declare enum EInstallationStatus {
2
2
  TRIAL = "TRIAL",
3
3
  ACTIVE = "ACTIVE",
4
4
  SUSPENDED = "SUSPENDED",
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstallationStatusEnum = void 0;
4
- var InstallationStatusEnum;
5
- (function (InstallationStatusEnum) {
6
- InstallationStatusEnum["TRIAL"] = "TRIAL";
7
- InstallationStatusEnum["ACTIVE"] = "ACTIVE";
8
- InstallationStatusEnum["SUSPENDED"] = "SUSPENDED";
9
- InstallationStatusEnum["EXPIRED"] = "EXPIRED";
10
- InstallationStatusEnum["CANCELLED"] = "CANCELLED";
11
- InstallationStatusEnum["PENDING"] = "PENDING";
12
- InstallationStatusEnum["INACTIVE"] = "INACTIVE";
13
- InstallationStatusEnum["INSTALLED"] = "INSTALLED";
14
- })(InstallationStatusEnum || (exports.InstallationStatusEnum = InstallationStatusEnum = {}));
3
+ exports.EInstallationStatus = void 0;
4
+ var EInstallationStatus;
5
+ (function (EInstallationStatus) {
6
+ EInstallationStatus["TRIAL"] = "TRIAL";
7
+ EInstallationStatus["ACTIVE"] = "ACTIVE";
8
+ EInstallationStatus["SUSPENDED"] = "SUSPENDED";
9
+ EInstallationStatus["EXPIRED"] = "EXPIRED";
10
+ EInstallationStatus["CANCELLED"] = "CANCELLED";
11
+ EInstallationStatus["PENDING"] = "PENDING";
12
+ EInstallationStatus["INACTIVE"] = "INACTIVE";
13
+ EInstallationStatus["INSTALLED"] = "INSTALLED";
14
+ })(EInstallationStatus || (exports.EInstallationStatus = EInstallationStatus = {}));
@@ -1,2 +1,3 @@
1
1
  export * from './entities';
2
+ export * from './enums';
2
3
  export * from './interfaces';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
18
19
  __exportStar(require("./interfaces"), exports);
@@ -1,5 +1,5 @@
1
1
  import { AppConfigType } from '../../app';
2
- import { InstallationStatusEnum } from '../enums';
2
+ import { EInstallationStatus } from '../enums';
3
3
  import { IInstallationApp } from './i-installation-app';
4
4
  export interface IInstallation {
5
5
  app: IInstallationApp;
@@ -9,7 +9,7 @@ export interface IInstallation {
9
9
  featureId: string;
10
10
  id: string;
11
11
  lastCheckAt: Date;
12
- status: InstallationStatusEnum;
12
+ status: EInstallationStatus;
13
13
  subscriptionId: string;
14
14
  tags: string[];
15
15
  trialEndDate: Date;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.06",
3
+ "version": "1.1.07",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,7 +2,7 @@ import { IResumeCollection } from '../interfaces';
2
2
  export declare class ResumeCollectionEntity implements IResumeCollection {
3
3
  actived: number;
4
4
  deactived: number;
5
- name: string;
5
+ collectionName: string;
6
6
  total: number;
7
7
  constructor(data?: Partial<ResumeCollectionEntity>);
8
8
  }
@@ -8,7 +8,7 @@ var ResumeCollectionEntity = /** @class */ (function () {
8
8
  // #region Properties (4)
9
9
  this.actived = 0;
10
10
  this.deactived = 0;
11
- this.name = '';
11
+ this.collectionName = '';
12
12
  this.total = 0;
13
13
  if (data) {
14
14
  for (var key in data) {
@@ -1,5 +1,5 @@
1
1
  export interface IResumeCollection {
2
- name: string;
2
+ collectionName: string;
3
3
  total: number;
4
4
  actived: number;
5
5
  deactived: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.06",
3
+ "version": "1.1.07",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",