sigo-entities 1.2.319 → 1.2.320
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 -4
- package/dist/index.mjs +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2977,11 +2977,9 @@ __decorateClass([
|
|
|
2977
2977
|
(0, import_class_transformer58.Expose)()
|
|
2978
2978
|
], EstadoInternoWithoutSubstateDTO.prototype, "Observacion", 2);
|
|
2979
2979
|
__decorateClass([
|
|
2980
|
+
(0, import_class_validator56.IsDefined)({ message: "es requerido" }),
|
|
2980
2981
|
(0, import_class_validator56.IsNumber)({}, { message: "debe ser un numero" }),
|
|
2981
|
-
(0,
|
|
2982
|
-
(0, import_class_transformer58.Expose)(),
|
|
2983
|
-
(0, import_class_validator56.Min)(1),
|
|
2984
|
-
(0, import_class_transformer58.Transform)(({ value }) => Number(value))
|
|
2982
|
+
(0, import_class_transformer58.Expose)()
|
|
2985
2983
|
], EstadoInternoWithoutSubstateDTO.prototype, "Orden", 2);
|
|
2986
2984
|
__decorateClass([
|
|
2987
2985
|
(0, import_class_validator56.IsString)({ message: "debe ser un texto" }),
|
package/dist/index.mjs
CHANGED
|
@@ -2184,7 +2184,7 @@ __decorateClass([
|
|
|
2184
2184
|
|
|
2185
2185
|
// src/shared/dto/estado-Interno-without-substate-dto.ts
|
|
2186
2186
|
import { Expose as Expose53, Transform as Transform9, Type as Type31 } from "class-transformer";
|
|
2187
|
-
import { IsDate as IsDate11, IsNotEmpty as IsNotEmpty43, IsNumber as IsNumber32, IsString as IsString44, Length as Length36, ValidateNested as ValidateNested28,
|
|
2187
|
+
import { IsDate as IsDate11, IsNotEmpty as IsNotEmpty43, IsNumber as IsNumber32, IsString as IsString44, Length as Length36, ValidateNested as ValidateNested28, IsDefined as IsDefined9 } from "class-validator";
|
|
2188
2188
|
var EstadoInternoWithoutSubstateDTO = class {
|
|
2189
2189
|
ID_EstadoInterno = 0;
|
|
2190
2190
|
Fecha = /* @__PURE__ */ new Date();
|
|
@@ -2232,11 +2232,9 @@ __decorateClass([
|
|
|
2232
2232
|
Expose53()
|
|
2233
2233
|
], EstadoInternoWithoutSubstateDTO.prototype, "Observacion", 2);
|
|
2234
2234
|
__decorateClass([
|
|
2235
|
+
IsDefined9({ message: "es requerido" }),
|
|
2235
2236
|
IsNumber32({}, { message: "debe ser un numero" }),
|
|
2236
|
-
|
|
2237
|
-
Expose53(),
|
|
2238
|
-
Min29(1),
|
|
2239
|
-
Transform9(({ value }) => Number(value))
|
|
2237
|
+
Expose53()
|
|
2240
2238
|
], EstadoInternoWithoutSubstateDTO.prototype, "Orden", 2);
|
|
2241
2239
|
__decorateClass([
|
|
2242
2240
|
IsString44({ message: "debe ser un texto" }),
|