@renzosanchez1357/libreria-compartida-microservicios01 1.0.3 → 1.0.5

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.
@@ -15,33 +15,33 @@ export class ProductDto {
15
15
  // @IsOptional()
16
16
  // @Type(() => Number)
17
17
  // limit: number = 10;
18
- // @IsOptional()
19
18
  nombre;
20
- // @IsOptional()
21
19
  tipo;
22
- // @IsOptional()
23
20
  descripcion;
24
- // @IsOptional()
25
21
  precio;
26
- // @IsOptional()
27
22
  precio_venta;
28
23
  es_novedad;
29
24
  es_favorito;
30
25
  }
31
26
  __decorate([
27
+ IsOptional(),
32
28
  Type(() => String)
33
29
  ], ProductDto.prototype, "nombre", void 0);
34
30
  __decorate([
31
+ IsOptional(),
35
32
  Type(() => String)
36
33
  ], ProductDto.prototype, "tipo", void 0);
37
34
  __decorate([
35
+ IsOptional(),
38
36
  Type(() => String)
39
37
  ], ProductDto.prototype, "descripcion", void 0);
40
38
  __decorate([
39
+ IsOptional(),
41
40
  IsPositive(),
42
41
  Type(() => Number)
43
42
  ], ProductDto.prototype, "precio", void 0);
44
43
  __decorate([
44
+ IsOptional(),
45
45
  IsPositive(),
46
46
  Type(() => Number)
47
47
  ], ProductDto.prototype, "precio_venta", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"Product.dto.js","sourceRoot":"","sources":["../../../src/dto/products/Product.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEpE,MAAM,OAAO,UAAU;IACrB,gBAAgB;IAChB,gBAAgB;IAChB,4DAA4D;IAC5D,qFAAqF;IAErF,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;IACtB,sBAAsB;IAEtB,gBAAgB;IAEhB,MAAM,CAAS;IAEf,gBAAgB;IAEh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@@
1
1
  {
2
2
  "name": "@renzosanchez1357/libreria-compartida-microservicios01",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Libreria compartida, para DTOS, y validacion",
5
5
  "main": "dist/index.js",
6
6
  "types": "module",