sigo-entities 0.0.140 → 0.0.141

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 CHANGED
@@ -263,7 +263,7 @@ declare class SizeDTO {
263
263
  declare class FlujoDocDTO {
264
264
  Action: string;
265
265
  Fecha: Date;
266
- Coordenadas: UsuarioDTO;
266
+ Coordenadas: CoordenadasDTO;
267
267
  Description: string;
268
268
  Posicion: string;
269
269
  Icono: string;
package/dist/index.d.ts CHANGED
@@ -263,7 +263,7 @@ declare class SizeDTO {
263
263
  declare class FlujoDocDTO {
264
264
  Action: string;
265
265
  Fecha: Date;
266
- Coordenadas: UsuarioDTO;
266
+ Coordenadas: CoordenadasDTO;
267
267
  Description: string;
268
268
  Posicion: string;
269
269
  Icono: string;
package/dist/index.js CHANGED
@@ -1548,7 +1548,7 @@ var import_class_validator36 = require("class-validator");
1548
1548
  var FlujoDocDTO = class {
1549
1549
  Action = "";
1550
1550
  Fecha = /* @__PURE__ */ new Date();
1551
- Coordenadas = new UsuarioDTO();
1551
+ Coordenadas = new CoordenadasDTO();
1552
1552
  Description = "";
1553
1553
  Posicion = "";
1554
1554
  Icono = "";
@@ -1568,7 +1568,7 @@ __decorateClass([
1568
1568
  (0, import_class_transformer36.Expose)()
1569
1569
  ], FlujoDocDTO.prototype, "Fecha", 2);
1570
1570
  __decorateClass([
1571
- (0, import_class_transformer36.Type)(() => UsuarioDTO),
1571
+ (0, import_class_transformer36.Type)(() => CoordenadasDTO),
1572
1572
  (0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
1573
1573
  (0, import_class_transformer36.Expose)(),
1574
1574
  (0, import_class_validator36.ValidateNested)()
@@ -1587,14 +1587,12 @@ __decorateClass([
1587
1587
  ], FlujoDocDTO.prototype, "Posicion", 2);
1588
1588
  __decorateClass([
1589
1589
  (0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
1590
- (0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
1591
- (0, import_class_validator36.Length)(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
1590
+ (0, import_class_validator36.Length)(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
1592
1591
  (0, import_class_transformer36.Expose)()
1593
1592
  ], FlujoDocDTO.prototype, "Icono", 2);
1594
1593
  __decorateClass([
1595
1594
  (0, import_class_validator36.IsString)({ message: "debe ser un texto" }),
1596
- (0, import_class_validator36.IsNotEmpty)({ message: "es requerido" }),
1597
- (0, import_class_validator36.Length)(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
1595
+ (0, import_class_validator36.Length)(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
1598
1596
  (0, import_class_transformer36.Expose)()
1599
1597
  ], FlujoDocDTO.prototype, "ColorIcono", 2);
1600
1598
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -1346,7 +1346,7 @@ import { IsArray as IsArray3, IsBoolean as IsBoolean3, IsDate as IsDate9, IsNotE
1346
1346
  var FlujoDocDTO = class {
1347
1347
  Action = "";
1348
1348
  Fecha = /* @__PURE__ */ new Date();
1349
- Coordenadas = new UsuarioDTO();
1349
+ Coordenadas = new CoordenadasDTO();
1350
1350
  Description = "";
1351
1351
  Posicion = "";
1352
1352
  Icono = "";
@@ -1366,7 +1366,7 @@ __decorateClass([
1366
1366
  Expose35()
1367
1367
  ], FlujoDocDTO.prototype, "Fecha", 2);
1368
1368
  __decorateClass([
1369
- Type15(() => UsuarioDTO),
1369
+ Type15(() => CoordenadasDTO),
1370
1370
  IsNotEmpty35({ message: "es requerido" }),
1371
1371
  Expose35(),
1372
1372
  ValidateNested13()
@@ -1385,14 +1385,12 @@ __decorateClass([
1385
1385
  ], FlujoDocDTO.prototype, "Posicion", 2);
1386
1386
  __decorateClass([
1387
1387
  IsString31({ message: "debe ser un texto" }),
1388
- IsNotEmpty35({ message: "es requerido" }),
1389
- Length31(1, 300, { message: "debe tener entre 1 y 300 caracteres" }),
1388
+ Length31(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
1390
1389
  Expose35()
1391
1390
  ], FlujoDocDTO.prototype, "Icono", 2);
1392
1391
  __decorateClass([
1393
1392
  IsString31({ message: "debe ser un texto" }),
1394
- IsNotEmpty35({ message: "es requerido" }),
1395
- Length31(1, 100, { message: "debe tener entre 1 y 100 caracteres" }),
1393
+ Length31(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
1396
1394
  Expose35()
1397
1395
  ], FlujoDocDTO.prototype, "ColorIcono", 2);
1398
1396
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.140",
3
+ "version": "0.0.141",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",