cecon-interfaces 1.1.35 → 1.1.38

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.35",
3
+ "version": "1.1.38",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,8 +1,7 @@
1
1
  import { IResumeCollection } from '../interfaces';
2
+ import { IResumeCollectionStatus } from '../interfaces/i-resume-collection-status';
2
3
  export declare class ResumeCollectionEntity implements IResumeCollection {
3
- actived: number;
4
- deactived: number;
5
4
  collectionName: string;
6
- total: number;
5
+ status: IResumeCollectionStatus[];
7
6
  constructor(data?: Partial<ResumeCollectionEntity>);
8
7
  }
@@ -2,14 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResumeCollectionEntity = void 0;
4
4
  var ResumeCollectionEntity = /** @class */ (function () {
5
- // #endregion Properties (4)
5
+ // #endregion Properties (2)
6
6
  // #region Constructors (1)
7
7
  function ResumeCollectionEntity(data) {
8
- // #region Properties (4)
9
- this.actived = 0;
10
- this.deactived = 0;
8
+ // #region Properties (2)
11
9
  this.collectionName = '';
12
- this.total = 0;
10
+ this.status = [];
13
11
  if (data) {
14
12
  for (var key in data) {
15
13
  if (data.hasOwnProperty(key) && key in this) {
@@ -3,6 +3,7 @@ import { ResumeCollectionEntity } from './resume-collection.entity';
3
3
  import { ResumeTotalEntity } from './resume-total.entity';
4
4
  export declare class ResumeEntity implements IResume {
5
5
  counts: ResumeCollectionEntity[];
6
+ id: string;
6
7
  totals: ResumeTotalEntity[];
7
8
  constructor(data?: Partial<ResumeEntity>);
8
9
  }
@@ -2,11 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResumeEntity = void 0;
4
4
  var ResumeEntity = /** @class */ (function () {
5
- // #endregion Properties (2)
5
+ // #endregion Properties (3)
6
6
  // #region Constructors (1)
7
7
  function ResumeEntity(data) {
8
- // #region Properties (2)
8
+ // #region Properties (3)
9
9
  this.counts = [];
10
+ this.id = '';
10
11
  this.totals = [];
11
12
  if (data) {
12
13
  for (var key in data) {
@@ -0,0 +1,4 @@
1
+ export interface IResumeCollectionStatus {
2
+ status: string;
3
+ count: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,5 @@
1
+ import { IResumeCollectionStatus } from './i-resume-collection-status';
1
2
  export interface IResumeCollection {
2
3
  collectionName: string;
3
- total: number;
4
- actived: number;
5
- deactived: number;
4
+ status: IResumeCollectionStatus[];
6
5
  }
@@ -3,4 +3,5 @@ import { IResumeTotal } from './i-resume-total';
3
3
  export interface IResume {
4
4
  counts: IResumeCollection[];
5
5
  totals: IResumeTotal[];
6
+ id: string;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.35",
3
+ "version": "1.1.38",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",