@renzosanchez1357/libreria-compartida-microservicios01 1.0.13 → 1.0.14

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.
@@ -2,13 +2,13 @@ import { EstadoOrden } from "../../enum/order.enum.js";
2
2
  export declare class CreateOrderDto {
3
3
  precio_total: number;
4
4
  items_totales: number;
5
- direccion_calle: String;
5
+ direccion_calle: string;
6
6
  direccion_numero: number;
7
7
  direccion_codigopostal: number;
8
- direccion_ciudad: String;
9
- direccion_provincia: String;
10
- direccion_pais: String;
8
+ direccion_ciudad: string;
9
+ direccion_provincia: string;
10
+ direccion_pais: string;
11
11
  estado_orden: EstadoOrden;
12
- pagado: Boolean;
12
+ pagado: boolean;
13
13
  }
14
14
  //# sourceMappingURL=create-order.dto.d.ts.map
@@ -53,7 +53,7 @@ __decorate([
53
53
  IsString()
54
54
  ], CreateOrderDto.prototype, "direccion_pais", void 0);
55
55
  __decorate([
56
- IsEnum(EstadoOrdenlista, {
56
+ IsEnum(EstadoOrden, {
57
57
  //Se crea una lista, ya que @IsEnum, espera un array no un objeto
58
58
  message: `Possible status values are ${EstadoOrdenlista}`,
59
59
  })
@@ -1 +1 @@
1
- {"version":3,"file":"create-order.dto.js","sourceRoot":"","sources":["../../../src/dto/orders/create-order.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,UAAU,EACV,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,MAAM,OAAO,cAAc;IAGzB,YAAY,CAAS;IAIrB,aAAa,CAAS;IAEtB,gBAAgB;IAChB,2BAA2B;IAE3B,eAAe,CAAS;IAExB,gBAAgB,CAAS;IAEzB,sBAAsB,CAAS;IAE/B,gBAAgB,CAAS;IAEzB,mBAAmB,CAAS;IAE5B,cAAc,CAAS;IAMvB,YAAY,GAAgB,WAAW,CAAC,SAAS,CAAC,CAAC,gCAAgC;IACnF;;;;MAIE;IAQF,MAAM,GAAY,KAAK,CAAC;CACzB;AAvCC;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;oDACQ;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;qDACS;AAKtB;IADC,QAAQ,EAAE;uDACa;AAExB;IADC,QAAQ,EAAE;wDACc;AAEzB;IADC,QAAQ,EAAE;8DACoB;AAE/B;IADC,QAAQ,EAAE;wDACc;AAEzB;IADC,QAAQ,EAAE;2DACiB;AAE5B;IADC,QAAQ,EAAE;sDACY;AAMvB;IAJC,MAAM,CAAC,gBAAgB,EAAE;QACxB,iEAAiE;QACjE,OAAO,EAAE,8BAA8B,gBAAgB,EAAE;KAC1D,CAAC;oDACgD;AAalD;IANC,SAAS,EAAE;IACX,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;QACvB,IAAI,KAAK,KAAK,MAAM;YAAE,OAAO,IAAI,CAAC;QAClC,IAAI,KAAK,KAAK,OAAO;YAAE,OAAO,KAAK,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;8CACsB"}
1
+ {"version":3,"file":"create-order.dto.js","sourceRoot":"","sources":["../../../src/dto/orders/create-order.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,UAAU,EACV,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,MAAM,OAAO,cAAc;IAGzB,YAAY,CAAS;IAIrB,aAAa,CAAS;IAEtB,gBAAgB;IAChB,2BAA2B;IAE3B,eAAe,CAAS;IAExB,gBAAgB,CAAS;IAEzB,sBAAsB,CAAS;IAE/B,gBAAgB,CAAS;IAEzB,mBAAmB,CAAS;IAE5B,cAAc,CAAS;IAMvB,YAAY,GAAgB,WAAW,CAAC,SAAS,CAAC,CAAC,gCAAgC;IACnF;;;;MAIE;IAQF,MAAM,GAAY,KAAK,CAAC;CACzB;AAvCC;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;oDACQ;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;qDACS;AAKtB;IADC,QAAQ,EAAE;uDACa;AAExB;IADC,QAAQ,EAAE;wDACc;AAEzB;IADC,QAAQ,EAAE;8DACoB;AAE/B;IADC,QAAQ,EAAE;wDACc;AAEzB;IADC,QAAQ,EAAE;2DACiB;AAE5B;IADC,QAAQ,EAAE;sDACY;AAMvB;IAJC,MAAM,CAAC,WAAW,EAAE;QACnB,iEAAiE;QACjE,OAAO,EAAE,8BAA8B,gBAAgB,EAAE;KAC1D,CAAC;oDACgD;AAalD;IANC,SAAS,EAAE;IACX,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;QACvB,IAAI,KAAK,KAAK,MAAM;YAAE,OAAO,IAAI,CAAC;QAClC,IAAI,KAAK,KAAK,OAAO;YAAE,OAAO,KAAK,CAAC;QACpC,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;8CACsB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renzosanchez1357/libreria-compartida-microservicios01",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Libreria compartida, para DTOS, y validacion",
5
5
  "main": "dist/index.js",
6
6
  "types": "module",
@@ -31,6 +31,7 @@
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc",
34
- "test": "echo \"Error: no test specified\" && exit 1"
34
+ "test": "echo \"Error: no test specified\" && exit 1",
35
+ "login": "login"
35
36
  }
36
37
  }