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.
- package/dist/esm2022/general/entities/address.entity.mjs +3 -1
- package/dist/esm2022/general/interfaces/i-address.mjs +1 -1
- package/dist/esm2022/resume/entities/general-resume-total.entity.mjs +15 -0
- package/dist/esm2022/resume/entities/index.mjs +3 -7
- package/dist/esm2022/resume/entities/resume-child.entity.mjs +16 -0
- package/dist/esm2022/resume/entities/resume.entity.mjs +10 -6
- package/dist/esm2022/resume/enums/index.mjs +3 -0
- package/dist/esm2022/resume/enums/interval-type.enum.mjs +8 -0
- package/dist/esm2022/resume/enums/type.enum.mjs +11 -0
- package/dist/esm2022/resume/index.mjs +2 -1
- package/dist/esm2022/resume/interfaces/i-resume-general.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-total.mjs +1 -1
- package/dist/esm2022/resume/interfaces/i-resume.mjs +1 -1
- package/dist/esm2022/resume/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +34 -99
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/address.entity.d.ts +2 -0
- package/dist/general/entities/address.entity.js +2 -0
- package/dist/general/interfaces/i-address.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/resume/entities/general-resume-total.entity.d.ts +7 -0
- package/dist/resume/entities/general-resume-total.entity.js +19 -0
- package/dist/resume/entities/index.d.ts +2 -6
- package/dist/resume/entities/index.js +5 -13
- package/dist/resume/entities/resume-child.entity.d.ts +10 -0
- package/dist/resume/entities/resume-child.entity.js +20 -0
- package/dist/resume/entities/resume.entity.d.ts +11 -5
- package/dist/resume/entities/resume.entity.js +9 -5
- package/dist/resume/enums/index.d.ts +2 -0
- package/dist/resume/enums/index.js +7 -0
- package/dist/resume/enums/interval-type.enum.d.ts +6 -0
- package/dist/resume/enums/interval-type.enum.js +10 -0
- package/dist/resume/enums/type.enum.d.ts +9 -0
- package/dist/resume/enums/type.enum.js +13 -0
- package/dist/resume/index.d.ts +1 -0
- package/dist/resume/index.js +1 -0
- package/dist/resume/interfaces/i-resume-general.d.ts +5 -0
- package/dist/resume/interfaces/i-resume-total.d.ts +7 -7
- package/dist/resume/interfaces/i-resume.d.ts +11 -4
- package/dist/resume/interfaces/index.d.ts +2 -6
- package/package.json +1 -1
- package/dist/esm2022/resume/entities/resume-collection.entity.mjs +0 -17
- package/dist/esm2022/resume/entities/resume-day.entity.mjs +0 -21
- package/dist/esm2022/resume/entities/resume-hour.entity.mjs +0 -19
- package/dist/esm2022/resume/entities/resume-month.entity.mjs +0 -21
- package/dist/esm2022/resume/entities/resume-total.entity.mjs +0 -20
- package/dist/esm2022/resume/entities/resume-year.entity.mjs +0 -20
- package/dist/esm2022/resume/interfaces/i-resume-collection-status.mjs +0 -2
- package/dist/esm2022/resume/interfaces/i-resume-collection.mjs +0 -2
- package/dist/esm2022/resume/interfaces/i-resume-day.mjs +0 -2
- package/dist/esm2022/resume/interfaces/i-resume-hour.mjs +0 -2
- package/dist/esm2022/resume/interfaces/i-resume-month.mjs +0 -2
- package/dist/esm2022/resume/interfaces/i-resume-year.mjs +0 -2
- package/dist/resume/entities/resume-collection.entity.d.ts +0 -7
- package/dist/resume/entities/resume-collection.entity.js +0 -21
- package/dist/resume/entities/resume-day.entity.d.ts +0 -11
- package/dist/resume/entities/resume-day.entity.js +0 -25
- package/dist/resume/entities/resume-hour.entity.d.ts +0 -8
- package/dist/resume/entities/resume-hour.entity.js +0 -23
- package/dist/resume/entities/resume-month.entity.d.ts +0 -11
- package/dist/resume/entities/resume-month.entity.js +0 -25
- package/dist/resume/entities/resume-total.entity.d.ts +0 -10
- package/dist/resume/entities/resume-total.entity.js +0 -24
- package/dist/resume/entities/resume-year.entity.d.ts +0 -10
- package/dist/resume/entities/resume-year.entity.js +0 -24
- package/dist/resume/interfaces/i-resume-collection-status.d.ts +0 -4
- package/dist/resume/interfaces/i-resume-collection.d.ts +0 -5
- package/dist/resume/interfaces/i-resume-collection.js +0 -2
- package/dist/resume/interfaces/i-resume-day.d.ts +0 -9
- package/dist/resume/interfaces/i-resume-day.js +0 -2
- package/dist/resume/interfaces/i-resume-hour.d.ts +0 -6
- package/dist/resume/interfaces/i-resume-hour.js +0 -2
- package/dist/resume/interfaces/i-resume-month.d.ts +0 -9
- package/dist/resume/interfaces/i-resume-month.js +0 -2
- package/dist/resume/interfaces/i-resume-year.d.ts +0 -8
- package/dist/resume/interfaces/i-resume-year.js +0 -2
- /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;
|
File without changes
|