sigo-entities 0.0.3 → 0.0.5
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/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -295,17 +295,17 @@ declare class TrabajoENTITY {
|
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
declare class ConsumoMaterialChile9512ENTITY {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
298
|
+
ID_ConsumoMaterial: number;
|
|
299
|
+
ID_Recurso: string;
|
|
300
|
+
Identificacion: string;
|
|
301
|
+
Mes: number;
|
|
302
|
+
Año: number;
|
|
303
|
+
CosumoMaterial: CosumoMaterialDto[];
|
|
304
304
|
}
|
|
305
305
|
declare class CosumoMaterialDto {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
ID_StockPersonal: number;
|
|
307
|
+
Codigo: string;
|
|
308
|
+
Cantidad: number;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
export { ConsumoMaterialChile9512ENTITY, TrabajoENTITY, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -295,17 +295,17 @@ declare class TrabajoENTITY {
|
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
declare class ConsumoMaterialChile9512ENTITY {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
298
|
+
ID_ConsumoMaterial: number;
|
|
299
|
+
ID_Recurso: string;
|
|
300
|
+
Identificacion: string;
|
|
301
|
+
Mes: number;
|
|
302
|
+
Año: number;
|
|
303
|
+
CosumoMaterial: CosumoMaterialDto[];
|
|
304
304
|
}
|
|
305
305
|
declare class CosumoMaterialDto {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
ID_StockPersonal: number;
|
|
307
|
+
Codigo: string;
|
|
308
|
+
Cantidad: number;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
export { ConsumoMaterialChile9512ENTITY, TrabajoENTITY, validateAndFormatData };
|
package/dist/index.js
CHANGED
|
@@ -1743,7 +1743,7 @@ var import_class_transformer31 = require("class-transformer");
|
|
|
1743
1743
|
var import_class_validator31 = require("class-validator");
|
|
1744
1744
|
var ConsumoMaterialChile9512ENTITY = class {
|
|
1745
1745
|
ID_ConsumoMaterial = 0;
|
|
1746
|
-
ID_Recurso =
|
|
1746
|
+
ID_Recurso = "";
|
|
1747
1747
|
Identificacion = "";
|
|
1748
1748
|
Mes = 1;
|
|
1749
1749
|
A\u00F1o = 2e3;
|
|
@@ -1755,8 +1755,9 @@ __decorateClass([
|
|
|
1755
1755
|
(0, import_class_transformer31.Expose)()
|
|
1756
1756
|
], ConsumoMaterialChile9512ENTITY.prototype, "ID_ConsumoMaterial", 2);
|
|
1757
1757
|
__decorateClass([
|
|
1758
|
-
(0, import_class_validator31.
|
|
1758
|
+
(0, import_class_validator31.IsString)({ message: "debe ser un texto" }),
|
|
1759
1759
|
(0, import_class_validator31.IsNotEmpty)({ message: "es requerido" }),
|
|
1760
|
+
(0, import_class_validator31.Length)(1, 20, { message: "debe tener entre 1 y 20 caracteres" }),
|
|
1760
1761
|
(0, import_class_transformer31.Expose)()
|
|
1761
1762
|
], ConsumoMaterialChile9512ENTITY.prototype, "ID_Recurso", 2);
|
|
1762
1763
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -1718,7 +1718,7 @@ import { Expose as Expose30, Type as Type16 } from "class-transformer";
|
|
|
1718
1718
|
import { IsArray as IsArray8, IsNotEmpty as IsNotEmpty30, IsNumber as IsNumber17, IsString as IsString26, Length as Length26, Max, Min, ValidateNested as ValidateNested16 } from "class-validator";
|
|
1719
1719
|
var ConsumoMaterialChile9512ENTITY = class {
|
|
1720
1720
|
ID_ConsumoMaterial = 0;
|
|
1721
|
-
ID_Recurso =
|
|
1721
|
+
ID_Recurso = "";
|
|
1722
1722
|
Identificacion = "";
|
|
1723
1723
|
Mes = 1;
|
|
1724
1724
|
A\u00F1o = 2e3;
|
|
@@ -1730,8 +1730,9 @@ __decorateClass([
|
|
|
1730
1730
|
Expose30()
|
|
1731
1731
|
], ConsumoMaterialChile9512ENTITY.prototype, "ID_ConsumoMaterial", 2);
|
|
1732
1732
|
__decorateClass([
|
|
1733
|
-
|
|
1733
|
+
IsString26({ message: "debe ser un texto" }),
|
|
1734
1734
|
IsNotEmpty30({ message: "es requerido" }),
|
|
1735
|
+
Length26(1, 20, { message: "debe tener entre 1 y 20 caracteres" }),
|
|
1735
1736
|
Expose30()
|
|
1736
1737
|
], ConsumoMaterialChile9512ENTITY.prototype, "ID_Recurso", 2);
|
|
1737
1738
|
__decorateClass([
|