sigo-entities 0.0.6 → 0.0.8
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1790,11 +1790,12 @@ __decorateClass([
|
|
|
1790
1790
|
var CosumoMaterialDto = class {
|
|
1791
1791
|
Codigo = "";
|
|
1792
1792
|
Cantidad = 0;
|
|
1793
|
+
Acumulado = 0;
|
|
1793
1794
|
};
|
|
1794
1795
|
__decorateClass([
|
|
1795
1796
|
(0, import_class_validator31.IsString)({ message: "debe ser un texto" }),
|
|
1796
1797
|
(0, import_class_validator31.IsNotEmpty)({ message: "es requerido" }),
|
|
1797
|
-
(0, import_class_validator31.Length)(1,
|
|
1798
|
+
(0, import_class_validator31.Length)(1, 15, { message: "debe tener entre 1 y 15 caracteres" }),
|
|
1798
1799
|
(0, import_class_transformer31.Expose)()
|
|
1799
1800
|
], CosumoMaterialDto.prototype, "Codigo", 2);
|
|
1800
1801
|
__decorateClass([
|
|
@@ -1803,6 +1804,12 @@ __decorateClass([
|
|
|
1803
1804
|
(0, import_class_validator31.Min)(0, { message: "el n\xFAmero debe ser como m\xEDnimo 1" }),
|
|
1804
1805
|
(0, import_class_transformer31.Expose)()
|
|
1805
1806
|
], CosumoMaterialDto.prototype, "Cantidad", 2);
|
|
1807
|
+
__decorateClass([
|
|
1808
|
+
(0, import_class_validator31.IsNumber)({}, { message: "debe ser un numero" }),
|
|
1809
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "es requerido" }),
|
|
1810
|
+
(0, import_class_validator31.Min)(0, { message: "el n\xFAmero debe ser como m\xEDnimo 1" }),
|
|
1811
|
+
(0, import_class_transformer31.Expose)()
|
|
1812
|
+
], CosumoMaterialDto.prototype, "Acumulado", 2);
|
|
1806
1813
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1807
1814
|
0 && (module.exports = {
|
|
1808
1815
|
ConsumoMaterialChile9512ENTITY,
|
package/dist/index.mjs
CHANGED
|
@@ -1765,11 +1765,12 @@ __decorateClass([
|
|
|
1765
1765
|
var CosumoMaterialDto = class {
|
|
1766
1766
|
Codigo = "";
|
|
1767
1767
|
Cantidad = 0;
|
|
1768
|
+
Acumulado = 0;
|
|
1768
1769
|
};
|
|
1769
1770
|
__decorateClass([
|
|
1770
1771
|
IsString26({ message: "debe ser un texto" }),
|
|
1771
1772
|
IsNotEmpty30({ message: "es requerido" }),
|
|
1772
|
-
Length26(1,
|
|
1773
|
+
Length26(1, 15, { message: "debe tener entre 1 y 15 caracteres" }),
|
|
1773
1774
|
Expose30()
|
|
1774
1775
|
], CosumoMaterialDto.prototype, "Codigo", 2);
|
|
1775
1776
|
__decorateClass([
|
|
@@ -1778,6 +1779,12 @@ __decorateClass([
|
|
|
1778
1779
|
Min(0, { message: "el n\xFAmero debe ser como m\xEDnimo 1" }),
|
|
1779
1780
|
Expose30()
|
|
1780
1781
|
], CosumoMaterialDto.prototype, "Cantidad", 2);
|
|
1782
|
+
__decorateClass([
|
|
1783
|
+
IsNumber17({}, { message: "debe ser un numero" }),
|
|
1784
|
+
IsNotEmpty30({ message: "es requerido" }),
|
|
1785
|
+
Min(0, { message: "el n\xFAmero debe ser como m\xEDnimo 1" }),
|
|
1786
|
+
Expose30()
|
|
1787
|
+
], CosumoMaterialDto.prototype, "Acumulado", 2);
|
|
1781
1788
|
export {
|
|
1782
1789
|
ConsumoMaterialChile9512ENTITY,
|
|
1783
1790
|
TrabajoENTITY,
|