sigo-entities 0.0.232 → 0.0.234
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -1
- package/dist/index.mjs +9 -1
- package/package.json +27 -27
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# sigo-entities
|
|
2
|
-
Desarrollo de modelos de datos SIGO
|
|
3
|
-
npm i sigo-entities@latest
|
|
4
|
-
## Test
|
|
1
|
+
# sigo-entities
|
|
2
|
+
Desarrollo de modelos de datos SIGO
|
|
3
|
+
npm i sigo-entities@latest
|
|
4
|
+
## Test
|
package/dist/index.d.mts
CHANGED
|
@@ -1768,6 +1768,14 @@ declare class UnidadMedidaDTO$1 {
|
|
|
1768
1768
|
UnidadMedida: string;
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
|
+
declare class CambiosEstadosPagosProduccionDTO {
|
|
1772
|
+
NroDocumento: string;
|
|
1773
|
+
UsuarioCambio: UsuarioDTO;
|
|
1774
|
+
FechaCambio: Date;
|
|
1775
|
+
Anexos: FilesDocDTO[];
|
|
1776
|
+
EstadoFase: string;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1771
1779
|
declare class BaremosChileENTITY {
|
|
1772
1780
|
_id?: string;
|
|
1773
1781
|
foreignKey: string;
|
|
@@ -1795,6 +1803,7 @@ declare class BaremosChileENTITY {
|
|
|
1795
1803
|
Mes: number;
|
|
1796
1804
|
PB_Total: number;
|
|
1797
1805
|
MO_Total: number;
|
|
1806
|
+
CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
|
|
1798
1807
|
PagosEC: PagosECDTO[];
|
|
1799
1808
|
Cancelado: boolean;
|
|
1800
1809
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1768,6 +1768,14 @@ declare class UnidadMedidaDTO$1 {
|
|
|
1768
1768
|
UnidadMedida: string;
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
|
+
declare class CambiosEstadosPagosProduccionDTO {
|
|
1772
|
+
NroDocumento: string;
|
|
1773
|
+
UsuarioCambio: UsuarioDTO;
|
|
1774
|
+
FechaCambio: Date;
|
|
1775
|
+
Anexos: FilesDocDTO[];
|
|
1776
|
+
EstadoFase: string;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1771
1779
|
declare class BaremosChileENTITY {
|
|
1772
1780
|
_id?: string;
|
|
1773
1781
|
foreignKey: string;
|
|
@@ -1795,6 +1803,7 @@ declare class BaremosChileENTITY {
|
|
|
1795
1803
|
Mes: number;
|
|
1796
1804
|
PB_Total: number;
|
|
1797
1805
|
MO_Total: number;
|
|
1806
|
+
CambiosEstadosFase: CambiosEstadosPagosProduccionDTO[];
|
|
1798
1807
|
PagosEC: PagosECDTO[];
|
|
1799
1808
|
Cancelado: boolean;
|
|
1800
1809
|
}
|
package/dist/index.js
CHANGED
|
@@ -9223,7 +9223,7 @@ __decorateClass([
|
|
|
9223
9223
|
__decorateClass([
|
|
9224
9224
|
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9225
9225
|
(0, import_class_validator159.IsNotEmpty)({ message: "es requerido" }),
|
|
9226
|
-
(0, import_class_validator159.Length)(1,
|
|
9226
|
+
(0, import_class_validator159.Length)(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
9227
9227
|
(0, import_class_transformer159.Expose)()
|
|
9228
9228
|
], ManoObraDTO2.prototype, "Nombre", 2);
|
|
9229
9229
|
__decorateClass([
|
|
@@ -9286,6 +9286,7 @@ var BaremosChileENTITY = class {
|
|
|
9286
9286
|
Mes = 0;
|
|
9287
9287
|
PB_Total = 0;
|
|
9288
9288
|
MO_Total = 0;
|
|
9289
|
+
CambiosEstadosFase = [];
|
|
9289
9290
|
PagosEC = [];
|
|
9290
9291
|
Cancelado = false;
|
|
9291
9292
|
};
|
|
@@ -9429,6 +9430,13 @@ __decorateClass([
|
|
|
9429
9430
|
(0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
|
|
9430
9431
|
(0, import_class_transformer161.Expose)()
|
|
9431
9432
|
], BaremosChileENTITY.prototype, "MO_Total", 2);
|
|
9433
|
+
__decorateClass([
|
|
9434
|
+
(0, import_class_validator161.IsArray)(),
|
|
9435
|
+
(0, import_class_transformer161.Type)(() => PagosECDTO),
|
|
9436
|
+
(0, import_class_validator161.IsNotEmpty)({ message: "es requerido" }),
|
|
9437
|
+
(0, import_class_transformer161.Expose)(),
|
|
9438
|
+
(0, import_class_validator161.ValidateNested)({ each: true })
|
|
9439
|
+
], BaremosChileENTITY.prototype, "CambiosEstadosFase", 2);
|
|
9432
9440
|
__decorateClass([
|
|
9433
9441
|
(0, import_class_validator161.IsArray)(),
|
|
9434
9442
|
(0, import_class_transformer161.Type)(() => PagosECDTO),
|
package/dist/index.mjs
CHANGED
|
@@ -8967,7 +8967,7 @@ __decorateClass([
|
|
|
8967
8967
|
__decorateClass([
|
|
8968
8968
|
IsString133({ message: "debe ser un texto" }),
|
|
8969
8969
|
IsNotEmpty156({ message: "es requerido" }),
|
|
8970
|
-
Length114(1,
|
|
8970
|
+
Length114(1, 200, { message: "debe tener entre 1 y 200 caracteres" }),
|
|
8971
8971
|
Expose158()
|
|
8972
8972
|
], ManoObraDTO2.prototype, "Nombre", 2);
|
|
8973
8973
|
__decorateClass([
|
|
@@ -9030,6 +9030,7 @@ var BaremosChileENTITY = class {
|
|
|
9030
9030
|
Mes = 0;
|
|
9031
9031
|
PB_Total = 0;
|
|
9032
9032
|
MO_Total = 0;
|
|
9033
|
+
CambiosEstadosFase = [];
|
|
9033
9034
|
PagosEC = [];
|
|
9034
9035
|
Cancelado = false;
|
|
9035
9036
|
};
|
|
@@ -9173,6 +9174,13 @@ __decorateClass([
|
|
|
9173
9174
|
IsNotEmpty158({ message: "es requerido" }),
|
|
9174
9175
|
Expose160()
|
|
9175
9176
|
], BaremosChileENTITY.prototype, "MO_Total", 2);
|
|
9177
|
+
__decorateClass([
|
|
9178
|
+
IsArray63(),
|
|
9179
|
+
Type109(() => PagosECDTO),
|
|
9180
|
+
IsNotEmpty158({ message: "es requerido" }),
|
|
9181
|
+
Expose160(),
|
|
9182
|
+
ValidateNested95({ each: true })
|
|
9183
|
+
], BaremosChileENTITY.prototype, "CambiosEstadosFase", 2);
|
|
9176
9184
|
__decorateClass([
|
|
9177
9185
|
IsArray63(),
|
|
9178
9186
|
Type109(() => PagosECDTO),
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sigo-entities",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Desarrollo de modelos de datos SIGO",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsup",
|
|
10
|
-
"prepare": "npm run build"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [],
|
|
17
|
-
"author": "usuario088",
|
|
18
|
-
"license": "ISC",
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"tsup": "^8.1.0",
|
|
21
|
-
"typescript": "^5.4.5"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"class-transformer": "^0.5.1",
|
|
25
|
-
"class-validator": "^0.14.1"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sigo-entities",
|
|
3
|
+
"version": "0.0.234",
|
|
4
|
+
"description": "Desarrollo de modelos de datos SIGO",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup",
|
|
10
|
+
"prepare": "npm run build"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git@github.com-trabajo:GRUPOCOBRA/sigo-entities.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [],
|
|
17
|
+
"author": "usuario088",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"tsup": "^8.1.0",
|
|
21
|
+
"typescript": "^5.4.5"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"class-transformer": "^0.5.1",
|
|
25
|
+
"class-validator": "^0.14.1"
|
|
26
|
+
}
|
|
27
|
+
}
|