cecon-interfaces 1.3.14 → 1.3.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/dist/esm2022/general/entities/address.entity.mjs +3 -1
  2. package/dist/esm2022/general/interfaces/i-address.mjs +1 -1
  3. package/dist/esm2022/resume/entities/general-resume-total.entity.mjs +15 -0
  4. package/dist/esm2022/resume/entities/index.mjs +3 -7
  5. package/dist/esm2022/resume/entities/resume-child.entity.mjs +16 -0
  6. package/dist/esm2022/resume/entities/resume.entity.mjs +10 -6
  7. package/dist/esm2022/resume/enums/index.mjs +3 -0
  8. package/dist/esm2022/resume/enums/interval-type.enum.mjs +8 -0
  9. package/dist/esm2022/resume/enums/type.enum.mjs +11 -0
  10. package/dist/esm2022/resume/index.mjs +2 -1
  11. package/dist/esm2022/resume/interfaces/i-resume-general.mjs +2 -0
  12. package/dist/esm2022/resume/interfaces/i-resume-total.mjs +1 -1
  13. package/dist/esm2022/resume/interfaces/i-resume.mjs +1 -1
  14. package/dist/esm2022/resume/interfaces/index.mjs +1 -1
  15. package/dist/fesm2022/cecon-interfaces.mjs +34 -99
  16. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  17. package/dist/general/entities/address.entity.d.ts +2 -0
  18. package/dist/general/entities/address.entity.js +2 -0
  19. package/dist/general/interfaces/i-address.d.ts +2 -0
  20. package/dist/package.json +1 -1
  21. package/dist/resume/entities/general-resume-total.entity.d.ts +7 -0
  22. package/dist/resume/entities/general-resume-total.entity.js +19 -0
  23. package/dist/resume/entities/index.d.ts +2 -6
  24. package/dist/resume/entities/index.js +5 -13
  25. package/dist/resume/entities/resume-child.entity.d.ts +10 -0
  26. package/dist/resume/entities/resume-child.entity.js +20 -0
  27. package/dist/resume/entities/resume.entity.d.ts +11 -5
  28. package/dist/resume/entities/resume.entity.js +9 -5
  29. package/dist/resume/enums/index.d.ts +2 -0
  30. package/dist/resume/enums/index.js +7 -0
  31. package/dist/resume/enums/interval-type.enum.d.ts +6 -0
  32. package/dist/resume/enums/interval-type.enum.js +10 -0
  33. package/dist/resume/enums/type.enum.d.ts +9 -0
  34. package/dist/resume/enums/type.enum.js +13 -0
  35. package/dist/resume/index.d.ts +1 -0
  36. package/dist/resume/index.js +1 -0
  37. package/dist/resume/interfaces/i-resume-general.d.ts +5 -0
  38. package/dist/resume/interfaces/i-resume-total.d.ts +7 -7
  39. package/dist/resume/interfaces/i-resume.d.ts +11 -4
  40. package/dist/resume/interfaces/index.d.ts +2 -6
  41. package/package.json +1 -1
  42. package/dist/esm2022/resume/entities/resume-collection.entity.mjs +0 -17
  43. package/dist/esm2022/resume/entities/resume-day.entity.mjs +0 -21
  44. package/dist/esm2022/resume/entities/resume-hour.entity.mjs +0 -19
  45. package/dist/esm2022/resume/entities/resume-month.entity.mjs +0 -21
  46. package/dist/esm2022/resume/entities/resume-total.entity.mjs +0 -20
  47. package/dist/esm2022/resume/entities/resume-year.entity.mjs +0 -20
  48. package/dist/esm2022/resume/interfaces/i-resume-collection-status.mjs +0 -2
  49. package/dist/esm2022/resume/interfaces/i-resume-collection.mjs +0 -2
  50. package/dist/esm2022/resume/interfaces/i-resume-day.mjs +0 -2
  51. package/dist/esm2022/resume/interfaces/i-resume-hour.mjs +0 -2
  52. package/dist/esm2022/resume/interfaces/i-resume-month.mjs +0 -2
  53. package/dist/esm2022/resume/interfaces/i-resume-year.mjs +0 -2
  54. package/dist/resume/entities/resume-collection.entity.d.ts +0 -7
  55. package/dist/resume/entities/resume-collection.entity.js +0 -21
  56. package/dist/resume/entities/resume-day.entity.d.ts +0 -11
  57. package/dist/resume/entities/resume-day.entity.js +0 -25
  58. package/dist/resume/entities/resume-hour.entity.d.ts +0 -8
  59. package/dist/resume/entities/resume-hour.entity.js +0 -23
  60. package/dist/resume/entities/resume-month.entity.d.ts +0 -11
  61. package/dist/resume/entities/resume-month.entity.js +0 -25
  62. package/dist/resume/entities/resume-total.entity.d.ts +0 -10
  63. package/dist/resume/entities/resume-total.entity.js +0 -24
  64. package/dist/resume/entities/resume-year.entity.d.ts +0 -10
  65. package/dist/resume/entities/resume-year.entity.js +0 -24
  66. package/dist/resume/interfaces/i-resume-collection-status.d.ts +0 -4
  67. package/dist/resume/interfaces/i-resume-collection.d.ts +0 -5
  68. package/dist/resume/interfaces/i-resume-collection.js +0 -2
  69. package/dist/resume/interfaces/i-resume-day.d.ts +0 -9
  70. package/dist/resume/interfaces/i-resume-day.js +0 -2
  71. package/dist/resume/interfaces/i-resume-hour.d.ts +0 -6
  72. package/dist/resume/interfaces/i-resume-hour.js +0 -2
  73. package/dist/resume/interfaces/i-resume-month.d.ts +0 -9
  74. package/dist/resume/interfaces/i-resume-month.js +0 -2
  75. package/dist/resume/interfaces/i-resume-year.d.ts +0 -8
  76. package/dist/resume/interfaces/i-resume-year.js +0 -2
  77. /package/dist/resume/interfaces/{i-resume-collection-status.js → i-resume-general.js} +0 -0
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeMonthEntity = void 0;
4
- var ResumeMonthEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeMonthEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.count = 0;
11
- this.days = [];
12
- this.month = new Date().getUTCMonth();
13
- this.monthName = new Date().toLocaleString('pt-BR', { month: 'long' });
14
- this.total = 0;
15
- if (data) {
16
- for (var key in data) {
17
- if (data.hasOwnProperty(key) && key in this) {
18
- this[key] = data[key];
19
- }
20
- }
21
- }
22
- }
23
- return ResumeMonthEntity;
24
- }());
25
- exports.ResumeMonthEntity = ResumeMonthEntity;
@@ -1,10 +0,0 @@
1
- import { IResumeTotal } from '../interfaces';
2
- import { ResumeYearEntity } from './resume-year.entity';
3
- export declare class ResumeTotalEntity implements IResumeTotal {
4
- average: number;
5
- collectionName: string;
6
- count: number;
7
- total: number;
8
- years: ResumeYearEntity[];
9
- constructor(data?: Partial<ResumeTotalEntity>);
10
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeTotalEntity = void 0;
4
- var ResumeTotalEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeTotalEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.collectionName = '';
11
- this.count = 0;
12
- this.total = 0;
13
- this.years = [];
14
- if (data) {
15
- for (var key in data) {
16
- if (data.hasOwnProperty(key) && key in this) {
17
- this[key] = data[key];
18
- }
19
- }
20
- }
21
- }
22
- return ResumeTotalEntity;
23
- }());
24
- exports.ResumeTotalEntity = ResumeTotalEntity;
@@ -1,10 +0,0 @@
1
- import { IResumeYear } from '../interfaces';
2
- import { ResumeMonthEntity } from './resume-month.entity';
3
- export declare class ResumeYearEntity implements IResumeYear {
4
- average: number;
5
- count: number;
6
- months: ResumeMonthEntity[];
7
- year: number;
8
- total: number;
9
- constructor(data?: Partial<ResumeYearEntity>);
10
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeYearEntity = void 0;
4
- var ResumeYearEntity = /** @class */ (function () {
5
- // #endregion Properties (5)
6
- // #region Constructors (1)
7
- function ResumeYearEntity(data) {
8
- // #region Properties (5)
9
- this.average = 0;
10
- this.count = 0;
11
- this.months = [];
12
- this.year = new Date().getUTCFullYear();
13
- this.total = 0;
14
- if (data) {
15
- for (var key in data) {
16
- if (data.hasOwnProperty(key) && key in this) {
17
- this[key] = data[key];
18
- }
19
- }
20
- }
21
- }
22
- return ResumeYearEntity;
23
- }());
24
- exports.ResumeYearEntity = ResumeYearEntity;
@@ -1,4 +0,0 @@
1
- export interface IResumeCollectionStatus {
2
- status: string;
3
- count: number;
4
- }
@@ -1,5 +0,0 @@
1
- import { IResumeCollectionStatus } from './i-resume-collection-status';
2
- export interface IResumeCollection {
3
- collectionName: string;
4
- status: IResumeCollectionStatus[];
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import { IResumeHour } from './i-resume-hour';
2
- export interface IResumeDay {
3
- total: number;
4
- day: number;
5
- dayName: string;
6
- average: number;
7
- count: number;
8
- months: IResumeHour[];
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export interface IResumeHour {
2
- total: number;
3
- average: number;
4
- count: number;
5
- hour: number;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import { IResumeDay } from './i-resume-day';
2
- export interface IResumeMonth {
3
- total: number;
4
- month: number;
5
- monthName: string;
6
- average: number;
7
- count: number;
8
- days: IResumeDay[];
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import { IResumeMonth } from './i-resume-month';
2
- export interface IResumeYear {
3
- total: number;
4
- year: number;
5
- average: number;
6
- count: number;
7
- months: IResumeMonth[];
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });