sigo-entities 0.0.197 → 0.0.199
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -345,7 +345,6 @@ function convertStringsToDates(obj) {
|
|
|
345
345
|
(str === isoDate.toISOString() || simpleDateRegex.test(str) || dateTimeRegex.test(str));
|
|
346
346
|
};
|
|
347
347
|
if (typeof obj === "string" && isValidDate(obj)) {
|
|
348
|
-
console.log(`Convirtiendo: ${obj} -> ${new Date(obj)}`);
|
|
349
348
|
return new Date(obj);
|
|
350
349
|
}
|
|
351
350
|
if (Array.isArray(obj)) {
|
|
@@ -7143,6 +7142,7 @@ __decorateClass([
|
|
|
7143
7142
|
__decorateClass([
|
|
7144
7143
|
(0, import_class_transformer120.Type)(() => CausacionDTO),
|
|
7145
7144
|
(0, import_class_validator120.IsNotEmpty)({ message: "es requerido" }),
|
|
7145
|
+
(0, import_class_transformer120.Expose)(),
|
|
7146
7146
|
(0, import_class_validator120.IsArray)(),
|
|
7147
7147
|
(0, import_class_validator120.ValidateNested)({ each: true })
|
|
7148
7148
|
], DetalleChileObraDTO.prototype, "Causacion", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -105,7 +105,6 @@ function convertStringsToDates(obj) {
|
|
|
105
105
|
(str === isoDate.toISOString() || simpleDateRegex.test(str) || dateTimeRegex.test(str));
|
|
106
106
|
};
|
|
107
107
|
if (typeof obj === "string" && isValidDate(obj)) {
|
|
108
|
-
console.log(`Convirtiendo: ${obj} -> ${new Date(obj)}`);
|
|
109
108
|
return new Date(obj);
|
|
110
109
|
}
|
|
111
110
|
if (Array.isArray(obj)) {
|
|
@@ -6903,6 +6902,7 @@ __decorateClass([
|
|
|
6903
6902
|
__decorateClass([
|
|
6904
6903
|
Type75(() => CausacionDTO),
|
|
6905
6904
|
IsNotEmpty118({ message: "es requerido" }),
|
|
6905
|
+
Expose119(),
|
|
6906
6906
|
IsArray37(),
|
|
6907
6907
|
ValidateNested63({ each: true })
|
|
6908
6908
|
], DetalleChileObraDTO.prototype, "Causacion", 2);
|