sigo-entities 1.0.27 → 1.0.28
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3301,12 +3301,14 @@ __decorateClass([
|
|
|
3301
3301
|
(0, import_class_transformer75.Type)(() => Date)
|
|
3302
3302
|
], PeriodoDTO.prototype, "FechaInicio", 2);
|
|
3303
3303
|
__decorateClass([
|
|
3304
|
+
(0, import_class_transformer75.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
3304
3305
|
(0, import_class_transformer75.Type)(() => Date),
|
|
3305
3306
|
(0, import_class_validator76.IsDate)({ message: "debe ser una fecha" }),
|
|
3306
3307
|
(0, import_class_validator76.IsNotEmpty)({ message: "es requerido" }),
|
|
3307
3308
|
(0, import_class_transformer75.Expose)()
|
|
3308
3309
|
], PeriodoDTO.prototype, "FechaFin", 2);
|
|
3309
3310
|
__decorateClass([
|
|
3311
|
+
(0, import_class_transformer75.Transform)(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
3310
3312
|
(0, import_class_transformer75.Type)(() => Date),
|
|
3311
3313
|
(0, import_class_validator76.IsDate)({ message: "debe ser una fecha" }),
|
|
3312
3314
|
(0, import_class_validator76.IsNotEmpty)({ message: "es requerido" }),
|
package/dist/index.mjs
CHANGED
|
@@ -2923,12 +2923,14 @@ __decorateClass([
|
|
|
2923
2923
|
Type42(() => Date)
|
|
2924
2924
|
], PeriodoDTO.prototype, "FechaInicio", 2);
|
|
2925
2925
|
__decorateClass([
|
|
2926
|
+
Transform4(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
2926
2927
|
Type42(() => Date),
|
|
2927
2928
|
IsDate20({ message: "debe ser una fecha" }),
|
|
2928
2929
|
IsNotEmpty61({ message: "es requerido" }),
|
|
2929
2930
|
Expose73()
|
|
2930
2931
|
], PeriodoDTO.prototype, "FechaFin", 2);
|
|
2931
2932
|
__decorateClass([
|
|
2933
|
+
Transform4(({ value }) => value === "" ? /* @__PURE__ */ new Date(0) : value),
|
|
2932
2934
|
Type42(() => Date),
|
|
2933
2935
|
IsDate20({ message: "debe ser una fecha" }),
|
|
2934
2936
|
IsNotEmpty61({ message: "es requerido" }),
|